View previous topic :: View next topic |
Author |
Message |
loctarar n00b
Joined: 03 Mar 2007 Posts: 4
|
Posted: Fri Jan 23, 2009 9:15 am Post subject: world update issue |
|
|
Hello!
After a long time I decided it's time to make a global package update so I ran:
Code: | emerge -uavDN world |
Then I noticed that there are many packages that have in the USE list items like -XXXX* in green. I guess this means that I used them localy when I emerged the packages. My question is how can I make the update using the same USE flags when I emerged them in the first time? Do I have to scan all that list and insert them in the make.conf file?
Thanks alot. |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Fri Jan 23, 2009 11:51 am Post subject: |
|
|
How did you install the packages with USE flags in the first instance?
My guess is you did...
Code: |
USE="-firefox xulrunner" emerge -av gnome-python-extras
|
This doesn't record what USE flags you've emerged a package with. To do that you should take advantage of /etc/portage/package.use...
Code: |
echo 'dev-python/gnome-python-extras -firefox xulrunner' >> /etc/portage/package.use
|
So you'll have to go through the list and add appropriate entries for each package to /etc/portage/package.use
If however there is one flag that you've set for quite a few packages you might want to consider adding it to your USE="" entry in /etc/make.conf
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
loctarar n00b
Joined: 03 Mar 2007 Posts: 4
|
Posted: Fri Jan 23, 2009 2:43 pm Post subject: |
|
|
Thanks for the answers... I solved this problem... Now it seems I have a space problem. / is mounted on a 12GB ext3 filesystem I can't do the update because all the free space was consumed. How can I delete all the files I don't need, the previous builds etc. |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Fri Jan 23, 2009 3:14 pm Post subject: |
|
|
See this FAQ and have a search of the forums, there are tons of threads (although the forum search function isn't that hot, so I'd recommend using Google to do a site specific search on the forums).
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
minor_prophets Apprentice
Joined: 07 Oct 2007 Posts: 281
|
Posted: Fri Jan 23, 2009 4:37 pm Post subject: |
|
|
remove all the failed emerge leftovers in /var/log/portage/*(if you haven't moved your default location)
It gets quite voluminous if you have many failed to compile packages.
Be prepared to post a and your /etc/fstab at a minimum.
Also, a wee bit from the man:
Code: | # AUTOCLEAN enables portage to automatically clean out older or overlapping
# packages from the system after every successful merge. This is the
# same as running 'emerge -c' after every merge. Set with: "yes" or "no".
# This does not affect the unpacked source. See 'noclean' below.
AUTOCLEAN="yes" |
Check to see if you have this line in your /etc/make.conf. If not, add it. |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Fri Jan 23, 2009 5:46 pm Post subject: |
|
|
minor_prophets wrote: | remove all the failed emerge leftovers in /var/log/portage/*(if you haven't moved your default location)
It gets quite voluminous if you have many failed to compile packages.
|
More true of /var/tmp/portage/* where the packages get extracted and compilation occurs. /var/log/portage/* is simply where logs are kept.
slack _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
loctarar n00b
Joined: 03 Mar 2007 Posts: 4
|
Posted: Fri Jan 23, 2009 6:08 pm Post subject: |
|
|
I first realized I have no space through the df command. I deleted the 2.6.25 kernel sources, the portage tmp files and I got 4GB of free space. I hope it's enough to compile OpenOffice 3.0.
Thanks a lot for the answers. If I don't have space to buld OO, then I'll just get the binaries.
LE: I set up AUTOCLEAN=yes first time I installed Gentoo . I wrote all the configuration files as good as I could at that moment and I'm very satsified about the result. This is the only problem I had with the system so far. |
|
Back to top |
|
|
minor_prophets Apprentice
Joined: 07 Oct 2007 Posts: 281
|
Posted: Fri Jan 23, 2009 6:43 pm Post subject: |
|
|
Good to hear. Just remember that everytime you have a package fail to compile. Look in your /var/tmp/portage/ dir for the remnants and blow them away.
Last edited by minor_prophets on Tue Jan 27, 2009 5:33 pm; edited 1 time in total |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Sun Jan 25, 2009 9:35 am Post subject: |
|
|
minor_prophets wrote: | Good to hear. Just remember that everytime you have a package fail to compile. Look in your /var/log/portage/ dir for the remnants and blow them away. |
Err, perhaps you should check what I wrote above. The log-files from failed ebuilds will be kicking around in /var/log/portage/ whilst the extracted source code and intermediary files from failed compilations will be in /var/tmp/portage/ The later of these two will have the largest size. _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
minor_prophets Apprentice
Joined: 07 Oct 2007 Posts: 281
|
Posted: Tue Jan 27, 2009 5:33 pm Post subject: |
|
|
slack----line,
noted and edited. Fingers typed on thing while brain was thinking another. |
|
Back to top |
|
|
slackline Veteran
Joined: 01 Apr 2005 Posts: 1471 Location: /uk/sheffield
|
Posted: Wed Jan 28, 2009 11:57 am Post subject: |
|
|
minor_prophets wrote: | slack----line,
noted and edited. Fingers typed on thing while brain was thinking another. |
I suffer from fingers that seem to have a mind of their own too! _________________ "Science is what we understand well enough to explain to a computer. Art is everything else we do." - Donald Knuth |
|
Back to top |
|
|
|