M
M
Mikhail Savin2015-04-16 15:51:22
ubuntu
Mikhail Savin, 2015-04-16 15:51:22

Problem updating Ubuntu 14.04?

Actually what happened. Yesterday (04/15/2015) was updated normally without jambs:

sudo -s
apt-get update && apt-get upgrade && apt-get dist-upgrade

I am always so updated. I installed a couple of software Gitg, NetBeans IDE, Localize (or something like that).
Everything was a bundle. Laptop turned off. In the morning I came to work and when I tried to update in the same way, I got the following output:
Настраивается пакет initramfs-tools (0.103ubuntu4.2) …
update-initramfs: deferring update (trigger activated)
Обрабатываются триггеры для initramfs-tools (0.103ubuntu4.2) …
update-initramfs: Generating /boot/initrd.img-3.13.0-49-generic
/etc/initramfs/post-update.d//zz-flash-touch-initrd: 9: /etc/initramfs/post-update.d//zz-flash-touch-initrd: /usr/sbin/flash-touch-initrd: not found
run-parts: /etc/initramfs/post-update.d//zz-flash-touch-initrd exited with return code 127
dpkg: ошибка при обработке пакета initramfs-tools (--configure):
 подпроцесс установлен сценарий post-installation возвратил код ошибки 1
При обработке следующих пакетов произошли ошибки:
 initramfs-tools
E: Sub-process /usr/bin/dpkg returned an error code (1)

This line /etc/initramfs/post-update.d//zz-flash-touch-initrd is a file /etc/initramfs/post-update.d/zz-flash-touch-initrd
This file calls another script /usr /sbin/flash-touch-initrd - which is stupidly not there !!! And I can’t even imagine how it should look like and what it should be written in. On working systems, nothing similar has ever been encountered. And there are definitely no such files. Already checked.
Up to this point, I generally about their existence neither a dream nor a spirit.
When trying to draw
sudo apt-get install -f
the output is exactly the same. Where to dig I do not know already.
What could be the problem?! Poke your nose where to dig! Google doesn't turn up anything useful.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
I
Igor, 2015-04-17
@jtprogru

It looks like it crashes on the generation of a new initram.
Try to run it manually:
If it doesn't work, try moving the directory somewhere:
since it should not be in the normal state and start the generation again.
You can also try to reinstall the package (if you haven't tried):
apt-get install --reinstall initramfs-tools

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question