Bug#530880: dpkg: E: _cache-open() failed
Il giorno gio, 28/05/2009 alle 19.35 +0200, Raphael Hertzog ha scritto: It's not needed to file a bug on linux-image-2.6.29-2-amd64, it's the same issue that caused its failure to install. Right. Thanks, steko -- Stefano Costa http://www.iosa.it/ Open Archaeology signature.asc Description: Questa è una parte del messaggio firmata digitalmente
Bug#530880: dpkg: E: _cache-open() failed
Subject: E: _cache-open() failed Package: dpkg Version: 1.15.2 Justification: renders package unusable Severity: grave *** Please type your report below this line *** Opening synaptic, I get the following error message: E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: _cache-open() failed, please report. dpkg --configure -a fails. I have attached an strace. I know there are some broken packages in my system, but they were there also before upgrading dpkg, so I don't know it this is related. I can't really understand well what's the problem, HTH. Ciao, steko -- Stefano Costa http://www.iosa.it/ Open Archaeology -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable'), (101, 'experimental') Architecture: amd64 (x86_64) Kernel: Linux 2.6.29-1-amd64 (SMP w/2 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages dpkg depends on: ii coreutils 7.3-1 The GNU core utilities ii libc6 2.9-10 GNU C Library: Shared libraries ii lzma 4.43-14Compression method of 7z format in dpkg recommends no packages. Versions of packages dpkg suggests: ii apt 0.7.21 Advanced front-end for dpkg -- no debconf information execve(/usr/bin/dpkg, [dpkg, --configure, -a], [/* 16 vars */]) = 0 brk(0) = 0x1a42000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d2cf67000 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) mmap(NULL, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d2cf65000 access(/etc/ld.so.preload, R_OK) = -1 ENOENT (No such file or directory) open(/etc/ld.so.cache, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=117261, ...}) = 0 mmap(NULL, 117261, PROT_READ, MAP_PRIVATE, 3, 0) = 0x7f2d2cf48000 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/lib/libpthread.so.0, O_RDONLY) = 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\300W\0\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=125836, ...}) = 0 mmap(NULL, 2204512, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2d2cb31000 mprotect(0x7f2d2cb47000, 2093056, PROT_NONE) = 0 mmap(0x7f2d2cd46000, 8192, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x15000) = 0x7f2d2cd46000 mmap(0x7f2d2cd48000, 13152, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2d2cd48000 close(3)= 0 access(/etc/ld.so.nohwcap, F_OK) = -1 ENOENT (No such file or directory) open(/lib/libc.so.6, O_RDONLY)= 3 read(3, \177ELF\2\1\1\0\0\0\0\0\0\0\0\0\3\0\0\1\0\0\0\300\346\1\0\0\0\0\0..., 832) = 832 fstat(3, {st_mode=S_IFREG|0755, st_size=1375536, ...}) = 0 mmap(NULL, 3482264, PROT_READ|PROT_EXEC, MAP_PRIVATE|MAP_DENYWRITE, 3, 0) = 0x7f2d2c7de000 mprotect(0x7f2d2c927000, 2097152, PROT_NONE) = 0 mmap(0x7f2d2cb27000, 20480, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_DENYWRITE, 3, 0x149000) = 0x7f2d2cb27000 mmap(0x7f2d2cb2c000, 17048, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_FIXED|MAP_ANONYMOUS, -1, 0) = 0x7f2d2cb2c000 close(3)= 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d2cf47000 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d2cf46000 arch_prctl(ARCH_SET_FS, 0x7f2d2cf46780) = 0 open(/dev/urandom, O_RDONLY) = 3 read(3, \21\262\360\200\24; \301, 8) = 8 close(3)= 0 mprotect(0x7f2d2cb27000, 16384, PROT_READ) = 0 mprotect(0x7f2d2cd46000, 4096, PROT_READ) = 0 mprotect(0x7f2d2cf68000, 4096, PROT_READ) = 0 munmap(0x7f2d2cf48000, 117261) = 0 set_tid_address(0x7f2d2cf46810) = 2158 set_robust_list(0x7f2d2cf46820, 0x18) = 0 futex(0x7fff34f6765c, FUTEX_WAKE_PRIVATE, 1) = 0 rt_sigaction(SIGRTMIN, {0x7f2d2cb36650, [], SA_RESTORER|SA_SIGINFO, 0x7f2d2cb3f7b0}, NULL, 8) = 0 rt_sigaction(SIGRT_1, {0x7f2d2cb366e0, [], SA_RESTORER|SA_RESTART|SA_SIGINFO, 0x7f2d2cb3f7b0}, NULL, 8) = 0 rt_sigprocmask(SIG_UNBLOCK, [RTMIN RT_1], NULL, 8) = 0 getrlimit(RLIMIT_STACK, {rlim_cur=8192*1024, rlim_max=RLIM_INFINITY}) = 0 brk(0) = 0x1a42000 brk(0x1a63000) = 0x1a63000 open(/etc/selinux/config, O_RDONLY) = 3 fstat(3, {st_mode=S_IFREG|0644, st_size=584, ...}) = 0 mmap(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 0x7f2d2cf64000 read(3, # This file controls the state o..., 4096) = 584 read(3, , 4096) = 0 close(3)= 0 munmap(0x7f2d2cf64000, 4096)= 0 statfs(/selinux, {f_type=EXT2_SUPER_MAGIC, f_bsize=4096,
Bug#530880: dpkg: E: _cache-open() failed
On Thu, 28 May 2009, Stefano Costa wrote: Opening synaptic, I get the following error message: E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. E: _cache-open() failed, please report. Report against synaptic I guess... and not dpkg. dpkg --configure -a fails. I have attached an strace. I know there are some broken packages in my system, but they were there also before upgrading dpkg, so I don't know it this is related. What about copying its (english) output instead of an strace ? Please run LANG=C dpkg --configure -a and show us what it says. If it's a package that is unable to configure, it's not a dpkg bug but one of the given package... and if synaptic does not start because one package is not configured, it would be a synaptic bug. Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#530880: dpkg: E: _cache-open() failed
Il giorno gio, 28/05/2009 alle 16.18 +0200, Raphael Hertzog ha scritto: Report against synaptic I guess... and not dpkg. What about copying its (english) output instead of an strace ? Please run LANG=C dpkg --configure -a and show us what it says. Sorry. I somehow misinterpreted the error message. Here's the output: st...@gibreel:~$ LANG=C dpkg --configure -a dpkg: requested operation requires superuser privilege st...@gibreel:~$ sudo !! sudo LANG=C dpkg --configure -a [sudo] password for steko: Setting up initramfs-tools (0.93.2) ... update-initramfs: deferring update (trigger activated) Setting up linux-image-2.6.29-2-amd64 (2.6.29-5) ... Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.29-2-amd64 dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3 W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3 W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3 cpio: ./etc/udev/rules.d/libmtp8.rules: Cannot stat: No such file or directory update-initramfs: failed for /boot/initrd.img-2.6.29-2-amd64 update-initramfs failed to create initrd image. Failed to create initrd image. dpkg: error processing linux-image-2.6.29-2-amd64 (--configure): subprocess installed post-installation script returned error exit status 2 Processing triggers for initramfs-tools ... update-initramfs: Generating /boot/initrd.img-2.6.29-1-amd64 dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3 W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3 W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3 cpio: ./etc/udev/rules.d/libmtp8.rules: Cannot stat: No such file or directory update-initramfs: failed for /boot/initrd.img-2.6.29-1-amd64 dpkg: subprocess installed post-installation script returned error exit status 1 Again, not sure if this matters,but: st...@gibreel:~$ sudo apt-get update [...] E: dpkg was interrupted, you must manually run 'dpkg --configure -a' to correct the problem. Ciao, steko -- Stefano Costa http://www.iosa.it/ Open Archaeology signature.asc Description: Questa è una parte del messaggio firmata digitalmente
Processed: Re: Bug#530880: dpkg: E: _cache-open() failed
Processing commands for cont...@bugs.debian.org: reassign 530880 initramfs-tools 0.93.2 Bug#530880: dpkg: E: _cache-open() failed Bug reassigned from package `dpkg' to `initramfs-tools'. retitle 530880 update-initramfs broken probably due to bad symlink libmtp8.rules Bug#530880: dpkg: E: _cache-open() failed Changed Bug title to `update-initramfs broken probably due to bad symlink libmtp8.rules' from `dpkg: E: _cache-open() failed'. thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#530880: dpkg: E: _cache-open() failed
reassign 530880 initramfs-tools 0.93.2 retitle 530880 update-initramfs broken probably due to bad symlink libmtp8.rules thanks On Thu, 28 May 2009, Stefano Costa wrote: Il giorno gio, 28/05/2009 alle 16.18 +0200, Raphael Hertzog ha scritto: Report against synaptic I guess... and not dpkg. What about copying its (english) output instead of an strace ? Please run LANG=C dpkg --configure -a and show us what it says. Sorry. I somehow misinterpreted the error message. Here's the output: So the problem is not at all dpkg related... it's just linux-image-2.6.29-2-amd64 that can't be configured because update-initramfs fails for some unknown reason. Reassigning it to update-initramfs. Do you have enough space in /boot ? What gives df -h /boot ? st...@gibreel:~$ LANG=C dpkg --configure -a dpkg: requested operation requires superuser privilege st...@gibreel:~$ sudo !! sudo LANG=C dpkg --configure -a [sudo] password for steko: Setting up initramfs-tools (0.93.2) ... update-initramfs: deferring update (trigger activated) Setting up linux-image-2.6.29-2-amd64 (2.6.29-5) ... Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.29-2-amd64 dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3 W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3 W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3 cpio: ./etc/udev/rules.d/libmtp8.rules: Cannot stat: No such file or directory This is probably the core of the problem. Do you have libmtp8 installed ? What gives the following commands ? ls -al /etc/udev/ /etc/udev/rules.d/ dpkg -s libmtp8 libmtp7 In any case, update-initramfs could be more resistant to a what is probably a dangling symlink... update-initramfs: failed for /boot/initrd.img-2.6.29-2-amd64 update-initramfs failed to create initrd image. Failed to create initrd image. dpkg: error processing linux-image-2.6.29-2-amd64 (--configure): subprocess installed post-installation script returned error exit status 2 Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Processed: Re: Bug#530880: dpkg: E: _cache-open() failed
Processing commands for cont...@bugs.debian.org: reassign 530880 libmtp8 Bug#530880: update-initramfs broken probably due to bad symlink libmtp8.rules Bug reassigned from package `initramfs-tools' to `libmtp8'. stop Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#530880: dpkg: E: _cache-open() failed
reassign 530880 libmtp8 stop On Thu, May 28, 2009 at 06:26:28PM +0200, Raphael Hertzog wrote: reassign 530880 initramfs-tools 0.93.2 retitle 530880 update-initramfs broken probably due to bad symlink libmtp8.rules thanks On Thu, 28 May 2009, Stefano Costa wrote: Il giorno gio, 28/05/2009 alle 16.18 +0200, Raphael Hertzog ha scritto: Report against synaptic I guess... and not dpkg. What about copying its (english) output instead of an strace ? Please run LANG=C dpkg --configure -a and show us what it says. Sorry. I somehow misinterpreted the error message. Here's the output: So the problem is not at all dpkg related... it's just linux-image-2.6.29-2-amd64 that can't be configured because update-initramfs fails for some unknown reason. Reassigning it to update-initramfs. Do you have enough space in /boot ? What gives df -h /boot ? st...@gibreel:~$ LANG=C dpkg --configure -a dpkg: requested operation requires superuser privilege st...@gibreel:~$ sudo !! sudo LANG=C dpkg --configure -a [sudo] password for steko: Setting up initramfs-tools (0.93.2) ... update-initramfs: deferring update (trigger activated) Setting up linux-image-2.6.29-2-amd64 (2.6.29-5) ... Running depmod. Running update-initramfs. update-initramfs: Generating /boot/initrd.img-2.6.29-2-amd64 dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. dpkg: warning: obsolete option '--print-installation-architecture', please use '--print-architecture' instead. W: Possible missing firmware /lib/firmware/tigon/tg3_tso5.bin for module tg3 W: Possible missing firmware /lib/firmware/tigon/tg3_tso.bin for module tg3 W: Possible missing firmware /lib/firmware/tigon/tg3.bin for module tg3 cpio: ./etc/udev/rules.d/libmtp8.rules: Cannot stat: No such file or directory This is probably the core of the problem. Do you have libmtp8 installed ? What gives the following commands ? ls -al /etc/udev/ /etc/udev/rules.d/ dpkg -s libmtp8 libmtp7 In any case, update-initramfs could be more resistant to a what is probably a dangling symlink... update-initramfs: failed for /boot/initrd.img-2.6.29-2-amd64 update-initramfs failed to create initrd image. Failed to create initrd image. dpkg: error processing linux-image-2.6.29-2-amd64 (--configure): subprocess installed post-installation script returned error exit status 2 Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#530880: dpkg: E: _cache-open() failed
Il giorno gio, 28/05/2009 alle 18.26 +0200, Raphael Hertzog ha scritto: So the problem is not at all dpkg related... it's just linux-image-2.6.29-2-amd64 that can't be configured because update-initramfs fails for some unknown reason. Reassigning it to update-initramfs. Do you have enough space in /boot ? What gives df -h /boot ? st...@gibreel:~$ LANG=C df -h /boot FilesystemSize Used Avail Use% Mounted on /dev/sda1 108G 94G 7.8G 93% / looks ok ? This is probably the core of the problem. Do you have libmtp8 installed ? What gives the following commands ? ls -al /etc/udev/ /etc/udev/rules.d/ dpkg -s libmtp8 libmtp7 libmtp8 is installed, but indeed there seems to be a broken symlink: st...@gibreel:~$ ls -al /etc/udev/ /etc/udev/rules.d/ /etc/udev/: totale 128 drwxr-xr-x 4 root root 4096 27 mag 10:10 . drwxr-xr-x 154 root root 12288 28 mag 12:35 .. drwxr-xr-x 2 root root 4096 8 ago 2008 .dev -rw-r--r-- 1 root root92 17 giu 2008 hdparm.rules -rw-r--r-- 1 root root 297 10 set 2008 kino.rules -rw-r--r-- 1 root root 75443 15 apr 15:58 libgphoto2.rules -rw-r--r-- 1 root root 397 8 ago 2008 links.conf -rw-r--r-- 1 root root 949 19 ago 2007 pcmcia.rules drwxr-xr-x 2 root root 4096 27 mag 10:25 rules.d -rw-r--r-- 1 root root 269 26 mar 22:35 udev.conf -rw-r--r-- 1 root root 590 27 gen 2008 xen-backend.rules /etc/udev/rules.d/: totale 116 drwxr-xr-x 2 root root 4096 27 mag 10:25 . drwxr-xr-x 4 root root 4096 27 mag 10:10 .. [...] lrwxrwxrwx 1 root root16 6 mag 13:53 libmtp8.rules - ../libmtp8.rules /etc/udev/rules.d/libmtp8.rules points to ../libmtp8.rules which is not there. Ciao, steko -- Stefano Costa http://www.iosa.it/ Open Archaeology signature.asc Description: Questa è una parte del messaggio firmata digitalmente
Bug#530880: dpkg: E: _cache-open() failed
On Thu, 28 May 2009, Stefano Costa wrote: st...@gibreel:~$ LANG=C df -h /boot FilesystemSize Used Avail Use% Mounted on /dev/sda1 108G 94G 7.8G 93% / looks ok ? yes. /etc/udev/rules.d/: totale 116 drwxr-xr-x 2 root root 4096 27 mag 10:25 . drwxr-xr-x 4 root root 4096 27 mag 10:10 .. [...] lrwxrwxrwx 1 root root16 6 mag 13:53 libmtp8.rules - ../libmtp8.rules /etc/udev/rules.d/libmtp8.rules points to ../libmtp8.rules which is not there. What version of libmtp8 do you have ? Because this sounds similar to #527206 fixed in 0.3.7-5. Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Bug#530880: dpkg: E: _cache-open() failed
Il giorno gio, 28/05/2009 alle 19.02 +0200, Raphael Hertzog ha scritto: What version of libmtp8 do you have ? 0.3.7-4 Because this sounds similar to #527206 fixed in 0.3.7-5. Indeed. I installed 0.3.7-7 manually and things seem ok (I'll file a separate bug about linux-image-2.6.29-2-amd64). Thanks, steko -- Stefano Costa http://www.iosa.it/ Open Archaeology signature.asc Description: Questa è una parte del messaggio firmata digitalmente
Bug#530880: dpkg: E: _cache-open() failed
forcemerge 527206 530880 thanks On Thu, 28 May 2009, Stefano Costa wrote: Il giorno gio, 28/05/2009 alle 19.02 +0200, Raphael Hertzog ha scritto: What version of libmtp8 do you have ? 0.3.7-4 Because this sounds similar to #527206 fixed in 0.3.7-5. Indeed. I installed 0.3.7-7 manually and things seem ok (I'll file a separate bug about linux-image-2.6.29-2-amd64). It's not needed to file a bug on linux-image-2.6.29-2-amd64, it's the same issue that caused its failure to install. Cheers, -- Raphaël Hertzog Contribuez à Debian et gagnez un cahier de l'admin Debian Lenny : http://www.ouaza.com/wp/2009/03/02/contribuer-a-debian-gagner-un-livre/ -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Processed: Re: Bug#530880: dpkg: E: _cache-open() failed
Processing commands for cont...@bugs.debian.org: forcemerge 527206 530880 Bug#527206: libmtp8: udev rules file missing Bug#530880: update-initramfs broken probably due to bad symlink libmtp8.rules Bug#525094: dangling symlink in /etc/udev/rules.d/ Bug#527360: initramfs-tools fails to complete installation with error Bug#527493: initramfs-tools: ./etc/udev/rules.d/libmtp.rules: Cannot stat: No such file or directory Forcibly Merged 525094 527206 527360 527493 530880. thanks Stopping processing here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org