Guest User

Untitled

a guest
Jan 23rd, 2018
84
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. rm /bin/sh
  2. ln -s /usr/bin/dash /bin/sh
  3.  
  4. apt install dash --reinstall
  5. Reading package lists... Done
  6. Building dependency tree
  7. Reading state information... Done
  8. 0 upgraded, 0 newly installed, 1 reinstalled, 0 to remove and 273 not upgraded.
  9. 1 not fully installed or removed.
  10. Need to get 0 B/113 kB of archives.
  11. After this operation, 0 B of additional disk space will be used.
  12. Preconfiguring packages ...
  13. (Reading database ... 426445 files and directories currently installed.)
  14. Preparing to unpack .../dash_0.5.8-2.6_amd64.deb ...
  15. Unpacking dash (0.5.8-2.6) over (0.5.8-2.6) ...
  16. Setting up dash (0.5.8-2.6) ...
  17. Removing 'diversion of /bin/sh to /bin/sh.distrib by bash'
  18. Adding 'diversion of /bin/sh to /bin/sh.distrib by dash'
  19. Removing 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by bash'
  20. Adding 'diversion of /usr/share/man/man1/sh.1.gz to /usr/share/man/man1/sh.distrib.1.gz by dash'
  21. 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
  22. E: Sub-process /usr/bin/dpkg returned an error code (2)
  23. 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'
  24. E: Sub-process returned an error code
  25.  
  26. No LSB modules are available.
  27. Distributor ID: Debian
  28. Description: Debian GNU/Linux 9.0 (stretch)
  29. Release: 9.0
  30. Codename: stretch
Add Comment
Please, Sign In to add comment