[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Bug#720575: /usr/bin/update-alternatives: Showing after aptitude upgrade as not found in /usr/bin/update-alternatives



Control: reassign -1 debian-edu-config
Control: severity -1 important

On Fri, 2013-08-23 at 19:27:21 +0100, Sharon Kimble wrote:
> On Fri, 23 Aug 2013 19:45:31 +0200 Guillem Jover wrote:
> > On Fri, 2013-08-23 at 17:48:49 +0100, Sharon Kimble wrote:
> > > On Fri, 23 Aug 2013 17:19:27 +0200 Guillem Jover wrote:
> > > > This means some package in your system is using an absolute path
> > > > to update-alternatives, which is wrong and should be fixed. A bit
> > > > more context would help here to diagnose where the actual problem
> > > > is, so that the bug report can be reassigned to the correct place.
> > 
> > > [root:Fri Aug 23 16:34:06 @/home/boudiccas]$ [1025]>; apt-get
> > > install spe
> > […]
> > > Processing triggers for menu ...
> > > sh: 1: /usr/sbin/update-alternatives: not found
> > > [root:Fri Aug 23 17:44:04 @/home/boudiccas]$ [1026]>; 
> > 
> > It seems the installation went fine, and something after that failed,
> > maybe some hook?
> > 
> > Could you «grep -sr update-alternatives /etc/apt /etc/dpkg»? If that
> > does not match anything maybe check what gets executed from the hooks
> > in there and grep those other scripts?
> 
> [boudiccas:Fri Aug 23 18:38:58 @~]$ [8749]>; grep -sr
> update-alternatives /etc/apt /etc/dpkg 
> /etc/apt/apt.conf.d/99-edu-prefer-iceweasel:"x=/usr/bin/iceweasel;[ -x
> $x ]&&/usr/sbin/update-alternatives --set x-www-browser $x||true";

The u-a path needs to be made relative in debian-edu-config.

> > > Does this help? If not, could you give me more detailed
> > > instructiond as to what you want?

Yes it dit! Thanks.

Regards,
Guillem


Reply to: