apt broken

Tagged: , ,

  • This topic has 10 replies, 4 voices, and was last updated Mar 25-12:48 am by Brian Masinick.
Viewing 11 posts - 1 through 11 (of 11 total)
  • Author
    Posts
  • #102997
    Member
    Duschgeldrache2

      Hello, after an update that went wrong I’m unable to use apt and apt-get, no matter what options I use. Everytime I try the output is

      apt: /lib/x86_64-linux-gnu/libc.so.6: version`GLIBC_2.34′ not found (required by apt)
      apt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29′ not found (required by /lib/x86_64-linux-gnu/libapt-private.so.0.0)
      apt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33′ not found (required by /lib/x86_64-linux-gnu/libapt-private.so.0.0)
      apt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.32′ not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
      apt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34′ not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
      apt: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.33′ not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)
      apt: /lib/x86_64-linux-gnu/libstdc++.so.6: version `GLIBCXX_3.4.29′ not found (required by /lib/x86_64-linux-gnu/libapt-pkg.so.6.0)

      Any solution?

      • This topic was modified 1 month, 2 weeks ago by Duschgeldrache2.
      #103000
      Moderator
      Brian Masinick
        Helpful
        Up
        0
        ::

        When you attempt to update are you using elevated privileges? (for instance
        sudo apt update
        sudo apt dist-upgrade)

        At this point unless these work, reinstall or recover from a recent backup;
        my guess is that a reinstallation makes sense.

        --
        Brian Masinick

        #103006
        Forum Admin
        anticapitalista
          Helpful
          Up
          0
          ::

          You need to tell us exactly what you did that led to ‘after an update that went wrong’

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

          antiX with runit - leaner and meaner.

          #103007
          Member
          Duschgeldrache2
            Helpful
            Up
            0
            ::

            Usually, I don’t make updates from terminal. I use packageinstaller or synaptic. But the update went wrong. It was hanging when doing GRUB2. I let it run overnight and wondered, because the next morning it was at the same point. So I stopped the update. I could repair GRUB2. But when I tried to restart the rest nothing happened. I searched around for some tips. So I tried

            apt -f install
            sudo dpkg –configure -a

            But yet apt went wrong with the output I wrote.

            #103008
            Moderator
            Brian Masinick
              Helpful
              Up
              0
              ::

              Clear situation to reinstall as .I suggested.
              You can “experiment” if you wish, but unless you are a true wizard, this one is done beyond “normal repair”, and that’s why I recommend that you reinstall.

              --
              Brian Masinick

              #103012
              Member
              Duschgeldrache2
                Helpful
                Up
                0
                ::

                Whole antix? Hoped there could be a way only to reinstall apt.

                #103013
                Moderator
                Brian Masinick
                  Helpful
                  Up
                  0
                  ::

                  Whole antix? Hoped there could be a way only to reinstall apt.

                  Here is the problem. If you do not have apt, IF you still have dpkg you might be able to do it,
                  but if you do not already know this, how are you going to accomplish the task?

                  For instance, you want to get apt, what command will you use to get it?
                  Is your apt configuration in /etc/apt/ intact? If so, what files and directories are
                  there and what are their contents.
                  .
                  If you know all of this, use dpkg and fix it. Otherwise I still recommend that you reinstall.
                  I could hack this, but even knowing how, I would also reinstall, just as I recommend.

                  --
                  Brian Masinick

                  #103029
                  Member
                  Xunzi_23
                    Helpful
                    Up
                    0
                    ::

                    You might try removing apt cache then making another dist-upgrade attempt using the terminal.
                    location of APT cache is /var/lib/apt/lists/

                    I use packageinstaller or synaptic, opinions vary, mine is use apt whenever possible, I know all tools are frontends.
                    What is easier for updating than creating a bash alias.
                    alias upd=’sudo apt update && sudo apt upgrade’ Type upd in terminal, press enter, no matter which tool you use elevated
                    priveliges are needed.

                    Couple of small tips, Please all users,
                    install with a separate home, always have an up to date clone of your system which is checked to run live from a USB stick.

                    System breakeage is rare, if it happens and you are not experienced enough or not prepared to do a lot of searching both
                    on your system and in the internet to find a solution, just reinstall your fully configured system and be happy.

                    #103051
                    Moderator
                    Brian Masinick
                      Helpful
                      Up
                      0
                      ::

                      You might try removing apt cache then making another dist-upgrade attempt using the terminal.
                      location of APT cache is /var/lib/apt/lists/

                      I use packageinstaller or synaptic, opinions vary, mine is use apt whenever possible, I know all tools are frontends.
                      What is easier for updating than creating a bash alias.
                      alias upd=’sudo apt update && sudo apt upgrade’ Type upd in terminal, press enter, no matter which tool you use elevated
                      priveliges are needed.

                      Couple of small tips, Please all users,
                      install with a separate home, always have an up to date clone of your system which is checked to run live from a USB stick.

                      System breakeage is rare, if it happens and you are not experienced enough or not prepared to do a lot of searching both
                      on your system and in the internet to find a solution, just reinstall your fully configured system and be happy.

                      I’m in general agreement.

                      There are many ways to update the system.
                      Personally I like to create my own alias commands.

                      --
                      Brian Masinick

                      #103122
                      Member
                      Duschgeldrache2
                        Helpful
                        Up
                        0
                        ::

                        Well, the system looked somewhat strange and I had problems to find a solution. So I started antiX from USB-stick, saved my /home, reinstalled antiX, and restored /home. Now it seems to work like it should, also apt and apt-get work. In the end it was the fastest way. Thank you for your help.

                        #103123
                        Moderator
                        Brian Masinick
                          Helpful
                          Up
                          0
                          ::

                          Well, the system looked somewhat strange and I had problems to find a solution. So I started antiX from USB-stick, saved my /home, reinstalled antiX, and restored /home. Now it seems to work like it should, also apt and apt-get work. In the end it was the fastest way. Thank you for your help.

                          Excellent solution!

                          --
                          Brian Masinick

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