Bug#918352: initramfs: initramfs-tools is broken or not fully installed and update-initramfs fails with 1
This problem was solved by reinstalling the package "base-files" as the folder /var/tmp/ was broken - thanks to pabs and the great IRC channel help. Report can be closed. Thanks for your work! Maria: > Package: initramfs-tools > Version: 0.132 > Severity: important > File: initramfs > > Dear Maintainer, > > using apt, update-initramfs fails reproducably with 1: > > # LANG=C.UTF-8 apt-get install -f > Reading package lists... Done > Building dependency tree > Reading state information... Done > The following packages were automatically installed and are no longer > required: > clamz kio-audiocd libkf5compactdisc5 liblastfm1 liblvm2cmd2.02 > libqtscript4-core libqtscript4-gui libqtscript4-network libqtscript4-sql > libqtscript4-uitools libqtscript4-xml > libtag-extras1 > Use 'apt autoremove' to remove them. > 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. > 1 not fully installed or removed. > After this operation, 0 B of additional disk space will be used. > Setting up initramfs-tools (0.132) ... > update-initramfs: deferring update (trigger activated) > Processing triggers for initramfs-tools (0.132) ... > update-initramfs: Generating /boot/initrd.img-4.19.0-1-amd64 > mktemp: failed to create directory via template ‘/var/tmp/mkinitramfs_XX’: > No such file or directory > update-initramfs: failed for /boot/initrd.img-4.19.0-1-amd64 with 1. > dpkg: error processing package initramfs-tools (--configure): > installed initramfs-tools package post-installation script subprocess > returned > error exit status 1 > Errors were encountered while processing: > initramfs-tools > E: Sub-process /usr/bin/dpkg returned an error code (1) > > > The folder /var/tmp/ is not existing. > > # LANG=C.UTF-8 dpkg-reconfigure initramfs-tools > /usr/sbin/dpkg-reconfigure: initramfs-tools is broken or not fully installed > > I actually need that, to fix my system... > I have several other problems with my system but I don't think they are > related. If you need more logs, outputs etc. I'd be glad to provide. > > > Thanks for your help! > > > > -- Package-specific info: > -- initramfs sizes > -rw-r--r-- 1 root root 17M May 12 2016 /boot/initrd.img-3.16.0-4-amd64 > -rw-r--r-- 1 root root 29M Dec 5 20:46 /boot/initrd.img-4.18.0-3-amd64 > -rw-r--r-- 1 root root 29M Jan 1 10:35 /boot/initrd.img-4.19.0-1-amd64 > -rw-r--r-- 1 root root 20M May 14 2016 /boot/initrd.img-4.5.0-0.bpo.1-amd64 > -rw-r--r-- 1 root root 20M Oct 13 2016 /boot/initrd.img-4.5.0-2-amd64 > -rw-r--r-- 1 root root 20M Nov 16 2016 /boot/initrd.img-4.7.0-1-amd64 > -- /proc/cmdline > BOOT_IMAGE=/vmlinuz-4.19.0-1-amd64 > root=/dev/mapper/Himmel--voller--Sterne--vg-root ro quiet intel_iommu=igfx_off > > -- resume > RESUME=/dev/mapper/Himmel--voller--Sterne--vg-swap > -- /proc/filesystems > ext3 > ext2 > ext4 > vfat > fuseblk > > -- lsmod > Module Size Used by > ctr16384 2 > ccm20480 3 > fuse 122880 3 > acpi_call 16384 0 > cmac 16384 0 > rfcomm 86016 0 > bnep 24576 2 > uvcvideo 118784 0 > videobuf2_vmalloc 16384 1 uvcvideo > videobuf2_memops 16384 1 videobuf2_vmalloc > videobuf2_v4l2 28672 1 uvcvideo > videobuf2_common 53248 2 videobuf2_v4l2,uvcvideo > videodev 212992 3 videobuf2_v4l2,uvcvideo,videobuf2_common > media 45056 2 videodev,uvcvideo > btusb 53248 0 > btrtl 16384 1 btusb > btbcm 16384 1 btusb > btintel24576 1 btusb > devlink77824 0 > ebtable_filter 16384 0 > ebtables 36864 1 ebtable_filter > nf_tables 143360 0 > nfnetlink 16384 1 nf_tables > snd_hda_codec_hdmi 57344 1 > pci_stub 16384 1 > vboxpci28672 0 > snd_hda_codec_realtek 118784 1 > snd_hda_codec_generic86016 1 snd_hda_codec_realtek > vboxnetadp 28672 0 > vboxnetflt 32768 0 > vboxdrv 483328 3 vboxpci,vboxnetadp,vboxnetflt > bluetooth 643072 16 btrtl,btintel,btbcm,bnep,btusb,rfcomm > drbg 28672 1 > ansi_cprng 16384 0 > ecdh_generic 24576 1 bluetooth > cpufreq_userspace 16384 0 > cpufreq_powersave 16384 0 > cpufreq_conservative16384 0 > binfmt_misc20480 1 > nls_ascii 16384 1 > nls_cp437 20480 1 > vfat 20480 1 > fat86016 1 vfat > msr16384 0 > arc4 16384 2 > intel_rapl 24576 0 > x86_pkg_temp_thermal16384 0 > intel_powerclamp 16384 0 > coretemp 16384 0 > kvm_intel 241664 0 > snd_soc_skl 118784 0 > snd_soc_skl_ipc73728 1 snd_soc_skl >
Bug#918352: initramfs: initramfs-tools is broken or not fully installed and update-initramfs fails with 1
Package: initramfs-tools Version: 0.132 Severity: important File: initramfs Dear Maintainer, using apt, update-initramfs fails reproducably with 1: # LANG=C.UTF-8 apt-get install -f Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: clamz kio-audiocd libkf5compactdisc5 liblastfm1 liblvm2cmd2.02 libqtscript4-core libqtscript4-gui libqtscript4-network libqtscript4-sql libqtscript4-uitools libqtscript4-xml libtag-extras1 Use 'apt autoremove' to remove them. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up initramfs-tools (0.132) ... update-initramfs: deferring update (trigger activated) Processing triggers for initramfs-tools (0.132) ... update-initramfs: Generating /boot/initrd.img-4.19.0-1-amd64 mktemp: failed to create directory via template ‘/var/tmp/mkinitramfs_XX’: No such file or directory update-initramfs: failed for /boot/initrd.img-4.19.0-1-amd64 with 1. dpkg: error processing package initramfs-tools (--configure): installed initramfs-tools package post-installation script subprocess returned error exit status 1 Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1) The folder /var/tmp/ is not existing. # LANG=C.UTF-8 dpkg-reconfigure initramfs-tools /usr/sbin/dpkg-reconfigure: initramfs-tools is broken or not fully installed I actually need that, to fix my system... I have several other problems with my system but I don't think they are related. If you need more logs, outputs etc. I'd be glad to provide. Thanks for your help! -- Package-specific info: -- initramfs sizes -rw-r--r-- 1 root root 17M May 12 2016 /boot/initrd.img-3.16.0-4-amd64 -rw-r--r-- 1 root root 29M Dec 5 20:46 /boot/initrd.img-4.18.0-3-amd64 -rw-r--r-- 1 root root 29M Jan 1 10:35 /boot/initrd.img-4.19.0-1-amd64 -rw-r--r-- 1 root root 20M May 14 2016 /boot/initrd.img-4.5.0-0.bpo.1-amd64 -rw-r--r-- 1 root root 20M Oct 13 2016 /boot/initrd.img-4.5.0-2-amd64 -rw-r--r-- 1 root root 20M Nov 16 2016 /boot/initrd.img-4.7.0-1-amd64 -- /proc/cmdline BOOT_IMAGE=/vmlinuz-4.19.0-1-amd64 root=/dev/mapper/Himmel--voller--Sterne--vg-root ro quiet intel_iommu=igfx_off -- resume RESUME=/dev/mapper/Himmel--voller--Sterne--vg-swap -- /proc/filesystems ext3 ext2 ext4 vfat fuseblk -- lsmod Module Size Used by ctr16384 2 ccm20480 3 fuse 122880 3 acpi_call 16384 0 cmac 16384 0 rfcomm 86016 0 bnep 24576 2 uvcvideo 118784 0 videobuf2_vmalloc 16384 1 uvcvideo videobuf2_memops 16384 1 videobuf2_vmalloc videobuf2_v4l2 28672 1 uvcvideo videobuf2_common 53248 2 videobuf2_v4l2,uvcvideo videodev 212992 3 videobuf2_v4l2,uvcvideo,videobuf2_common media 45056 2 videodev,uvcvideo btusb 53248 0 btrtl 16384 1 btusb btbcm 16384 1 btusb btintel24576 1 btusb devlink77824 0 ebtable_filter 16384 0 ebtables 36864 1 ebtable_filter nf_tables 143360 0 nfnetlink 16384 1 nf_tables snd_hda_codec_hdmi 57344 1 pci_stub 16384 1 vboxpci28672 0 snd_hda_codec_realtek 118784 1 snd_hda_codec_generic86016 1 snd_hda_codec_realtek vboxnetadp 28672 0 vboxnetflt 32768 0 vboxdrv 483328 3 vboxpci,vboxnetadp,vboxnetflt bluetooth 643072 16 btrtl,btintel,btbcm,bnep,btusb,rfcomm drbg 28672 1 ansi_cprng 16384 0 ecdh_generic 24576 1 bluetooth cpufreq_userspace 16384 0 cpufreq_powersave 16384 0 cpufreq_conservative16384 0 binfmt_misc20480 1 nls_ascii 16384 1 nls_cp437 20480 1 vfat 20480 1 fat86016 1 vfat msr16384 0 arc4 16384 2 intel_rapl 24576 0 x86_pkg_temp_thermal16384 0 intel_powerclamp 16384 0 coretemp 16384 0 kvm_intel 241664 0 snd_soc_skl 118784 0 snd_soc_skl_ipc73728 1 snd_soc_skl snd_soc_sst_ipc16384 1 snd_soc_skl_ipc snd_soc_sst_dsp36864 1 snd_soc_skl_ipc kvm 729088 1 kvm_intel snd_hda_ext_core 28672 1 snd_soc_skl snd_soc_acpi_intel_match24576 1 snd_soc_skl wmi_bmof 16384 0 iwlmvm294912 0 irqbypass 16384 1 kvm snd_soc_acpi 16384 2 snd_soc_acpi_intel_match,snd_soc_skl intel_cstate 16384 0 mac80211