[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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_XXXXXX’:
> 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
> ctr                    16384  2
> ccm                    20480  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
> btintel                24576  1 btusb
> devlink                77824  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
> vboxpci                28672  0
> snd_hda_codec_realtek   118784  1
> snd_hda_codec_generic    86016  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_conservative    16384  0
> binfmt_misc            20480  1
> nls_ascii              16384  1
> nls_cp437              20480  1
> vfat                   20480  1
> fat                    86016  1 vfat
> msr                    16384  0
> arc4                   16384  2
> intel_rapl             24576  0
> x86_pkg_temp_thermal    16384  0
> intel_powerclamp       16384  0
> coretemp               16384  0
> kvm_intel             241664  0
> snd_soc_skl           118784  0
> snd_soc_skl_ipc        73728  1 snd_soc_skl
> snd_soc_sst_ipc        16384  1 snd_soc_skl_ipc
> snd_soc_sst_dsp        36864  1 snd_soc_skl_ipc
> kvm                   729088  1 kvm_intel
> snd_hda_ext_core       28672  1 snd_soc_skl
> snd_soc_acpi_intel_match    24576  1 snd_soc_skl
> wmi_bmof               16384  0
> iwlmvm                294912  0
> irqbypass              16384  1 kvm
> snd_soc_acpi           16384  2 snd_soc_acpi_intel_match,snd_soc_skl
> intel_cstate           16384  0
> mac80211              819200  1 iwlmvm
> snd_soc_core          258048  1 snd_soc_skl
> snd_compress           24576  1 snd_soc_core
> intel_uncore          135168  0
> snd_hda_intel          45056  2
> efi_pstore             16384  0
> i915                 1728512  49
> intel_rapl_perf        16384  0
> iwlwifi               241664  1 iwlmvm
> snd_hda_codec         151552  4 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_codec_realtek
> snd_hda_core           94208  7 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_hda_codec_realtek,snd_soc_skl
> rtsx_pci_ms            20480  0
> evdev                  28672  27
> drm_kms_helper        204800  1 i915
> joydev                 24576  0
> snd_hwdep              16384  1 snd_hda_codec
> snd_pcm               114688  7 snd_hda_codec_hdmi,snd_hda_intel,snd_hda_ext_core,snd_hda_codec,snd_soc_core,snd_soc_skl,snd_hda_core
> mei_me                 45056  0
> efivars                20480  1 efi_pstore
> memstick               16384  1 rtsx_pci_ms
> pcspkr                 16384  0
> iTCO_wdt               16384  0
> thinkpad_acpi         106496  1
> mei                   118784  1 mei_me
> sg                     36864  0
> serio_raw              16384  0
> iTCO_vendor_support    16384  1 iTCO_wdt
> cfg80211              765952  3 iwlmvm,iwlwifi,mac80211
> snd_timer              36864  1 snd_pcm
> drm                   483328  25 drm_kms_helper,i915
> nvram                  16384  1 thinkpad_acpi
> tpm_tis                16384  0
> snd                    94208  15 snd_hda_codec_generic,snd_hda_codec_hdmi,snd_hwdep,snd_hda_intel,snd_hda_codec,snd_hda_codec_realtek,snd_timer,snd_compress,thinkpad_acpi,snd_soc_core,snd_pcm
> tpm_tis_core           20480  1 tpm_tis
> intel_pch_thermal      16384  0
> i2c_algo_bit           16384  1 i915
> tpm                    65536  2 tpm_tis,tpm_tis_core
> soundcore              16384  1 snd
> wmi                    28672  1 wmi_bmof
> rng_core               16384  1 tpm
> rfkill                 28672  10 bluetooth,thinkpad_acpi,cfg80211
> ac                     16384  0
> battery                24576  1 thinkpad_acpi
> video                  45056  2 thinkpad_acpi,i915
> button                 16384  0
> pcc_cpufreq            16384  0
> parport_pc             32768  0
> ppdev                  20480  0
> lp                     20480  0
> parport                57344  3 parport_pc,lp,ppdev
> sunrpc                430080  1
> efivarfs               16384  1
> ip_tables              28672  0
> x_tables               45056  2 ebtables,ip_tables
> autofs4                49152  2
> ext4                  733184  4
> crc16                  16384  2 bluetooth,ext4
> mbcache                16384  1 ext4
> jbd2                  122880  1 ext4
> crc32c_generic         16384  0
> fscrypto               32768  1 ext4
> ecb                    16384  0
> algif_skcipher         16384  0
> af_alg                 28672  1 algif_skcipher
> dm_crypt               40960  1
> dm_mod                151552  17 dm_crypt
> sd_mod                 53248  4
> crct10dif_pclmul       16384  0
> crc32_pclmul           16384  0
> crc32c_intel           24576  5
> ghash_clmulni_intel    16384  0
> pcbc                   16384  0
> rtsx_pci_sdmmc         28672  0
> mmc_core              172032  1 rtsx_pci_sdmmc
> xhci_pci               16384  0
> psmouse               172032  0
> xhci_hcd              266240  1 xhci_pci
> aesni_intel           200704  5
> usbcore               290816  4 xhci_hcd,uvcvideo,btusb,xhci_pci
> ahci                   40960  3
> libahci                40960  1 ahci
> aes_x86_64             20480  1 aesni_intel
> crypto_simd            16384  1 aesni_intel
> libata                278528  2 libahci,ahci
> i2c_i801               28672  0
> usb_common             16384  1 usbcore
> scsi_mod              249856  3 sd_mod,libata,sg
> cryptd                 28672  4 crypto_simd,ghash_clmulni_intel,aesni_intel
> e1000e                282624  0
> glue_helper            16384  1 aesni_intel
> rtsx_pci               73728  2 rtsx_pci_sdmmc,rtsx_pci_ms
> thermal                20480  0
> 
> -- /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=most
> BUSYBOX=auto
> KEYMAP=n
> COMPRESS=gzip
> DEVICE=
> NFSROOT=auto
> 
> -- /etc/initramfs-tools/update-initramfs.conf
> update_initramfs=yes
> backup_initramfs=no
> 
> -- /etc/crypttab
> sda3_crypt UUID=4047a03d-4df9-410f-93b0-47dad57bcdf0 none luks
> 
> -- mkinitramfs hooks
> /etc/initramfs-tools/hooks/:
> 
> /usr/share/initramfs-tools/hooks:
> cryptgnupg
> cryptgnupg-sc
> cryptkeyctl
> cryptopensc
> cryptpassdev
> cryptroot
> cryptroot-unlock
> dmsetup
> fsck
> fuse
> intel_microcode
> keymap
> klibc-utils
> kmod
> lvm2
> ntfs_3g
> reiserfsprogs
> resume
> thermal
> udev
> zz-busybox
> 
> 
> -- System Information:
> Debian Release: buster/sid
>   APT prefers testing
>   APT policy: (990, 'testing')
> Architecture: amd64 (x86_64)
> 
> Kernel: Linux 4.19.0-1-amd64 (SMP w/4 CPU cores)
> Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8), LANGUAGE=de (charmap=UTF-8)
> Shell: /bin/sh linked to /bin/dash
> Init: systemd (via /run/systemd/system)
> LSM: AppArmor: enabled
> 
> Versions of packages initramfs-tools depends on:
> ii  initramfs-tools-core  0.132
> ii  linux-base            4.5
> 
> initramfs-tools recommends no packages.
> 
> Versions of packages initramfs-tools suggests:
> ii  bash-completion  1:2.8-5
> 
> -- no debconf information
> 


Reply to: