[Pkg-pciutils-discuss] Bug#395941: Upgrade of pciutils broken

Jack Malmostoso malmostoso at email.it
Sat Oct 28 22:29:48 CEST 2006


Package: pciutils
Version: 1:2.2.4~pre4-1
Severity: normal

Hi there,

the upgrade of pciutils failed with the following error:

vasquez:/var/lib/dpkg/info# apt-get install --reinstall pciutils
Reading package lists... Done
Building dependency tree... Done
The following packages will be upgraded:
  pciutils
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0B/222kB of archives.
After unpacking 20.5kB of additional disk space will be used.
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
(Reading database ... 110196 files and directories currently installed.)
Preparing to replace pciutils 1:2.2.4~pre4-1 (using
.../pciutils_1%3a2.2.4-1_powerpc.deb) ...
Unpacking replacement pciutils ...
dpkg: warning - unable to stat old post-removal script
`/var/lib/dpkg/info/pciutils.postrm': Permission denied
dpkg - trying script from the new package instead ...
dpkg: ... it looks like that went OK.
dpkg: error processing
/var/cache/apt/archives/pciutils_1%3a2.2.4-1_powerpc.deb (--unpack):
 unable to install (supposed) new info file `/var/lib/dpkg/tmp.ci/postrm':
/Permission denied
Errors were encountered while processing:
 /var/cache/apt/archives/pciutils_1%3a2.2.4-1_powerpc.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

The weirdest thing is actually this:

vasquez:/var/lib/dpkg/info# ls -l | grep pciutils
-rw-r--r-- 1 root root    643 2006-10-28 22:16 pciutils.list
?--------- ? ?    ?         ?                ? pciutils.md5sums
-rwxr-xr-x 1 root root    287 2006-08-18 11:31 pciutils.postinst
?--------- ? ?    ?         ?                ? pciutils.postrm
?--------- ? ?    ?         ?                ? pciutils.preinst

In 5 years of using linux I have never seen something like this!
I can't understand whether this is a local problem of my filesystem or if
there's something wrong in the old package.

Obviously I can't change ownership nor permissions.

Thanks for any help!

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable'), (1, 'experimental')
Architecture: powerpc (ppc)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.17-2-powerpc
Locale: LANG=en_IE.UTF-8 at euro, LC_CTYPE=en_IE.UTF-8 at euro (charmap=UTF-8)

Versions of packages pciutils depends on:
ii  libc6                        2.3.6.ds1-7 GNU C Library: Shared libraries
ii  libpci2                      2:2.1.11-3  Obsolete shared library for access

pciutils recommends no packages.

-- no debconf information




More information about the Pkg-pciutils-discuss mailing list