Siduction Forum

Siduction Forum => Upgrade Warnings => Topic started by: Carnophage on 2018/01/24, 00:44:29

Title: [solved] dash upgrade fails, resulting in /bin/sh linking to nonexisting dash
Post by: Carnophage on 2018/01/24, 00:44:29
Just in case someone does an upgrade in the middle of the night: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888180 (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=888180)
In case You did, simply doing
Code: [Select]
cp /usr/bin/dash /binmakes the system usable for the time being.
Title: Re: dash upgrade fails, resulting in /bin/sh linking to nonexisting dash binary
Post by: drooghead on 2018/01/24, 04:47:30
Thanks Carnophage you saved me. I was just about to reinstall thinking I had corrupted something when my log file filled the disk but now all is good except for sddm starting on vt7 but the console remaining on vt1 but I can live with that.
Title: Re: dash upgrade fails, resulting in /bin/sh linking to nonexisting dash binary
Post by: samoht on 2018/01/24, 13:32:05
Thanks @Carnophage!

Last night (German local time) I was desperate because this error ("critical" indeed) right at the beginning of the full-upgrade process made my main installation unusable.
What a relief when I saw your post this morning!
Title: Re: dash upgrade fails, resulting in /bin/sh linking to nonexisting dash binary
Post by: dibl on 2018/01/24, 13:44:48
Thank you @Carnophage. This bug bit me last night on a laptop and I could not figure out what was causing the "sh" error message.  You saved me!
Title: Re: dash upgrade fails, resulting in /bin/sh linking to nonexisting dash binary
Post by: Jan46 on 2018/01/24, 14:24:24
Thanks Carnophage! Saved by your post.
I also did an upgrade this night and could only start in a terminal and tried to do an update but also no networking possible.
Everything fine now  ;D
Title: Re: dash upgrade fails, resulting in /bin/sh linking to nonexisting dash binary
Post by: devil on 2018/01/24, 14:30:44
Installing apt-listbugs will let you know about known bugs before the dist-upgrade starts. the bug in dash was advertised there last night.
Title: Re: dash upgrade fails, resulting in /bin/sh linking to nonexisting dash binary
Post by: samoht on 2018/01/24, 15:41:45
Thanks, @devil, learned something again.
Greetings,
Tom
Title: Re: dash upgrade fails, resulting in /bin/sh linking to nonexisting dash binary
Post by: melmarker on 2018/01/24, 17:04:42
The dash bug was not so nice - but  it should be no reason for apt-listbugs. (Cannons vs. little birds) - to be a little bit more verbose about: apt-listbugs make no sense in the very most cases a) there was a wrong upload, nobody noticed the bug, hey - it will hit you. b) The bug in charge is fixed, the fix was uploaded: Cool, fine, perfect world - with an exception: The bug is closed in the Debian BTS shortly after the upload, so the fixed package will be built and uploaded to the mirrors within a few hours - apt-list bug will not show the bug anymore, congrats: the bug will hit you within the time until the next sync :D
Title: Re: dash upgrade fails, resulting in /bin/sh linking to nonexisting dash binary
Post by: dibl on 2018/01/24, 18:26:30
Quote from: melmarker
... the bug will hit you within the time until the next sync ...


That happened to me, I guess.  apt-listbugs is installed and working, but there was no warning.
Title: Re: dash upgrade fails, resulting in /bin/sh linking to nonexisting dash binary
Post by: melmarker on 2018/01/24, 18:49:20
That wasn't meant as a general apt-listbug bashing - but imho apt-listbugs is to noisy and misleading some times - and the very most bugs apt-listbugs show are out of my horizon - or i'm not really interested in :D

So it is a nice application if one is _really_ interested in and want to check every thing apt-listbug find. I for myself take another approach - just install things and file bugs (or check existing ones afterwards and maybe send a patch)

EDIT: if bitten and no way to get the damn thing working: just boot with bash as init and add a symlink /usr/bin/dash -> /bin/dash 8) - Reboot, done.