Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Installing Gentoo
  • Search

update/upgrade commands?

Having problems with the Gentoo Handbook? If you're still working your way through it, or just need some info before you start your install, this is the place. All other questions go elsewhere.
Post Reply
Advanced search
11 posts • Page 1 of 1
Author
Message
Dale__
n00b
n00b
User avatar
Posts: 55
Joined: Sat Apr 18, 2015 2:08 am

update/upgrade commands?

  • Quote

Post by Dale__ » Sat May 02, 2015 11:58 pm

I am new to gentoo, just got through an install from the handbook/wiki using 4/23/15 minimal cd

on Ubuntu I could
sudo apt-get upgrade
sudo apt-get update
sudo apt-get dist-upgrade

is there similiar commands for Gentoo?
Top
russK
l33t
l33t
User avatar
Posts: 665
Joined: Tue Jun 27, 2006 3:44 am

  • Quote

Post by russK » Sun May 03, 2015 1:44 am

It goes pretty much like this:

Code: Select all

# emerge --sync
# emerge --update --deep --with-bdeps y @world
Top
The Doctor
Bodhisattva
Bodhisattva
User avatar
Posts: 2678
Joined: Tue Jul 27, 2010 10:56 pm

  • Quote

Post by The Doctor » Sun May 03, 2015 2:05 am

You should read the docs. You can't simply close your eyes and hope everything will work on Gentoo.
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Top
Dale__
n00b
n00b
User avatar
Posts: 55
Joined: Sat Apr 18, 2015 2:08 am

  • Quote

Post by Dale__ » Sun May 03, 2015 2:36 am

since I installed seperate

gentoo 4/23
xorg, not the whole thing
kde, base
the applications I use

will the updates be seperate commands?

I would feel more comfortable doing each one seperate since it would be more obvious to me what I was doing and more related to my install/system
Top
russK
l33t
l33t
User avatar
Posts: 665
Joined: Tue Jun 27, 2006 3:44 am

  • Quote

Post by russK » Sun May 03, 2015 3:05 am

Dale__,

You'll probably get used to simply updating the whole system at once, and that is the "world" set, which is the @world parameter.

You can update individual packages in much the same way, but after a sync, there could be additional packages that have updates as well, so run an emerge command that covers them all.

Anyway, you could:

Code: Select all

# emerge --update kde-base/kdebase-meta
and so-on, for other packages.

I typically just use:

Code: Select all

 # emerge --update --deep --newuse --with-bdeps y @world --ask
And after inspecting the list of packages, answer "yes"

Also, I've found there's not much point in doing this daily. Every couple weeks or so seems to work just fine.

After a successful world update, you should also,

Code: Select all

# emerge --depclean  --ask  #(typically safe to answer yes if the world update was successful)
# revdep-rebuild
Also don't forget to heed The Doctor's advice.
Top
Dale__
n00b
n00b
User avatar
Posts: 55
Joined: Sat Apr 18, 2015 2:08 am

  • Quote

Post by Dale__ » Sun May 03, 2015 4:15 am

thanks russK. I'll take your advice since I see its systematic

I forgot to say I was using AMD64, The Doctor's link was to Handbook:x86/Working/Portage

I should be able to find the AMD64 page since I got used to using the handbook in my install

Thanks Doctor too

maybe the best time for me to do an update is when there is a new stage3 tarball

thanks again
Top
The Doctor
Bodhisattva
Bodhisattva
User avatar
Posts: 2678
Joined: Tue Jul 27, 2010 10:56 pm

  • Quote

Post by The Doctor » Sun May 03, 2015 4:21 am

The arch is irrelevant here. Fortunately, portage acts the same on all systems (in theory) so we don't have to relearn it for each new computer.
First things first, but not necessarily in that order.

Apologies if I take a while to respond. I'm currently working on the dematerialization circuit for my blue box.
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Sun May 03, 2015 11:24 am

Dale__ wrote:maybe the best time for me to do an update is when there is a new stage3 tarball
That turns out not to be the case. Updates to the Stage tarballs are not coordinated with Portage tree updates, the latter being much more frequent than the former. Regardless of that cadence, you should update merely fairly regularly: at least monthly, although weekly will cause you a little less grief. You should also update, of course, when you specifically need something new.

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
Dale__
n00b
n00b
User avatar
Posts: 55
Joined: Sat Apr 18, 2015 2:08 am

  • Quote

Post by Dale__ » Sun May 03, 2015 7:09 pm

working with portage was not in handbook AMD64 section
in the links browser it was greyed out
in the rekonq browser there was something like no text in page
and think I am familiar with it

found what I needed in the AMD64 wiki, working with portage

Code: Select all

emerge --ask app-portage/gentoolkit
to get revdep

Code: Select all

emerge --sync
emerge --ask --update --newuse --with-bdeps=y --deep @world
emerge --ask --depclean
revdep-rebuild
didn't break my system this time
Top
Dale__
n00b
n00b
User avatar
Posts: 55
Joined: Sat Apr 18, 2015 2:08 am

  • Quote

Post by Dale__ » Mon May 04, 2015 1:45 am

now that I can update, is there such a thing as upgrade?
Top
John R. Graham
Administrator
Administrator
User avatar
Posts: 10898
Joined: Tue Mar 08, 2005 3:39 pm
Location: Somewhere over Winder, Georgia, USA

  • Quote

Post by John R. Graham » Mon May 04, 2015 1:24 pm

Nope. Gentoo doesn't have releases, per se. Updates are all you need to worry about. At the end of a comprehensive update, you've got the latest Gentoo.

- John
I can confirm that I have received between 0 and 499 National Security Letters.
Top
Post Reply

11 posts • Page 1 of 1

Return to “Installing Gentoo”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic