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
  Upgrade to Trixie Unstable? biketool 3 48 3 hours ago
Last Post: biketool
  boot gets stuck shortly after disk decryption vortex 9 5,621 09-11-2024, 05:40 AM
Last Post: normangraves
  Mobian boot failed with zstd message after upgrade. Mahgue 0 968 09-01-2023, 11:29 AM
Last Post: Mahgue
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 2,999 03-01-2023, 04:45 PM
Last Post: anonymous
  No boot after upgrade: vibration, red LED, then 2 vibrations and yellow LED 3x5co 1 1,375 01-04-2023, 06:46 PM
Last Post: 3x5co
  Receive MMS fails after Nov 27 upgrade treebeard 17 8,748 12-12-2022, 05:09 AM
Last Post: anonymous
  Dist-upgrade and Chatty vs Gnome-Contacts biketool 9 5,508 09-30-2022, 08:53 PM
Last Post: treebeard
  Modem Firmware Upgrade - Modem Busy - USB Issues biketool 10 6,384 09-23-2022, 05:15 AM
Last Post: biketool
  New Tow-boot release, how to upgrade? user641 3 2,616 08-23-2022, 08:45 AM
Last Post: user641
  Stuck with 1234 tcoulon 2 1,628 08-06-2022, 01:20 AM
Last Post: tcoulon

Forum Jump:


Users browsing this thread: 2 Guest(s)