Bug#738664: initramfs-tools: remove all kernels while purge
Package: initramfs-tools
Version: 0.115
Severity: critical
Tags: upstream
Justification: breaks the whole system
Dear Maintainer,
When I try to purge iniramfs-tools in jessie/sid, it also removes all installed
kernels without standard warnings (like sysvinit):
-------------------
sudo aptitude purge initramfs-tools
Les paquets suivants seront ENLEVÉS :
initramfs-tools{p} [0.115]
0 paquets mis à jour, 0 nouvellement installés, 1 à enlever et 0 non mis à
jour.
Il est nécessaire de télécharger 0 o d'archives. Après dépaquetage, 334 ko
seront libérés.
Les paquets suivants ont des dépendances non satisfaites :
linux-image-3.12-1-686-pae : Dépend: initramfs-tools (>= 0.110~) mais il ne
sera pas installé. ou
linux-initramfs-tool qui est un paquet
virtuel
Les actions suivantes permettront de résoudre ces dépendances :
Supprimer les paquets suivants :
1) linux-image-3.12-1-686-pae
2) linux-image-686-pae
Accepter cette solution ? [Y/n/q/?] y
Les paquets suivants seront ENLEVÉS :
initramfs-tools{p} [0.115] libuuid-perl{u} [0.05-1] linux-base{u} [3.5]
linux-image-3.12-1-686-pae{a} [3.12.9-1]
linux-image-686-pae{a} [3.12+55]
0 paquets mis à jour, 0 nouvellement installés, 5 à enlever et 0 non mis à
jour.
Il est nécessaire de télécharger 0 o d'archives. Après dépaquetage, 108 Mo
seront libérés.
Voulez-vous continuer ? [Y/n/?] n
-------------------
I think that is very dangerous for "simple users" - after deleting "strange
packages" their systems fails to boot.
Best regards,
Malaheenee
-- Package-specific info:
-- initramfs sizes
-rw-r--r-- 1 root root 3.0M Feb 11 18:44 /boot/initrd.img-3.12-1-686-pae
-- /proc/cmdline
BOOT_IMAGE=/boot/vmlinuz-3.12-1-686-pae root=UUID=0ae21b3d-1e37-4de4-bbc5-69fe18afec37 ro quiet
-- resume
RESUME=UUID=a08ed0d9-d715-400e-8bfb-6a7f600130c8
-- /proc/filesystems
ext3
ext2
ext4
fuseblk
-- lsmod
Module Size Used by
cpuid 12583 0
usb_storage 43324 0
cpufreq_conservative 13872 2
pci_stub 12397 1
vboxpci 22738 0
vboxnetadp 25431 0
vboxnetflt 27112 0
vboxdrv 236389 3 vboxnetadp,vboxnetflt,vboxpci
rfcomm 32155 14
bnep 17184 2
uinput 17068 1
loop 21960 0
fuse 68789 1
btusb 21248 0
bluetooth 195092 22 bnep,btusb,rfcomm
hid_generic 12369 0
usbhid 39650 0
hid 76882 2 hid_generic,usbhid
joydev 16847 0
uvcvideo 69768 0
videobuf2_vmalloc 12720 1 uvcvideo
videobuf2_memops 12471 1 videobuf2_vmalloc
videobuf2_core 34683 1 uvcvideo
videodev 90700 2 uvcvideo,videobuf2_core
media 17840 2 uvcvideo,videodev
sg 25573 0
sr_mod 21563 0
cdrom 34540 1 sr_mod
iTCO_wdt 12727 0
iTCO_vendor_support 12585 1 iTCO_wdt
coretemp 12734 0
psmouse 76428 0
snd_hda_codec_si3054 12662 1
serio_raw 12737 0
pcspkr 12531 0
evdev 17136 23
lpc_ich 16616 0
ata_generic 12450 0
snd_hda_codec_realtek 40686 1
arc4 12480 2
firewire_ohci 34856 0
radeon 1193388 2
iwl3945 53405 0
snd_hda_intel 34991 6
iwlegacy 45729 1 iwl3945
mac80211 389428 2 iwl3945,iwlegacy
snd_hda_codec 126872 3 snd_hda_codec_realtek,snd_hda_codec_si3054,snd_hda_intel
ata_piix 25240 0
snd_hwdep 12906 1 snd_hda_codec
ttm 55501 1 radeon
drm_kms_helper 35231 1 radeon
mfd_core 12537 1 lpc_ich
firewire_core 51080 1 firewire_ohci
r852 17265 0
sm_common 16469 1 r852
nand 47833 2 r852,sm_common
nand_ecc 12447 1 nand
nand_ids 8209 1 nand
mtd 36923 2 nand,sm_common
crc_itu_t 12331 1 firewire_core
r592 17143 0
ehci_pci 12432 0
uhci_hcd 26364 0
memstick 13432 1 r592
ehci_hcd 43678 1 ehci_pci
sdhci_pci 17643 0
sdhci 26483 1 sdhci_pci
mmc_core 79303 2 sdhci,sdhci_pci
cfg80211 343711 3 iwl3945,iwlegacy,mac80211
snd_pcm 69546 4 snd_hda_codec_si3054,snd_hda_codec,snd_hda_intel
drm 194291 4 ttm,drm_kms_helper,radeon
snd_page_alloc 12882 2 snd_pcm,snd_hda_intel
usbcore 138045 7 btusb,uhci_hcd,uvcvideo,usb_storage,ehci_hcd,ehci_pci,usbhid
asus_laptop 22309 0
i2c_algo_bit 12647 1 radeon
video 17506 0
sparse_keymap 12730 1 asus_laptop
rfkill 18387 6 cfg80211,asus_laptop,bluetooth
input_polldev 12802 1 asus_laptop
battery 12949 0
ac 12588 0
snd_seq 43336 0
snd_seq_device 12980 1 snd_seq
snd_timer 22010 3 snd_pcm,snd_seq
acpi_cpufreq 13019 1
usb_common 12408 1 usbcore
snd 46678 19 snd_hda_codec_realtek,snd_hda_codec_si3054,snd_hwdep,snd_timer,snd_pcm,snd_seq,snd_hda_codec,snd_hda_intel,snd_seq_device
i2c_core 23342 5 drm,drm_kms_helper,i2c_algo_bit,radeon,videodev
processor 27633 3 acpi_cpufreq
button 12824 0
soundcore 12890 1 snd
atl1 34792 0
mii 12595 1 atl1
ext4 434296 2
crc16 12327 2 ext4,bluetooth
mbcache 12938 1 ext4
jbd2 73002 1 ext4
sd_mod 43598 4
crc_t10dif 12399 1 sd_mod
crct10dif_common 12340 1 crc_t10dif
ahci 25000 3
libahci 22610 1 ahci
libata 149321 4 ahci,libahci,ata_generic,ata_piix
scsi_mod 151515 5 sg,usb_storage,libata,sd_mod,sr_mod
thermal 17268 0
thermal_sys 22925 3 video,thermal,processor
-- /etc/initramfs-tools/modules
-- /etc/kernel-img.conf
# Kernel image management overrides
# See kernel-img.conf(5) for details
do_symlinks = yes
do_bootloader = no
do_initrd = yes
link_in_boot = no
-- /etc/initramfs-tools/initramfs.conf
MODULES=dep
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
-- /etc/initramfs-tools/update-initramfs.conf
update_initramfs=yes
backup_initramfs=no
-- /sys/block
loop0
loop1
loop2
loop3
loop4
loop5
loop6
loop7
sda
sr0
-- mkinitramfs hooks
/etc/initramfs-tools/hooks/:
/usr/share/initramfs-tools/hooks:
busybox
dmsetup
fuse
intel_microcode
keymap
klibc
kmod
ntfs_3g
resume
thermal
udev
zz-busybox
-- System Information:
Debian Release: jessie/sid
APT prefers unstable
APT policy: (990, 'unstable'), (500, 'stable-updates'), (500, 'testing'), (500, 'stable'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 3.12-1-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages initramfs-tools depends on:
ii cpio 2.11+dfsg-1
ii klibc-utils 2.0.2-1
ii kmod 16-2
ii module-init-tools 16-2
ii udev 204-6
Versions of packages initramfs-tools recommends:
ii busybox 1:1.22.0-4
Versions of packages initramfs-tools suggests:
ii bash-completion 1:2.1-2
-- Configuration Files:
/etc/initramfs-tools/initramfs.conf changed:
MODULES=dep
BUSYBOX=y
KEYMAP=n
COMPRESS=gzip
DEVICE=
NFSROOT=auto
-- no debconf information
Reply to: