You are not logged in.

#1 2012-01-23 19:02:26

markhadman
Member
Registered: 2010-10-09
Posts: 39

Cannot upgrade pacman due to conflict with package-query [SOLVED]

Package query 0.9 requires pacman <4, package-query 1 requires pacman >=4, therefore I am totally unable to upgrade, even using pacman -f

I'm aware that package-query is unsupported software, but this seems a bit stupid to me! Am I to uninstall package-query and therefore yaourt, only to reinstall them by hand, or is there a safe workaround?

Last edited by markhadman (2012-01-24 11:02:20)

Offline

#2 2012-01-23 19:13:07

hokasch
Member
Registered: 2007-09-23
Posts: 1,461

Re: Cannot upgrade pacman due to conflict with package-query [SOLVED]

Am I to uninstall package-query and therefore yaourt, only to reinstall them by hand, or is there a safe workaround?

Remove package-query and yaourt, update, rebuild them - sounds perfectly safe to me?

even using pacman -f

-> check man pacman for what you are doing

Also please search the forums. This topic came up a lot.

P.S.: "unsupported" in this context means not packaged, i.e. not in the repos. You therefore always build and install these packages by hand.

Last edited by hokasch (2012-01-23 19:15:23)

Offline

#3 2012-01-23 19:27:21

markhadman
Member
Registered: 2010-10-09
Posts: 39

Re: Cannot upgrade pacman due to conflict with package-query [SOLVED]

Thanks very much hokasch.

Groan - guess pacman 4 is going to eat a day of my life after all...

Offline

#4 2012-01-23 19:39:04

jasonwryan
Anarchist
From: .nz
Registered: 2009-05-09
Posts: 30,426
Website

Re: Cannot upgrade pacman due to conflict with package-query [SOLVED]

markhadman wrote:

Groan - guess pacman 4 is going to eat a day of my life after all...

Or, realistically, 5 minutes.

But if that is too much for you to spare, rather than bemoaning the fact that the developers have spent a significant amount of time and effort on this upgrade that will cause you such inconvenience, you could just install another distro - that would probably eat a day.


Arch + dwm   •   Mercurial repos  •   Surfraw

Registered Linux User #482438

Offline

#5 2012-01-23 23:20:56

Ishpeck
Member
From: Earth
Registered: 2011-06-02
Posts: 48
Website

Re: Cannot upgrade pacman due to conflict with package-query [SOLVED]

Took me about ten minutes.

pacman -R yaourt package-query
pacman -Syyu 
pacman-key --init
wget [yaourt]; tar -zxvf yaourt*
wget [package-query]; tar -zxvf package-query*
cd package-query; makepkg; pacman -U package-query....
cd ../yaourt; makepkg; pacman -U yaourt....
yaourt -Syu 

It was slightly annoying but it wasn't debilitating.

Last edited by Ishpeck (2012-01-23 23:25:42)


If I were to ask you a hypothetical question, what would you want it to be about?

Offline

#6 2012-01-24 09:37:09

markhadman
Member
Registered: 2010-10-09
Posts: 39

Re: Cannot upgrade pacman due to conflict with package-query [SOLVED]

jasonwryan wrote:
markhadman wrote:

Groan - guess pacman 4 is going to eat a day of my life after all...

Or, realistically, 5 minutes.

But if that is too much for you to spare, rather than bemoaning the fact that the developers have spent a significant amount of time and effort on this upgrade that will cause you such inconvenience, you could just install another distro - that would probably eat a day.

Every other distro I've tried is inferior and eats up far more frustration time than Arch, which is why it's now on all my machines. I'm still putting off upgrading my 4 machines, though - because painful recent experience tells me that the chances of all 4 getting through this without day-eating breakage is about 6% (If you want a laugh at my expense, see this woeful example of breakage https://bugs.archlinux.org/task/27385). And yes, I'm aware that the longer I put it off, the worse my chances get.


Edit:

machine one (netbook).
Time taken so far: 44 minutes (inc reading up on a few errors, plus line-by-line comparison of rc.conf.pacnew, reboot plus check of basic system workiness, plus waiting unsuccessfully for package-query source to download).
Status: yaourt uninstallable (package-query git server appears to be down), openjdk6 broken due to bug, system otherwise appears healthy.
Prognosis: Total 90 minutes for 4 machines seems a reasonable (optimistic) estimate, but I'll further put the other machines off until package-query git server is back up and running.

And many apologies, this has veered somewhat off-topic and off-forum. I will probably make this my last post and let it die.


Further edit: How do I mark a thread as SOLVED? I can't see an option anywhere, or any way to edit the thread title!
edit: Nevermind, the trick is to edit the first post in the thread, it would seem.

Last edited by markhadman (2012-01-24 11:03:17)

Offline

Board footer

Powered by FluxBB