In Ubuntu 22.04 apt-get may stall
Bug #1980881 reported by
Mickaël LAMBERT
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
needrestart (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Maybe due to new code in apt-get, maybe the one outputting this :
NEEDRESTART-VER: 3.5
If a terminal is not available, maybe for read ? or maybe for write ? It just stall.
affects: | launchpad → apt (Ubuntu) |
affects: | apt (Ubuntu) → needrestart (Ubuntu) |
To post a comment you must log in.
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 "\ with_a_ function_ that_install_ packages. sh ; \ tallPackages $package_name; \
set -o xtrace ; \
. $some_scripts_
FunctionThatIns
exit 0
"
This stall the chroot.
I have to use the "fg" command for the script to continue.
Thanks.