apt dist-upgrade stuck
#1
Hey guys,

it is already the second time that I experience this. I want to update with

Code:
sudo apt update && sudo apt dist-upgrade

and the process gets stuck when setting up util_linux. I don't get any error message, thus nothing happens any more.

What could that be?

Best,
Thomas
#2
/var/lib/dpkg/info/util-linux.postinst was hanging for some reason. I shut the phone down as I didn't have time to dig further when I ran into it. I just powered up and reran 'sudo dpkg --configure -a' to check the details and it completed without hanging.
#3
(07-29-2020, 06:05 PM)wibble Wrote: /var/lib/dpkg/info/util-linux.postinst was hanging for some reason. I shut the phone down as I didn't have time to dig further when I ran into it. I just powered up and reran 'sudo dpkg --configure -a' to check the details and it completed without hanging.

That worked, thanks.
#4
Had this problem again and the reboot trick did not work.
Seems to be hanging with the command
Code:
deb-systemd-invoke restart 'fstrim.timer'

manually running that command and / or stopping / starting does not help. Figured the service would restart with a reboot, so modified the package and commented out that line in the postinst script which seems to have worked. However it also stalled at other services that rely on fstrim.timer I suppose.


Possibly Related Threads…
Thread Author Replies Views Last Post
  Receive MMS fails after Nov 27 upgrade treebeard 1 37 4 hours ago
Last Post: treebeard
  boot gets stuck shortly after disk decryption vortex 7 683 11-05-2022, 07:02 AM
Last Post: treebeard
Wink Pinephone lost graphic during mobian system upgrade cmpin 0 241 10-18-2022, 12:55 AM
Last Post: cmpin
  Dist-upgrade and Chatty vs Gnome-Contacts biketool 9 984 09-30-2022, 08:53 PM
Last Post: treebeard
  Modem Firmware Upgrade - Modem Busy - USB Issues biketool 10 1,135 09-23-2022, 05:15 AM
Last Post: biketool
  New Tow-boot release, how to upgrade? user641 3 448 08-23-2022, 08:45 AM
Last Post: user641
  Stuck with 1234 tcoulon 2 420 08-06-2022, 01:20 AM
Last Post: tcoulon
  GPS/location services don't work with Maps after Bookworm upgrade Anna 16 5,154 06-13-2022, 02:37 PM
Last Post: wibble
  Firmware upgrade via fwupd user641 3 1,541 04-24-2022, 11:01 AM
Last Post: yehudac
  Epiphany browser broken after webkit packages upgrade user641 0 370 04-15-2022, 05:20 AM
Last Post: user641

Forum Jump:


Users browsing this thread: 2 Guest(s)