Ticket #19 (new Defect)

Opened 1 year ago

Last modified 2 months ago

Can't uninstall systemwide package by using .desktop action

Reported by: taj Assigned to: taj
Priority: Low Milestone: None
Component: main Version: 1.2.2
Severity: Trivial Keywords: installMenuItem, .desktop
Cc:

Description

installMenuItem() modifies any .desktop files to include a Verify and Uninstall action. When executing (as user) the uninstall action on a system-wide package, you get the error "The package is installed system wide. You must be root to uninstall this package." Fix it to ask for a password through autosu.

Change History

05/13/07 01:27:34 changed by taj

  • keywords changed from installMenuItem, .desktop, uninstall to installMenuItem, .desktop.

05/15/07 22:37:28 changed by taj

  • milestone set to 1.3.

05/15/07 22:38:17 changed by taj

  • priority changed from Medium to Low.

05/17/07 05:50:18 changed by isak

Isn't this as trivial as to change the actions to include '/path/to/autosu-gtk do-uninstall-command'?

06/30/07 01:03:38 changed by taj

I've half-fixed this with r2364. The problem now is one that looks more difficult to work around. KDE passes the filename of the file that the action was executed with (the .desktop file). So, for example: package remove traverso /usr/share/applications/share/traverso.desktop

This does uninstall the traverso package, but ends up on a screen with the error "Could not find package /usr/share/applications/share/traverso.desktop."

The FD.O 1.0 spec seems to have dropped all mention of Actions. It was last referenced in the 0.9.5 spec:

Additional actions possible, see MIME type discussion in the section called “Registering MIME Types”.

However, in the Registering MIME Types section there's no mention of Actions.

I guess this probably means that actions are depreciated. I say that "fixing" this probably a lot more trouble than it's worth--and it can't be of use to that many people.

Thoughts?

09/03/07 13:45:10 changed by isak

I guess you are right. In ubuntu, I can't even right click on menu entries (i get a couple of useless 'add to panel' menu items, but nothing else) so maybe this should be dropped.

Your call, but you have my backing :-)

08/04/08 11:05:00 changed by Jan-Nik

  • milestone changed from 1.3 to None.