You are not logged in.

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

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 731

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?


[img=Speedtest]http://www.speedtest.net/my-result/5145583518[/img]

Nvidia GTX 670 2Gb, AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked) 8GB RAM
Linux user #545703

Offline

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

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

Re: Prevent upgrade out of repo

Offline

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

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 5,912
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: ASUS P8Z77-V PRO // Processor: Intel Core i7-3770K 3.4GHz // GFX: nVidia GeForce GTX 970 Ti // RAM: 32GB (4x 8GB) Corsair DDR3 (@ 2133MHz) // Storage: 1x 3TB Seagate SATAII 5x 1TB Samsung SATAII, 2x 120GB Corsair SSD

Making lemonade from lemons since 2015.

Offline

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

Roken
Member
From: UK
Registered: 2012-01-16
Posts: 731

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).


[img=Speedtest]http://www.speedtest.net/my-result/5145583518[/img]

Nvidia GTX 670 2Gb, AMD Phenom II X4 (965BE) @ 3.6 Ghz (Overclocked) 8GB RAM
Linux user #545703

Offline

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

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

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