You are not logged in.
My problem in short, when trying to upgrade system (pacman must be updated first):
Targets (1): pacman-3.4.0-2
Total Download Size: 0.64 MB
Total Installed Size: 2.23 MB
Proceed with installation? [Y/n] Y
:: Retrieving packages from core...
pacman-3.4.0-2-x86_64 658.3K 3.2M/s 00:00:00 [#####################] 100%
checking package integrity...
(1/1) checking for file conflicts [#####################] 100%
error: failed to commit transaction (conflicting files)
pacman: /usr/bin/cleanupdelta exists in filesystem
pacman: /usr/lib/libalpm.so.5 exists in filesystem
pacman: /usr/lib/libalpm.so.5.0.0 exists in filesystem
pacman: /usr/share/locale/ca/LC_MESSAGES/libalpm.mo exists in filesystem
pacman: /usr/share/locale/ca/LC_MESSAGES/pacman.mo exists in filesystem
pacman: /usr/share/locale/el/LC_MESSAGES/libalpm.mo exists in filesystem
pacman: /usr/share/locale/el/LC_MESSAGES/pacman.mo exists in filesystem
pacman: /usr/share/locale/nb/LC_MESSAGES/libalpm.mo exists in filesystem
pacman: /usr/share/locale/nb/LC_MESSAGES/pacman.mo exists in filesystem
pacman: /usr/share/locale/sv/LC_MESSAGES/libalpm.mo exists in filesystem
pacman: /usr/share/locale/sv/LC_MESSAGES/pacman.mo exists in filesystem
Errors occurred, no packages were upgraded.Querying pacman it says the currently installed version is 3.3.0-3. I've tried pacman -Scc. Trying with -f pacman just removes itself but is then naturally (?) unable to install itself back. I even tried compiling pacman myself, which did succeed, but pacman was searching for its config from wrong place (there was some kind of bug report thread or something about this, but no solution IIRC). Any suggestions?
Offline
Read this sticky
There's no such thing as a stupid question, but there sure are a lot of inquisitive idiots !
Offline
Hmm, I just noticed something interesting: /usr/bin/pacman belongs to pacman version 3.3.0-3 but the conflicting files belong to version 3.4.0-2.
Last edited by Minigun (2010-07-06 19:07:48)
Offline
I'm not sure what you did here. "pacman -Scc" simply clears the cache. Never use the f (force) option unless you are sure what you are doing ... are you saying that you have no pacman installed now? That's not what the post indicates as it shows pacman output?
edit: ok, just read your edited post. You could try getting the pacman package and untaring it to /. Then update pacman. No idea if it will work though.
Last edited by loafer (2010-07-06 19:11:42)
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Naturally, I keep backups of my system. Ie: when I lost pacman, I restored a backup and here I am.
Offline
Looks like to restored an older version of some files.
All men have stood for freedom...
For freedom is the man that will turn the world upside down.
Gerrard Winstanley.
Offline
Nope, I restored _the whole system_ ie. I emptied the HDD before restoring.
Also, I just tried manually extracting the pacman package from pacman cache. No luck ![]()
Offline
I tried restoring the old backup again. This time, I checked that the conflicting files didn't exist in the system. But then, boom, same error when trying to update. Maybe I'll just reinstall Arch, it seems that something has gone really foobar along the way. Quite odd, though, because I haven't really touched anything - seems that pacman has just somehow hanged itself. Worked fine about seven months in a row, though
The backup is like two months old. Seems that if Arch is left unupgraded for too long something bad is going to happen.
Last edited by Minigun (2010-07-06 20:47:17)
Offline
You could just force pacman to update, since you know those files belong to pacman and not some other package anyway. Use -Sf.
Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.
Offline