Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
world update issue
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
loctarar
n00b
n00b


Joined: 03 Mar 2007
Posts: 4

PostPosted: Fri Jan 23, 2009 9:15 am    Post subject: world update issue Reply with quote

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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Fri Jan 23, 2009 11:51 am    Post subject: Reply with quote

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
View user's profile Send private message
loctarar
n00b
n00b


Joined: 03 Mar 2007
Posts: 4

PostPosted: Fri Jan 23, 2009 2:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Fri Jan 23, 2009 3:14 pm    Post subject: Reply with quote

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
View user's profile Send private message
minor_prophets
Apprentice
Apprentice


Joined: 07 Oct 2007
Posts: 281

PostPosted: Fri Jan 23, 2009 4:37 pm    Post subject: Reply with quote

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
Code:
df -h
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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Fri Jan 23, 2009 5:46 pm    Post subject: Reply with quote

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
View user's profile Send private message
loctarar
n00b
n00b


Joined: 03 Mar 2007
Posts: 4

PostPosted: Fri Jan 23, 2009 6:08 pm    Post subject: Reply with quote

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
View user's profile Send private message
minor_prophets
Apprentice
Apprentice


Joined: 07 Oct 2007
Posts: 281

PostPosted: Fri Jan 23, 2009 6:43 pm    Post subject: Reply with quote

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
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Sun Jan 25, 2009 9:35 am    Post subject: Reply with quote

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
View user's profile Send private message
minor_prophets
Apprentice
Apprentice


Joined: 07 Oct 2007
Posts: 281

PostPosted: Tue Jan 27, 2009 5:33 pm    Post subject: Reply with quote

slack----line,

noted and edited. Fingers typed on thing while brain was thinking another.
Back to top
View user's profile Send private message
slackline
Veteran
Veteran


Joined: 01 Apr 2005
Posts: 1471
Location: /uk/sheffield

PostPosted: Wed Jan 28, 2009 11:57 am    Post subject: Reply with quote

minor_prophets wrote:
slack----line,

noted and edited. Fingers typed on thing while brain was thinking another.


:D 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
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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