Forum › Forums › Official Releases › antiX-21/22 “Grup Yorum” › apt broken
- This topic has 10 replies, 4 voices, and was last updated Mar 25-12:48 am by Brian Masinick.
-
AuthorPosts
-
March 23, 2023 at 9:00 pm #102997Member
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.
March 23, 2023 at 9:24 pm #103000Moderator
Brian Masinick
::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 MasinickMarch 23, 2023 at 9:44 pm #103006Forum Admin
anticapitalista
::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.
March 23, 2023 at 9:53 pm #103007MemberDuschgeldrache2
::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 -aBut yet apt went wrong with the output I wrote.
March 23, 2023 at 10:02 pm #103008Moderator
Brian Masinick
::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 MasinickMarch 23, 2023 at 10:42 pm #103012MemberDuschgeldrache2
March 23, 2023 at 11:04 pm #103013Moderator
Brian Masinick
::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 MasinickMarch 24, 2023 at 8:48 am #103029MemberXunzi_23
::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.March 24, 2023 at 2:15 pm #103051Moderator
Brian Masinick
::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 MasinickMarch 25, 2023 at 12:39 am #103122MemberDuschgeldrache2
::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.
March 25, 2023 at 12:48 am #103123Moderator
Brian Masinick
::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 -
AuthorPosts
- You must be logged in to reply to this topic.