Jaunty Kubuntu bad handling of apt-file notification (konsole -e konsole loop)
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
update-notifier-kde (Ubuntu) |
Fix Released
|
Medium
|
Harald Sitter |
Bug Description
Testing with Kubuntu Jaunty with updates as of today.
Install apt-file. Reboot.
After logging in get notification:
"apt-file update needed
You may need to update or create the apt-file cache. Running this command likely needs an active internet connection."
Clicking "Run this action now" pops open a window which quickly closes. Notification window is still present.
*** Potential problem 1 - poor error handling - the executed window failed but notification window did nothing.
From ps the executed command is:
/usr/bin/konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e konsole -e /usr/sbin/
There is a warning printed:
konsole(4525): Attempt to use QAction "change-profile" with KXMLGUIFactory!
*** Potential problem 2 - what is this QAction?
But the obvious problem is the repeated -e konsole calls, probably from some recursive string expansion. Remove them all and the actual su-to-root command works.
Changed in update-notifier-kde (Ubuntu): | |
assignee: | nobody → Harald Sitter (apachelogger) |
importance: | Undecided → Medium |
status: | New → Triaged |
Changed in update-notifier-kde (Ubuntu): | |
status: | Triaged → Fix Committed |
KDE 4.2, Kubuntu 8.10
when i ran the command:
sudo /usr/sbin/ su-to-root -c /usr/share/ apt-file/ do-apt- file-update
I got the following results:
Can't get http:// archive. canonical. com/ubuntu/ dists/intrepid/ Contents- amd64.gz ppa.launchpad. net/kubuntu- members- kde4/ubuntu/ dists/intrepid/ Contents- amd64.gz
Can't get http://
...my Internet connection is fine.