full path assumed for update-alternatives

Bug #1417694 reported by Graeme Ritchie
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
galternatives (Ubuntu)
Fix Released
Undecided
Boyuan Yang

Bug Description

I expected: to be able to adjust alternatives.
What happened: no effect for any operations.

In several places within the file main.py (i.e. for all actual actions), the code executes update-alternatives using the path:
/usr/sbin/update-alternatives

If update-alternatives is installed elsewhere (e.g. /usr/bin, as on my system) then the operation has no effect. No error message is generated.
That is, the software is totally useless in this situation.

[A possible fix could be to have the code find where update-alternatives is located.]

Package installed: 0.13.5+nmu2ubuntu1

Revision history for this message
Boyuan Yang (hosiet) wrote :

The path for update-alternatives is now universal as /usr/bin/update-alternatives. Code in galternatives would now assume the right path.

Fixed by version 0.13.4.

Changed in galternatives (Ubuntu):
assignee: nobody → Boyuan Yang (hosiet)
status: New → 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.