Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

Broken packages

Graphical Environments, Managers, Multimedia & Desktop questions.
Message
Author
User avatar
Cr4sh
Posts: 19
Joined: 2022-01-22 19:22
Been thanked: 1 time

Broken packages

#1 Post by Cr4sh »

I have accidentally uninstalled gnome-control-center, and now I can't install it again, due to broken packages

Code: Select all

$ apt list --upgradable
Listing... Done
python3-brlapi/bullseye-backports 6.5-3~bpo11+1 amd64 [upgradable from: 6.4-5]
python3-pyqt5.sip/bullseye-backports 12.10.1-1~bpo11+1 amd64 [upgradable from: 12.9.1-1]

Code: Select all

$ sudo apt-get install python3-brlapi
Reading package lists... Done
Building dependency tree... Done
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:
 python3-brlapi : Depends: python3 (< 3.10) but 3.10.4-1 is to be installed
E: Unable to correct problems, you have held broken packages

Code: Select all

sudo apt-get install python3-pyqt5.sip
Reading package lists... Done
Building dependency tree... Done
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:
 python3-pyqt5.sip : Depends: python3 (< 3.10) but 3.10.4-1 is to be installed
E: Unable to correct problems, you have held broken packages.
I've tried several way to repair included synaptic, no one works.

Code: Select all

sudo apt install gnome-control-center
[sudo] password for cr4sh: 
Reading package lists... Done
Building dependency tree... Done
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:
 python3-ldb : Depends: python3 (< 3.10) but 3.10.4-1 is to be installed
 python3-talloc : Depends: python3 (< 3.10) but 3.10.4-1 is to be installed
E: Unable to correct problems, you have held broken packages.
I hate conceited and rude people

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

Re: Broken packages

#2 Post by Hallvor »

Did you install any packages from testing or unstable?
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

User avatar
Cr4sh
Posts: 19
Joined: 2022-01-22 19:22
Been thanked: 1 time

Re: Broken packages

#3 Post by Cr4sh »

Not absolutely, but I'm using kernel 5.15.12 to works with Asus bluetooth

Code: Select all

_,met$$$$$gg.          cr4sh@Desktop 
    ,g$$$$$$$$$$$$$$$P.       ------------- 
  ,g$$P"     """Y$$.".        OS: Debian GNU/Linux 11 (bullseye) x86_64 
 ,$$P'              `$$$.     Kernel: 5.15.12 
',$$P       ,ggs.     `$$b:   Uptime: 4 hours, 47 mins 
`d$$'     ,$P"'   .    $$$    Packages: 2306 (dpkg), 10 (flatpak) 
 $$P      d$'     ,    $$P    Shell: bash 5.1.4 
 $$:      $$.   -    ,d$$'    Resolution: 2560x1440 
 $$;      Y$b._   _,d$P'      DE: GNOME 3.38.6 
 Y$$.    `.`"Y$$$$P"'         WM: Mutter 
 `$$b      "-.__              WM Theme: Adwaita 
  `Y$$                        Theme: Adwaita-dark [GTK2/3] 
   `Y$$.                      Icons: Adwaita [GTK2/3] 
     `$$b.                    Terminal: terminator 
       `Y$$b.                 CPU: Intel i9-10900K (20) @ 5.300GHz 
          `"Y$b._             GPU: NVIDIA GeForce RTX 3060 
              `"""            Memory: 5179MiB / 31946MiB 

Code: Select all

 deb cdrom:[Debian GNU/Linux 11.2.0 _Bullseye_ - Official amd64 DVD Binary-1 2021>

# deb cdrom:[Debian GNU/Linux 11.2.0 _Bullseye_ - Official amd64 DVD Binary-1 2021>

deb http://deb.debian.org/debian/ bullseye main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye main contrib non-free

deb http://security.debian.org/debian-security bullseye-security main contrib non->
deb-src http://security.debian.org/debian-security bullseye-security main contrib >

# bullseye-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_an>
deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
deb-src http://deb.debian.org/debian/ bullseye-updates main contrib non-free

#Kernel updates
#deb http://deb.debian.org/debian experimental main contrib non-free
#deb-src http://deb.debian.org/debian experimental main contrib non-free

# bullseye-backports
deb http://deb.debian.org/debian bullseye-backports main contrib non-free
Last edited by Cr4sh on 2022-08-09 20:21, edited 1 time in total.
I hate conceited and rude people

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: Broken packages

#4 Post by dilberts_left_nut »

Your installed 'python3' appears to be an obsolete version from testing.
AdrianTM wrote:There's no hacker in my grandma...

User avatar
Cr4sh
Posts: 19
Joined: 2022-01-22 19:22
Been thanked: 1 time

Re: Broken packages

#5 Post by Cr4sh »

Could be, I don't remember to did that, but my problem is the same and I don't know how to fix it
I hate conceited and rude people

User avatar
Hallvor
Global Moderator
Global Moderator
Posts: 2029
Joined: 2009-04-16 18:35
Location: Kristiansand, Norway
Has thanked: 139 times
Been thanked: 206 times

Re: Broken packages

#6 Post by Hallvor »

I think you need to purge all the offending packages.

Something like this:

Code: Select all

dpkg --force-all --configure -a
dpkg --purge --force-depends python3
apt --fix-broken install
apt-get -f install

Please don't blindly copy and paste before we get a second opinion.
[HowTo] Install and configure Debian bookworm
Debian 12 | KDE Plasma | ThinkPad T440s | 4 × Intel® Core™ i7-4600U CPU @ 2.10GHz | 12 GiB RAM | Mesa Intel® HD Graphics 4400 | 1 TB SSD

User avatar
Cr4sh
Posts: 19
Joined: 2022-01-22 19:22
Been thanked: 1 time

Re: Broken packages

#7 Post by Cr4sh »

ok, I'll wait, because

Code: Select all

sudo apt-get install python3
[sudo] password for cr4sh: 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
python3 is already the newest version (3.10.4-1).
0 upgraded, 0 newly installed, 0 to remove and 2 not upgraded
I hate conceited and rude people

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Broken packages

#8 Post by sunrat »

As dln said, you have an obsolete testing version of python3 on Bullseye (stable). Bad idea. Please post

Code: Select all

apt policy
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
Cr4sh
Posts: 19
Joined: 2022-01-22 19:22
Been thanked: 1 time

Re: Broken packages

#9 Post by Cr4sh »

Code: Select all

$ apt policy
Package files:
 100 /var/lib/dpkg/status
     release a=now
 500 https://linux.teamviewer.com/deb stable/main amd64 Packages
     release o=TeamViewer GmbH,a=stable,l=TeamViewer,c=main,b=amd64
     origin linux.teamviewer.com
 500 https://mega.nz/linux/repo/Debian_11 ./ Packages
     release o=MEGA,n=Debian_11,l=DEB,c=
     origin mega.nz
 100 http://deb.debian.org/debian bullseye-backports/non-free amd64 Packages
     release o=Debian Backports,a=bullseye-backports,n=bullseye-backports,l=Debian Backports,c=non-free,b=amd64
     origin deb.debian.org
 100 http://deb.debian.org/debian bullseye-backports/contrib amd64 Packages
     release o=Debian Backports,a=bullseye-backports,n=bullseye-backports,l=Debian Backports,c=contrib,b=amd64
     origin deb.debian.org
 100 http://deb.debian.org/debian bullseye-backports/main amd64 Packages
     release o=Debian Backports,a=bullseye-backports,n=bullseye-backports,l=Debian Backports,c=main,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bullseye-updates/main amd64 Packages
     release v=11-updates,o=Debian,a=stable-updates,n=bullseye-updates,l=Debian,c=main,b=amd64
     origin deb.debian.org
 500 http://security.debian.org/debian-security bullseye-security/non-free amd64 Packages
     release v=11,o=Debian,a=stable-security,n=bullseye-security,l=Debian-Security,c=non-free,b=amd64
     origin security.debian.org
 500 http://security.debian.org/debian-security bullseye-security/main amd64 Packages
     release v=11,o=Debian,a=stable-security,n=bullseye-security,l=Debian-Security,c=main,b=amd64
     origin security.debian.org
 500 http://deb.debian.org/debian bullseye/non-free amd64 Packages
     release v=11.4,o=Debian,a=stable,n=bullseye,l=Debian,c=non-free,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bullseye/contrib amd64 Packages
     release v=11.4,o=Debian,a=stable,n=bullseye,l=Debian,c=contrib,b=amd64
     origin deb.debian.org
 500 http://deb.debian.org/debian bullseye/main amd64 Packages
     release v=11.4,o=Debian,a=stable,n=bullseye,l=Debian,c=main,b=amd64
     origin deb.debian.org
Pinned packages:
I hate conceited and rude people

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Broken packages

#10 Post by bw123 »

Code: Select all

apt policy python3
It's hard to understand why you want to drag this out? We all know what you did. Do you want help or what?
resigned by AI ChatGPT

User avatar
Cr4sh
Posts: 19
Joined: 2022-01-22 19:22
Been thanked: 1 time

Re: Broken packages

#11 Post by Cr4sh »

bw123 wrote: 2022-08-09 23:43
It's hard to understand why you want to drag this out? We all know what you did. Do you want help or what?
What does it suppose to means??
Glad to be the only one who don't know!!

Code: Select all

apt policy python3
python3:
  Installed: 3.10.4-1
  Candidate: 3.10.4-1
  Version table:
 *** 3.10.4-1 100
        100 /var/lib/dpkg/status
     3.9.2-3 500
        500 http://deb.debian.org/debian bullseye/main amd64 Packages
I hate conceited and rude people

User avatar
bw123
Posts: 4015
Joined: 2011-05-09 06:02
Has thanked: 1 time
Been thanked: 28 times

Re: Broken packages

#12 Post by bw123 »

You installed python3 3.10.4-1 from somewhere and now you don't know how it happened. People here have seen this hundreds of times. It's a pretense, and it's boring. You broke it because you were careless, and it might be fixable if you stop playing pretend.

maybe this pkg can help...

Code: Select all

$ apt show apt-show-versions
...
Description: lists available package versions with distribution
 apt-show-versions parses the dpkg status file and the APT lists for

 the installed and available package versions and distribution and
 shows upgrade options within the specific distribution of the selected
 package.
 .
 This is really useful if you have a mixed stable/testing environment
 and want to list all packages which are from testing and can be
 upgraded in testing.
BUT it's probably broken
https://wiki.debian.org/DontBreakDebian
resigned by AI ChatGPT

User avatar
Cr4sh
Posts: 19
Joined: 2022-01-22 19:22
Been thanked: 1 time

Re: Broken packages

#13 Post by Cr4sh »

I think you are totally crazy
I don't know what's happening, and I'm surprise that administrators and moderators of this forum allow such incidents, maybe it's your first time
Fortunately, till now, I don't found too much ppl like you.
This is the worst example of community!

Enjoy
I hate conceited and rude people

User avatar
NorthEast
Posts: 349
Joined: 2018-11-18 04:35
Has thanked: 12 times
Been thanked: 30 times

Re: Broken packages

#14 Post by NorthEast »

Maybe check out which versions are stable and which testing here: https://tracker.debian.org/pkg/python3-defaults

User avatar
sunrat
Administrator
Administrator
Posts: 6412
Joined: 2006-08-29 09:12
Location: Melbourne, Australia
Has thanked: 116 times
Been thanked: 462 times

Re: Broken packages

#15 Post by sunrat »

Cr4sh wrote: 2022-08-10 00:54 I think you are totally crazy
I don't know what's happening, and I'm surprise that administrators and moderators of this forum allow such incidents, maybe it's your first time
We allow such comments because they are 100% correct.
Installing packages from outside the Debian repositories or from a different Debian release can easily result in a broken system. It happens too often and appears to be what you have done.

Read that link: https://wiki.debian.org/DontBreakDebian
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!

User avatar
Cr4sh
Posts: 19
Joined: 2022-01-22 19:22
Been thanked: 1 time

Re: Broken packages

#16 Post by Cr4sh »

sunrat wrote: 2022-08-10 03:39 We allow such comments because they are 100% correct.
Installing packages from outside the Debian repositories or from a different Debian release can easily result in a broken system. It happens too often and appears to be what you have done.

Read that link: https://wiki.debian.org/DontBreakDebian
It's not what, but how.
Sorry can't delete this post, but maybe I can delete my account
Wish you the best!

Good luck!
I hate conceited and rude people

User avatar
canci
Global Moderator
Global Moderator
Posts: 2502
Joined: 2006-09-24 11:28
Has thanked: 136 times
Been thanked: 136 times

Re: Broken packages

#17 Post by canci »

Cr4sh wrote: 2022-08-10 07:16maybe I can delete my account
If you will exhibit such behaviour in the future, then I'd be happy if you did.

For other who might be new and reading this... Free software communities are about mutual respect. And the Debian community is not one of commercial service or servitude. Meaning, all people here are helping you in their free time. You haven't paid them and they're not obliged by some societal code you might know from going to McDonald's or what have you, where you get to be rude to a worker or abuse them just because you didn't get your way.
If experienced users give you feedback, you can heed their advice. If Debian is a bit too hands on for you and you'd prefer Linux to be more automated, more service like, that's OK, too: There's Linux Mint, Ubuntu, elementaryOS and countless others. Debian is a system where you have to pay attention.
Image Stable / Asus VivoBook X421DA / AMD Ryzen 7 3700U / Radeon Vega Mobile Gfx (Picasso) / 8 GB RAM / 512GB NVMe

READ THIS:

* How to Post a Thread Here
* Other Tips and Great Resources

panpan
Posts: 61
Joined: 2015-09-18 17:07
Has thanked: 3 times

Re: Broken packages

#18 Post by panpan »

The first thing you should provide and be asked by Linux forums is the outcome of the command:

Code: Select all

inxi -Fxxxrz
The reason is simple, you get the best help by providing the most information of your system.

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 12 times
Been thanked: 66 times

Re: Broken packages

#19 Post by dilberts_left_nut »

You could maybe try downgrading python3 to the stable version.
It may all explode and then you can sweep up all the pieces and re-install.
Or it might work.
Don't know, haven't done it, as it's a situation I haven't got myself into since my first install.
AdrianTM wrote:There's no hacker in my grandma...

User avatar
Cr4sh
Posts: 19
Joined: 2022-01-22 19:22
Been thanked: 1 time

Re: Broken packages

#20 Post by Cr4sh »

canci wrote: 2022-08-10 08:04 If you will exhibit such behaviour in the future, then I'd be happy if you did.
Unfortunately I can't
canci wrote: 2022-08-10 08:04 For other who might be new and reading this... Free software communities are about mutual respect. And the Debian community is not one of commercial service or servitude. Meaning, all people here are helping you in their free time. You haven't paid them and they're not obliged by some societal code you might know from going to McDonald's or what have you, where you get to be rude to a worker or abuse them just because you didn't get your way.
If experienced users give you feedback, you can heed their advice. If Debian is a bit too hands on for you and you'd prefer Linux to be more automated, more service like, that's OK, too: There's Linux Mint, Ubuntu, elementaryOS and countless others. Debian is a system where you have to pay attention.
I'm sure that someone only why is capable to answer to some question feel himself like a genius...he's not.
My point: when someone ask for something 2 ways
- want to answer be polite
- don't want to answer be polite
Here no one (included me) demands something, we know that "usually" no one is paid on the forums!
I saw this behavior and read that kind of answer "People here have seen this hundreds of times. It's a pretense, and it's boring. You broke it because you were careless" several time on this forum...
When you answer to someone, you don't know who is he, be polite.
Sure there are good people here, but thanks to someone, my experiment with debian and this forum finish here.
Thanks to everyone tried to help.
CASE CLOSED
I hate conceited and rude people

Post Reply