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
  Firmware upgrade via fwupd user641 3 795 04-24-2022, 11:01 AM
Last Post: yehudac
  Epiphany browser broken after webkit packages upgrade user641 0 99 04-15-2022, 05:20 AM
Last Post: user641
  Automatic Brightness Stuck On biketool 3 778 04-05-2022, 11:49 AM
Last Post: henrythemouse
  upgrade results Dinosaur1946 1 382 01-18-2022, 04:47 AM
Last Post: kqlnut
  Cant update and upgrade mobian. mode80 8 3,417 01-06-2022, 04:19 PM
Last Post: bcnaz
  GPS/location services don't work with Maps after Bookworm upgrade Anna 8 2,274 12-27-2021, 04:15 AM
Last Post: Anna
  Help request: upgrade failed, locked out at decryption passphrase tiikeri 7 1,402 11-27-2021, 07:29 AM
Last Post: zetabeta
  Mobian kernel upgrade user641 4 1,368 11-10-2021, 01:22 PM
Last Post: user641
  scp.bin not found, can't complete apt upgrade Hiraghm 1 570 10-16-2021, 07:29 PM
Last Post: Hiraghm
  Safe to upgrade Bookworm again? nelstomlinson 2 1,050 10-12-2021, 03:45 AM
Last Post: bcnaz

Forum Jump:


Users browsing this thread: 1 Guest(s)