Sysop: | Amessyroom |
---|---|
Location: | Fayetteville, NC |
Users: | 21 |
Nodes: | 6 (0 / 6) |
Uptime: | 28:37:52 |
Calls: | 139 |
Files: | 91 |
Messages: | 42,688 |
Package: apt
Version: 2.9.6
Severity: important
apt-get has started misbehaving. Installing any package on the text console terminates the session and throws me back to the login screen when the installation process is done.
Steps to reproduce:
1) Login to text console as root (or as a user & then su/sudo to root)
2) install or reinstall any package, for example:
apt-get -y --reinstall install bash
expected result:
3) package gets installed and nothing else
actual result:
3) package gets installed, shell terminates & returns to console login.
Some notes: Not dependent on shell (tested zsh, bash, sash). Not dependent
on the package (using bash just as an example). dpkg -i works fine. If running inside screen or ssh session, does not terminate shell but job control (CTRL-C, CTRL-Z) stops working. Same result when using apt instead
of apt-get.
I am attaching an strace of running 'strace apt-get -y --reinstall install bash' in a text console root sash shell session in case it helps.
I had also seen this, and after some arduous bisecting and comparison
with a freshly installed system I finally was able to track it down to adequate. Removing the packages gets rid of the misbehavior.
I've not looked further whether the adequate code itself is messing up
the console, or something else, but removing it definitely fixes this,
which I also got confirmation of from gregor herrmann.