Problem installing package, how to solve?

Colin Watson cjwatson at ubuntu.com
Tue Jan 30 13:37:17 UTC 2024


On Mon, Jan 29, 2024 at 09:29:31PM +0100, Bo Berglund wrote:
> I am trying to install package streamlink on an ubuntu 20.04 LTS server and I
> get this:
[...]
> The following packages have unmet dependencies:
>  streamlink : Depends: python3-streamlink (= 1.3.1+dfsg-1) but it is not going
> to be installed

Try "sudo apt install streamlink python3-streamlink".  It won't solve
the problem, but it may get you a more informative error message.  If
you get another "but it is not going to be installed", add that package
to the command line too and repeat - eventually you should get to
something useful.

> ~$ 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?

"pip uninstall streamlink" should be a start, though there are evidently
some other locally-installed dependencies as well.  Hard to advise
without knowing whether you're deliberately using pip outside a
virtualenv for other things.

-- 
Colin Watson (he/him)                              [cjwatson at ubuntu.com]



More information about the ubuntu-users mailing list