You are not logged in.
My /etc/pacman.conf currently looks like this:
[core-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist
[extra-x86-64-v3]
Include = /etc/pacman.d/alhp-mirrorlist
[core]
Include = /etc/pacman.d/mirrorlist
[extra]
Include = /etc/pacman.d/mirrorlist
The -x86-64-v3 packages come from ALHP, which has been working great for me so far. However, there's one package that their build servers have failed to upgrade: zed. While I wait for them to fix that issue, for now I have done
sudo pacman -S extra/zed
Which works fine, but when doing
sudo pacman -Syu
it tries to fall back to the extra-x86-64-v3 version, resulting in
:: Starting full system upgrade...
warning: zed: downgrading from version 0.143.7-1 to version 0.137.5-2.1
resolving dependencies...
looking for conflicting packages...
Package (1) Old Version New Version Net Change Download Size
extra-x86-64-v3/zed 0.143.7-1 0.137.5-2.1 3.43 MiB 30.32 MiB
Total Download Size: 30.32 MiB
Total Installed Size: 122.12 MiB
Net Upgrade Size: 3.43 MiB
Is there anything I can do to tell pacman to check extra for zed?
Offline
No, pacman stops searching when it has found zed in extra-x86-64-v3 and doesn't look at lower listed repos .
The best you can do is probably to add zed to your ignore list so pacman won't try to update it .
Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.
clean chroot building not flexible enough ?
Try clean chroot manager by graysky
Offline
Are you really running 'pacman -Syu'? I'd expect to see
:: Starting full system upgrade...
warning: zed: local (0.143.7-1) is newer than extra-x86-64-v3 (0.137.5-2.1)
there is nothing to do
rather than a downgrade, which would require you to run 'pacman -Syuu'.
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
Sorry about that – it was -Syuu. Although even with -Syu it doesn't check extra for upgrades.
Offline
So you're specifically telling it to downgrade then are surprised when it downgrades?
But, as was said, a higher priority repo shadows a package completely for updates. Nothing you can do with that.
Offline
But, as was said, a higher priority repo shadows a package completely for updates. Nothing you can do with that.
Ah, gotcha, that was my question. There's no way to override that for one package?
Offline
The best you can do is probably to add zed to your ignore list so pacman won't try to update it .
Then follow "pacman --config /path/to/config/w/only/extra.conf -S zed"
Alternatively you could add your own custom local repo w/ repo-add that contains only the zed package and give it the highest priority, but you'll still have to "manually" (rsync-manually, that is) fetch the package into that repo. For a single package that's probably not simplifying anything.
Offline
Then follow "pacman --config /path/to/config/w/only/extra.conf -S zed"
That should not be needed, just `pacman -S extra/zed` would do which the OP already noted they are using.
Last edited by Trilby (2024-07-14 20:28:52)
"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman
Offline
That should not be needed, just `pacman -S extra/zed` would do which the OP already noted they are using.
Yep, that's what I've been doing so far. Might put in a feature request to pacman for something like
[extra]
Include = /etc/pacman.d/mirrorlist
Prioritize = zed
Since it seems like that doesn't exist yet.
Offline
https://gitlab.archlinux.org/pacman/pacman/-/issues/170
Last edited by ThatOneCalculator (2024-07-14 20:42:51)
Offline
I'm really meh on this idea. When the v3 repo catches up, you need to adjust your config then reinstall the package to get the v3 version.
It could be useful if you want to run [testing] but never install kernel packages from that repo (ignoring the Arch partial update policy), so I won't close the request. I guess it will just sit there for the next decade.
Offline