System design flaw for GUI applications for package management

Bug #139074 reported by Ivan Čukić
8
Affects Status Importance Assigned to Milestone
adept (Ubuntu)
Fix Released
Medium
Unassigned

Bug Description

If an updated or newly installed package (such as the last libpam update in Gutsy) is requesting a restart of kdm/gdm (amongst other services), adept is terminated, thus terminating the update (dist-upgrade) process. The only way to achieve this kind of update is to go to terminal and do the apt-get dist-upgrade (or any other alternative) from there.

The solution would be to move the actual updating process to a console service (parented by init) so that if the GUI is terminated, it can continue normally.

I presume that synaptic and other GUI package managers have the same design flaw.

Revision history for this message
Gabriel Ambuehl (gabriel-ambuehl) wrote :

This even happens when you run CLI updates from an X11 based terminal (for much the same reasons).

I don't think kdm/gdm should be among the services to be restarted by default.

Changed in adept:
status: New → Confirmed
Revision history for this message
Ivan Čukić (ivan-cukic) wrote :

Yes it does, but I think it's a smaller problem because people who know how to use CLI updates would know what is the problem and would bypass it easily :)

Revision history for this message
Jonathan Thomas (echidnaman) wrote :

I am pretty sure that Adept 3.0 in Kubuntu Intrepid handles conf prompts like these correctly.
Please reopen this bug if this turns out to be false.

Changed in adept:
importance: Undecided → Medium
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.