[Bug 1980881] Re: In Ubuntu 22.04 apt-get may stall
Mickaƫl LAMBERT
1980881 at bugs.launchpad.net
Wed Feb 15 10:14:13 UTC 2023
Does anyone has been able to reproduce ?
So we can get a resolution on this for 22.04.1 ?
Please build a 22.04.1 chroot, under a 22.04.1 Ubuntu.
Then use :
sudo chroot $chroot su - root -c "\
set -o xtrace ; \
. $some_scripts_with_a_function_that_install_packages.sh ; \
FunctionThatInstallPackages $package_name; \
exit 0
"
This stall the chroot.
I have to use the "fg" command for the script to continue.
Thanks.
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to apt in Ubuntu.
https://bugs.launchpad.net/bugs/1980881
Title:
In Ubuntu 22.04 apt-get may stall
Status in apt package in Ubuntu:
New
Bug description:
Maybe due to new code in apt-get, maybe the one outputting this :
NEEDRESTART-VER: 3.5
NEEDRESTART-KCUR: 5.15.0-40-generic
NEEDRESTART-KEXP: 5.15.0-40-generic
NEEDRESTART-KSTA: 1
If a terminal is not available, maybe for read ? or maybe for write ?
It just stall.
Ref : https://askubuntu.com/questions/1416286/troubleshooting-a-bash-
script-using-chroot-are-there-differences-between-20-04
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/apt/+bug/1980881/+subscriptions
More information about the foundations-bugs
mailing list