Package: initramfs-tools Version: 0.93.4 Severity: normal Hi, also have this problem.
I build mainline kernel, and build debian package using `make deb-pkg`, then i manually deleted some files in /boot. When i then wanted to remove package using `dpkg -P linux-image-....`, i had this error: Cannot delete /boot/initrd.img-2.6.33-rc1-sredniczarny-00096-gdd59f6c, doesn't exist. run-parts: /etc/kernel/postrm.d/initramfs-tools exited with return code 1 dpkg: błąd przetwarzania linux-image-2.6.33-rc1-sredniczarny-00096-gdd59f6c (--purge): podproces zainstalowany skrypt post-removal zwrócił kod błędu 1 Wystąpiły błędy podczas przetwarzania: linux-image-2.6.33-rc1-sredniczarny-00096-gdd59f6c changins last line of /etc/kernel/postrm.d/initramfs-tools to: update-initramfs -d -k "$1" || exit 0 resolved problem. -- Package-specific info: -- /proc/cmdline BOOT_IMAGE=//vmlinuz-2.6.31-1-686 root=/dev/mapper/sredniczarny-root ro vga=791 radeon.modeset=0 nomodeset -- /proc/filesystems ext4 ext4dev ext3 fuseblk -- lsmod Module Size Used by lib80211_crypt_ccmp 5064 2 ecb 2724 1 ecryptfs 86028 1 drm 150248 0 sco 9744 2 bridge 46000 0 stp 2260 1 bridge bnep 11464 2 rfcomm 33444 0 l2cap 19672 6 bnep,rfcomm bluetooth 52832 6 sco,bnep,rfcomm,l2cap microcode 12068 0 acpi_cpufreq 8104 0 cpufreq_userspace 2944 0 cpufreq_conservative 6780 0 cpufreq_powersave 1408 0 cpufreq_stats 3868 0 binfmt_misc 7596 1 uinput 7244 1 deflate 2584 0 zlib_deflate 18340 1 deflate ctr 4188 0 twofish 6400 0 twofish_common 13400 1 twofish camellia 17792 0 serpent 17096 0 blowfish 8092 0 cast5 16524 0 des_generic 16452 0 xcbc 4540 0 rmd160 10276 0 sha1_generic 2164 0 hmac 3856 0 crypto_null 3176 0 af_key 27648 2 fuse 58196 31 ext3 115288 1 jbd 45192 1 ext3 radeonfb 59072 0 fb_ddc 1988 1 radeonfb i2c_algo_bit 5428 1 radeonfb loop 14268 0 joydev 9252 0 pcmcia 26196 0 snd_intel8x0 28036 4 snd_ac97_codec 99668 1 snd_intel8x0 ac97_bus 1628 1 snd_ac97_codec snd_pcm_oss 35316 0 snd_mixer_oss 13528 1 snd_pcm_oss snd_pcm 69984 3 snd_intel8x0,snd_ac97_codec,snd_pcm_oss snd_seq_midi 6096 0 snd_rawmidi 20452 1 snd_seq_midi snd_seq_midi_event 6992 1 snd_seq_midi snd_seq 47960 3 snd_seq_midi,snd_seq_midi_event yenta_socket 22736 1 snd_timer 19000 2 snd_pcm,snd_seq rsrc_nonstatic 10616 1 yenta_socket snd_seq_device 6780 3 snd_seq_midi,snd_rawmidi,snd_seq ipw2200 127900 0 pcmcia_core 34464 3 pcmcia,yenta_socket,rsrc_nonstatic libipw 25660 1 ipw2200 snd 54440 18 snd_intel8x0,snd_ac97_codec,snd_pcm_oss,snd_mixer_oss,snd_pcm,snd_rawmidi,snd_seq,snd_timer,snd_seq_device soundcore 6844 1 snd i2c_i801 8948 0 thinkpad_acpi 60088 0 lib80211 6488 3 lib80211_crypt_ccmp,ipw2200,libipw rfkill 18660 2 bluetooth,thinkpad_acpi snd_page_alloc 8644 2 snd_intel8x0,snd_pcm i2c_core 21744 5 drm,radeonfb,fb_ddc,i2c_algo_bit,i2c_i801 serio_raw 5108 0 rng_core 3996 0 led_class 4236 1 thinkpad_acpi parport_pc 23704 0 psmouse 41076 0 pcspkr 2428 0 parport 33408 1 parport_pc processor 36760 2 acpi_cpufreq evdev 8832 23 battery 6348 0 nvram 6940 1 thinkpad_acpi ac 3124 0 button 5488 0 ext4 284896 5 mbcache 7488 2 ext3,ext4 jbd2 73892 1 ext4 crc16 1840 1 ext4 sha256_generic 11492 0 aes_i586 8312 5 aes_generic 27640 1 aes_i586 cbc 3352 1 dm_crypt 12340 1 dm_mod 65432 24 dm_crypt sg 21560 3 sd_mod 31840 3 crc_t10dif 1716 1 sd_mod sr_mod 14476 0 cdrom 31704 1 sr_mod ide_pci_generic 3784 0 ide_core 97660 1 ide_pci_generic ata_generic 4500 0 ahci 33396 0 uhci_hcd 20488 0 ata_piix 21484 4 ehci_hcd 32476 0 libata 162920 3 ata_generic,ahci,ata_piix tg3 96972 0 intel_agp 25536 0 scsi_mod 143032 4 sg,sd_mod,sr_mod,libata usbcore 141112 3 uhci_hcd,ehci_hcd nls_base 7188 1 usbcore libphy 23160 1 tg3 video 19856 0 output 2872 1 video agpgart 33088 2 drm,intel_agp thermal 13720 0 fan 4460 0 thermal_sys 14396 4 processor,video,thermal,fan -- /etc/kernel-img.conf # Kernel image management overrides # See kernel-img.conf(5) for details do_symlinks = yes relative_links = yes do_bootloader = no do_bootfloppy = no do_initrd = yes link_in_boot = no postinst_hook = update-grub postrm_hook = update-grub -- /etc/initramfs-tools/initramfs.conf MODULES=most BUSYBOX=y KEYMAP=n BOOT=local DEVICE=eth0 NFSROOT=auto -- /etc/crypttab sda2_crypt UUID=b4ff103e-74e7-4f1a-947c-5a841ee66f7c none luks -- System Information: Debian Release: squeeze/sid APT prefers unstable APT policy: (500, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.31-1-686 (SMP w/1 CPU core) Locale: LANG=pl_PL.UTF-8, LC_CTYPE=pl_PL.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to pl_PL.UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages initramfs-tools depends on: ii cpio 2.10-1 GNU cpio -- a program to manage ar ii findutils 4.4.2-1 utilities for finding files--find, ii klibc-utils 1.5.15-1 small utilities built with klibc f ii module-init-tools 3.11-1 tools for managing Linux kernel mo ii udev 149-1 /dev/ and hotplug management daemo Versions of packages initramfs-tools recommends: ii busybox 1:1.14.2-2 Tiny utilities for small and embed initramfs-tools suggests no packages. -- no debconf information -- To UNSUBSCRIBE, email to debian-kernel-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org