You are not logged in.
Whenever I am trying to install some packages using pacman, I get a message to upgrade pacman. When I say 'yes', I get an error message.
##code_begin##
[root@arch matrix]# pacman -S libreoffice
:: The following packages should be upgraded first :
pacman
:: Do you want to cancel the current operation
:: and upgrade these packages now? [Y/n] y
resolving dependencies...
warning: dependency cycle detected:
warning: udev will be installed before its util-linux dependency
looking for inter-conflicts...
error: failed to prepare transaction (could not satisfy dependencies)
:: gcc: requires gcc-libs=4.7.0-3
[root@arch matrix]#
##code_end##
This started after adding a new mirror and performing "pacman -Syu" (I was trying to install firefox in arch, which didn't go through even with different mirrors).
What should I do now to upgrade pacman?
Last edited by matrix13 (2012-04-11 14:48:24)
Offline
First try to update pacman.
pacman -S pacmanOffline
That upgraded pacman. Thank you.
Offline
Anyone else, looking at this, look at https://bbs.archlinux.org/viewtopic.php … 3#p1086153 which suggests the above method could break pacman (but I don't understand why yet).
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
Try saying no when it asks if you want to upgrade pacman first, I don't know why that works but in a lot of cases (from a quick search) it does.
Offline