* [gentoo-user] couple of newbie questions about emerge
@ 2007-01-07 8:21 John covici
2007-01-07 8:54 ` Dale
` (2 more replies)
0 siblings, 3 replies; 9+ messages in thread
From: John covici @ 2007-01-07 8:21 UTC (permalink / raw
To: gentoo-user
Hi. I am new to gentoo -- I have used Debian and rpm type
distributions, but I have a fewquestions about emerge.
1) Any way to get a package list as one line per package like
debian's dpkg -l or rpm's rpm -qa ? The --info gives info about
the system, but does not seem to give a list of packages.
2) How do I ensure that all dependencies of a package are updated --
does --update --deep do this and would --update --deep world or
system do this?
3) Where are the packages listed for system? For instance I
installed coldplug and it installed pciutils, but that package is
not listed in world -- should it be? Or is it a system package?
OK, that's it for now -- thanks much in advance for your help.
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] couple of newbie questions about emerge
2007-01-07 8:21 [gentoo-user] couple of newbie questions about emerge John covici
@ 2007-01-07 8:54 ` Dale
2007-01-07 12:25 ` b.n.
2007-01-07 9:02 ` Daniel Iliev
2007-01-07 14:49 ` Neil Bothwick
2 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2007-01-07 8:54 UTC (permalink / raw
To: gentoo-user
John covici wrote:
> Hi. I am new to gentoo -- I have used Debian and rpm type
> distributions, but I have a fewquestions about emerge.
>
> 1) Any way to get a package list as one line per package like
> debian's dpkg -l or rpm's rpm -qa ? The --info gives info about
> the system, but does not seem to give a list of packages.
>
equery list will do that I think. emerge gentoolkit to get that
command, if you haven't already.
> 2) How do I ensure that all dependencies of a package are updated --
> does --update --deep do this and would --update --deep world or
> system do this?
>
Yup, emerge -uvD world should do that. Actually, that is how I update
mine too. It has worked so far. There is some debate about it though.
Some leave out the -D part.
> 3) Where are the packages listed for system? For instance I
> installed coldplug and it installed pciutils, but that package is
> not listed in world -- should it be? Or is it a system package?
>
I'll give a example. If you emerge Seamonkey. It will pull in a few to
a lot of dependencies. Only Seamonkey will be listed in world though.
The name of the package you actually put in the emerge command is listed
in the world file, not all the dependencies. The -D in the update
should take care of those though as far as keeping them updated.
> OK, that's it for now -- thanks much in advance for your help.
>
>
You welcome. I hope I helped.
Dale
:-) :-) :-)
--
www.myspace.com/dalek1967
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] couple of newbie questions about emerge
2007-01-07 8:21 [gentoo-user] couple of newbie questions about emerge John covici
2007-01-07 8:54 ` Dale
@ 2007-01-07 9:02 ` Daniel Iliev
2007-01-07 11:33 ` John covici
` (2 more replies)
2007-01-07 14:49 ` Neil Bothwick
2 siblings, 3 replies; 9+ messages in thread
From: Daniel Iliev @ 2007-01-07 9:02 UTC (permalink / raw
To: gentoo-user
John covici wrote:
> Hi. I am new to gentoo -- I have used Debian and rpm type
> distributions, but I have a fewquestions about emerge.
>
> 1) Any way to get a package list as one line per package like
> debian's dpkg -l or rpm's rpm -qa ? The --info gives info about
> the system, but does not seem to give a list of packages.
>
> 2) How do I ensure that all dependencies of a package are updated --
> does --update --deep do this and would --update --deep world or
> system do this?
>
> 3) Where are the packages listed for system? For instance I
> installed coldplug and it installed pciutils, but that package is
> not listed in world -- should it be? Or is it a system package?
>
> OK, that's it for now -- thanks much in advance for your help.
>
>
1) "emerge -ep world" should list all currently installed packages
2) yes, "emerge -uD world" keeps your system up-todate
3) "emerge -ep system" gives you the base system packages. In the
example you gave "pciutils" is installed as a depandecy. Following this
case if yu decide to uninstall coldplug ( "emerge -C coldplug") then
"pciutils" would remain in your system as an orphaned package. Use
"emerge --depclean" to remove such packages.
I'm kindly recommending you to read *"man emerge"*, "man portage", "man
make.conf".
--
Best regards,
Daniel
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] couple of newbie questions about emerge
2007-01-07 9:02 ` Daniel Iliev
@ 2007-01-07 11:33 ` John covici
2007-01-07 15:02 ` Norman Rieß
2007-01-07 21:16 ` Bo Ørsted Andresen
2 siblings, 0 replies; 9+ messages in thread
From: John covici @ 2007-01-07 11:33 UTC (permalink / raw
To: gentoo-user
OK, thanks guys this get me going -- I think I will emerge the toolkit
and see what that gives me.
on Sunday 01/07/2007 Daniel Iliev(danny@ilievnet.com) wrote
> John covici wrote:
> > Hi. I am new to gentoo -- I have used Debian and rpm type
> > distributions, but I have a fewquestions about emerge.
> >
> > 1) Any way to get a package list as one line per package like
> > debian's dpkg -l or rpm's rpm -qa ? The --info gives info about
> > the system, but does not seem to give a list of packages.
> >
> > 2) How do I ensure that all dependencies of a package are updated --
> > does --update --deep do this and would --update --deep world or
> > system do this?
> >
> > 3) Where are the packages listed for system? For instance I
> > installed coldplug and it installed pciutils, but that package is
> > not listed in world -- should it be? Or is it a system package?
> >
> > OK, that's it for now -- thanks much in advance for your help.
> >
> >
>
> 1) "emerge -ep world" should list all currently installed packages
> 2) yes, "emerge -uD world" keeps your system up-todate
> 3) "emerge -ep system" gives you the base system packages. In the
> example you gave "pciutils" is installed as a depandecy. Following this
> case if yu decide to uninstall coldplug ( "emerge -C coldplug") then
> "pciutils" would remain in your system as an orphaned package. Use
> "emerge --depclean" to remove such packages.
>
> I'm kindly recommending you to read *"man emerge"*, "man portage", "man
> make.conf".
>
> --
> Best regards,
> Daniel
>
>
> --
> gentoo-user@gentoo.org mailing list
--
Your life is like a penny. You're going to lose it. The question is:
How do
you spend it?
John Covici
covici@ccs.covici.com
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] couple of newbie questions about emerge
2007-01-07 8:54 ` Dale
@ 2007-01-07 12:25 ` b.n.
0 siblings, 0 replies; 9+ messages in thread
From: b.n. @ 2007-01-07 12:25 UTC (permalink / raw
To: gentoo-user
Dale ha scritto:
> John covici wrote:
>> Hi. I am new to gentoo -- I have used Debian and rpm type
>> distributions, but I have a fewquestions about emerge.
>>
>> 1) Any way to get a package list as one line per package like
>> debian's dpkg -l or rpm's rpm -qa ? The --info gives info about
>> the system, but does not seem to give a list of packages.
>>
>
> equery list will do that I think. emerge gentoolkit to get that
> command, if you haven't already.
Also, emerge eix and use eix to search for packages. eix will become one
of your best friend :), mostly because it's damn FAST.
If you use it, sync portage by doing eix-sync: this launches emerge
--sync AND updates the eix database.
m.
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] couple of newbie questions about emerge
2007-01-07 8:21 [gentoo-user] couple of newbie questions about emerge John covici
2007-01-07 8:54 ` Dale
2007-01-07 9:02 ` Daniel Iliev
@ 2007-01-07 14:49 ` Neil Bothwick
2 siblings, 0 replies; 9+ messages in thread
From: Neil Bothwick @ 2007-01-07 14:49 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1408 bytes --]
On Sun, 7 Jan 2007 03:21:14 -0500, John covici wrote:
> 1) Any way to get a package list as one line per package like
> debian's dpkg -l or rpm's rpm -qa ? The --info gives info about
> the system, but does not seem to give a list of packages.
equery, as already mentioned, or eix with the -i and -c options.
> 2) How do I ensure that all dependencies of a package are updated --
> does --update --deep do this and would --update --deep world or
> system do this?
Lets say A depends on B which in turn depends on C. emerge --update world
will update A and B, but not C unless A or B's updates REQUIRE a layer C.
Adding --deep will update C too (and D,E,F...)
> 3) Where are the packages listed for system? For instance I
> installed coldplug and it installed pciutils, but that package is
> not listed in world -- should it be? Or is it a system package?
In your profile. the easiest way to list them is with "emerge -ep system".
Emerging coldplug added it to your world file (/var/lib/portage/world).
pciutils was installed as a dependency, so it is not listed in world (or
system). If you uninstall coldplug (and any other packages depending on
pciutils) emerge --depclean will remove pciutils , always use the -p
option with depclean first.
--
Neil Bothwick
Did you hear about the blind prostitute? You have to hand it to her.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] couple of newbie questions about emerge
2007-01-07 9:02 ` Daniel Iliev
2007-01-07 11:33 ` John covici
@ 2007-01-07 15:02 ` Norman Rieß
2007-01-07 21:16 ` Bo Ørsted Andresen
2 siblings, 0 replies; 9+ messages in thread
From: Norman Rieß @ 2007-01-07 15:02 UTC (permalink / raw
To: gentoo-user
Daniel Iliev schrieb:
>
> 2) yes, "emerge -uD world" keeps your system up-todate
>
>
"emerge -uDN world" also takes care of newly added or removed USE-flags.
Norman
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] couple of newbie questions about emerge
2007-01-07 9:02 ` Daniel Iliev
2007-01-07 11:33 ` John covici
2007-01-07 15:02 ` Norman Rieß
@ 2007-01-07 21:16 ` Bo Ørsted Andresen
2007-01-07 21:46 ` Dale
2 siblings, 1 reply; 9+ messages in thread
From: Bo Ørsted Andresen @ 2007-01-07 21:16 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 363 bytes --]
On Sunday 07 January 2007 10:02, Daniel Iliev wrote:
> I'm kindly recommending you to read *"man emerge"*, "man portage", "man
> make.conf".
I'd say it's sufficient to read the whole handbook (including parts
2, "Working with Gentoo", and 3, "Working with Portage") to begin with. :)
http://www.gentoo.org/doc/en/handbook/index.xml
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] couple of newbie questions about emerge
2007-01-07 21:16 ` Bo Ørsted Andresen
@ 2007-01-07 21:46 ` Dale
0 siblings, 0 replies; 9+ messages in thread
From: Dale @ 2007-01-07 21:46 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 974 bytes --]
Bo Ørsted Andresen wrote:
> On Sunday 07 January 2007 10:02, Daniel Iliev wrote:
>
>> I'm kindly recommending you to read *"man emerge"*, "man portage", "man
>> make.conf".
>>
>
> I'd say it's sufficient to read the whole handbook (including parts
> 2, "Working with Gentoo", and 3, "Working with Portage") to begin with. :)
>
> http://www.gentoo.org/doc/en/handbook/index.xml
>
>
Ya know, as many changes as there have been since Gentoo came out, I
need to read that too. Gentoo has changed a lot since I first installed
it. I still miss etcat too. :-(
I forgot to mention this in my first reply. WELCOME TO GENTOO!!!!!!!
It takes a bit of getting used to but boy is it worth it. This is
waaaaay easier than Mandrake or whatever it is called now. I started on
Mandrake 9.1. 9.2 helped me move on to something better. That would be
Gentoo by the way.
Hang in there.
Dale
:-) :-) :-)
--
www.myspace.com/dalek1967
[-- Attachment #2: Type: text/html, Size: 1704 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2007-01-07 21:51 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-01-07 8:21 [gentoo-user] couple of newbie questions about emerge John covici
2007-01-07 8:54 ` Dale
2007-01-07 12:25 ` b.n.
2007-01-07 9:02 ` Daniel Iliev
2007-01-07 11:33 ` John covici
2007-01-07 15:02 ` Norman Rieß
2007-01-07 21:16 ` Bo Ørsted Andresen
2007-01-07 21:46 ` Dale
2007-01-07 14:49 ` Neil Bothwick
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox