Forum › Forums › New users › New Users and General Questions › how to fix broken packages after upgrade
- This topic has 11 replies, 4 voices, and was last updated Feb 14-3:39 pm by Brian Masinick.
-
AuthorPosts
-
February 12, 2022 at 6:09 pm #77290Member
stephenbbb
I did an upgrade and evolution stopped working. trying to upgrade evolution reports this
$ sudo apt upgrade evolution [sudo] password for stephen: Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... 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: libedata-book-1.2-25 : Depends: libebackend-1.2-10 (= 3.30.5-1+deb10u1) but 3.38.3-1 is to be installed libedata-cal-1.2-29 : Depends: libebackend-1.2-10 (= 3.30.5-1+deb10u1) but 3.38.3-1 is to be installed libgirepository-1.0-1 : Breaks: python-gi (< 3.34.0-4~) but 3.30.4-1 is to be installed E: Broken packagesany ideas?
- This topic was modified 1 year, 2 months ago by stephenbbb.
February 12, 2022 at 6:13 pm #77293Forum Admin
anticapitalista
::Post the output of
inxi -rSeems like you have conflicting repos.
Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 12, 2022 at 6:23 pm #77294Memberstephenbbb
::$ inxi -r Repos: Active apt repos in: /etc/apt/sources.list 1: deb http://ftp.us.debian.org/debian bullseye main Active apt repos in: /etc/apt/sources.list.d/antix.list 1: deb http://mxlinux.mirrors.uk2.net/packages/antix/buster/ buster main nonfree nosystemd Active apt repos in: /etc/apt/sources.list.d/buster-backports.list 1: deb http://deb.debian.org/debian buster-backports main contrib non-free Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list 1: deb http://ftp.ca.debian.org/debian/ buster-updates main contrib non-free Active apt repos in: /etc/apt/sources.list.d/debian.list 1: deb http://ftp.ca.debian.org/debian/ buster main contrib non-free 2: deb http://security.debian.org/ buster/updates main contrib non-free No active apt repos in: /etc/apt/sources.list.d/onion.list No active apt repos in: /etc/apt/sources.list.d/tor.list No active apt repos in: /etc/apt/sources.list.d/various.listFebruary 12, 2022 at 6:40 pm #77295Forum Admin
anticapitalista
::Yes, you have bullseye and buster. Remove the bullseye one. Why did you add it?
Active apt repos in: /etc/apt/sources.list 1: deb http://ftp.us.debian.org/debian bullseye mainPhilosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 12, 2022 at 6:56 pm #77296Memberstephenbbb
::i removed bullseye and was able to run apt upgrade. however, the evolution problem is still there.
$ sudo apt upgrade evolution Reading package lists... Done Building dependency tree... Done Reading state information... Done evolution is already the newest version (3.30.5-1.1). Calculating upgrade... 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: libgirepository-1.0-1 : Breaks: python-gi (< 3.34.0-4~) but 3.30.4-1 is to be installed E: Broken packages $ sudo apt remove libgirepository Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package libgirepositoryhow do I get rid of this libgirepository?
February 12, 2022 at 7:05 pm #77297Forum Admin
anticapitalista
::sudo apt remove libgirepository-1.0-1Philosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 12, 2022 at 7:13 pm #77298Memberstephenbbb
::I removed and now it complains about glib. is it safe to remove that? it will also remove a bunch of antix stuff.
$ sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... 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: libglib2.0-0 : Breaks: libgirepository-1.0-1 (< 1.62.0-4~) but 1.58.3-2 is to be installed E: Broken packagesFebruary 12, 2022 at 7:52 pm #77299Forum Admin
anticapitalista
::No it isn’t.
When you added the bullseye repo, you messed up your install with conflicting dependencies.
You could try installing aptitude and then try
sudo aptitude update && sudo aptitude upgradePhilosophers have interpreted the world in many ways; the point is to change it.
antiX with runit - leaner and meaner.
February 12, 2022 at 10:29 pm #77308Memberstephenbbb
::I installed aptitude and it cannot solve the problem. is there another way to downgrade libglib?
or should I switch to bullseye?February 13, 2022 at 10:38 pm #77357Forum Admin
rokytnji
::Backup. Reinstall. It will be quicker. Trust me. Been there. Done that.
There is no quick fix for mixed repos and messed up lib editions. As you are finding out.
Sometimes I drive a crooked road to get my mind straight.
Not all who Wander are Lost.
I'm not outa place. I'm from outer space.Linux Registered User # 475019
How to Search for AntiX solutions to your problemsFebruary 13, 2022 at 10:56 pm #77358Memberstephenbbb
::what will happen if I wait for liglib to get upgraded on buster? it is just 1.62 (from bullseye) vs 1.58 (from buster).
I use R and emacs and both have very large libraries of packages that will get wiped and I will have to spend two days installing them. I have a separate partition for /home so all my data can survive problems with the os, also antix setup is in my /home, but applications install on the os partition. maybe I should change my setup and install the two I need in /home.February 14, 2022 at 3:39 pm #77401Moderator
Brian Masinick
::I agree with roki; I would start over. Decide which version to use and be consistent with the repos;
I sometimes experiment but in my case I am deliberately pushing the edges and trying to break things and find the limits; definitely NOT a typical user!
I also have back up options and alternatives in case I do break a system beyond repair! Don’t do it yourself unless you are prepared to rebuild it and replace it!
--
Brian Masinick -
AuthorPosts
- You must be logged in to reply to this topic.