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
  When to dist-upgrade vs when to reinstall? DrPlamsa 5 105 Yesterday, 06:23 PM
Last Post: bcnaz
  Cannot upgrade AndyM 1 90 07-31-2021, 08:51 AM
Last Post: nelstomlinson
  Automatic Brightness Stuck On biketool 0 175 06-25-2021, 04:01 AM
Last Post: biketool
  Cant update and upgrade mobian. mode80 5 917 05-06-2021, 07:32 AM
Last Post: C0ffeeFreak
  Run Mobian Unstable without risking being stuck without a working phone C0ffeeFreak 3 1,127 04-23-2021, 01:10 PM
Last Post: RTP
  No modem after dist-upgrade KJ6OHG 2 644 02-09-2021, 04:29 AM
Last Post: sfb
  Modem scripts replaced by eg25-manager by apt-get dist-upgrade Zebulon Walton 2 975 12-21-2020, 06:12 PM
Last Post: Zebulon Walton
  Can't Close Aps After Mobian apt-get dist-upgrade calinb 2 1,062 11-20-2020, 05:42 AM
Last Post: calinb
  Yoyo interefering with apt upgrade Hiraghm 3 1,223 10-11-2020, 11:12 PM
Last Post: ergo owl
Bug Upgrade problem dancingqueen74 12 4,550 08-04-2020, 01:28 PM
Last Post: dancingqueen74

Forum Jump:


Users browsing this thread: 1 Guest(s)