You are not logged in.

#1 2010-01-23 08:19:33

giner
Member
Registered: 2007-02-28
Posts: 26
Website

Install some packages from [testing] repository

Hello Guys,

Could you suggest me how can I install and update from time to time only several packages from testing but not all of that repository?

Have a nice day,
Stas

Offline

#2 2010-01-23 08:32:47

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

Re: Install some packages from [testing] repository

Don't.  You risk breaking your system.   The [testing] repo is all or nothing.

Offline

#3 2010-01-23 08:48:30

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Install some packages from [testing] repository

Additionally, at the moment there is a huge rebuild going on around libpng, so you may want to steer clear from testing altogether smile.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#4 2010-01-23 09:20:37

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Install some packages from [testing] repository

if you >>!*REALLY*!<< know what you are doing:
- enable testing and community-testing in /etc/pacman.conf and put them _at_the_bottom_ of the file (after core, extra and community).
- sync than install testing packages with pacman -S testing/<package>
or you can simply download the binaries from a mirror (beware of deps)

Offline

#5 2010-01-23 09:23:00

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Install some packages from [testing] repository

I recall Allan specifically discouraging selective updates from [Testing] less than an hour ago. What happened to good practice and common sense?


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#6 2010-01-23 09:27:11

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Install some packages from [testing] repository

it can be harmless if you know what you are doing. kernel updates come to mind.

Offline

#7 2010-01-23 09:32:42

giner
Member
Registered: 2007-02-28
Posts: 26
Website

Re: Install some packages from [testing] repository

Oh,
Okey, thank you mans. J have tried to install firefox 3.6 and I got problems with some libraries cause they are updated (for example libjpeg, libpng, etc).
I think better way is building from abs/testing, isn't it?

Stas

Offline

#8 2010-01-23 09:33:16

apollokk
Member
From: Please delete me!
Registered: 2009-03-23
Posts: 157
Website

Re: Install some packages from [testing] repository

Uncomment the repo from pacman.conf, pacman -Sy <the package you want>, comment the repo, pacman -Syy.


/me wants you to detele this account... please delete it.

Offline

#9 2010-01-23 09:47:26

giner
Member
Registered: 2007-02-28
Posts: 26
Website

Re: Install some packages from [testing] repository

apollokk wrote:

Uncomment the repo from pacman.conf, pacman -Sy <the package you want>, comment the repo, pacman -Syy.

I khow this way but it isn't useful because I can't update packages from testing this way. I just have to change pacman.conf every time I'd like to update packages.

Offline

#10 2010-01-23 10:00:25

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

Re: Install some packages from [testing] repository

apollokk wrote:

Uncomment the repo from pacman.conf, pacman -Sy <the package you want>, comment the repo, pacman -Syy.

That is so full of stupid...   I suggest you try that with firefox now so that you learn not to recommend it to anyone else.

Offline

#11 2010-01-23 10:02:31

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

Re: Install some packages from [testing] repository

bangkok_manouel wrote:

it can be harmless if you know what you are doing.

If you know what you are doing.  But anyone asking on the forums obviously does not know enough so recommending it is a bad idea.

Offline

#12 2010-01-23 10:08:23

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Install some packages from [testing] repository

Allan wrote:

But anyone asking on the forums obviously does not know enough so recommending it is a bad idea.

well, OP may not have known how to handle that with pacman but however may have had enough knowledge to handle mixing repos.

Offline

#13 2010-01-23 19:31:51

Cdh
Member
Registered: 2009-02-03
Posts: 1,098

Re: Install some packages from [testing] repository

You can upgrade your libjpeg and libpng when you install the old versions from AUR instead.
http://aur.archlinux.org/packages.php?ID=33791
http://aur.archlinux.org/packages.php?ID=33795
They do not conflict.


฿ 18PRsqbZCrwPUrVnJe1BZvza7bwSDbpxZz

Offline

#14 2010-01-23 23:32:24

flamelab
Member
From: Athens, Hellas (Greece)
Registered: 2007-12-26
Posts: 2,160

Re: Install some packages from [testing] repository

apollokk wrote:

Uncomment the repo from pacman.conf, pacman -Sy <the package you want>, comment the repo, pacman -Syy.

Simply --> NO.

ONLY:
(after uncommenting testing)
pacman -Syyu

and then pacman -S <something-from-testing>

Last edited by flamelab (2010-01-23 23:32:55)

Offline

#15 2010-01-23 23:46:01

roy_hu
Member
Registered: 2009-10-29
Posts: 85

Re: Install some packages from [testing] repository

B wrote:

Additionally, at the moment there is a huge rebuild going on around libpng, so you may want to steer clear from testing altogether smile.

Yeah, I was bitten by installing testing/firefox. Ended up using firefox-branded-bin from AUR instead.

Offline

#16 2010-01-24 00:00:05

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Install some packages from [testing] repository

Cdh wrote:

You can upgrade your libjpeg and libpng when you install the old versions from AUR instead.
http://aur.archlinux.org/packages.php?ID=33791
http://aur.archlinux.org/packages.php?ID=33795
They do not conflict.

they don't conflict but how do you supposed to help detecting bugs in testing if you have them?


Give what you have. To someone, it may be better than you dare to think.

Offline

#17 2010-01-24 06:33:37

.:B:.
Forum Fellow
Registered: 2006-11-26
Posts: 5,819
Website

Re: Install some packages from [testing] repository

I find it mindboggling to see how people willfully recommend known bad practices.

Truly fascinating.

Also, give me your cell so we can point users to you when they follow your advice and break their setups. That's the only way I'll appreciate that kind of advice. Also, what wonder says is yet another reason why we do recommend against such behaviour.


Got Leenucks? :: Arch: Power in simplicity :: Get Counted! Registered Linux User #392717 :: Blog thingy

Offline

#18 2010-01-24 08:20:43

Spy
Member
Registered: 2009-02-26
Posts: 78

Re: Install some packages from [testing] repository

when libjpeg,libpng and firefox 3.6 will be moved to [extra] ???

Offline

#19 2010-01-24 08:32:03

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

Re: Install some packages from [testing] repository

when it is ready

Offline

#20 2010-01-24 21:37:41

mutlu_inek
Member
From: all over the place
Registered: 2006-11-18
Posts: 683

Re: Install some packages from [testing] repository

This is a hilarious read. Seriously. All the stupid things that come up repeatedly, neatly assorted in one rather short thread.

Offline

#21 2010-01-25 08:26:18

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Install some packages from [testing] repository

There are completely valid scenarii where you can use only few packages from testing (see above, the linux kernel for example). Also, using different libs versions is not a heresy (simlinking is) so there are very few comments in this thread that would have been much more constructive without the condescending tone. Or should we, from now on, consider our fellow users as all dumb in opposition to competent linux users [1] as it has always been ?

[1] http://www.archlinux.org/about/

Offline

#22 2010-01-25 11:55:45

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

Re: Install some packages from [testing] repository

bangkok_manouel wrote:

There are completely valid scenarii where you can use only few packages from testing (see above, the linux kernel for example). Also, using different libs versions is not a heresy (simlinking is) so there are very few comments in this thread that would have been much more constructive without the condescending tone. Or should we, from now on, consider our fellow users as all dumb in opposition to competent linux users [1] as it has always been ?

[1] http://www.archlinux.org/about/

It is NOT safe to assume that ALL readers are competent. Just browse through the forums every once in a while. Hence care should be taken in giving advise.

This is not a private club, things posted here are read by many competent Arch users and some incompetent as well. Results show up in a Google search. Even though its perfectly valid for me to wash my motherboard in water to get rid of dust, I wouldn't post that advise here without big WARNING tags. This isn't an indication that I assume all users are idiots, but simply that I know there are some who will not understand the 'ifs' associated with such a thing.


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

#23 2010-01-25 12:33:02

bangkok_manouel
Member
From: indicates a starting point
Registered: 2005-02-07
Posts: 1,556

Re: Install some packages from [testing] repository

well, in fact, I totally agree with you. notice my big fat warning when posting a way for OP to do what he wanted to. I guess I shouldn't have posted my last sentence in my former post. Anyway, what I find regrettable is sarcasm, mockery and calling bad practice some perfectly valid solutions. anyway, i'll now stop making this an internet drama smile

OT: if you happen to be in BKK and like beer, feel free to PM me because that's my case too.

Offline

#24 2010-01-25 14:22:32

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

Re: Install some packages from [testing] repository

bangkok_manouel wrote:

well, in fact, I totally agree with you. notice my big fat warning when posting a way for OP to do what he wanted to. I guess I shouldn't have posted my last sentence in my former post. Anyway, what I find regrettable is sarcasm, mockery and calling bad practice some perfectly valid solutions. anyway, i'll now stop making this an internet drama smile

But its the internet! Sarcasm must be over the top to be recognized as such.

bangkok_manouel wrote:

OT: if you happen to be in BKK and like beer, feel free to PM me because that's my case too.

Lol, I'll keep that in mind, non-alcoholic myself though. Cheers!


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

Board footer

Powered by FluxBB