You are not logged in.

#1 2015-09-12 22:53:02

garnerm
Member
Registered: 2012-11-25
Posts: 9

[solved] Updating outdated archlinux.

I have a computer I havent used in maybe 6 months. I have had this issue before of when I have not updated a PC for a while I no longer chould. If I try to install a package or update I get "requires pacman<4.2" How can I update pacman? Last time I just did a fresh install but I really would rather learn the correct way to do  update.

Last edited by garnerm (2015-09-13 00:38:50)

Offline

#2 2015-09-12 22:56:29

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,901
Website

Re: [solved] Updating outdated archlinux.

The correct way is to update more often than once every six months.. Arch is a rolling-release distro, not an install-and-forget distro.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2015-09-12 23:00:46

garnerm
Member
Registered: 2012-11-25
Posts: 9

Re: [solved] Updating outdated archlinux.

I know I normally keep up to date. I just moved and hadn't used this PC since I moved.

Offline

#4 2015-09-12 23:06:19

ayekat
Member
Registered: 2011-01-17
Posts: 1,591

Re: [solved] Updating outdated archlinux.

Could you give us the command you are running and the exact output of pacman?


pkgshackscfgblag

Offline

#5 2015-09-12 23:09:33

garnerm
Member
Registered: 2012-11-25
Posts: 9

Re: [solved] Updating outdated archlinux.

pacman -Syuu

:: Synchronizing package databases...
core is up to date
extra is up to date
community is up to date
multilib is up to date
:: Starting full system upgrade...
:: Replace ca-certificates-java with core/ca-certificates-utils? [Y/n] y 
:: Replace font-misc-ethiopic with extra/xorg-fonts-misc? [Y/n] y
y:: Replace lib32-mesa-dri with multilib/lib32-mesa? [Y/n]
:: Replace libltdl with core/libtool? [Y/n] y
:: Replace libnm-gtk with extra/nm-connection-editor? [Y/n] y
:: Replace mesa-dri with extra/mesa? [Y/n] y
:: Replace xf86-video-modesetting with extra/xorg-server? [Y/n] y
resolving dependencies...
warning: dependency cycle detected:
warning: bash will be installed before its readline dependency
warning: dependency cycle detected:
warning: harfbuzz will be installed before its freetype2 dependency
warning: dependency cycle detected:
warning: lib32-harfbuzz will be installed before its lib32-freetype2 dependency
looking for inter-conflicts...
:: xorg-server and xf86-video-ast are in conflict (X-ABI-VIDEODRV_VERSION). Remove xf86-video-ast? [y/N] y
:: xorg-server and xf86-video-cirrus are in conflict (X-ABI-VIDEODRV_VERSION). Remove xf86-video-cirrus? [y/N] y
:: xorg-server and xf86-video-mga are in conflict (X-ABI-VIDEODRV_VERSION). Remove xf86-video-mga? [y/N] y
:: xorg-server and xf86-video-v4l are in conflict (X-ABI-VIDEODRV_VERSION). Remove xf86-video-v4l? [y/N] y
error: failed to prepare transaction (could not satisfy dependencies)
:: package-query: requires pacman<4.2

Last edited by garnerm (2015-09-12 23:10:18)

Offline

#6 2015-09-12 23:12:08

Slithery
Administrator
From: Norfolk, UK
Registered: 2013-12-01
Posts: 5,776

Re: [solved] Updating outdated archlinux.

Remove package-query and try again.


No, it didn't "fix" anything. It just shifted the brokeness one space to the right. - jasonwryan
Closing -- for deletion; Banning -- for muppetry. - jasonwryan

aur - dotfiles

Offline

#7 2015-09-12 23:13:11

ayekat
Member
Registered: 2011-01-17
Posts: 1,591

Re: [solved] Updating outdated archlinux.

Well, that's what I assumed: package-query is an AUR package, so pacman does not automatically update it.

In your case, the easiest fix is to uninstall package-query (and probably your AUR helper that depends on it, I assume yaourt), upgrade your system, then reinstall the latest version of those packages.

Also, please use [ code ] tags for posting terminal output.

[EDIT] aargh, too late

Last edited by ayekat (2015-09-12 23:13:32)


pkgshackscfgblag

Offline

#8 2015-09-12 23:15:21

garnerm
Member
Registered: 2012-11-25
Posts: 9

Re: [solved] Updating outdated archlinux.

 pacman -Syuu IgnorePkg= package-query
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
error: target not found: IgnorePkg=
error: target not found: package-query
warning: 'package-query' is a file, did you mean -U/--upgrade instead of -S/--sync? 

Opps typo in it:

  pacman -Syuu IgnorePkg=package-query
:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
error: target not found: IgnorePkg=package-query

Last edited by garnerm (2015-09-12 23:20:59)

Offline

#9 2015-09-12 23:19:17

ayekat
Member
Registered: 2011-01-17
Posts: 1,591

Re: [solved] Updating outdated archlinux.

garnerm wrote:
pacman -Syuu IgnorePkg=package-query

... what? Where did you get that from?

You remove package-query. You upgrade your system. You optionally reinstall package-query.

Edit: `IgnorePkg` is a directive that belongs into pacman.conf, not the command line, but no matter how you try to stuff that option into pacman, it won't solve your problem here.

Last edited by ayekat (2015-09-12 23:23:30)


pkgshackscfgblag

Offline

#10 2015-09-12 23:23:45

garnerm
Member
Registered: 2012-11-25
Posts: 9

Re: [solved] Updating outdated archlinux.

I would have to force remove it do to Yaourt

Offline

#11 2015-09-12 23:25:15

garnerm
Member
Registered: 2012-11-25
Posts: 9

Re: [solved] Updating outdated archlinux.

I'm just going to do a fresh install its looking like it would just be faster to reinstall than deal with it like this

Offline

#12 2015-09-12 23:28:52

ayekat
Member
Registered: 2011-01-17
Posts: 1,591

Re: [solved] Updating outdated archlinux.

Yes, you will need to remove yaourt, too, because that is also an unsupported package.
In general, these kinds of errors have to be resolved by temporarily removing the offending package(s). And although I'm pretty sure there is some mechanism in pacman full of black magick that allows one to temporarily bypass the checks for certain packages and to upgrade them in a separate step -- of which I do not know -- I still recommend you to follow the uninstall-upgrade-reinstall path. It's easier to understand what you're doing, and it's less likely that you leave your system in an inconsistent state.

EDIT:

garnerm wrote:

I'm just going to do a fresh install its looking like it would just be faster to reinstall than deal with it like this

Well, if that is your approach to solving every minor problem... I'm out.

Last edited by ayekat (2015-09-12 23:30:45)


pkgshackscfgblag

Offline

#13 2015-09-12 23:30:19

Steef435
Member
Registered: 2013-08-29
Posts: 577
Website

Re: [solved] Updating outdated archlinux.

You could remove yaourt too.

Offline

#14 2015-09-12 23:33:03

garnerm
Member
Registered: 2012-11-25
Posts: 9

Re: [solved] Updating outdated archlinux.

ha it was that easy. Thanks for the help I felt like more was going to need to be removed! It was an easy fix. I was just over thinking it all.

Last edited by garnerm (2015-09-12 23:39:22)

Offline

#15 2015-09-13 00:17:03

fsckd
Forum Fellow
Registered: 2009-06-15
Posts: 4,173

Re: [solved] Updating outdated archlinux.

Glad you got it fixed. Don't forget to mark the thread as [SOLVED].


aur S & M :: forum rules :: Community Ethos
Resources for Women, POC, LGBT*, and allies

Offline

#16 2015-09-13 00:38:08

garnerm
Member
Registered: 2012-11-25
Posts: 9

Re: [solved] Updating outdated archlinux.

Not sure how to mark as solved.

I figured it out..

Last edited by garnerm (2015-09-13 00:39:14)

Offline

Board footer

Powered by FluxBB