** Description changed:
- At least four users, including myself, are having an issue with update-
- initramfs hanging while updating ubuntu 16.04. The bug has been
- documented while attempting an update to multiple kernel versions (
- 4.4.0-24, 4.4.0-62, 4.4.0-63). The bug causes any apt-get upd
** Also affects: initramfs-tools
Importance: Undecided
Status: New
** No longer affects: initramfs-tools
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667512
Title:
update-initramfs hang
** Tags added: bionic xenial
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667512
Title:
update-initramfs hangs on upgrade, dpkg unusable, unbootable system
To manage notifications about this bug
This bug was fixed in the package initramfs-tools - 0.131ubuntu2
---
initramfs-tools (0.131ubuntu2) cosmic; urgency=medium
* Fix permissions on /usr/share/initramfs-tools/init, which were mangled
by merge-o-matic. LP: #1782854.
-- Steve Langasek Fri, 20 Jul 2018
22:54:00 -0
** Changed in: initramfs-tools (Debian)
Status: New => Fix Released
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667512
Title:
update-initramfs hangs on upgrade, dpkg unusable, unbootable s
** Changed in: initramfs-tools (Debian)
Status: Unknown => New
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667512
Title:
update-initramfs hangs on upgrade, dpkg unusable, unbootable system
I've posted a merge request upstream:
https://salsa.debian.org/kernel-team/initramfs-tools/merge_requests/6
** Bug watch added: Debian Bug tracker #882380
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=882380
** Also affects: initramfs-tools (Debian) via
https://bugs.debian.org/cgi-bi
** Tags added: id-5b2a8145636ebaee3f5ca982
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667512
Title:
update-initramfs hangs on upgrade, dpkg unusable, unbootable system
To manage notifications a
** Changed in: initramfs-tools (Ubuntu)
Status: Confirmed => Triaged
** Changed in: initramfs-tools (Ubuntu)
Importance: Undecided => Medium
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/166
(A versioned Depends or versioned Breaks as appropriate on coreutils
would probably be a good idea, at least in xenial to avoid upgrade
problems from trusty.)
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/b
Re comment #7, coreutils 8.24 added the ability to do "sync -f FILENAME"
to sync only the file system containing FILENAME. I think update-
initramfs should probably be changed to use that in xenial and newer.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is
atom's suggestion to stop all disk operations was the key to fixing
this. I had a ddrescue operation going on in the background that I
stopped after reading this thread, and BAM it started moving up from 37%
and eventually finished.
Basically, this issue affected me as well on Ubuntu 14.04 x64, wh
This problem also still exists with much newer kernels, for me with
4.15.0-12 on Ubuntu 18.04 (alpha)
diff -uN /var/lib/dpkg/info/initramfs-tools.postinst~
/var/lib/dpkg/info/initramfs-tools.postinst
--- /var/lib/dpkg/info/initramfs-tools.postinst~201
Commenting out the sync command worked for me as well! Thanks!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667512
Title:
update-initramfs hangs on upgrade, dpkg unusable, unbootable system
To ma
Thanks atom!
Indeed, we also had a stale nfs share and an automatic apt-get security
update that left our ubuntu 16.04. server in an unclean state since it
would silently hang on update-initramfs. Because the mounted nfs share
remained unresponsive, update-initramfs was hanging for several days.
K
Commenting out the sync command in the generate_initramfs function of
/usr/sbin/update-initramfs worked for me.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667512
Title:
update-initramfs hangs on
Thanks for the analysis @atom, I think that explains my issue as well -
I had a long-running rsync in parallel. Once killed, the update worked.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667512
Ti
Me too.
Turns out the problem for me is updating *while* copying a hard-drive
(in another terminal).
The "update-initramfs" script calls "sync" in the "generate_initramfs"
function. For me, copying hard-drives at the same time caused "sync" to
hang: Then the whole thing hangs.
I CTRL-Z'd (TSTP)
I'll +1 this thread. Strangest thing though. Earlier this week I spun
up four different VMs from the image 'ubuntu-16.04.1-server-amd64.iso'.
All configured and updated exactly the same. They continue to work
great. Today, on the same VM server, I created another VM EXACTLY the
same way I create
Confirmed. Having same issue.
dpkg --configure -a
Setting up linux-image-4.4.0-57-generic (4.4.0-57.78) ...
Running depmod.
update-initramfs: deferring update (hook will be called later)
The link /initrd.img is a dangling linkto /boot/initrd.img-4.4.0-77-generic
Examining /etc/kernel/postinst.d.
r
Any updates? As far as I can see the problem still exist.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667512
Title:
update-initramfs hangs on upgrade, dpkg unusable, unbootable system
To manage
Have the same problem since yesterday. I'm having 4.4.0-47 4.4.0-59
4.4.0-62 4.4.0-64 installed. I was trying to upgrade my system yesterday
and 4.4.0-66 was about to be installed, but it hangs on update-initramfs
or to be more precise it's hanging on "Building cpio" when running
update-initramfs -
Status changed to 'Confirmed' because the bug affects multiple users.
** Changed in: initramfs-tools (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667512
Tit
Just bumping and noting that this problem may date back to 2010:
https://ubuntuforums.org/showthread.php?t=1611122
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1667512
Title:
update-initramfs hangs
24 matches
Mail list logo