Bug#464907: [jo...@debian.org: Re: Bug#464907: dpkg seems not to check for broken versioned dependencies when upgrading]
Raphael Hertzog writes ("[EMAIL PROTECTED]: Re: Bug#464907: dpkg seems not to check for broken versioned dependencies when upgrading]"): > since you wrote the patch that Joey has been testing, can you look what's > wrong with it ? Yes, I should investigate. Ian. -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#464907: [jo...@debian.org: Re: Bug#464907: dpkg seems not to check for broken versioned dependencies when upgrading]
Hi Ian, since you wrote the patch that Joey has been testing, can you look what's wrong with it ? Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/ --- Begin Message --- > I haven't checked, but this sounds very similar to #20471. There's a patch > in that bug. If you can take some time to verify if it also fixes this > issue, it would be nice. I applied this patch on top of current git master (rev 98cdd8883f0661e24ff72d4c29d73554586eddf8), and have been using it today while doing whatever, and it seemed to cause this failure: [EMAIL PROTECTED]:/home/joey/tmp/xterm-231>dpkg -i ../xterm_231-2boldmode1_i386.deb dpkg: ../../src/depcon.c:218: depisok: Assertion `dep->type == dep_depends || dep->type == dep_predepends || dep->type == dep_breaks || dep->type == dep_conflicts || dep->type == dep_recommends || dep->type == dep_suggests || dep->type == dep_enhances' failed. Other packages installed ok; I was able to downgrade to unstable's dpkg and then install xterm successfully. Here's the package's header, just in case: Package: xterm Version: 231-2boldmode1 Architecture: i386 Maintainer: Debian X Strike Force <[EMAIL PROTECTED]> Installed-Size: 1108 Depends: libc6 (>= 2.7-1), libfontconfig1 (>= 2.4.0), libice6 (>= 1:1.0.0), libncurses5 (>= 5.6+20071006-3), libsm6, libx11-6, libxaw7, libxext6, libxft2 (>> 2.1.1), libxmu6, libxt6, xbitmaps Recommends: xutils Suggests: xfonts-cyrillic Provides: x-terminal-emulator Section: x11 Priority: optional -- see shy jo signature.asc Description: Digital signature --- End Message ---
Bug#464907: dpkg seems not to check for broken versioned dependencies when upgrading
> I haven't checked, but this sounds very similar to #20471. There's a patch > in that bug. If you can take some time to verify if it also fixes this > issue, it would be nice. I applied this patch on top of current git master (rev 98cdd8883f0661e24ff72d4c29d73554586eddf8), and have been using it today while doing whatever, and it seemed to cause this failure: [EMAIL PROTECTED]:/home/joey/tmp/xterm-231>dpkg -i ../xterm_231-2boldmode1_i386.deb dpkg: ../../src/depcon.c:218: depisok: Assertion `dep->type == dep_depends || dep->type == dep_predepends || dep->type == dep_breaks || dep->type == dep_conflicts || dep->type == dep_recommends || dep->type == dep_suggests || dep->type == dep_enhances' failed. Other packages installed ok; I was able to downgrade to unstable's dpkg and then install xterm successfully. Here's the package's header, just in case: Package: xterm Version: 231-2boldmode1 Architecture: i386 Maintainer: Debian X Strike Force <[EMAIL PROTECTED]> Installed-Size: 1108 Depends: libc6 (>= 2.7-1), libfontconfig1 (>= 2.4.0), libice6 (>= 1:1.0.0), libncurses5 (>= 5.6+20071006-3), libsm6, libx11-6, libxaw7, libxext6, libxft2 (>> 2.1.1), libxmu6, libxt6, xbitmaps Recommends: xutils Suggests: xfonts-cyrillic Provides: x-terminal-emulator Section: x11 Priority: optional -- see shy jo signature.asc Description: Digital signature
Bug#464907: dpkg seems not to check for broken versioned dependencies when upgrading
Raphael Hertzog wrote: > I haven't checked, but this sounds very similar to #20471. There's a patch > in that bug. If you can take some time to verify if it also fixes this > issue, it would be nice. I tried 0001-Check-dependencies-_on_-the-package-we-re-to-upgrade.patch : [EMAIL PROTECTED]:~joey/lib/debian/unstable>dpkg -i fbreader_0.8.14-1_i386.deb libzltext_0.8.14-1_i386.deb libzlcore_0.8.14-1_i386.deb (Reading database ... 173289 files and directories currently installed.) Preparing to replace fbreader 0.8.13-1 (using fbreader_0.8.14-1_i386.deb) ... Unpacking replacement fbreader ... Preparing to replace libzltext 0.8.13-1 (using libzltext_0.8.14-1_i386.deb) ... Unpacking replacement libzltext ... dpkg: libzlcore_0.8.14-1_i386.deb containing libzlcore breaks existing dependency: libzlui-gtk depends on libzlcore (= 0.8.13-1) libzlcore is to be installed, but is version 0.8.14-1. dpkg: error processing libzlcore_0.8.14-1_i386.deb (--install): existing dependency problem - not installing libzlcore dpkg: dependency problems prevent configuration of fbreader: fbreader depends on libzlcore (>= 0.8.14); however: Version of libzlcore on system is 0.8.13-1. dpkg: error processing fbreader (--install): dependency problems - leaving unconfigured dpkg: dependency problems prevent configuration of libzltext: libzltext depends on libzlcore (= 0.8.14-1); however: Version of libzlcore on system is 0.8.13-1. dpkg: error processing libzltext (--install): dependency problems - leaving unconfigured Errors were encountered while processing: libzlcore_0.8.14-1_i386.deb fbreader libzltext zsh: exit 1 dpkg -i fbreader_0.8.14-1_i386.deb libzltext_0.8.14-1_i386.deb Which looks perfect. -- see shy jo signature.asc Description: Digital signature
Bug#464907: dpkg seems not to check for broken versioned dependencies when upgrading
On Sat, 09 Feb 2008, Joey Hess wrote: > libzlui-gtk depends on libzlcore (= 0.8.12-3). I have both installed. If > I tell dpkg to upgrade to a new 0.8.13 version of libzlcore, it does so, > leaving libzlui-gtk with a broken dependency. At no point does dpkg > complain about that dependency being broken. I haven't checked, but this sounds very similar to #20471. There's a patch in that bug. If you can take some time to verify if it also fixes this issue, it would be nice. Cheers, -- Raphaël Hertzog Le best-seller français mis à jour pour Debian Etch : http://www.ouaza.com/livre/admin-debian/
Bug#464907: dpkg seems not to check for broken versioned dependencies when upgrading
Package: dpkg Version: 1.14.16.6 Severity: normal libzlui-gtk depends on libzlcore (= 0.8.12-3). I have both installed. If I tell dpkg to upgrade to a new 0.8.13 version of libzlcore, it does so, leaving libzlui-gtk with a broken dependency. At no point does dpkg complain about that dependency being broken. [EMAIL PROTECTED]:/home/joey/src/packages/fbreader>dpkg -i ../fbreader_0.8.13-1_i386.deb ../libzltext_0.8.13-1_i386.deb ../libzlcore_0.8.13-1_i386.deb (Reading database ... 172424 files and directories currently installed.) Preparing to replace fbreader 0.8.13-1 (using ../fbreader_0.8.13-1_i386.deb) ... Unpacking replacement fbreader ... Preparing to replace libzltext 0.8.12-3 (using ../libzltext_0.8.13-1_i386.deb) ... Unpacking replacement libzltext ... Preparing to replace libzlcore 0.8.12-3 (using ../libzlcore_0.8.13-1_i386.deb) ... Unpacking replacement libzlcore ... Setting up libzlcore (0.8.13-1) ... Setting up libzltext (0.8.13-1) ... Setting up fbreader (0.8.13-1) ... [EMAIL PROTECTED]:/home/joey/src/packages/fbreader>dpkg -s libzlui-gtk Package: libzlui-gtk Status: install ok installed Priority: optional Section: libs Installed-Size: 220 Maintainer: Joey Hess <[EMAIL PROTECTED]> Architecture: i386 Source: fbreader Version: 0.8.12-3 Provides: libzlui Depends: libatk1.0-0 (>= 1.20.0), libbz2-1.0, libc6 (>= 2.7-1), libcairo2 (>= 1.4.0), libexpat1 (>= 1.95.8), libgcc1, libglib2.0-0 (>= 2.12.0), libgtk2.0-0 (>= 2.12.0), libjpeg62, libpango1.0-0 (>= 1.18.4), libpng12-0 (>= 1.2.13-4), libstdc++6 (>= 4.1.1-21), libzlcore (= 0.8.12-3), zlib1g -- System Information: Debian Release: lenny/sid APT prefers unstable APT policy: (500, 'unstable'), (500, 'testing'), (500, 'stable'), (1, 'experimental') Architecture: i386 (i686) Kernel: Linux 2.6.24-1-686 (SMP w/1 CPU core) Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/bash Versions of packages dpkg depends on: ii coreutils 6.10-3 The GNU core utilities ii libc6 2.7-6 GNU C Library: Shared libraries dpkg recommends no packages. -- no debconf information -- see shy jo signature.asc Description: Digital signature