Bug#620636: problems with dpkg 1.16.0

April 03rd, 2011 - 05:20 am ET by Craig Sanders | Report spam
Package: dpkg
Version: 1.16.0

I just upgraded dpkg to 1.16.0 today and noticed the following three problems:

1. it segfaulted! (fortunately, /var/lib/dpkg/status wasn't corrupted)

2. it claimed it was installing a package called 'xŒ—)' which does
not exist. probably related to #1 above (buffer overrun or similar,
perhaps?)

(in case those 8-bit chars get mangled by an MTA, that's '788C 9729'
in hex)

3. version numbers which have been valid for years are now being
complained about as if they are invalid.

i reverted to 1.15.8.10 and all three problems went away.


system is a quad-core AMD Phenom II 940 with 8GB RAM, running a
custom 2.6.38.1 amd64 kernel. i saw the same complaints about version
numbers on another system with an AMD quad-core Phenom 9950 (but
hadn't installed anything to trigger the segfault on that box before
downgrading to 1.15.8.10)



the following example shows all three problems while i was installing
the latest version of unofficial wine-unstable packages from
http://dev.carbon-project.org/debia...-unstable/ with dpkg 1.16.0:

ganesh:/home/cas/Download/wine-unstable/1.3.17-0.1# dpkg -iGROEB *.deb
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 19677 package 'linux-headers-2.6.37.3':
error in Version string 'ganesh.2.6.37.3': version number does not start with digit
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 19700 package 'linux-headers-2.6.37.2':
error in Version string 'ganesh.2.6.37.2': version number does not start with digit
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 55488 package 'linux-headers-2.6.35.9':
error in Version string 'ganesh.2.6.35.9': version number does not start with digit
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 84726 package 'linux-image-2.6.38':
error in Version string 'ganesh.2.6.38': version number does not start with digit
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 85885 package 'linux-image-2.6.38.1':
error in Version string 'ganesh.2.6.38.1': version number does not start with digit
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 107184 package 'linux-headers-2.6.38.1':
error in Version string 'ganesh.2.6.38.1': version number does not start with digit
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 139020 package 'linux-headers-2.6.38':
error in Version string 'ganesh.2.6.38': version number does not start with digit
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 156118 package 'linux-image-2.6.37.2':
error in Version string 'ganesh.2.6.37.2': version number does not start with digit
dpkg: warning: parsing file '/var/lib/dpkg/status' near line 156146 package 'linux-image-2.6.37.3':
error in Version string 'ganesh.2.6.37.3': version number does not start with digit
(Reading database ... 866518 files and directories currently installed.)
Preparing to replace libwine-alsa-unstable 1.3.16-0.2 (using libwine-alsa-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-alsa-unstable ...
dpkg: error processing xŒ—) (--install):
cannot access archive: No such file or directory
Preparing to replace libwine-bin-unstable 1.3.16-0.2 (using libwine-bin-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-bin-unstable ...
Segmentation fault



and here's the same install after downgrading to dpkg 1.5.8.10:

ganesh:/home/cas/Download/wine-unstable/1.3.17-0.1# dpkg -iGROEB *.deb
(Reading database ... 866519 files and directories currently installed.)
Preparing to replace libwine-alsa-unstable 1.3.17-0.1 (using libwine-alsa-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-alsa-unstable ...
Preparing to replace libwine-bin-unstable 1.3.17-0.1 (using libwine-bin-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-bin-unstable ...
Skipping deselected package libwine-capi-unstable.
Preparing to replace libwine-cms-unstable 1.3.16-0.2 (using libwine-cms-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-cms-unstable ...
Skipping deselected package libwine-dbg-unstable.
Skipping deselected package libwine-dev-unstable.
Skipping deselected package libwine-esd-unstable.
Preparing to replace libwine-gl-unstable 1.3.16-0.2 (using libwine-gl-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-gl-unstable ...
Preparing to replace libwine-gphoto2-unstable 1.3.16-0.2 (using libwine-gphoto2-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-gphoto2-unstable ...
Skipping deselected package libwine-jack-unstable.
Preparing to replace libwine-ldap-unstable 1.3.16-0.2 (using libwine-ldap-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-ldap-unstable ...
Skipping deselected package libwine-nas-unstable.
Preparing to replace libwine-openal-unstable 1.3.16-0.2 (using libwine-openal-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-openal-unstable ...
Skipping deselected package libwine-oss-unstable.
Preparing to replace libwine-print-unstable 1.3.16-0.2 (using libwine-print-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-print-unstable ...
Preparing to replace libwine-sane-unstable 1.3.16-0.2 (using libwine-sane-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-sane-unstable ...
Preparing to replace libwine-unstable 1.3.16-0.2 (using libwine-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement libwine-unstable ...
Preparing to replace wine-bin-unstable 1.3.16-0.2 (using wine-bin-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement wine-bin-unstable ...
Preparing to replace wine-unstable 1.3.16-0.2 (using wine-unstable_1.3.17-0.1_amd64.deb) ...
Unpacking replacement wine-unstable ...
Setting up libwine-unstable (1.3.17-0.1) ...
Processing triggers for man-db ...
Setting up libwine-alsa-unstable (1.3.17-0.1) ...
Setting up libwine-bin-unstable (1.3.17-0.1) ...
Setting up libwine-cms-unstable (1.3.17-0.1) ...
Setting up libwine-gl-unstable (1.3.17-0.1) ...
Setting up libwine-gphoto2-unstable (1.3.17-0.1) ...
Setting up libwine-ldap-unstable (1.3.17-0.1) ...
Setting up libwine-openal-unstable (1.3.17-0.1) ...
Setting up libwine-print-unstable (1.3.17-0.1) ...
Setting up libwine-sane-unstable (1.3.17-0.1) ...
Setting up wine-bin-unstable (1.3.17-0.1) ...
Processing triggers for gnome-menus ...
Processing triggers for desktop-file-utils ...
Setting up wine-unstable (1.3.17-0.1) ...


craig

craig sanders <cas@taz.net.au>



To UNSUBSCRIBE, email to debian-bugs-dist-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
email Follow the discussionReplies 3 repliesReplies Make a reply

Replies

#1 Raphael Hertzog
April 03rd, 2011 - 09:30 am ET | Report spam
Hi,

On Sun, 03 Apr 2011, Craig Sanders wrote:
1. it segfaulted! (fortunately, /var/lib/dpkg/status wasn't corrupted)

2. it claimed it was installing a package called 'xŒ—)' which does
not exist. probably related to #1 above (buffer overrun or similar,
perhaps?)

(in case those 8-bit chars get mangled by an MTA, that's '788C 9729'
in hex)



Both problems are related. And I just pushed a fix for this.

3. version numbers which have been valid for years are now being
complained about as if they are invalid.



That's not a mistake. Version numbers are supposed to start with a digit.

dpkg still accepts them for installed packages but forbids them in .deb.

Cheers,
Raphaël Hertzog ◈ Debian Developer

Follow my Debian News ▶ http://RaphaelHertzog.com (English)
http://RaphaelHertzog.fr (Français)



To UNSUBSCRIBE, email to
with a subject of "unsubscribe". Trouble? Contact

Similar topics