You are not logged in.

#1 2016-12-13 21:52:26

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,358

Pacman repo ordering

This is just a genuine curiosity (though it may or may not have had a practical application).

There was a thread earlier today - perhaps this morning (and I can't find it again) which got me looking at the Arch Wiki about Repos. The one thing I took away, as a testing user, was that the testing repo should be at the top.

At the same time, the xorg testing update had been posted to the dev ML, and so I was aware of the dumping of various xorg stuff. I tried an update this morning, which failed because of dependency problems. Since I had to go to work, I put it on the back burner. Tonight, I revisited pacman.conf, and moved all testing (testing, community-testing and lib32-testing) repos to the top, and updated again, which worked without a glitch (and I'm still here after a reboot, so life's good).

So, how important is the order of repos in pacman.conf on a day to day basis. Surely, if core is above testing, an update will still pick the testing update as the latest, or .......?

EDIT: To correct extra to lib32

Last edited by Roken (2016-12-13 22:18:46)


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

#2 2016-12-13 21:58:04

WorMzy
Administrator
From: Scotland
Registered: 2010-06-16
Posts: 13,542
Website

Re: Pacman repo ordering

https://wiki.archlinux.org/index.php/Pacman#Repositories_and_mirrors wrote:

Repositories are distinguished between official and unofficial. The order of repositories in the configuration file matters; repositories listed first will take precedence over those listed later in the file when packages in two repositories have identical names, regardless of version number. In order to use a repository after adding it, you will need to upgrade the whole system first.

Mod note: Not an App/DE topic, moving to pacman discussion.


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 2016-12-13 22:11:18

Head_on_a_Stick
Member
From: The Wirral
Registered: 2014-02-20
Posts: 9,003
Website

Re: Pacman repo ordering

I have this order, it has been working for some time now:

[testing]
Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

[community-testing]
Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

[multilib-testing]
Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

I did have [staging] enabled (to get Xorg 1.19 early) and I put that above [testing].

IIRC, that order was in the stock file and I just un-commented the relevant entries.


Jin, Jîyan, Azadî

Offline

#4 2016-12-13 22:14:32

Roken
Member
From: South Wales, UK
Registered: 2012-01-16
Posts: 1,358

Re: Pacman repo ordering

OK. I missed the bit about ignoring despite versioning when I read this morning.

How have I managed to go so long with potentially mismatched versions and very few problems? (rhetorical)

Thank you. At least going forward I'm correct.


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus B550-F Gaming MB, 128Gb Corsair DDR4, Fractal Design Define 7 XL, 5 HD (2 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

/ is the root of all problems.

Offline

Board footer

Powered by FluxBB