Public bug reported:

Installing/upgrading `yt-dlp` does not install a necessary dependency
(`python3-brotli`).

Output of `lsb_release -rd`:
```
Description:    Ubuntu 20.04.4 LTS
Release:        20.04
```

Output of `apt-cache policy yt-dlp`
```
yt-dlp:
  Installed: 2022.03.08.1-1~bpo20.04.1
  Candidate: 2022.03.08.1-1~bpo20.04.1
  Version table:
 *** 2022.03.08.1-1~bpo20.04.1 100
        100 http://ports.ubuntu.com/ubuntu-ports focal-backports/universe arm64 
Packages
        100 /var/lib/dpkg/status
```

When trying to download media using `yt-dlp`, it gives out an error indicating 
that an exception occurred because a necessary dependency was not found in the 
system. The error message is as below:
```
Traceback (most recent call last):
  File "/usr/bin/yt-dlp", line 6, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3254, 
in <module>
    def _initialize_master_working_set():
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3237, 
in _call_aside
    f(*args, **kwargs)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 3266, 
in _initialize_master_working_set
    working_set = WorkingSet._build_master()
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 584, in 
_build_master
    ws.require(__requires__)
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 901, in 
require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python3/dist-packages/pkg_resources/__init__.py", line 787, in 
resolve
    raise DistributionNotFound(req, requirers)
pkg_resources.DistributionNotFound: The 'brotli' distribution was not found and 
is required by yt-dlp
```

** Affects: yt-dlp (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1967266

Title:
  yt-dlp: Unresolved dependency

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/yt-dlp/+bug/1967266/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to