how to fix broken packages after upgrade

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.
Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #77290
    Member
    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 packages
      

      any ideas?

      • This topic was modified 1 year, 2 months ago by stephenbbb.
      #77293
      Forum Admin
      anticapitalista
        Helpful
        Up
        0
        ::

        Post the output of inxi -r

        Seems 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.

        #77294
        Member
        stephenbbb
          Helpful
          Up
          0
          ::
          
          $ 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.list 
          
          
          #77295
          Forum Admin
          anticapitalista
            Helpful
            Up
            0
            ::

            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 main

            Philosophers have interpreted the world in many ways; the point is to change it.

            antiX with runit - leaner and meaner.

            #77296
            Member
            stephenbbb
              Helpful
              Up
              0
              ::

              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 libgirepository
              

              how do I get rid of this libgirepository?

              #77297
              Forum Admin
              anticapitalista
                Helpful
                Up
                0
                ::

                sudo apt remove libgirepository-1.0-1

                Philosophers have interpreted the world in many ways; the point is to change it.

                antiX with runit - leaner and meaner.

                #77298
                Member
                stephenbbb
                  Helpful
                  Up
                  0
                  ::

                  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 packages
                  
                  #77299
                  Forum Admin
                  anticapitalista
                    Helpful
                    Up
                    0
                    ::

                    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 upgrade

                    Philosophers have interpreted the world in many ways; the point is to change it.

                    antiX with runit - leaner and meaner.

                    #77308
                    Member
                    stephenbbb
                      Helpful
                      Up
                      0
                      ::

                      I installed aptitude and it cannot solve the problem. is there another way to downgrade libglib?
                      or should I switch to bullseye?

                      #77357
                      Forum Admin
                      rokytnji
                        Helpful
                        Up
                        1
                        ::

                        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 problems

                        #77358
                        Member
                        stephenbbb
                          Helpful
                          Up
                          0
                          ::

                          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.

                          #77401
                          Moderator
                          Brian Masinick
                            Helpful
                            Up
                            1
                            ::

                            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

                          Viewing 12 posts - 1 through 12 (of 12 total)
                          • You must be logged in to reply to this topic.