Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

offline upgrade freezes at 99 %

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
MakeTopSite
Posts: 111
Joined: 2021-01-20 08:44
Has thanked: 8 times

offline upgrade freezes at 99 %

#1 Post by MakeTopSite »

Code: Select all

A start job is running for Update the operating system whilst offline (1h ...
Debian 11 64 bit, upgrade started by gnome-software. No disk activity and CPU fan noise like in idle state for more than 30 minutes.
Does please exist better solution than power off / reboot ?

User avatar
Head_on_a_Stick
Posts: 14114
Joined: 2014-06-01 17:46
Location: London, England
Has thanked: 81 times
Been thanked: 132 times

Re: offline upgrade freezes at 99 %

#2 Post by Head_on_a_Stick »

Pressing <ctrl>+<alt>+<delete> more than 7 times in 2 seconds should force a reboot. Turn the machine off before it can boot up again to avoid a hard power cycle.

Then use rescue mode to gain a shell in the installed system so that you can

Code: Select all

ln -sf /dev/null /etc/systemd/system/packagekit-offline-update.service
^ That will mask the offending service and prevent it from ever being started.

There may be a better solution but that's what I would do.
deadbang

MakeTopSite
Posts: 111
Joined: 2021-01-20 08:44
Has thanked: 8 times

Re: offline upgrade freezes at 99 %

#3 Post by MakeTopSite »

Head_on_a_Stick wrote: 2022-09-26 14:53 Pressing <ctrl>+<alt>+<delete> more than 7 times in 2 seconds should force a reboot. Turn the machine off before it can boot up again to avoid a hard power cycle.

Then use rescue mode to gain a shell in the installed system so that you can

Code: Select all

ln -sf /dev/null /etc/systemd/system/packagekit-offline-update.service
^ That will mask the offending service and prevent it from ever being started.

There may be a better solution but that's what I would do.
Restart and following boot was without problem.
The only problem I see now:

Code: Select all

aptitude update

Err http://dl.google.com/linux/chrome/deb stable InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
Fetched 1811 B in 1s (1806 B/s)
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: http://dl.google.com/linux/chrome/deb stable InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
W: Failed to fetch http://dl.google.com/linux/chrome/deb/dists/stable/InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 4EB27DB2A3B88B8B
W: Some index files failed to download. They have been ignored, or old ones used instead.
It seems I need to wait for google to fix it according to what I've found so far.

Post Reply