Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
How to use portage correctly
View unanswered posts
View posts from last 24 hours

Goto page Previous  1, 2, 3  Next  
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks
View previous topic :: View next topic  
Author Message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Sun Jun 27, 2004 12:21 am    Post subject: Reply with quote

Would you do in package.mask:

<=sys-kernel/linux-headers-2.6.*

I haven't tried it; I just got back from vacation so I have 45 packages to emerge, so I'll try it out later.
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
Redeeman
l33t
l33t


Joined: 25 Sep 2003
Posts: 957
Location: Denmark

PostPosted: Sun Jun 27, 2004 12:37 am    Post subject: Reply with quote

my opinion is still that emerge -U is fine, and its great, i use it all time, nothing bad happend to me, so the quite robmoss2k said "emerge -U WILL kill your system" simply is wrong, ofcourse, in some odd cases his cases might be true, but its the same as buying a helmet because you think a meteor will hit your face.

true, that keeping track of keyworded packages is much easier with a package.keywords, but its not a must :)
_________________
Sandberg Enterprises
Back to top
View user's profile Send private message
ArsDangor
Guru
Guru


Joined: 20 May 2003
Posts: 477

PostPosted: Wed Jul 07, 2004 12:55 am    Post subject: Reply with quote

Hi, GaMMa.

I've translated your how-to to Spanish. I've also included on my translation Earthwing's comments on emerge -U. My translation, of course, keeps links to the original posts (yours and Earthwing's), as well as your nicks as the authors for the guide (I've just translated, didn't add any new ideas).
I have not submitted it yet. I want to ask for your permission and the suggestions you may want to give me.

Thank you very much.

PS: My signature is the translation for this thread's title. It still links here. If you allow me to post my translation, it will link to it.
_________________
Cómo usar Portage correctamente
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Fri Jul 09, 2004 10:39 pm    Post subject: Reply with quote

Yes you have my permission to use it. Reply back to this topic with the link to your Spanish translation, I'll add it to the link to the bottom of the guide.
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
yeags_1001
n00b
n00b


Joined: 20 May 2004
Posts: 20
Location: Pittsburgh, PA

PostPosted: Sat Jul 10, 2004 12:42 am    Post subject: Reply with quote

Thanks GaMMa, and to everyone on this thread ... this has been a big help getting my new system set up correctly and my gaining an understanding of portage/emerge.

I'm not sure if this is on topic or not but when I do an emerge info I get different USE flags than I defined in my make.conf, is this normal?

------------updated---------------
My bad, I should of RTFM before posting. I now understand that USE flags are stacked from make.defaults and use.defaults, through make.conf and ENV.
------------updated---------------


Last edited by yeags_1001 on Mon Jul 12, 2004 7:48 pm; edited 2 times in total
Back to top
View user's profile Send private message
ArsDangor
Guru
Guru


Joined: 20 May 2003
Posts: 477

PostPosted: Sat Jul 10, 2004 2:39 am    Post subject: Reply with quote

Thank you for your permission. :)
The translation is on https://forums.gentoo.org/viewtopic.php?t=195629&sid=7910287662fbafd02667062cf724a2c3
and is titled "Cómo usar Portage correctamente". My signature already links to it.
_________________
Cómo usar Portage correctamente
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Sat Jul 10, 2004 5:01 am    Post subject: Reply with quote

Looks good, I skimmed through it (mi Espanol es muy malo), but good work. If anyone else wants to translate to another language feel free to post here. A German or French version would be nice.
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 738

PostPosted: Sat Jul 24, 2004 1:30 am    Post subject: Reply with quote

How do you unmask a bunch of related ebuilds? For example, I have just installed gdesklets-core and now want to install the desklets themselves to try them out. To me, it would make sense to put

Code:

x11-plugins/desklet-* ~x86


in my package.keywords file. However this doesn't work. Am I asking the impossible?

Thanks,

dq
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Sun Jul 25, 2004 10:36 pm    Post subject: Reply with quote

That's what I would have done, I tried it and that didn't work either. I tried doing something similar to this way back and one of the #gentoo developers told me that portage isn't equipped to handle that. I'm going to ask around later tonight and I'll post what I get for answers.

Update: It's one ebuilds per line, I guess it's either a security feature or programmers not adding wildcards for multiple packages.
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
karnesky
Apprentice
Apprentice


Joined: 18 Mar 2004
Posts: 218

PostPosted: Mon Jul 26, 2004 7:08 pm    Post subject: Reply with quote

Rather than doing it by hand, you can do:
Code:
cd /usr/portage
ls -d x11-plugins/desklet-* | sed 's/$/ ~x86/' >> /etc/portage/package.keywords

where ~x86 is the keyword(s) you wish to apply.


Last edited by karnesky on Tue Jul 27, 2004 4:29 am; edited 1 time in total
Back to top
View user's profile Send private message
don quixada
l33t
l33t


Joined: 15 May 2003
Posts: 738

PostPosted: Tue Jul 27, 2004 2:38 am    Post subject: Reply with quote

Ahhh, very clever I must say. Sometimes I forget the power of the command line and its tools; however, you forget that one must add '~xarch' to the end of each line. Which, I'm sure, one can use more command line magic to solve this problem, perhaps by using 'awk', 'sed' et al.-- but I'm not gonna figure it out... too tired.

dq
Back to top
View user's profile Send private message
karnesky
Apprentice
Apprentice


Joined: 18 Mar 2004
Posts: 218

PostPosted: Tue Jul 27, 2004 4:30 am    Post subject: Reply with quote

Good catch--I fixed my post to show how to use sed to append ~x86 to the end of all lines.
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Mon Sep 20, 2004 1:16 am    Post subject: Reply with quote

Dumb question, but are forums ever cleaned up? I don't want this post to get deleted if I don't have it backed up :D.
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Mon Sep 20, 2004 4:12 am    Post subject: Reply with quote

Nope, normally posts are never deleted. Nonetheless, back it up :D
Back to top
View user's profile Send private message
Polynomial-C
Developer
Developer


Joined: 01 Jun 2003
Posts: 1426
Location: germany

PostPosted: Fri Oct 29, 2004 11:08 am    Post subject: Reply with quote

Hi,

while using this howto for a long time myself I realized how many german users still don't know how to use portage correctly. So I translated the howto into german. For getting it proof-read first I created an OOo-document with the translation. You can find the document here
If you think it's a good idea having this howto in the german forum let me know and I'll post it there.

Poly
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Fri Oct 29, 2004 2:16 pm    Post subject: Reply with quote

Polynomial-C wrote:
You can find the document here

Nope:
Code:
howto_-_portage_richtig_benutzen.sxw 29-Oct-2004 13:18    0

:(
Back to top
View user's profile Send private message
Polynomial-C
Developer
Developer


Joined: 01 Jun 2003
Posts: 1426
Location: germany

PostPosted: Fri Oct 29, 2004 6:00 pm    Post subject: Reply with quote

Hi,

that's strange... can you get the file with wget?

[edit1]
Code:
gamemaster@breakmygentoo:~ # wget http://polynomial-c.homelinux.net/pub/gentoo/documentation/howto_-_portage_richtig_benutzen.sxw
--19:59:11--  http://polynomial-c.homelinux.net/pub/gentoo/documentation/howto_-_portage_richtig_benutzen.sxw
           => `howto_-_portage_richtig_benutzen.sxw'
Resolving polynomial-c.homelinux.net...
Connecting to polynomial-c.homelinux.net:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 20,003 [text/plain]

100%[====================================>] 20,003         9.59K/s

19:59:14 (9.57 KB/s) - `howto_-_portage_richtig_benutzen.sxw' saved [20003/20003]

[/edit1]
[edit2]
This can happen due to missing or incorrect mime-type. Please right klick on the above link and choose "save as" to download the file.
[/edit2]

Poly
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
psyqil
Advocate
Advocate


Joined: 26 May 2003
Posts: 2767

PostPosted: Fri Oct 29, 2004 6:11 pm    Post subject: Reply with quote

I tried both and got that 0-byte file, but now I tried again and it's here! :D Reading now...
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Fri Oct 29, 2004 10:50 pm    Post subject: Reply with quote

There's a portage guide in Gentoo Documentation now, so this guide is kinda obsolete :/
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
Polynomial-C
Developer
Developer


Joined: 01 Jun 2003
Posts: 1426
Location: germany

PostPosted: Fri Nov 05, 2004 1:50 pm    Post subject: Reply with quote

Hi,

@GaMMa: It's done, I like it, and I won't take it off my webpage unless you ask me for :)
And unfortunately still many people follow the link in my sig and later tell me, what a big mess they did with portage all the time before...

Poly
_________________
The manual said "Requires Windows10 or better" so I installed GNU/Linux...

my portage overlay

Need a stage1 tarball? (Unofficial builds)
Back to top
View user's profile Send private message
GaMMa
l33t
l33t


Joined: 23 Aug 2002
Posts: 684
Location: USA

PostPosted: Fri Nov 05, 2004 9:22 pm    Post subject: Reply with quote

Yea I'm a fan of this guide too, it's simple and to the point. The other guide is alright. I'm also keeping this in my signature :D. You should have seen how many people were doing emerge -U world before this guide, and how many used portage incorrectly. Thanks again to those who helped :P.
_________________
Ubuntu Linux Dapper Drake running Gnome-2.14.1
[Website | Screenshot | Portage Guide]
Back to top
View user's profile Send private message
kamina
Apprentice
Apprentice


Joined: 14 Jun 2004
Posts: 157
Location: Finland

PostPosted: Tue Dec 07, 2004 8:27 am    Post subject: Reply with quote

So if I want to make sure that I don't get offered KDE or xorg updates unless there is a major update / ati updates their drivers I should add something like this:?

echo xorg-x11 >> /etc/portage/package.mask
echo kde* >> /etc/portage/package.mask
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Tue Dec 07, 2004 8:59 am    Post subject: Reply with quote

kamina wrote:
So if I want to make sure that I don't get offered KDE or xorg updates unless there is a major update / ati updates their drivers I should add something like this:?

echo xorg-x11 >> /etc/portage/package.mask
echo kde* >> /etc/portage/package.mask


If you try to mask all versions of kde won't it try to uninstall kde if you've got it already?
Back to top
View user's profile Send private message
kamina
Apprentice
Apprentice


Joined: 14 Jun 2004
Posts: 157
Location: Finland

PostPosted: Tue Dec 07, 2004 9:27 am    Post subject: Reply with quote

So I should know what the newest version is, and allways change the mask to the direct versions name?
Back to top
View user's profile Send private message
slycordinator
Advocate
Advocate


Joined: 31 Jan 2004
Posts: 3065
Location: Korea

PostPosted: Tue Dec 07, 2004 9:52 am    Post subject: Reply with quote

Or you can do "emerge --update --deep -pv" and it'll list what all will be updated.

It lists the newest version, the version it's updating from, the USE flags associated, and the size of downloads.

All you have to do then it decide which ones to emerge. Manually emerge those.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Documentation, Tips & Tricks All times are GMT
Goto page Previous  1, 2, 3  Next
Page 2 of 3

 
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