hardy - weird empty new lines in output - aptitude overpasses installation prompt
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
aptitude (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned | ||
gnome-terminal (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: aptitude
Hardy heron 8.04 (alpha until beta) updated
Sometimes when I do aptitude safe-upgrade or install it shows some weird breaks / empty new lines.
These empty new lines happen during the process and sometimes there are several of them after the command has ended.
These spaces cause problems with the installation prompt, i.e. it doesn't ask me if I want to install it or not and it proceeds.
It seems to happen randomly, I used these commands in gnome-terminal:
1) sudo aptitude update; sudo aptitude safe-upgrade
2) apt-cache depends linux-lib
3) apt-cache depends linux-libc-dev
4) sudo aptitude purge linux-libc-dev (weird empty new lines while processing, continued without installation prompt)
5) sudo aptitude install linux-generic linux-headers-
6) sudo aptitude install ubuntu-desktop (weird empty new lines while processing and at the end)
See the text attachment for the output.
Notice the output when I tried to purge linux-libc-dev (4):
"Accept this solution? [Y/n/q/?] The following packages are unused and will be REMOVED:"
$ apt-cache policy aptitude
aptitude:
Installed: 0.4.9-2ubuntu4
Candidate: 0.4.9-2ubuntu4
Version table:
*** 0.4.9-2ubuntu4 0
500 http://
100 /var/lib/
This could probably be a security vulnerability, because it doesn't ask the user if they really want to do this.
another example attached, happened when i wanted to remove the php5 mod of apache2