You are not logged in.
Pages: 1
This was the most stupid thing i have done in my 4 years of ArchLinux journey.
Normally i came to read the news, then the forums about possible problems and then update. But this time(this damn first time) i was hurrying for the update. I make an 'pacman -Syu' and i told me to update pacman first. When i try to update i failed because of the damn Yaourt's damn package-query. And i made my first mistake:
'pacman -Rd pacman'
Pacman became broken. Then what i did in this area i can not remember but i think i extracted pacman to the root then tried again for a full system update. Everything went fine. All system up-do-date. But pacman broke again.
Then i found that in forums people suggest downloading all dependencies and pacman then extract them to root. Did it with again an error message:
Error while loading shared libraries: libalpm.so.7 - No such a file or directory
I checked with 'locate' command and there was libalpm.so.7. in the filesystem. How can i fix my pacman?
Plus i have this libpng-14 error nearly on everything so my computer now became almost unusable. If i can fix pacman i think libpng wont be that hard.
Last edited by Paingiver (2012-02-13 14:32:52)
Offline
I checked with 'locate' command and there was libalpm.so.7. in the filesystem.
First the 'locate' command doesn't look into the filesystem but into its database, generated by the 'updatedb' command ran generally as a cron task.
So if you just changed the filesystem, you have to run 'updatedb' manually yourself as root, to get the last state of the filesystem in the locate database.
Then what i did in this area i can not remember but i think i extracted pacman to the root then ...
You can see what you've done before using the 'history' command of bash.
people suggest downloading all dependencies and pacman then extract them to root. Did it with again an error message:...
You might have extracted the wrong pacman version.
Tell exactly what packages with their version you extacted manually into root.
libalpm.so.7 comes from pacman 4
So if you don't have it, you have used another pacman version.
Offline
Thanks for the answer berbae! This is my work computer, i have to fix it until tomorrow
I have extracted pacman- 4. But to clean the situation can i remove every instance of pacman in my filesystem and extract a new pacman-4 again?
Is there a command for removing pacman completely?
Offline
Did you compile something from AUR?
Try to remove this package and install from official arch repository.
Offline
moderator action: Moving from Pacman & Package Upgrade Issues to Newbie Corner.
aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies
Offline
Did you compile something from AUR?
Try to remove this package and install from official arch repository.
Yes i will do it. But my first problem is pacman not working.
Offline
pacman -Rd pacman
Using pacman to uninstall pacman is like pulling yourself up by your shoelaces.
I have made a personal commitment not to reply in topics that start with a lowercase letter. Proper grammar and punctuation is a sign of respect, and if you do not show any, you will NOT receive any help (at least not from me).
Offline
Did you see this wiki entry ?
Nothing is too wonderful to be true, if it be consistent with the laws of nature -- Michael Faraday
Sometimes it is the people no one can imagine anything of who do the things no one can imagine. -- Alan Turing
---
How to Ask Questions the Smart Way
Offline
Is there a command for removing pacman completely?
In your case, undo what you've done to extract pacman in your root filesystem, ie remove all the files which were extracted.
I have extracted pacman- 4
You have to extract also the dependencies of pacman 4: libarchive>=3.0.2, maybe others, depending on what is already present in your system.
Read the wiki links given above and the referenced links cited inside.
This is my work computer, i have to fix it until tomorrow
If your system is up to date, your libpng-14 errors concern only the AUR packages needing to be re-built.
So you can use everything else for your work without pacman functioning yet.
When you will post again, be precise in your text: tell exactly what commands you used and the exact output of them on your screen.
Without that, it is very difficult to help you efficiently.
Offline
This was the most stupid thing i have done in my 4 years of ArchLinux journey.
moderator action: Moving from Pacman & Package Upgrade Issues to Newbie Corner.
That was mean
@Paingiver, here you can check pacman dependencies. It may be a good idea to check everything is where it should be.
Running arch is like raising a puppy - if you spend a bit of time with it each day and do just a bit of training you'll end up with the most loyal partner you could want; if you lock it in a room and don't check on if for several days, it'll tear apart your stuff and poop everywhere.
Offline
Pages: 1