Re: Safe-upgrade of "dash" fails
On Thu, Aug 06, 2009 at 09:05:56AM +0200, Jack Knowlton wrote:
> On Thu, August 6, 2009 8:02 am, Sven Joachim wrote:
> > On 2009-08-06 00:11 +0200, Jack Knowlton wrote:
> >> Coming back from a month-long trip, I decided to safe-upgrade my debian
> >> unstable desktop. Among the hundreds of new packages, apt seemed eager
> >> to
> >> install (or upgrade, I'm not sure) dash.
> > This is intended.
> >> Unfortunately, something seems to have gone terribly wrong and I would
> >> like to complete successfully the upgrade before rebooting the box.
> >> Here's
> >> what aptitude is complaining about:
> >> Unpacking dash (from .../dash_0.5.5.1-2.3_amd64.deb) ...
> >> Adding `diversion of /bin/sh to /bin/sh.distrib by dash'
> >> Adding `diversion of /usr/share/man/man1/sh.1.gz to
> >> /usr/share/man/man1/sh.distrib.1.gz by dash'
> >> dpkg (subprocess): unable to exec dpkg-deb to get filesystem archive: No
> >> such file or directory
> > That sounds as if you had lost dpkg-deb, which would be very worrisome.
> > Did you upgrade dpkg as well, and did anything go wrong with it? Check
> > whether /usr/bin/dpkg-deb exists and is executable, and look into
> > /var/log/dpkg.log for recently installed/upgraded/removed packages.
> > Sven
> Fortunately, after a little digging, I found out aptitude symlinked
> /bin/sh -> dash before actually installing it. Now everything's cool again
That *could* be a bug. It may be worth looking to see if anyone else has seen
it, and filing it if no-one has.
Of course, if this is the wrong course of action, I'm sure someone will correct
Eric Gerlach, Network Administrator
Federation of Students
University of Waterloo
p: (519) 888-4567 x36329