[SOLVED] Unable to install blueman in Debian 10 stable: Depends: python3 (< 3.8) but 3.8.2-3 is to be installed
Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
So he has a line in there somewhere that is not correct pointing to another repo. Or he has not updated his cache since removing one it is the only way it can be doing it. Everything here shows it will do as it is supposed to on a stable system and install the programs.
My first guess would be that some packages were installed without the use of apt. That's easy to do, and not uncommon. It's not always the best idea, but people do it. Usually it's harmless, but now and then it can result in unintended consequences.
I tried reinstalling python3.7 and that didn't work. Manually installing the dependencies in one command like suggested doesnt work either:
Quote:
apt install blueman python3-gi gir1.2-gtk-3.0 gir1.2-gdkpixbuf-2.0 gir1.2-glib-2.0 gir1.2-pango-1.0 gir1.2-notify-0.7 python3-gi-cairo gir1.2-appindicator3-0.1
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:
gir1.2-glib-2.0 : Depends: libgirepository-1.0-1 (>= 1.45.4) but it is not going to be installed
python3-gi : Depends: libgirepository-1.0-1 (>= 1.44.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
You're probably right, I must've installed a package outside of apt that broke everything. One thing I don't understand though. Everything started because I had python3.8 instead of python3.7. But after manually installing python3.7 shouldn't that fix the issue?
And question number two, can I restore this Debian to it's original state (without package conflict) with an apt-get dist-upgrade?
You have other packages and libraries mixed in from other repositories. I wouldn't even guess how many. I suggest using aptitude and letting it suggest solutions. Apt is not good at fixing things in this situation.
Quote:
The following packages have unmet dependencies:
gir1.2-glib-2.0 : Depends: libgirepository-1.0-1 (>= 1.45.4) but it is not going to be installed
python3-gi : Depends: libgirepository-1.0-1 (>= 1.44.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
Install aptitude and let it try to fix the munged system. I don't think a simple update will fix things, but you can try it.
Hi! Just to update the solution. Aptitude seemed to resolve the issue. After declining the first suggestion (to keep everything as it was), it suggested to remove gstreamer1.0-plugins-bad and lib-gstreamer-plugins-bad1.0.0 and to downgrade libglib2.0-0 and libgstreamer-plugins-base1.0-0. This allowed me to install blueman and everything seems to be ok. Here's the log:
Quote:
The following NEW packages will be installed:
blueman gir1.2-appindicator3-0.1{a} gir1.2-atk-1.0{a} gir1.2-freedesktop{a} gir1.2-gdkpixbuf-2.0{a} gir1.2-glib-2.0{a} gir1.2-gtk-3.0{a}
gir1.2-notify-0.7{a} gir1.2-pango-1.0{a} libappindicator3-1{a} libgirepository-1.0-1{a} libpangoxft-1.0-0{a} libpython3.7{a}
python3-cairo{a} python3-dbus{a} python3-gi{a} python3-gi-cairo{a}
0 packages upgraded, 17 newly installed, 0 to remove and 0 not upgraded.
Need to get 2,857 kB/4,355 kB of archives. After unpacking 14.8 MB will be used.
The following packages have unmet dependencies:
libglib2.0-0 : Breaks: libgirepository-1.0-1 (< 1.62.0-4~) but 1.58.3-2 is to be installed
The following actions will resolve these dependencies:
Leave the following dependencies unresolved:
13) python3-dbus recommends python3-gi
Accept this solution? [Y/n/q/?] n
The following actions will resolve these dependencies:
Remove the following packages:
1) gstreamer1.0-plugins-bad [1.16.2-2.3+b1 (now)]
2) libgstreamer-plugins-bad1.0-0 [1.16.2-2.3+b1 (now)]
Downgrade the following packages:
3) libglib2.0-0 [2.66.0-1 (now) -> 2.58.3-2+deb10u2 (stable)]
4) libgstreamer-plugins-base1.0-0 [1.16.2-4 (now) -> 1.14.4-2 (stable)]
Accept this solution? [Y/n/q/?]
The following packages will be DOWNGRADED:
libglib2.0-0 libgstreamer-plugins-base1.0-0
The following NEW packages will be installed:
blueman gir1.2-appindicator3-0.1{a} gir1.2-atk-1.0{a} gir1.2-freedesktop{a} gir1.2-gdkpixbuf-2.0{a} gir1.2-glib-2.0{a} gir1.2-gtk-3.0{a}
gir1.2-notify-0.7{a} gir1.2-pango-1.0{a} libappindicator3-1{a} libgirepository-1.0-1{a} libpangoxft-1.0-0{a} libpython3.7{a}
python3-cairo{a} python3-dbus{a} python3-gi{a} python3-gi-cairo{a}
The following packages will be REMOVED:
gstreamer1.0-plugins-bad{a} libde265-0{u} libdvdread8{u} libfluidsynth2{u} libgssdp-1.0-3{u} libgstreamer-plugins-bad1.0-0{a}
libgupnp-1.0-4{u} libgupnp-igd-1.0-4{u} libilmbase25{u} libinstpatch-1.0-2{u} libmjpegutils-2.1-0{u} libmms0{u} libmodplug1{u}
libmpeg2encpp-2.1-0{u} libmplex2-2.1-0{u} libnice10{u} libofa0{u} libopenexr25{u} libreadline8{u} libsdl2-2.0-0{u} libspandsp2{u}
libsrt1-gnutls{u} libsrtp2-1{u} libusrsctp1{u} libvo-aacenc0{u} libvo-amrwbenc0{u} libwildmidi2{u} libx265-192{u} libzbar0{u}
timgm6mb-soundfont{u}
0 packages upgraded, 17 newly installed, 2 downgraded, 30 to remove and 0 not upgraded.
Need to get 6,050 kB/7,548 kB of archives. After unpacking 33.8 MB will be freed.
Do you want to continue? [Y/n/?] Y
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.