0

I'm trying to install polybar and python-xcbgen is a dependency. For some reason apt cannot find it. I'm on Ubuntu 20.04 and as far as I know all of the official Ubuntu repositories are listed in /etc/apt/sources.list. I don't know wh it cannot find it.

wg041403
  • 1
  • 2
  • 1
    Does this answer your question? [What does "Package has no installation candidate" mean?](https://askubuntu.com/questions/14685/what-does-package-package-has-no-installation-candidate-mean) – karel Sep 30 '20 at 20:25
  • @karel I understand what the error means. I couldn't find a repository that had "python-xcbgen". I have come to find out, that since updating to python3 the package I was looking for is now "python3-xcbgen". – wg041403 Sep 30 '20 at 20:32
  • The answer to your question is at the linked duplicate question here: https://askubuntu.com/a/1276856/ python-xcbgen package has been discontinued in 20.04 because Python 2.x is no longer being maintained. – karel Sep 30 '20 at 20:34

1 Answers1

1

Use:

apt install python3-xcbgen
Enterprise
  • 12,002
  • 11
  • 60
  • 105