Linux Lite Forums

Software - Support => Installing Software => Topic started by: Zead on September 24, 2015, 11:48:31 AM

Title: Broken update-initramfs / initramfs-tools after an update...
Post by: Zead on September 24, 2015, 11:48:31 AM
So after today's update, I got this...

update-initramfs: Generating /boot/initrd.img-3.13.0-63-generic
mktemp: failed to create file via template ‘/var/tmp/mkinitramfs-FW_XXXXXX’: No such file or directory
update-initramfs: failed for /boot/initrd.img-3.13.0-63-generic with 1.

I even tried to install new kernel and they won't get configured (and now I cannot remove them). I tried some tutorial on internet and no luck :/

I did "sudo leafpad /etc/initramfs-tools/update-initramfs.conf" and disabled update_initramfs here, because I was said that my system wouldn't boot otherwise...

Any help?
Title: Re: Broken update-initramfs / initramfs-tools after an update...
Post by: Wirezfree on September 24, 2015, 12:13:04 PM
Hi,

I updated yesterday without issues... I just checked on 2 PC's, lot's of updates since yesterday.
If it helps in diagnosis, here are the updates being offered today since yesterday on my LL-2.6 ~ 64bit
These are the same on 2 PC's
Code: [Select]
List of available Updates
Click Update to continue or Cancel to stop the update process

1 :   Name: libudev1 INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
2 :   Name: libudev1:i386 INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
3 :   Name: udev INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
4 :   Name: libsystemd-login0 INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
5 :   Name: libgtk2.0-common INSTALLED: 2.24.23-0ubuntu1.2 AVAILABLE: 2.24.23-0ubuntu1.3
6 :   Name: libgtk2.0-bin INSTALLED: 2.24.23-0ubuntu1.2 AVAILABLE: 2.24.23-0ubuntu1.3
7 :   Name: libgail18 INSTALLED: 2.24.23-0ubuntu1.2 AVAILABLE: 2.24.23-0ubuntu1.3
8 :   Name: gtk2-engines-pixbuf INSTALLED: 2.24.23-0ubuntu1.2 AVAILABLE: 2.24.23-0ubuntu1.3
9 :   Name: libgtk2.0-0 INSTALLED: 2.24.23-0ubuntu1.2 AVAILABLE: 2.24.23-0ubuntu1.3
10 :   Name: libpython3.4 INSTALLED: 3.4.0-2ubuntu1.1 AVAILABLE: 3.4.3-1ubuntu1~14.04.1
11 :   Name: python3.4 INSTALLED: 3.4.0-2ubuntu1.1 AVAILABLE: 3.4.3-1ubuntu1~14.04.1
12 :   Name: libpython3.4-stdlib INSTALLED: 3.4.0-2ubuntu1.1 AVAILABLE: 3.4.3-1ubuntu1~14.04.1
13 :   Name: python3.4-minimal INSTALLED: 3.4.0-2ubuntu1.1 AVAILABLE: 3.4.3-1ubuntu1~14.04.1
14 :   Name: libpython3.4-minimal INSTALLED: 3.4.0-2ubuntu1.1 AVAILABLE: 3.4.3-1ubuntu1~14.04.1
15 :   Name: libpam-systemd INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
16 :   Name: systemd-services INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
17 :   Name: libsystemd-daemon0 INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
18 :   Name: libgudev-1.0-0 INSTALLED: 1:204-5ubuntu20.13 AVAILABLE: 1:204-5ubuntu20.14
19 :   Name: irqbalance INSTALLED: 1.0.6-2ubuntu0.14.04.3 AVAILABLE: 1.0.6-2ubuntu0.14.04.4
20 :   Name: lshw INSTALLED: 02.16-2ubuntu1.2 AVAILABLE: 02.16-2ubuntu1.3
21 :   Name: python3-gdbm INSTALLED: 3.4.0-0ubuntu1 AVAILABLE: 3.4.3-1~14.04.2
22 :   Name: binutils INSTALLED: 2.24-5ubuntu13 AVAILABLE: 2.24-5ubuntu14
23 :   Name: biosdevname INSTALLED: 0.4.1-0ubuntu6.1 AVAILABLE: 0.4.1-0ubuntu6.2
24 :   Name: firefox INSTALLED: 40.0.3+build1-0ubuntu0.14.04.1 AVAILABLE: 41.0+build3-0ubuntu0.14.04.1
25 :   Name: firefox-locale-en INSTALLED: 40.0.3+build1-0ubuntu0.14.04.1 AVAILABLE: 41.0+build3-0ubuntu0.14.04.1
26 :   Name: whiskermenu INSTALLED: 1.5.0-0-linuxlite AVAILABLE: 1.5.1-linuxlite
27 :   Name: xul-ext-ubufox INSTALLED: 3.1-0ubuntu0.14.04.1 AVAILABLE: 3.2-0ubuntu0.14.04.1
Title: Re: Broken update-initramfs / initramfs-tools after an update...
Post by: Zead on September 24, 2015, 12:28:00 PM
Hi,

I updated yesterday without issues... I just checked on 2 PC's, lot's of updates since yesterday.
If it helps in diagnosis, here are the updates being offered today since yesterday on my LL-2.6 ~ 64bit
These are the same on 2 PC's
Code: [Select]
List of available Updates
Click Update to continue or Cancel to stop the update process

1 :   Name: libudev1 INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
2 :   Name: libudev1:i386 INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
3 :   Name: udev INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
4 :   Name: libsystemd-login0 INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
5 :   Name: libgtk2.0-common INSTALLED: 2.24.23-0ubuntu1.2 AVAILABLE: 2.24.23-0ubuntu1.3
6 :   Name: libgtk2.0-bin INSTALLED: 2.24.23-0ubuntu1.2 AVAILABLE: 2.24.23-0ubuntu1.3
7 :   Name: libgail18 INSTALLED: 2.24.23-0ubuntu1.2 AVAILABLE: 2.24.23-0ubuntu1.3
8 :   Name: gtk2-engines-pixbuf INSTALLED: 2.24.23-0ubuntu1.2 AVAILABLE: 2.24.23-0ubuntu1.3
9 :   Name: libgtk2.0-0 INSTALLED: 2.24.23-0ubuntu1.2 AVAILABLE: 2.24.23-0ubuntu1.3
10 :   Name: libpython3.4 INSTALLED: 3.4.0-2ubuntu1.1 AVAILABLE: 3.4.3-1ubuntu1~14.04.1
11 :   Name: python3.4 INSTALLED: 3.4.0-2ubuntu1.1 AVAILABLE: 3.4.3-1ubuntu1~14.04.1
12 :   Name: libpython3.4-stdlib INSTALLED: 3.4.0-2ubuntu1.1 AVAILABLE: 3.4.3-1ubuntu1~14.04.1
13 :   Name: python3.4-minimal INSTALLED: 3.4.0-2ubuntu1.1 AVAILABLE: 3.4.3-1ubuntu1~14.04.1
14 :   Name: libpython3.4-minimal INSTALLED: 3.4.0-2ubuntu1.1 AVAILABLE: 3.4.3-1ubuntu1~14.04.1
15 :   Name: libpam-systemd INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
16 :   Name: systemd-services INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
17 :   Name: libsystemd-daemon0 INSTALLED: 204-5ubuntu20.13 AVAILABLE: 204-5ubuntu20.14
18 :   Name: libgudev-1.0-0 INSTALLED: 1:204-5ubuntu20.13 AVAILABLE: 1:204-5ubuntu20.14
19 :   Name: irqbalance INSTALLED: 1.0.6-2ubuntu0.14.04.3 AVAILABLE: 1.0.6-2ubuntu0.14.04.4
20 :   Name: lshw INSTALLED: 02.16-2ubuntu1.2 AVAILABLE: 02.16-2ubuntu1.3
21 :   Name: python3-gdbm INSTALLED: 3.4.0-0ubuntu1 AVAILABLE: 3.4.3-1~14.04.2
22 :   Name: binutils INSTALLED: 2.24-5ubuntu13 AVAILABLE: 2.24-5ubuntu14
23 :   Name: biosdevname INSTALLED: 0.4.1-0ubuntu6.1 AVAILABLE: 0.4.1-0ubuntu6.2
24 :   Name: firefox INSTALLED: 40.0.3+build1-0ubuntu0.14.04.1 AVAILABLE: 41.0+build3-0ubuntu0.14.04.1
25 :   Name: firefox-locale-en INSTALLED: 40.0.3+build1-0ubuntu0.14.04.1 AVAILABLE: 41.0+build3-0ubuntu0.14.04.1
26 :   Name: whiskermenu INSTALLED: 1.5.0-0-linuxlite AVAILABLE: 1.5.1-linuxlite
27 :   Name: xul-ext-ubufox INSTALLED: 3.1-0ubuntu0.14.04.1 AVAILABLE: 3.2-0ubuntu0.14.04.1
Hi,

Hmm. so there wasn't initramfs-tools update? Too bad I already closed the terminal... Can I see a history of it?

The error was generated after udev installation I believe... Even according to dpkg.log. Doesn't mean much though... I was installing yesterday some VoIP clients (testing them), then uninstalled them and auto removed packages, today I auto removed packages from a RING software, then did these updates, and update-initramfs error after system updating (it failed. But the other updates were installed on the second try. But it's still broken
Title: Re: Broken update-initramfs / initramfs-tools after an update...
Post by: Wirezfree on September 24, 2015, 01:21:32 PM
Hi,

I think this needs some one more technical than me, I guess this is the "Ring Software (https://en.wikipedia.org/wiki/Ring_(software))" you are referring to.??
If you google for the error shown, lot's of similar things come up, but I would not like to try without some other input.
From the error shown, check you actually have a directory called /var/tmp


GL
Title: Re: Broken update-initramfs / initramfs-tools after an update...
Post by: Zead on September 24, 2015, 01:45:34 PM
Hi,

I think this needs some one more technical than me, I guess this is the "Ring Software (https://en.wikipedia.org/wiki/Ring_(software))" you are referring to.??
If you google for the error shown, lot's of similar things come up, but I would not like to try without some other input.
From the error shown, check you actually have a directory called /var/tmp


GL

Thanks a lot!

Creating a "tmp" directory in /var/ fixed my problems!

(I deleted the folder WEEKS ago to clean some garbage in it (because I used the directory for something and the content in it wasn't deleted automatically on reboot) I thought it will get recreated automatically when the folder is needed... But I guess it needs a root permission to do that.

Thanks! I'm not deleting any empty folders in root directories again! xD

I was getting my mind blown here from this, and it was so simple fix.

EDIT: And yes, It is the software I was referring to.
Title: Re: Broken update-initramfs / initramfs-tools after an update...
Post by: Wirezfree on September 24, 2015, 02:32:02 PM
Glad it's sorted, :)
It was bit of a guess, because I checked my install and had a /var/tmp
But at least it's sorted.
Title: Re: Broken update-initramfs / initramfs-tools after an update...
Post by: Zead on September 24, 2015, 04:33:22 PM
Glad it's sorted, :)
It was bit of a guess, because I checked my install and had a /var/tmp
But at least it's sorted.
I thought It was looking for a mkinitramfs-FW_XXXXXX file. Not the tmp folder. I didn't even know, because I deleted the folder weeks ago.

But when you mentioned it, and I was looking for the directory and haven't seen it there, I remembered I deleted it.