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 Mobian (Trixie) Staging biketool 13 804 Yesterday, 10:35 AM
Last Post: biketool
  boot gets stuck shortly after disk decryption vortex 9 6,017 09-11-2024, 05:40 AM
Last Post: normangraves
  Mobian boot failed with zstd message after upgrade. Mahgue 0 1,014 09-01-2023, 11:29 AM
Last Post: Mahgue
Wink Pinephone lost graphic during mobian system upgrade cmpin 4 3,169 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,422 01-04-2023, 06:46 PM
Last Post: 3x5co
  Receive MMS fails after Nov 27 upgrade treebeard 17 9,269 12-12-2022, 05:09 AM
Last Post: anonymous
  Dist-upgrade and Chatty vs Gnome-Contacts biketool 9 5,796 09-30-2022, 08:53 PM
Last Post: treebeard
  Modem Firmware Upgrade - Modem Busy - USB Issues biketool 10 6,742 09-23-2022, 05:15 AM
Last Post: biketool
  New Tow-boot release, how to upgrade? user641 3 2,720 08-23-2022, 08:45 AM
Last Post: user641
  Stuck with 1234 tcoulon 2 1,749 08-06-2022, 01:20 AM
Last Post: tcoulon

Forum Jump:


Users browsing this thread: 1 Guest(s)