Advertisement
Paladinz2k

update && apt-get dist-upgrade error

Jun 18th, 2021
262
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.84 KB | None | 0 0
  1. root@server:/etc/apt# apt-get update && apt-get dist-upgrade
  2. Hit:1 http://archive.ubuntu.com/ubuntu bionic InRelease
  3. Hit:2 http://security.ubuntu.com/ubuntu bionic-security InRelease
  4. Reading package lists... Done
  5. Reading package lists... Done
  6. Building dependency tree
  7. Reading state information... Done
  8. You might want to run 'apt --fix-broken install' to correct these.
  9. The following packages have unmet dependencies:
  10. pkg-config : Depends: libdpkg-perl but it is not installable
  11. E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
  12. root@server:/etc/apt# apt --fix-broken install
  13. Reading package lists... Done
  14. Building dependency tree
  15. Reading state information... Done
  16. Correcting dependencies... Done
  17. The following packages were automatically installed and are no longer required:
  18. autogen-doc autopoint ca-certificates-mono emacsen-common fakeroot g++ g++-6 gettext git-man ienglish-common ispell libfakeroot libgraphite2-dev libharfbuzz-gobject0 libharfbuzz-icu0
  19. libice-dev libmono-corlib4.5-cil libmono-i18n-west4.0-cil libmono-i18n4.0-cil libmono-posix4.0-cil libmono-security4.0-cil libmono-system-configuration4.0-cil libmono-system-core4.0-cil
  20. libmono-system-security4.0-cil libmono-system-xml4.0-cil libmono-system4.0-cil libopts25-dev libpcre3-dev libpcre32-3 libpcrecpp0v5 libpthread-stubs0-dev libsigc++-2.0-0v5 libsm-dev
  21. libtk8.6 libva-drm2 libva-glx2 libva-wayland2 libwayland-bin libwayland-dev libx11-dev libx11-doc libxau-dev libxcb1-dev libxdmcp-dev libxext-dev libxrender-dev libxss-dev libxt-dev
  22. mono-4.0-gac mono-gac mono-runtime mono-runtime-common mono-runtime-sgen perl-openssl-defaults tk tk8.6 x11proto-core-dev x11proto-input-dev x11proto-kb-dev x11proto-render-dev
  23. x11proto-scrnsaver-dev x11proto-xext-dev xorg-sgml-doctools xtrans-dev
  24. Use 'apt autoremove' to remove them.
  25. The following packages will be REMOVED:
  26. pkg-config
  27. 0 upgraded, 0 newly installed, 1 to remove and 141 not upgraded.
  28. After this operation, 193 kB disk space will be freed.
  29. Do you want to continue? [Y/n] y
  30. (Reading database ... 87206 files and directories currently installed.)
  31. Removing pkg-config (0.29-4+b1) ...
  32. Can't locate Dpkg/Arch.pm in @INC (you may need to install the Dpkg::Arch module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.26.1 /usr/local/share/perl/5.26.1 /usr/lib/x86_64-linux-gnu/perl5/5.26 /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.26 /usr/share/perl/5.26 /usr/local/lib/site_perl /usr/lib/x86_64-linux-gnu/perl-base) at /usr/share/pkg-config-dpkghook line 14.
  33. BEGIN failed--compilation aborted at /usr/share/pkg-config-dpkghook line 14.
  34. dpkg: error processing package pkg-config (--remove):
  35. subprocess installed pre-removal script returned error exit status 2
  36. Errors were encountered while processing:
  37. pkg-config
  38. E: Sub-process /usr/bin/dpkg returned an error code (1)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement