You are not logged in.

#1 2023-01-05 13:59

bernhard
Member
From: Maisach, Germany
Registered: 2018-08-16
Posts: 44

apt upgrade fails during grub update

I have Q4OS installed on a 128GB USB stick and encountered problems during apt upgrade when new kernels are available. Command sudo apt upgrade lists an error and hangs. I am able to resolve these problems by using pstree -p | less for finding and then killing the failing subprocess after a manual

  sudo grub-install --target=x86_64-efi --removable

in another window.

See also the problems I encountered during installation: https://www.q4os.org/forum/viewtopic.php?id=3968, which I was able to solve by adding the --removable

I guess I should post these problems somewhere upstream, but I currently have no idea where I should post it. Debian, grub, apt and the installer may be reasonable targets, but I don't know which one and where these have a forum or some other kind of a bug tracker. Any suggestions are welcome.

Enclosed is the output of
  sudo gunzip -c term.log.1.gz | col -bp
from the relevant terminal log file found in /var/log/apt/ when apt upgrade was hanging. The hang was around line 341 (I hit CR several times during the hang).

PS: searching for a little bit information about formatting my post, I tried to follow the link FluxBB (http://fluxbb.org/) at the right bottom "Powered by FluxBB", but this results in "fluxbb.org’s server IP address could not be found."


Attachments:
txt problems-apt-upgrade-term-log.txt, Size: 21.45 KiB, Downloads: 140

Offline

#2 2023-01-05 16:07

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,230
Website

Re: apt upgrade fails during grub update

Yes, that looks like upstream Debian bug, please see how to report a Debian bug https://www.debian.org/Bugs/Reporting . Thanks for reporting.

Offline

#3 2023-01-06 14:26

bernhard
Member
From: Maisach, Germany
Registered: 2018-08-16
Posts: 44

Re: apt upgrade fails during grub update

hmm, I tried to file a bug for grub-common with reportbug (after installing it), but I fear it will not really help, there are lots of similar complaints. I was not able to find one concerning an efi  installation on removable disk.

see: https://bugs.debian.org/cgi-bin/bugrepo … ug=1028063

Last edited by bernhard (2023-01-06 14:37)

Offline

#4 2023-05-02 14:11

bernhard
Member
From: Maisach, Germany
Registered: 2018-08-16
Posts: 44

Re: apt upgrade fails during grub update

interestingly with the current upgrade Debian 11.6 -> 11.7 no such problems occur anymore ...
  sudo apt upgrade
does not hang any more and finshes without error. I have no idea, if the problem has been fixed silently upstream or what else might be the reason.

Offline

Board footer

Powered by FluxBB