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
  kernel upgrade user641 2 164 09-13-2021, 08:26 AM
Last Post: user641
  after dist-upgrade, terminal is broken nelstomlinson 9 337 09-09-2021, 06:47 AM
Last Post: nelstomlinson
  No updates after upgrade? jojuma 3 231 08-26-2021, 08:53 PM
Last Post: bcnaz
  When to dist-upgrade vs when to reinstall? DrPlamsa 5 157 08-02-2021, 06:23 PM
Last Post: bcnaz
  Cannot upgrade AndyM 1 245 07-31-2021, 08:51 AM
Last Post: nelstomlinson
  Automatic Brightness Stuck On biketool 0 273 06-25-2021, 04:01 AM
Last Post: biketool
  Cant update and upgrade mobian. mode80 5 1,206 05-06-2021, 07:32 AM
Last Post: C0ffeeFreak
  Run Mobian Unstable without risking being stuck without a working phone C0ffeeFreak 3 1,347 04-23-2021, 01:10 PM
Last Post: RTP
  No modem after dist-upgrade KJ6OHG 2 669 02-09-2021, 04:29 AM
Last Post: sfb
  Modem scripts replaced by eg25-manager by apt-get dist-upgrade Zebulon Walton 2 1,122 12-21-2020, 06:12 PM
Last Post: Zebulon Walton

Forum Jump:


Users browsing this thread: 1 Guest(s)