Paul_king

Apt session 19012019

Jan 19th, 2019
343
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 5.88 KB | None | 0 0
  1. This is a summary of my linux apt session. The lines marked
  2. -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
  3. marks where a command output begins and ends. In between, I make comments. This problem has been racking my brain.
  4. So, let's start:
  5. -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
  6. $ sudo apt update
  7. Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
  8. Hit:2 http://archive.canonical.com/ubuntu xenial InRelease
  9. Hit:3 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease
  10. Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
  11. Hit:5 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty InRelease
  12. Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
  13. Get:7 http://archive.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
  14. Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [902 kB]
  15. Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [795 kB]
  16. Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [320 kB]
  17. Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB]
  18. Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [719 kB]
  19. Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [659 kB]
  20. Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [248 kB]
  21. Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [341 kB]
  22. Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,960 B]
  23. Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]
  24. Get:18 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,324 B]
  25. Get:19 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,104 B]
  26. Get:20 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
  27. Get:21 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
  28. Get:22 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [109 kB]
  29. Get:23 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [158 kB]
  30. Fetched 4,966 kB in 8s (575 kB/s)
  31. Reading package lists... Done
  32. Building dependency tree
  33. Reading state information... Done
  34. 3 packages can be upgraded. Run 'apt list --upgradable' to see them.
  35. -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
  36. All this is fine, Nice to see so many packages waiting to be installed. But it doesn't happen. I run
  37. 'apt list --upgradeable' to see what can be upgraded. It turns out, three packages, all Python:
  38. python-laditools
  39. python-oauthlib
  40. python-openssl
  41. So, I try to upgrade them. Here is what happens:
  42. -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
  43. $ sudo apt upgrade python-laditools
  44. Reading package lists... Done
  45. Building dependency tree
  46. Reading state information... Done
  47. Calculating upgrade... Done
  48. Some packages could not be installed. This may mean that you have
  49. requested an impossible situation or if you are using the unstable
  50. distribution that some required packages have not yet been created
  51. or been moved out of Incoming.
  52. The following information may help resolve the situation:
  53.  
  54. The following packages have unmet dependencies:
  55. python-enum : Conflicts: python-enum34 but 1.1.2-1 is to be installed
  56. E: Broken packages
  57. $ sudo apt upgrade python-oauthlib
  58. Reading package lists... Done
  59. Building dependency tree
  60. Reading state information... Done
  61. Calculating upgrade... Done
  62. Some packages could not be installed. This may mean that you have
  63. requested an impossible situation or if you are using the unstable
  64. distribution that some required packages have not yet been created
  65. or been moved out of Incoming.
  66. The following information may help resolve the situation:
  67.  
  68. The following packages have unmet dependencies:
  69. python-enum : Conflicts: python-enum34 but 1.1.2-1 is to be installed
  70. E: Broken packages
  71. $ sudo apt upgrade python-openssl
  72. Reading package lists... Done
  73. Building dependency tree
  74. Reading state information... Done
  75. Calculating upgrade... Done
  76. Some packages could not be installed. This may mean that you have
  77. requested an impossible situation or if you are using the unstable
  78. distribution that some required packages have not yet been created
  79. or been moved out of Incoming.
  80. The following information may help resolve the situation:
  81.  
  82. The following packages have unmet dependencies:
  83. python-enum : Conflicts: python-enum34 but 1.1.2-1 is to be installed
  84. E: Broken packages
  85. -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
  86. It won't let me upgrade a single one of these. python-enum-34 is reported as a conflict,
  87. so I try to remove it:
  88. -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
  89. $ sudo apt remove python-enum34
  90. Reading package lists... Done
  91. Building dependency tree
  92. Reading state information... Done
  93. Package 'python-enum34' is not installed, so not removed
  94. The following packages were automatically installed and are no longer required:
  95. python-blinker python-cffi-backend python-jwt
  96. Use 'sudo apt autoremove' to remove them.
  97. 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
  98. -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
  99. Not installed? So why is apt complaining about a conflict? Autoremoving the three packages listed as "no longer required"
  100. will cause the apt system to complain later on that I can't upgrade my OS, because these packages need to be installed.
Advertisement
Add Comment
Please, Sign In to add comment