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

 

 

 

(Solved)You have retained broken packages

Graphical Environments, Managers, Multimedia & Desktop questions.
Post Reply
Message
Author
Lightday
Posts: 23
Joined: 2021-09-12 18:26

(Solved)You have retained broken packages

#1 Post by Lightday »

Hello. This is what happened to me when installing Gnome 40 on Debian 11 Bullseye stable. In the "Software" application, once it is opened, if I click on a category, it closes and in Synaptic there are no broken packages. I have reinstalled the system once and the same thing happens.

quique @ debian-11: ~ $ sudo apt remove -t experimental gjs gnome-backgrounds gnome-control-center gnome-session gnome-shell mutter gnome-applets
[sudo] password for quique:
Reading package list ... Done
Creating dependency tree ... Done
Reading status information ... Done
The "gjs" package is not installed, it will not be removed
The "gnome-backgrounds" package is not installed, it will not be removed
The "gnome-control-center" package is not installed, it will not be removed
The "gnome-session" package is not installed, it will not be removed
The "gnome-shell" package is not installed, it will not be removed
The "mutter" package is not installed, it will not be removed
The "gnome-applets" package is not installed, it will not be removed
0 updated, 0 new will be installed, 0 to remove, and 298 not updated.

quique @ debian-11: ~ $ sudo apt install -t experimental gnome-applets
Reading package list ... Done
Creating dependency tree ... Done
Reading status information ... Done
Do not can instal some pack. This may mean that
you asked for an impossible situation or, if you are using the distribution
unstable, that some required packages have not yet been created or are
They have taken from "Incoming."
The following information can help resolve the situation:
The following packages have unmet dependencies:
gnome-applets: Depends: gnome-panel (> = 3.10) but it won't install
Depends: libgnome-panel0 (> = 3.41.1) but it won't install
Depends: libtracker-sparql-3.0-0 (> = 3.1.1) but not installable
E: Problems could not be corrected, you have retained broken packages.

I leave information from the sources:
quique@debian-11:~$ LC_ALL=C apt policy
Package files:
100 /var/lib/dpkg/status release a=now
1 http://deb.debian.org/debian-debug experimental-debug/main i386 Packages
release o=Debian,a=experimental-debug,n=rc-buggy-debug,l=Debian
debug,c=main,b=i386 origin deb.debian.org
1 http://deb.debian.org/debian experimental/main i386 Packages
release o=Debian,a=experimental,n=experimental,l=Debian,c=main,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian-debug bullseye-debug/contrib i386 Packages
release v=11.0,o=Debian,a=stable-debug,n=bullseye-debug,l=Debian debug,c=contrib,b=i386 origin deb.debian.org
500 http://deb.debian.org/debian-debug bullseye-debug/main i386 Packages
release v=11.0,o=Debian,a=stable-debug,n=bullseye-debug,l=Debian debug,c=main,b=i386 origin deb.debian.org
500 http://ftp.debian.org/debian stable/non-free i386 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=non-free,b=i386
origin ftp.debian.org
500 http://ftp.debian.org/debian stable/contrib i386 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=contrib,b=i386
origin ftp.debian.org
500 http://ftp.debian.org/debian stable/main i386 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=main,b=i386
origin ftp.debian.org
500 http://ftp.de.debian.org/debian bullseye/non-free i386 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=non-free,b=i386
origin ftp.de.debian.org
500 http://ftp.de.debian.org/debian bullseye/contrib i386 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=contrib,b=i386
origin ftp.de.debian.org
500 http://ftp.de.debian.org/debian bullseye/main i386 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=main,b=i386
origin ftp.de.debian.org
500 http://deb.debian.org/debian bullseye/non-free i386 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=non-free,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian bullseye/contrib i386 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=contrib,b=i386
origin deb.debian.org
500 http://deb.debian.org/debian bullseye/main i386 Packages
release v=11.0,o=Debian,a=stable,n=bullseye,l=Debian,c=main,b=i386
origin deb.debian.org
Pinned packages:

All the best.
Thanks.
Last edited by Lightday on 2022-01-31 23:15, edited 1 time in total.

User avatar
4D696B65
Site admin
Site admin
Posts: 2696
Joined: 2009-06-28 06:09
Been thanked: 85 times

Re: You have retained broken packages

#2 Post by 4D696B65 »


steve_v
df -h | grep > 20TiB
df -h | grep > 20TiB
Posts: 1400
Joined: 2012-10-06 05:31
Location: /dev/chair
Has thanked: 79 times
Been thanked: 175 times

Re: You have retained broken packages

#3 Post by steve_v »

To expand on the above, it is possible to install some things from another release with careful use of apt-pinning... But you get to keep all the pieces.
Installing a large collection with many dependencies (gnome being one of the worst things I can think to try) will result in a large number of pieces for you to keep when it breaks, and it will break sooner or later.

If you suffer from SNS syndrome and cannot control your impulses, Debian stable is probably not the right choice of distro. You can have stable (in the debian sense) or you can have new, trying to have your cake and eat it too will invariably result in just borked.
Once is happenstance. Twice is coincidence. Three times is enemy action. Four times is Official GNOME Policy.

User avatar
craigevil
Posts: 5391
Joined: 2006-09-17 03:17
Location: heaven
Has thanked: 28 times
Been thanked: 39 times

Re: You have retained broken packages

#4 Post by craigevil »

Time to change your sources to Testing or Unstable and upgrade. Or reinstall Stable and stick with Stable's sources.list.
Raspberry PI 400 Distro: Raspberry Pi OS Base: Debian Sid Kernel: 5.15.69-v8+ aarch64 DE: MATE Ram 4GB
Debian - "If you can't apt install something, it isn't useful or doesn't exist"
My Giant Sources.list

User avatar
Scorpion
Posts: 389
Joined: 2018-10-17 11:38
Has thanked: 5 times

Re: You have retained broken packages

#5 Post by Scorpion »

Maybe aptitude can do something.
So you need newer packages if they exist you could try to install them from testing/unstable, now GNOME 40 is on unstable: https://packages.debian.org/bookworm/gnome-shell.
If they don't exist yet you need to update them yourself.

This guide https://www.linuxcapable.com/how-to-upg ... -bullseye/ suggest to install these packages:

Code: Select all

gnome-session gnome-shell gnome-backgrounds gnome-applets gnome-control-center mutter gjs
I built a minimal session with jhbuild so you don't need to touch the system: viewtopic.php?f=6&t=149199.

Lightday
Posts: 23
Joined: 2021-09-12 18:26

Re: You have retained broken packages

#6 Post by Lightday »

Hello. In the end I have decided to install the stable branch.
All the best.
Thanks.

Post Reply