Alert Debian users to install python-dbus instead of attempting dbus-python (Fedora) in error message if missing package.
@llzes
Submitted by Avi Link to original bug (#794587)
Description
Created attachment 369989 git format-patch for Debian users alerting to install python-dbus instead of attempting dbus-python
Oh golly hi! This is my first patch, I hope things were done correctly but I'd absolutely love feedback and suggestions.
I was trying to install jhbuild for the first time today when I ran into this issue (Debian specific as far as I can tell). As expected it listed packages I didn't have installed yet to which I did install them all except for dbus-python initially. Here's the response I had personally:
(xenial)avi@localhost:/jhbuild/jhbuild$ jhbuild sanitycheck
dbus-python not found
(xenial)avi@localhost:/jhbuild/jhbuild$ sudo apt-get install dbus-python
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dbus-python
I also tried to install via pip and pip3, attempted sanitycheck, and it repeated the same issue oddly. The correct solution in the end was:
sudo apt-get install python-dbus
For Fedora the correct package name is dbus-python but for Debian it was python-dbus. I realise the answer can be found after some Google-ing but it did take more time than I'd have like to have spent. I'm not sure if I was expected to just know the package name difference or not but I'm hoping this helps save time for other future Debian users on first time installs.
Thank you all so much! I hope I didn't mess this up too badly.
Patch 369989, "git format-patch for Debian users alerting to install python-dbus instead of attempting dbus-python":
0001-Alert-Debian-users-to-install-python-dbus-instead-of.patch