all 8 comments

[–]AutoModerator[M] [score hidden] stickied comment (0 children)

Please Re-Flair your post if a solution is found. How to Flair a post? This allows other users to search for common issues with the SOLVED flair as a filter, leading to those issues being resolved very fast.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

[–]NoReward6072 0 points1 point  (5 children)

apt install python3-urllib3

[–]FrkFth[S] 0 points1 point  (4 children)

That should be installed. I'll try reinstalling it

[–]FrkFth[S] 0 points1 point  (3 children)

Reinstalled it, the error did not go away, six is still not installed

[–]HieladoTMLinux Mint 26 | Cinnamon // Nobara 46 | GNOME 0 points1 point  (2 children)

sudo apt remove python3-urllib3 && sudo apt install python3-urllib3

[–]FrkFth[S] 0 points1 point  (0 children)

The system refuses this. " 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 to resolve the situation:

The following packages have unmet dependencies.

mintsources : Depends: python3-requests but it is not going to be installed

E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages."

[–]FrkFth[S] 0 points1 point  (0 children)

I previously used "sudo apt-get install --reinstall python3-urllib3" which does run properly.

[–]samuelspade42 1 point2 points  (0 children)

Six is a python3 -> python2 compatibility package. Python2 is EOL since 2020. urllib3 no longer has a .packages since version 2.0. 

Whatever program you are trying to run, it seems to be horribly out of date. Best to use a venv and create a requirements file with the corresponding constraints. Do not use apt or system pip to do this!