Bug 164592

Summary: adept-manager hangs up if you try to install a new kernel
Product: adept Reporter: Christian <christian.bernstein>
Component: generalAssignee: Peter Rockai <me>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Unlisted Binaries   
OS: Linux   
Latest Commit: Version Fixed In:

Description Christian 2008-06-21 14:13:26 UTC
Version:            (using KDE 4.0.1)
Installed from:    Unspecified Linux
OS:                Linux

First of all: Thank you for your great worK!!!

Now the problem:
I change the menu.lst-file of the grub manager. If you do that, you run into big problems when you try to install a new kernel with the adept-manager (if one ist listed in the update-list). The adept-manager then stopps updating afer a few seconds.
For a beginners it appears the the program crashed, but a click on "Show details" reveals, that the adept-manger is waiting or a decision of the user:

"A new version of /boot/grub/menu.lst is available, but the version installed currently has been locally modified. What would you like to do about menu.lst?"
Then you can choose between 4 Options (basically it is: leave it as it is, change or quit).
Problem: In the GUI of the adept-manager 2.1 cruise you can't make these options, only in text-mode in a shell. (If the is a possibily to make the choice, I did not find it, then you change this...)

In consequence its only possible to quit the adept-manager, with grave consequences:
The packages database is locked now. 

No crash, but impossible to go on for beginners...

You then have to start a shell and "sudo apt-get upgrade" manually. To unlock the database and install the new kernel. 

Really hard for someone who has no idea of linux...

Suggestion 1: The should appear a hint if action by the user is necesary during the update-process. (Now you have to click on "Show details" without any hint.)
Suggestion 2: It should be possible in adept-manager to answer questions in text-mode, if there any.
Suggestion 3: (a very general one) Built a function into GUI, which can unlock the database. You would avoid a lot of trouble for beginners!
Comment 1 Peter Rockai 2008-07-31 17:05:56 UTC
This has been fixed for Adept 3.0. The program will now ask you about the modified configuration file through the GUI.

As for suggestion 3, that has been implemented as well. Moreover, adept now handles its own Debconf frontend so no text-mode interaction should be necessary (addressing 1 and 2, hopefully).