You are not logged in.
Pages: 1
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
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
I know I normally keep up to date. I just moved and hadn't used this PC since I moved.
Offline
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
Offline
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)
Offline
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
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)
Offline
I would have to force remove it do to Yaourt
Offline
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
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:
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)
Offline
You could remove yaourt too.
Offline
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
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
Not sure how to mark as solved.
I figured it out..
Last edited by garnerm (2015-09-13 00:39:14)
Offline
Pages: 1