添加链接
link管理
链接快照平台
  • 输入网页链接,自动生成快照
  • 标签化管理网页链接
相关文章推荐
傲视众生的苦咖啡  ·  Debian 10 Buster ...·  昨天    · 
俊秀的手套  ·  It is possible to ...·  4 周前    · 
狂野的皮蛋  ·  Navicat for SQLite | ...·  4 周前    · 
大气的梨子  ·  .NET ...·  1 月前    · 
暴躁的四季豆  ·  rabbitmq ...·  1 月前    · 
活泼的红烧肉  ·  OpenWrt support for ...·  3 月前    · 
飘逸的核桃  ·  北京市海淀区人民政府·  7 月前    · 
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.
			
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

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.
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
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:
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
			
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
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
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
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!
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
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.
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.
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
  • ↳   General Questions
  • ↳   Graphical Environments & Desktops
  • ↳   System and Network configuration
  • ↳   Hardware
  • ↳   Programming
  • Testing & Unstable
  • ↳   Testing And Unstable
  • Debian User Projects
  • ↳   Debian User Projects - Software
  • ↳   Debian User Projects - Media
  • Community
  • ↳   Forum information, requests, and feedback.
  • ↳   General Debian
  • ↳   Off-Topic
  •