Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Keeping system updated
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Shopro
l33t
l33t


Joined: 12 May 2004
Posts: 678
Location: Dayton, OH, USA

PostPosted: Wed May 12, 2004 6:35 am    Post subject: Keeping system updated Reply with quote

What is a prefered way to keep my gentoo system updated ?
So that i could get the latest security patches and so on ?
How offen should i update and what commands i should run and when.

Thanks in advance.
Back to top
View user's profile Send private message
petrjanda
Veteran
Veteran


Joined: 05 Sep 2003
Posts: 1557
Location: Brno, Czech Republic

PostPosted: Wed May 12, 2004 6:47 am    Post subject: Reply with quote

Hi and welcome,
To update
Code:

emerge sync

to view packages it will install
Code:

emerge -up world

to install them remove the "p"

To install testing packages edit /etc/make.conf and find the line saying ACCEPT_KEYWORDS="~x86" and uncomment it.

You shouldnt update more often than once per day.
_________________
There is, a not-born, a not-become, a not-made, a not-compounded. If that unborn, not-become, not-made, not-compounded were not, there would be no escape from this here that is born, become, made and compounded. - Gautama Siddharta
Back to top
View user's profile Send private message
Shopro
l33t
l33t


Joined: 12 May 2004
Posts: 678
Location: Dayton, OH, USA

PostPosted: Wed May 12, 2004 6:51 am    Post subject: Reply with quote

Thank you for your answer.

I read in some post that "emerge -u world could do alot harm for the system. And i also read about command "glsa-check -f all" but i am not sure what that command does ?
Back to top
View user's profile Send private message
dan_a
n00b
n00b


Joined: 21 Jul 2002
Posts: 11
Location: Isle Of Man, British Isles

PostPosted: Wed May 12, 2004 1:42 pm    Post subject: Reply with quote

emerge -U (note the capital) can cause problems - emerge -u (lower case) should be harmless.

glsa-check -f applies fixes for any security advisories. Use glsa-check -l to list your vulnerable packages.
Back to top
View user's profile Send private message
robmoss
Retired Dev
Retired Dev


Joined: 27 May 2003
Posts: 2634
Location: Jesus College, Oxford

PostPosted: Wed May 12, 2004 2:12 pm    Post subject: Reply with quote

Check out the first link in my sig, Shopro - this explains what you should do to keep up-to-date.
_________________
Reality is for those who can't face Science Fiction.

emerge -U will kill your Gentoo
ecatmur, Lord of Portage Bash Scripts
Back to top
View user's profile Send private message
sekretarz
Retired Dev
Retired Dev


Joined: 09 Feb 2004
Posts: 156
Location: Poznan, Poland

PostPosted: Wed May 12, 2004 3:04 pm    Post subject: Reply with quote

I've added emerge sync to crontab and it's updating in the night :)
i run emerge -u world twice a week or even more often.
_________________
#gentoo.pl Team - sekretarz
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum