Problem installing package, how to solve?

Bo Berglund bo.berglund at gmail.com
Mon Jan 29 20:29:31 UTC 2024


I am trying to install package streamlink on an ubuntu 20.04 LTS server and I
get this:

$ apt policy streamlink
streamlink:
  Installed: (none)     <============ Notice!
  Candidate: 1.3.1+dfsg-1

$ sudo apt install streamlink
Reading package lists... Done
Building dependency tree
Reading state information... 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 to resolve the situation:

The following packages have unmet dependencies:
 streamlink : Depends: python3-streamlink (= 1.3.1+dfsg-1) but it is not going
to be installed
E: Unable to correct problems, you have held broken packages.

So how can I resolve this problem? How can I know which packages are "held"?

~$ which streamlink
/home/bosse/.local/bin/streamlink

Indicates that there *is* a streamlink, yet I get this:

$ streamlink -V
/home/bosse/.local/lib/python3.8/site-packages/requests/__init__.py:102:
RequestsDependencyWarning: urllib3 (2.1.0) or chardet (3.0.4)/charset_normalizer
(2.0.7) doesn't match a supported version!
  warnings.warn("urllib3 ({}) or chardet ({})/charset_normalizer ({}) doesn't
match a supported "
streamlink 6.5.1

Apparently there is a version installed using pip or similar that is broken, how
do I clean it out completely?


-- 
Bo Berglund
Developer in Sweden




More information about the ubuntu-users mailing list