You are not logged in.
Hi all,
I'm trying to install the [testing]-version of GCC 5.1. It requires gcc-libs 5.1 [testing] to be installed, so I downloaded the corresponding tar.xz file and tried to pacman -U it.
However, gcc-libs 5.1 requires 4.9.2-4 to be installed. Which it is. But apparently it isn't recognized.
[xxx@ccc Downloads]$ sudo pacman -U gcc-libs-5.1.0-1-x86_64.pkg.tar.xz
[sudo] Passwort für xxx:
Lade Pakete...
Löse Abhängigkeiten auf...
Suche nach in Konflikt stehenden Paketen...
Fehler: Konnte den Vorgang nicht vorbereiten (Kann Abhängigkeiten nicht erfüllen)
:: gcc: benötigt gcc-libs=4.9.2-4
[xxx@ccc Downloads]$ sudo pacman -U gcc-libs-4.9.2-4-x86_64.pkg.tar.xz
Lade Pakete...
Warnung: gcc-libs-4.9.2-4 ist aktuell -- Reinstalliere
Löse Abhängigkeiten auf...
Suche nach in Konflikt stehenden Paketen...Pakete (1) gcc-libs-4.9.2-4
Gesamtgröße der zu installierenden Pakete: 13,26 MiB
Größendifferenz der Aktualisierung: 0,00 MiB:: Installation fortsetzen? [J/n] n
Is that a bug or am I missing something?
Last edited by Arcoth (2015-05-02 23:04:09)
Offline
am I missing something?
You should enable the [testing] repositories in /etc/pacman.conf rather than try to install individual packages.
https://wiki.archlinux.org/index.php/Of … es#testing
Also, prepend commands with `LC_ALL=C` to get them to output in English.
Offline
You need to enable the testing repo in /etc/pacman.conf and then refresh your pacman database. Also I good idea to set your LC_ALL=C for English when troubleshooting in the forums. Welcome to Arch.
Last edited by graysky (2015-05-02 15:14:33)
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
Not everyone has the en_US.UTF-8 locale generated, Graysky. LC_ALL=C is the recommended setting.
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
Thanks WM. Edited.
CPU-optimized Linux-ck packages @ Repo-ck • AUR packages • Zsh and other configs
Offline
However, gcc-libs 5.1 requires 4.9.2-4 to be installed. Which it is. But apparently it isn't recognized.
No, the gcc package that you currently have installed (presumably 4.9.2-4) requires gcc-libs-4.9.2-4, which you are trying to upgrade to 5.1 -- you can't do that without breaking gcc (or upgrading gcc in the same transaction).
Offline
Is that a bug or am I missing something?
You misunderstood pacman's output. Read https://bbs.archlinux.org/viewtopic.php … 0#p1524530 , it's a similar issue.
Offline
Arcoth wrote:Is that a bug or am I missing something?
You misunderstood pacman's output.
I just now saw it.
I'm currently compiling GCC from source anyway though, to keep the bleeding-edge, so I won't need that package. Once it becomes official I'll just upgrade as usual.
Thanks, everyone!
Offline
Please remember to mark the thread as solved https://bbs.archlinux.org/viewtopic.php?id=130309
Offline