You are not logged in.
Just upgraded pacman to v4 and got a problem with libarchive.so.12 missing. So tried the other way round (upgraded libarchive first) but then pacman complained about libarchive.so.2. So no matter what I did, I ended up with a broken pacman...
What is the correct way to upgrade pacman?
Regards,
BTJ
Last edited by bjorntj (2012-01-20 08:57:38)
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
what if you remove libarchive,upgrade pacman and the reinstall libarchive again?:P i`m just sayin`
Offline
what if you remove libarchive,upgrade pacman and the reinstall libarchive again?:P i`m just sayin`
Don't be a troll.
@bjorntj, upgrade both at the same time, then run your full upgrade. Or you could just run the full upgrade selecting No when asked whether you want to upgrade pacman first.
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
Yeah, thought maybe that could be a solution.. Problem was that I had other packages depending on pacman 3, so I didn't find a way to tell pacman to not check for dependencies without upgrading just pacman... Tried both -d and -dd
BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
What other packages depend on pacman? Most likely an AUR helper? In that case, get rid of it....
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
Yes, it was a couple of aur helpers...
I have managed to upgrade pacman, but just wondering what was the correct procedure... But I guess this wouldn'd have been any issue if it hadn't been for the aur helper apps...
BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
I made it a habit to uninstall yaourt and package-query before updating pacman and reinstall them afterwards, as they seem to react very sensitively to changes in pacman.
Offline
Oki...thx... Maybe I just should uninstall them, since I never use them; I only use aurget....
BTJ
Someone wrote:
"I understand that if you play a Windows CD backwards you hear strange Satanic messages"
To which someone replied:
"It's even worse than that; play it forwards and it installs Windows"
Offline
Yaourt was no problem for me. Only pacman-color had to be removed.
Edit: I see the PKGBUILD for pacman-color has already been updated to a 4.0 version - so this also should no longer be an issue.
Last edited by Trilby (2012-01-17 12:17:58)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
I think I just told it to update pacman at the first stage. It then asked if I wanted to install new versions of libarchive and pacman, I said yes and then I did a full upgrade. I think specifying just pacman works because it depends on libarchive so that gets brought in too. (And pacman somehow automagically manages to update itself without falling foul of vicious circularity...)
If you told it to just install libarchive first, shouldn't pacman have warned you that pacman3 depended on the old version of libarchive? I thought that was the sort of thing which is supposed to be part of pacman's job description?
Last edited by cfr (2012-01-17 16:16:13)
CLI Paste | How To Ask Questions
Arch Linux | x86_64 | GPT | EFI boot | refind | stub loader | systemd | LVM2 on LUKS
Lenovo x270 | Intel(R) Core(TM) i5-7200U CPU @ 2.50GHz | Intel Wireless 8265/8275 | US keyboard w/ Euro | 512G NVMe INTEL SSDPEKKF512G7L
Offline
Same goes for devtools btw, that might be acting up as well. Had to remove it on my server because of the pyalpm dependency requiring pacman < 4.0.
Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy
Offline
pyalpm is already updated.
Offline
Just upgraded pacman to v4 and got a problem with libarchive.so.12 missing. So tried the other way round (upgraded libarchive first) but then pacman complained about libarchive.so.2. So no matter what I did, I ended up with a broken pacman...
What is the correct way to upgrade pacman?
I made the stupid move to pacman -Sd pacman.
Now i have a broken pacman too. I saw the solution how to upgrade pacman properly but now it's too late.
I tried downgrade pacman to 3.5 but i have this output every time:
sudo pacman -U /var/cache/pacman/pkg/pacman-3.5.4-4-i686.pkg.tar.gz
pacman: error while loading shared libraries: libarchive.so.12: cannot open shared object file: No such file or directory
Please help . How did you managed to recover pacman and then upgrade it again ?
Offline
Have you tried https://wiki.archlinux.org/index.php/Pa … tall_it.3F (it's the last one on the page) ?
Offline
Have you tried https://wiki.archlinux.org/index.php/Pa … tall_it.3F (it's the last one on the page) ?
i'll try, thanks.
Offline
i installed manually pacman 3.5 from cache
sudo tar -xvpf /var/cache/pacman/pkg/pacman-3.5.4-4-i686.pkg.tar.gz -C / --exclude .PKGINFO --exclude .INSTALL
and then i had this error:
sudo pacman -Suy
Password:
pacman: error while loading shared libraries: libarchive.so.2: cannot open shared object file: No such file or directory
libarchive.so.2 not 12
Afterwards i installed manually pacman v4.0.1 this time and thankfully pacman works again!
Last edited by tsia (2012-01-20 11:16:29)
Offline
There's no pacman 4.5.
Offline
Sorry :-)
Offline
bjorntj, please remember to mark the thread as solved.
Offline