Guest User

Untitled

a guest
Feb 15th, 2019
61
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.78 KB | None | 0 0
  1. anon@anon:~$ sudo apt-get install gcc
  2. Reading package lists... Done
  3. Building dependency tree
  4. Reading state information... Done
  5. Some packages could not be installed. This may mean that you have
  6. requested an impossible situation or if you are using the unstable
  7. distribution that some required packages have not yet been created
  8. or been moved out of Incoming.
  9. The following information may help to resolve the situation:
  10.  
  11. The following packages have unmet dependencies:
  12. gcc : Depends: gcc-7 (>= 7.3.0-12~) but it is not going to be installed
  13. E: Unable to correct problems, you have held broken packages.
  14. anon@anon:~$ sudo apt-get install gcc-7
  15. Reading package lists... Done
  16. Building dependency tree
  17. Reading state information... Done
  18. Some packages could not be installed. This may mean that you have
  19. requested an impossible situation or if you are using the unstable
  20. distribution that some required packages have not yet been created
  21. or been moved out of Incoming.
  22. The following information may help to resolve the situation:
  23.  
  24. The following packages have unmet dependencies:
  25. gcc-7 : Depends: cpp-7 (= 7.3.0-16ubuntu3) but 7.3.0-27ubuntu1~18.04 is to be installed
  26. Depends: gcc-7-base (= 7.3.0-16ubuntu3) but 7.3.0-27ubuntu1~18.04 is to be installed
  27. Depends: libgcc-7-dev (= 7.3.0-16ubuntu3) but it is not going to be installed
  28. Recommends: libc6-dev (>= 2.13-0ubuntu6) but it is not going to be installed
  29. E: Unable to correct problems, you have held broken packages.
  30. anon@anon:~$ sudo apt-get install gcc-7-base
  31. Reading package lists... Done
  32. Building dependency tree
  33. Reading state information... Done
  34. gcc-7-base is already the newest version (7.3.0-27ubuntu1~18.04).
  35. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
  36. anon@anon:~$
Add Comment
Please, Sign In to add comment