You are not logged in.

#1 2012-10-23 19:19:15

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

Prevent upgrade out of repo

Here's the problem, I use the testing repository, which is fine most of the time. On some occasions I've hit problems with the odd package, but have usually been able to either fix or circumvent them. However, gtk3 in testing seems very broken to me, with random errors appearing for some applications. gtk3 in extra is fine for the moment.

So, I'd like to allow updates to gtk3 in extra, whilst ignoring testing for that package. something like:

IgnorePkg=testing/gtk3

Is this possible?


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#2 2012-10-23 19:23:56

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Prevent upgrade out of repo

Offline

#3 2012-10-23 19:25:51

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,787
Website

Re: Prevent upgrade out of repo

It's not a good idea, imo. At least not with the testing repo. Cherry picking packages from testing is likely to cause problems.


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

#4 2012-10-23 19:36:20

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

Re: Prevent upgrade out of repo

Thanks for the link Karol. Nice to know I'm not the only one.

WorMzy, I'm not exactly cherry picking. I keep all packages as up to date as possible, but if I find a bug in testing that I can't circumvent, then I'll hold off upgrades until the bug is fixed. After that, the testing package will join regular updates again. It's more a mechanism to avoid breakages where I know a breakage is inevitable.

I do usually file a bug report if I can't find one already, to aid the process (I've filed the gtk3 bug, for example).


Ryzen 5900X 12 core/24 thread - RTX 3090 FE 24 Gb, Asus Prime B450 Plus, 32Gb Corsair DDR4, Cooler Master N300 chassis, 5 HD (1 NvME PCI, 4SSD) + 1 x optical.
Linux user #545703

Offline

#5 2012-10-23 19:40:24

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: Prevent upgrade out of repo

Have you tried simply downgrading gtk3 and putting it in IgnorePkg? Not perfect, but easy. You can manually update it after commenting out the ignore line.
'pacman -S' has also

       --recursive
           Recursively reinstall all dependencies of the targets.
           This forces upgrades or reinstalls of all dependencies
           without requiring explicit version requirements. This is
           most useful in combination with the --needed flag, which
           will induce a deep dependency upgrade without any
           unnecessary reinstalls.

switch, you can try it to downgrade the gtk3 dependencies.

Offline

Board footer

Powered by FluxBB