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

Reply via email to