Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- rm /bin/sh
- ln -s /usr/bin/dash /bin/sh
- apt install dash --reinstall
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 273 not upgraded.
- 1 not fully installed or removed.
- Need to get 0 B/113 kB of archives.
- After this operation, 0 B of additional disk space will be used.
- Preconfiguring packages ...
- (Reading database ... 426445 files and directories currently installed.)
- Preparing to unpack .../dash_0.5.8-2.6_amd64.deb ...
- Unpacking dash (0.5.8-2.6) over (0.5.8-2.6) ...
- Setting up dash (0.5.8-2.6) ...
- Removing 'diversion of /bin/sh to /bin/sh.distrib by bash'
- Adding 'diversion of /bin/sh to /bin/sh.distrib by dash'
- Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
- Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
- dpkg: error: error executing hook 'if { test "$DPKG_HOOK_ACTION" = add-architecture || test "$DPKG_HOOK_ACTION" = remove-architecture; } && test -x /usr/share/pkg-config-dpkghook; then /usr/share/pkg-config-dpkghook update; fi', exit code 32512
- E: Sub-process /usr/bin/dpkg returned an error code (2)
- E: Problem executing scripts DPkg::Post-Invoke '/usr/bin/test -e /usr/share/dbus-1/system-services/org.freedesktop.PackageKit.service && /usr/bin/test -S /var/run/dbus/system_bus_socket && /usr/bin/gdbus call --system --dest org.freedesktop.PackageKit --object-path /org/freedesktop/PackageKit --timeout 4 --method org.freedesktop.PackageKit.StateHasChanged cache-update > /dev/null; /bin/echo > /dev/null'
- E: Sub-process returned an error code
- No LSB modules are available.
- Distributor ID: Debian
- Description: Debian GNU/Linux 9.0 (stretch)
- Release: 9.0
- Codename: stretch
Add Comment
Please, Sign In to add comment