You are not logged in.

#1 2011-09-26 10:37:49

nargil
Member
Registered: 2010-07-21
Posts: 14

Disable package upgrades from testing

I want to disable package upgrades from testing repositories (testing, community-testing, multilib-testing):
- nvidia
- nvidia-utils
and the group xorg,
as it is very unstable with my laptop (quadro fx1600 gpu)

Yet I want the packages to upgrade from the non-testing repos, so puting
IgnoreGroup=xorg
IgnorePkg=..
in the option section is a bit of an overkill

Is it possible ?

Offline

#2 2011-09-26 10:44:09

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

Re: Disable package upgrades from testing

[testing] repos are disabled by default, so you had to enable them first. Now just undo what you did :-)


Comment them out: change this

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

to this

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

Same thing for any other repo you don't want.
Run 'pacman -Syy' and 'pacman -Suu'.

Last edited by karol (2011-09-26 10:45:16)

Offline

#3 2011-09-26 10:46:42

nargil
Member
Registered: 2010-07-21
Posts: 14

Re: Disable package upgrades from testing

Nah, that's not what I want.
Testing repos include much useful stuff. I don't want to get rid of it. Just disable the packages I mentioned above from testing.

Offline

#4 2011-09-26 10:48:49

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

Re: Disable package upgrades from testing

nargil wrote:

Nah, that's not what I want.
Testing repos include much useful stuff. I don't want to get rid of it. Just disable the packages I mentioned above from testing.

I understand this, but testing repos are all or nothing. Stuff is likely to break if you use some packages from testing and some from non-testing repos.

You can run e.g.

pacman -S extra/xorg-server

Last edited by karol (2011-09-26 10:49:41)

Offline

#5 2011-09-26 10:54:31

nargil
Member
Registered: 2010-07-21
Posts: 14

Re: Disable package upgrades from testing

karol wrote:

You can run e.g.

pacman -S extra/xorg-server

But then

pacman -Syu

will still upgrade it from testing ?

Offline

#6 2011-09-26 10:56:09

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

Re: Disable package upgrades from testing

Yes, pacman will try to install the newest package from whatever repo: testing, non-testing or even some unofficial user repo (if you have them enabled).


Edit: From pacman.conf:

- pacman will search repositories in the order defined here
- repositories listed first will take precedence when packages
  have identical names, regardless of version number

Last edited by karol (2011-09-26 10:58:45)

Offline

#7 2011-09-26 11:00:14

nargil
Member
Registered: 2010-07-21
Posts: 14

Re: Disable package upgrades from testing

guess I just have to globaly ignore the packages.

something like this would be useful

[testing]
IgnorePkg   = nvidia nvidia-utils
IgnoreGroup = xorg
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

or for example just to ignore a version of a package (so new packages in testing, which possibly solve my issues could be installed).

Last edited by nargil (2011-09-26 11:00:36)

Offline

#8 2011-09-26 11:01:48

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

Re: Disable package upgrades from testing

You would have to download / mirror the whole [testing] repos, remove the unwanted packages and only then update your system, but using your version of [testing] and friends.


And what are your issues? Is it http://mailman.archlinux.org/pipermail/ … 21479.html ?

Last edited by karol (2011-09-26 11:04:54)

Offline

#9 2011-09-26 11:09:09

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,365
Website

Re: Disable package upgrades from testing

You can only use IgnorePkg and IgnoreGroup globally.

Offline

#10 2011-09-26 11:10:21

nargil
Member
Registered: 2010-07-21
Posts: 14

Re: Disable package upgrades from testing

Yes. Some gtk elements are not being drawn, what is annoying with firefox tabs, as I can't recognize the currently active tab.
Tried also the 285.xx beta driver, and that makes my system unresponsible for like 10sec when changing tabs in gnome terminal, or tuning sound volume. Although the drawing is ok.

Last edited by nargil (2011-09-26 12:17:11)

Offline

#11 2011-09-26 13:38:30

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Disable package upgrades from testing

The "tab mix plus" firefox extension might be of help since it "highlights" tabs in a configurable way.

Offline

#12 2011-09-26 22:02:20

nargil
Member
Registered: 2010-07-21
Posts: 14

Re: Disable package upgrades from testing

Thats as good as fixing a plane with duct tape.

Offline

#13 2011-09-26 23:44:48

stqn
Member
Registered: 2010-03-19
Posts: 1,191
Website

Re: Disable package upgrades from testing

You're welcome. Always a pleasure to help you.

Offline

#14 2011-09-27 01:39:23

ngoonee
Forum Fellow
From: Between Thailand and Singapore
Registered: 2009-03-17
Posts: 7,354

Re: Disable package upgrades from testing

nargil wrote:

Yes. Some gtk elements are not being drawn, what is annoying with firefox tabs, as I can't recognize the currently active tab.
Tried also the 285.xx beta driver, and that makes my system unresponsible for like 10sec when changing tabs in gnome terminal, or tuning sound volume. Although the drawing is ok.

nvidia's binary drivers simply do not work all that well with xorg-server-1.11.* at the moment, so just don't use that. I (and I believe many other nvidia users) did not upgrade pass 1.10.3.901 pending nvidia getting with the programme.

<mod-note>Your previous post about planes and duct tapes isn't very helpful or appreciative to someone who posted something both valid and helpful. It'd be good if you refrain from sarcastically dismissing it just because you don't like the answer.</mod-note>


Allan-Volunteer on the (topic being discussed) mailn lists. You never get the people who matters attention on the forums.
jasonwryan-Installing Arch is a measure of your literacy. Maintaining Arch is a measure of your diligence. Contributing to Arch is a measure of your competence.
Griemak-Bleeding edge, not bleeding flat. Edge denotes falls will occur from time to time. Bring your own parachute.

Offline

#15 2011-09-27 06:20:40

nargil
Member
Registered: 2010-07-21
Posts: 14

Re: Disable package upgrades from testing

ngoonee wrote:

nvidia's binary drivers simply do not work all that well with xorg-server-1.11.* at the moment, so just don't use that. I (and I believe many other nvidia users) did not upgrade pass 1.10.3.901 pending nvidia getting with the programme.

Actualy it (testing) works fine with my desktop pc (8800gt), and that's strange. Nouveau isn't a big help for the laptop, as gnome-shell just keeps "oopsing about something going wrong".

ngoonee wrote:

<mod-note>Your previous post about planes and duct tapes isn't very helpful or appreciative to someone who posted something both valid and helpful. It'd be good if you refrain from sarcastically dismissing it just because you don't like the answer.</mod-note>

Come on, it's both funny and accurate roll

stqn wrote:

You're welcome. Always a pleasure to help you.

Well, thanks for trying. I'm just not happy with the solution.

Last edited by nargil (2011-09-27 06:23:15)

Offline

Board footer

Powered by FluxBB