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

Bug#143342: mv: cannot stat `jar': No such file or directory



Matthias Klose <doko@cs.tu-berlin.de> writes:

> Adam Di Carlo writes:
> > During configure phase of upgrade I read:
> > 
> >   Setting up fastjar (3.0.4-7) ...
> >   mv: cannot stat `jar': No such file or directory
> >  
> > It would be nicer if postinst checked for the existance of the 
> > file before trying to move it...
> 
> hmm, should this be reassigned to dpkg? just using update-alternatives:
> 
> #! /bin/sh -e
> 
> update-alternatives --quiet --install /usr/bin/jar jar
> /usr/bin/fastjar 30 \
>   --slave /usr/share/man/man1/jar.1.gz jar.1.gz
> /usr/share/man/man1/fastjar.1.gz

Oh, wow, I guess so.  I don't see anything in the update-alternative
manpage that says /usr/bin/jar (link) should exist before calling
this...

-- 
...Adam Di Carlo..<adam@onshore-devel.com>...<URL:http://www.onshored.com/>



-- 
To UNSUBSCRIBE, email to debian-gcc-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: