Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- This is a summary of my linux apt session. The lines marked
- -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
- marks where a command output begins and ends. In between, I make comments. This problem has been racking my brain.
- So, let's start:
- -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
- $ sudo apt update
- Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
- Hit:2 http://archive.canonical.com/ubuntu xenial InRelease
- Hit:3 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu xenial InRelease
- Get:4 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
- Hit:5 http://ppa.launchpad.net/danielrichter2007/grub-customizer/ubuntu trusty InRelease
- Get:6 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [107 kB]
- Get:7 http://archive.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
- Get:8 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [902 kB]
- Get:9 http://archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages [795 kB]
- Get:10 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 DEP-11 Metadata [320 kB]
- Get:11 http://archive.ubuntu.com/ubuntu xenial-updates/main DEP-11 64x64 Icons [227 kB]
- Get:12 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages [719 kB]
- Get:13 http://archive.ubuntu.com/ubuntu xenial-updates/universe i386 Packages [659 kB]
- Get:14 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 DEP-11 Metadata [248 kB]
- Get:15 http://archive.ubuntu.com/ubuntu xenial-updates/universe DEP-11 64x64 Icons [341 kB]
- Get:16 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 DEP-11 Metadata [5,960 B]
- Get:17 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse DEP-11 64x64 Icons [14.3 kB]
- Get:18 http://archive.ubuntu.com/ubuntu xenial-backports/main amd64 DEP-11 Metadata [3,324 B]
- Get:19 http://archive.ubuntu.com/ubuntu xenial-backports/universe amd64 DEP-11 Metadata [5,104 B]
- Get:20 http://archive.ubuntu.com/ubuntu xenial-security/main amd64 DEP-11 Metadata [67.7 kB]
- Get:21 http://archive.ubuntu.com/ubuntu xenial-security/main DEP-11 64x64 Icons [68.0 kB]
- Get:22 http://archive.ubuntu.com/ubuntu xenial-security/universe amd64 DEP-11 Metadata [109 kB]
- Get:23 http://archive.ubuntu.com/ubuntu xenial-security/universe DEP-11 64x64 Icons [158 kB]
- Fetched 4,966 kB in 8s (575 kB/s)
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- 3 packages can be upgraded. Run 'apt list --upgradable' to see them.
- -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
- All this is fine, Nice to see so many packages waiting to be installed. But it doesn't happen. I run
- 'apt list --upgradeable' to see what can be upgraded. It turns out, three packages, all Python:
- python-laditools
- python-oauthlib
- python-openssl
- So, I try to upgrade them. Here is what happens:
- -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
- $ sudo apt upgrade python-laditools
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Calculating upgrade... Done
- Some packages could not be installed. This may mean that you have
- requested an impossible situation or if you are using the unstable
- distribution that some required packages have not yet been created
- or been moved out of Incoming.
- The following information may help resolve the situation:
- The following packages have unmet dependencies:
- python-enum : Conflicts: python-enum34 but 1.1.2-1 is to be installed
- E: Broken packages
- $ sudo apt upgrade python-oauthlib
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Calculating upgrade... Done
- Some packages could not be installed. This may mean that you have
- requested an impossible situation or if you are using the unstable
- distribution that some required packages have not yet been created
- or been moved out of Incoming.
- The following information may help resolve the situation:
- The following packages have unmet dependencies:
- python-enum : Conflicts: python-enum34 but 1.1.2-1 is to be installed
- E: Broken packages
- $ sudo apt upgrade python-openssl
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Calculating upgrade... Done
- Some packages could not be installed. This may mean that you have
- requested an impossible situation or if you are using the unstable
- distribution that some required packages have not yet been created
- or been moved out of Incoming.
- The following information may help resolve the situation:
- The following packages have unmet dependencies:
- python-enum : Conflicts: python-enum34 but 1.1.2-1 is to be installed
- E: Broken packages
- -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
- It won't let me upgrade a single one of these. python-enum-34 is reported as a conflict,
- so I try to remove it:
- -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
- $ sudo apt remove python-enum34
- Reading package lists... Done
- Building dependency tree
- Reading state information... Done
- Package 'python-enum34' is not installed, so not removed
- The following packages were automatically installed and are no longer required:
- python-blinker python-cffi-backend python-jwt
- Use 'sudo apt autoremove' to remove them.
- 0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
- -----8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-------SNIP-------8<-----
- Not installed? So why is apt complaining about a conflict? Autoremoving the three packages listed as "no longer required"
- 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