Linux Archive

Linux Archive (http://www.linux-archive.org/)
-   Debian dpkg (http://www.linux-archive.org/debian-dpkg/)
-   -   Two quick bug reports (http://www.linux-archive.org/debian-dpkg/402170-two-quick-bug-reports.html)

Jonathan Nieder 07-21-2010 02:01 PM

Two quick bug reports
 
Hi,

Trying to remove iceweasel causes update-alternatives to segfault
for me. iceweasel prerm does

update-alternatives --remove x-www-browser /usr/bin/iceweasel
update-alternatives --remove gnome-www-browser /usr/bin/iceweasel

Maybe the problem has to do with slave links.

$ cat /var/lib/dpkg/alternatives/x-www-browser
auto
/usr/bin/x-www-browser
x-www-browser.1.gz
/usr/share/man/man1/x-www-browser.1.gz

/usr/bin/chromium-browser
40

/usr/bin/iceweasel
70
/usr/share/man/man1/iceweasel.1.gz

This is with dpkg (and u-a) built from commit f86ff414.

So, I think, I should try ‘master’ instead. dpkg master fails some
dpkg-divert tests, so I haven’t tried using it.

Test Summary Report
-------------------
../../src/t/100_dpkg_divert.t (Wstat: 1792 Tests: 235 Failed: 7)
Failed tests: 143-144, 158, 161-162, 175, 184
Non-zero exit status: 7
Files=1, Tests=235, 3 wallclock secs ( 0.21 usr 0.05 sys + 0.54 cusr 0.49 csys = 1.29 CPU)
Result: FAIL

Unfortunately I do not have time to investigate beyond this at the
moment. Are these known problems?

Jonathan

make[3]: Entering directory `/home/jrn/src/dpkg/build-tree/src'
/bin/mkdir -p t.tmp
PATH="../src:../scripts:../utils:/usr/sbin:/usr/bin:/sbin:/bin:/usr/bin/X11"
srcdir=../../src builddir=.
PERL5LIB=../../scripts PERL_DL_NONLAZY=1
PERL5OPT=
/usr/bin/perl -I../../scripts
-MExtUtils::Command::MM -e "test_harness(0, '.')"
../../src/t/100_dpkg_divert.t

# Failed test '/home/jrn/src/dpkg/build-tree/src/t.tmp/950_dpkg_divert/testdir/foo should not fail'
# at ../../src/t/100_dpkg_divert.t line 59.

# Failed test '/home/jrn/src/dpkg/build-tree/src/t.tmp/950_dpkg_divert/testdir/foo stdout'
# at ../../src/t/100_dpkg_divert.t line 71.
# '
# doesn't match '(?-xism:Leaving)'

# Failed test '/home/jrn/src/dpkg/build-tree/src/t.tmp/950_dpkg_divert/testdir/bar should not fail'
# at ../../src/t/100_dpkg_divert.t line 59.

# Failed test '--package foobar /home/jrn/src/dpkg/build-tree/src/t.tmp/950_dpkg_divert/testdir/bar should fail'
# at ../../src/t/100_dpkg_divert.t line 56.

# Failed test '--package foobar /home/jrn/src/dpkg/build-tree/src/t.tmp/950_dpkg_divert/testdir/bar stderr'
# at ../../src/t/100_dpkg_divert.t line 77.
# '
# doesn't match '(?-xism:clashes)'

# Failed test '/home/jrn/src/dpkg/build-tree/src/t.tmp/950_dpkg_divert/testdir/baz should not fail'
# at ../../src/t/100_dpkg_divert.t line 59.

# Failed test 'diversions contents'
# at ../../src/t/100_dpkg_divert.t line 116.
# Structures begin differing at:
# $got->[1] = Does not exist
# $expected->[1] = ARRAY(0x9130c38)
# Looks like you failed 7 tests of 235.
../../src/t/100_dpkg_divert.t ..
Dubious, test returned 7 (wstat 1792, 0x700)
Failed 7/235 subtests
(less 17 skipped subtests: 211 okay)


--
To UNSUBSCRIBE, email to debian-dpkg-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20100721140147.GA12049@burratino">http://lists.debian.org/20100721140147.GA12049@burratino


All times are GMT. The time now is 10:11 PM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.