You are not logged in.

#1 2012-07-09 05:34:31

syntaxvorlon
Member
Registered: 2008-08-13
Posts: 62

Pacman failing to upgrade

I've been having some difficulties with my system that are nested many times over.

I was following the instructions from the wiki here: Using mkinitcpio to put kernel back together

But it was at the point where I was downloading important files with pacman that I receive the issue:
package-query: package requires pacman<3.6

That was fine until I just told pacman to upgrade itself and got the message:
package-query: package requires pacman<3.6

So I said to myself, all right, pacman is completely broken on top of things. So fix that. On the same wiki page: How to fix pacman if it is broken

Following that advice, I download the packages openssl, libarchive and pacman and after consulting the linked script, manually tar -xvpf each file to root, minus the .PKGBUILD and .INSTALL files from each.

The next line is:
pacman -Sf openssl libarchive pacman

And yet again, I receive the message:
package-query: package requires pacman<3.6

So I appear to still be at square one. And I still cannot seem to install mkinitcpio.

Any advice or suggestions would be greatly appreciated, if I've overlooked some important and obvious fix somewhere in my googling, please point me in the right direction.

Thanks.

Offline

#2 2012-07-09 06:31:04

progandy
Member
Registered: 2012-05-17
Posts: 5,322

Re: Pacman failing to upgrade

Why don't you remove package-query, then perform the system update and install the new version afterwards? pacman -R package-query should still work. Your pacman is perfectly fine, pacman-query is an optional AUR-package.

Last edited by progandy (2012-07-09 06:31:35)


| alias CUTF='LANG=en_XX.UTF-8@POSIX ' | alias ENGLISH='LANG=C.UTF-8 ' |

Offline

#3 2012-07-09 08:13:46

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Pacman failing to upgrade

syntaxvorlon wrote:

So I said to myself, all right, pacman is completely broken on top of things.

How did you come to that conclusion? There is no breakage here - you simply have an unofficial package installed that depends on a particular version of pacman, so the error message is displayed when you try to upgrade pacman to a version higher than the one required.

Also, the wiki link you posted relating to mkinitcpio describes a method of regenerating your initramfs image - it does not "put kernel back together".

Offline

#4 2012-07-09 15:30:23

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Pacman failing to upgrade

Offline

Board footer

Powered by FluxBB