Guest User

apt error

a guest
Oct 9th, 2020 (edited)
218
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.41 KB | None | 0 0
  1. nopnotme@nopnotme:~$ sudo apt update
  2. Hit:1 http://security.ubuntu.com/ubuntu xenial-security InRelease
  3. Hit:2 http://ppa.launchpad.net/certbot/certbot/ubuntu xenial InRelease
  4. Hit:3 https://deb.nodesource.com/node_12.x xenial InRelease
  5. Hit:4 http://clout-int-fr.clouds.archive.ubuntu.com/ubuntu xenial InRelease
  6. Hit:5 https://packages.gitlab.com/gitlab/gitlab-ee/ubuntu xenial InRelease
  7. Hit:6 http://clout-int-fr.clouds.archive.ubuntu.com/ubuntu xenial-updates InRelease
  8. Hit:7 http://clout-int-fr.clouds.archive.ubuntu.com/ubuntu xenial-backports InRelease
  9. Reading package lists... Done
  10. Building dependency tree
  11. Reading state information... Done
  12. 81 packages can be upgraded. Run 'apt list --upgradable' to see them.
  13. nopnotme@nopnotme:~$ sudo apt upgrade
  14. Reading package lists... Done
  15. Building dependency tree
  16. Reading state information... Done
  17. You might want to run 'apt-get -f install' to correct these.
  18. The following packages have unmet dependencies:
  19. grub-pc : Depends: grub2-common (= 2.02~beta2-36ubuntu3.28) but 2.02~beta2-36ubuntu3.23 is installed
  20. grub2-common : Depends: grub-common (= 2.02~beta2-36ubuntu3.23) but 2.02~beta2-36ubuntu3.28 is installed
  21. E: Unmet dependencies. Try using -f.
  22. nopnotme@nopnotme:~$ sudo apt-get -f install
  23. Reading package lists... Done
  24. Building dependency tree
  25. Reading state information... Done
  26. Correcting dependencies... Done
  27. The following additional packages will be installed:
  28. grub2-common
  29. The following packages will be upgraded:
  30. grub2-common
  31. 1 upgraded, 0 newly installed, 0 to remove and 80 not upgraded.
  32. 3 not fully installed or removed.
  33. Need to get 0 B/513 kB of archives.
  34. After this operation, 0 B of additional disk space will be used.
  35. Do you want to continue? [Y/n] Y
  36. (Reading database ... 116194 files and directories currently installed.)
  37. Preparing to unpack .../grub2-common_2.02~beta2-36ubuntu3.28_amd64.deb ...
  38. Unpacking grub2-common (2.02~beta2-36ubuntu3.28) over (2.02~beta2-36ubuntu3.23) ...
  39. dpkg: error processing archive /var/cache/apt/archives/grub2-common_2.02~beta2-36ubuntu3.28_amd64.deb (--unpack):
  40. trying to overwrite '/usr/sbin/grub-set-default', which is also in package grub-legacy-ec2 19.3-41-gc4735dd3-0ubuntu1~16.04.1
  41. dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
  42. Errors were encountered while processing:
  43. /var/cache/apt/archives/grub2-common_2.02~beta2-36ubuntu3.28_amd64.deb
  44. E: Sub-process /usr/bin/dpkg returned an error code (1)
Add Comment
Please, Sign In to add comment