public inbox for gentoo-dev@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-dev] newb question about emerge ...
@ 2005-06-15 19:34 ian douglas
  2005-06-15 19:56 ` Andrew Muraco
                   ` (2 more replies)
  0 siblings, 3 replies; 14+ messages in thread
From: ian douglas @ 2005-06-15 19:34 UTC (permalink / raw
  To: gentoo-dev

I've been using Gentoo since one of the 2003 releases, and never understood this
behavior and was wondering if someone could enlighten me:

Currently on a 2005.0 install:

# emerge --sync;emerge -puvN world
( spits out the usual sync output, and ends with this: )
These are the packages that I would merge, in order:
Calculating world dependencies ...done!
Total size of downloads: 0 kB

So I think to myself, "Self, there's nothing to update."

But I saw a security update yesterday for 'gaim' which I *have* installed, so
for kicks, I do the following:

# emerge -puvN gaim
These are the packages that I would merge, in order:
Calculating dependencies ...done!
[ebuild     U ] net-libs/libsoup-2.2.3 [2.2.2] -debug -doc +ipv6 +ssl 349 kB
[ebuild     U ] gnome-base/orbit-2.12.2 [2.12.1] -debug -doc +ssl 662 kB
[ebuild     U ] x11-misc/shared-mime-info-0.16 [0.14-r2] 735 kB
[ebuild     U ] dev-libs/atk-1.9.1 [1.8.0-r1] -debug -doc -static 472 kB
[ebuild     U ] x11-libs/gtk+-2.6.7 [2.6.4-r1] -debug -doc +jpeg -static +tiff
11,174 kB
[ebuild     U ] gnome-base/gconf-2.10.0 [2.8.1-r1] -debug -doc 1,693 kB
[ebuild     U ] gnome-base/gnome-vfs-2.10.0-r2 [2.8.4-r1] -debug -doc -gnutls
-hal -howl +ipv6 +samba +ssl 1,856 kB
[ebuild     U ] gnome-base/libgnome-2.10.0 [2.8.1] -debug -doc 850 kB
[ebuild     U ] gnome-extra/evolution-data-server-1.2.1-r1 [1.0.4] -debug -doc
+ipv6 -kerberos -ldap +mozilla -nntp +ssl 7,279 kB
[ebuild  N    ] app-text/gtkspell-2.0.4-r1  -doc 192 kB
[ebuild     U ] sys-devel/gettext-0.14.4 [0.14.1-r1] -debug -doc -emacs +nls
6,869 kB
[ebuild     U ] net-im/gaim-1.3.1 [1.3.0] -cjk -debug +eds -gnutls -krb4 +nas
+nls +perl -silc +spell* +tcltk 5,725 kB
Total size of downloads: 37,862 kB

... why wouldn't "emerge -puvN world" pick up on all of these available
upgrades?

-- 
Ian Douglas
http://www.w98.us/
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 19:34 [gentoo-dev] newb question about emerge ian douglas
@ 2005-06-15 19:56 ` Andrew Muraco
  2005-06-15 20:06   ` Richard Fish
  2005-06-15 20:38   ` Thomas Matthijs
  2005-06-15 20:00 ` Chris Gianelloni
  2005-06-15 20:39 ` ian douglas
  2 siblings, 2 replies; 14+ messages in thread
From: Andrew Muraco @ 2005-06-15 19:56 UTC (permalink / raw
  To: gentoo-dev

ian douglas wrote:

>I've been using Gentoo since one of the 2003 releases, and never
understood this
>behavior and was wondering if someone could enlighten me:
>
>Currently on a 2005.0 install:
>
># emerge --sync;emerge -puvN world
>( spits out the usual sync output, and ends with this: )
>These are the packages that I would merge, in order:
>Calculating world dependencies ...done!
>Total size of downloads: 0 kB
>
>So I think to myself, "Self, there's nothing to update."
>
>But I saw a security update yesterday for 'gaim' which I *have*
installed, so
>for kicks, I do the following:
>
># emerge -puvN gaim
>These are the packages that I would merge, in order:
>Calculating dependencies ...done!
>...
>[ebuild U ] x11-libs/gtk+-2.6.7 [2.6.4-r1] -debug -doc +jpeg -static +tiff
>11,174 kB
>...
>[ebuild U ] net-im/gaim-1.3.1 [1.3.0] -cjk -debug +eds -gnutls -krb4 +nas
>+nls +perl -silc +spell* +tcltk 5,725 kB
>Total size of downloads: 37,862 kB
>
>... why wouldn't "emerge -puvN world" pick up on all of these available
>upgrades?

Well, actually thats not that uncommon.

first of all (some people will disagree with me on this)
# emerge -avuDN world
does a much more through job, because it not only checks the packages
you have installed, but all the dependancies to make sure they are up
to date.. for example gtk+ is a dependancy of gaim.. so when it checks
to see if gaim is uptodate, it would also check gtk+ to see if it is
uptodate.

Secondly..
# regenworld
run that command occassionally as sometimes things that get emerged
for whatever reason are not part of the world file AND not a direct
dependancy of something and so the emerge -avuDN world would not check
-- running this command will check and add these entries to the world
file so they will be included with updates.

I hope this helps, btw this doesnt belong in -dev, but its not a big
deal..

Regards, Andrew

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 19:34 [gentoo-dev] newb question about emerge ian douglas
  2005-06-15 19:56 ` Andrew Muraco
@ 2005-06-15 20:00 ` Chris Gianelloni
  2005-06-15 20:08   ` Andrew Muraco
                     ` (2 more replies)
  2005-06-15 20:39 ` ian douglas
  2 siblings, 3 replies; 14+ messages in thread
From: Chris Gianelloni @ 2005-06-15 20:00 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 542 bytes --]

On Wed, 2005-06-15 at 12:34 -0700, ian douglas wrote:
> I've been using Gentoo since one of the 2003 releases, and never understood this
> behavior and was wondering if someone could enlighten me:
> 
> Currently on a 2005.0 install:
> 
> # emerge --sync;emerge -puvN world

Ehh... what does "emerge -N" do?  I see no mention of such a thing in
"emerge --help".

Also, try using --deep (-D) when doing checks against world.

-- 
Chris Gianelloni
Release Engineering - Strategic Lead/QA Manager
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 19:56 ` Andrew Muraco
@ 2005-06-15 20:06   ` Richard Fish
  2005-06-15 20:38   ` Thomas Matthijs
  1 sibling, 0 replies; 14+ messages in thread
From: Richard Fish @ 2005-06-15 20:06 UTC (permalink / raw
  To: gentoo-dev

Andrew Muraco wrote:

>first of all (some people will disagree with me on this)
>  
>

I will ;->

># emerge -avuDN world
>does a much more through job, because it not only checks the packages
>you have installed, 
>

...but only to correct this statement.  It is more accurate to say that
it checks all packages and dependancies of packages in world.  That is
frequently a subset of all installed packages.  Most users won't
understand the distinction though...

Ian, consider this an invitation to come over to gentoo-user and ask us
any questions you have about using Gentoo.

-Richard

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 20:00 ` Chris Gianelloni
@ 2005-06-15 20:08   ` Andrew Muraco
  2005-06-15 20:14   ` Alin Dobre
  2005-06-15 20:38   ` ian douglas
  2 siblings, 0 replies; 14+ messages in thread
From: Andrew Muraco @ 2005-06-15 20:08 UTC (permalink / raw
  To: gentoo-dev



Chris Gianelloni wrote:

>On Wed, 2005-06-15 at 12:34 -0700, ian douglas wrote:
>
>>I've been using Gentoo since one of the 2003 releases, and never
understood this
>>behavior and was wondering if someone could enlighten me:
>>
>>Currently on a 2005.0 install:
>>
>># emerge --sync;emerge -puvN world
>
>
>Ehh... what does "emerge -N" do? I see no mention of such a thing in
>"emerge --help".
>
>Also, try using --deep (-D) when doing checks against world.
>
Actually i believe -N is documented, but it might not be clear..
-N is a short option equal to --newuse .. its a good idea to do.

Regards, Andrew

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 20:38   ` Thomas Matthijs
@ 2005-06-15 20:08     ` Marius Mauch
  2005-06-16  9:42       ` Thomas Matthijs
  0 siblings, 1 reply; 14+ messages in thread
From: Marius Mauch @ 2005-06-15 20:08 UTC (permalink / raw
  To: gentoo-dev

Thomas Matthijs wrote:
>># regenworld
>>run that command occassionally as sometimes things that get emerged
>>for whatever reason are not part of the world file AND not a direct
>>dependancy of something and so the emerge -avuDN world would not check
>>-- running this command will check and add these entries to the world
>>file so they will be included with updates.
> 
> 
> Don't! do that it will ruin your world file, it'll no longer be what the
> world file is supposed to be, but contain everything you merged. It is only
> ment as a rescue when you delete your world file(or lose it in some
> other way)

Nope. You're mixing that up with the evil `qpkg -I > world` command. 
regenworld should be fine as long as /var/log/emerge.log is complete.

Marius
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 20:00 ` Chris Gianelloni
  2005-06-15 20:08   ` Andrew Muraco
@ 2005-06-15 20:14   ` Alin Dobre
  2005-06-15 20:24     ` Chris Gianelloni
  2005-06-15 20:38   ` ian douglas
  2 siblings, 1 reply; 14+ messages in thread
From: Alin Dobre @ 2005-06-15 20:14 UTC (permalink / raw
  To: gentoo-dev

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Chris Gianelloni wrote:
> On Wed, 2005-06-15 at 12:34 -0700, ian douglas wrote:
> 
>>I've been using Gentoo since one of the 2003 releases, and never understood this
>>behavior and was wondering if someone could enlighten me:
>>
>>Currently on a 2005.0 install:
>>
>># emerge --sync;emerge -puvN world
> 
> 
> Ehh... what does "emerge -N" do?  I see no mention of such a thing in
> "emerge --help".

According to /usr/lib/portage/bin/emerge, it's the short form for --newuse.

> 
> Also, try using --deep (-D) when doing checks against world.
> 

- --
Alin DOBRE
Romanian Lead Translator
Gentoo Documentation Project: http://www.gentoo.org/doc/en/
Gentoo.RO Community:          http://www.gentoo.ro/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCsIwnmG51ym6Hu9gRAnLpAKCa3u7MFadixKWZqioA0xi1n+JMkQCePNNP
RdUN1JvoH491Bbo25ibyA4A=
=8eK+
-----END PGP SIGNATURE-----
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 20:14   ` Alin Dobre
@ 2005-06-15 20:24     ` Chris Gianelloni
  2005-06-15 23:28       ` Georgi Georgiev
  0 siblings, 1 reply; 14+ messages in thread
From: Chris Gianelloni @ 2005-06-15 20:24 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 353 bytes --]

On Wed, 2005-06-15 at 23:14 +0300, Alin Dobre wrote:
> According to /usr/lib/portage/bin/emerge, it's the short form for --newuse.

Ahh... I'd been using just the long form.  Perhaps someone should update
the emerge --help information... =]

-- 
Chris Gianelloni
Release Engineering - Strategic Lead/QA Manager
Games - Developer
Gentoo Linux

[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 20:00 ` Chris Gianelloni
  2005-06-15 20:08   ` Andrew Muraco
  2005-06-15 20:14   ` Alin Dobre
@ 2005-06-15 20:38   ` ian douglas
  2 siblings, 0 replies; 14+ messages in thread
From: ian douglas @ 2005-06-15 20:38 UTC (permalink / raw
  To: gentoo-dev

> Ehh... what does "emerge -N" do?  I see no mention of such a thing in
> "emerge --help".

Checks for new USE flags.

-- 
Ian Douglas
http://www.w98.us/

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 19:56 ` Andrew Muraco
  2005-06-15 20:06   ` Richard Fish
@ 2005-06-15 20:38   ` Thomas Matthijs
  2005-06-15 20:08     ` Marius Mauch
  1 sibling, 1 reply; 14+ messages in thread
From: Thomas Matthijs @ 2005-06-15 20:38 UTC (permalink / raw
  To: gentoo-dev

> # regenworld
> run that command occassionally as sometimes things that get emerged
> for whatever reason are not part of the world file AND not a direct
> dependancy of something and so the emerge -avuDN world would not check
> -- running this command will check and add these entries to the world
> file so they will be included with updates.

Don't! do that it will ruin your world file, it'll no longer be what the
world file is supposed to be, but contain everything you merged. It is only
ment as a rescue when you delete your world file(or lose it in some
other way)

correct way would be to use the -u and -D option
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 19:34 [gentoo-dev] newb question about emerge ian douglas
  2005-06-15 19:56 ` Andrew Muraco
  2005-06-15 20:00 ` Chris Gianelloni
@ 2005-06-15 20:39 ` ian douglas
  2 siblings, 0 replies; 14+ messages in thread
From: ian douglas @ 2005-06-15 20:39 UTC (permalink / raw
  To: gentoo-dev

> behavior and was wondering if someone could enlighten me:

... and feel sufficiently enlightened, thanks. Didn't know about 
'regenworld' or
that I should consider using -a to emerge as well.

Sorry I posted this on the wrong list too ... silly address book issue.

-- 
Ian Douglas
http://www.w98.us/

-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 20:24     ` Chris Gianelloni
@ 2005-06-15 23:28       ` Georgi Georgiev
  0 siblings, 0 replies; 14+ messages in thread
From: Georgi Georgiev @ 2005-06-15 23:28 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 669 bytes --]

maillog: 15/06/2005-16:24:25(-0400): Chris Gianelloni types
> On Wed, 2005-06-15 at 23:14 +0300, Alin Dobre wrote:
> > According to /usr/lib/portage/bin/emerge, it's the short form for --newuse.
> 
> Ahh... I'd been using just the long form.  Perhaps someone should update
> the emerge --help information... =]

I guess you're right, because it *is* in the manpage...

-- 
\/   Georgi Georgiev   \/ They have been at a great feast of           \/
/\    chutz@gg3.net    /\ languages, and stolen the scraps. --         /\
\/  +81(90)2877-8845   \/ William Shakespeare, "Love's Labour's        \/
/\ ------------------- /\ Lost"                                        /\

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-15 20:08     ` Marius Mauch
@ 2005-06-16  9:42       ` Thomas Matthijs
  2005-06-16 10:54         ` Marius Mauch
  0 siblings, 1 reply; 14+ messages in thread
From: Thomas Matthijs @ 2005-06-16  9:42 UTC (permalink / raw
  To: gentoo-dev

* Marius Mauch (genone@gentoo.org) wrote:
> Thomas Matthijs wrote:
> >># regenworld
> >>run that command occassionally as sometimes things that get emerged
> >>for whatever reason are not part of the world file AND not a direct
> >>dependancy of something and so the emerge -avuDN world would not check
> >>-- running this command will check and add these entries to the world
> >>file so they will be included with updates.
> >
> >
> >Don't! do that it will ruin your world file, it'll no longer be what the
> >world file is supposed to be, but contain everything you merged. It is only
> >ment as a rescue when you delete your world file(or lose it in some
> >other way)
> 
> Nope. You're mixing that up with the evil `qpkg -I > world` command. 
> regenworld should be fine as long as /var/log/emerge.log is complete.

It is not.
it adds alot of junk to my work file (over 250 packages), some i merged
with --oneshot, other are just deps of other packages
-- 
gentoo-dev@gentoo.org mailing list



^ permalink raw reply	[flat|nested] 14+ messages in thread

* Re: [gentoo-dev] newb question about emerge ...
  2005-06-16  9:42       ` Thomas Matthijs
@ 2005-06-16 10:54         ` Marius Mauch
  0 siblings, 0 replies; 14+ messages in thread
From: Marius Mauch @ 2005-06-16 10:54 UTC (permalink / raw
  To: gentoo-dev

[-- Attachment #1: Type: text/plain, Size: 1382 bytes --]

On Thu, 16 Jun 2005 11:42:51 +0200
Thomas Matthijs <axxo@gentoo.org> wrote:

> * Marius Mauch (genone@gentoo.org) wrote:
> > Thomas Matthijs wrote:
> > >># regenworld
> > >>run that command occassionally as sometimes things that get
> > >>emerged for whatever reason are not part of the world file AND
> > >>not a direct dependancy of something and so the emerge -avuDN
> > >>world would not check -- running this command will check and add
> > >>these entries to the world file so they will be included with
> > >>updates.
> > >
> > >
> > >Don't! do that it will ruin your world file, it'll no longer be
> > >what the world file is supposed to be, but contain everything you
> > >merged. It is only ment as a rescue when you delete your world file
> > >(or lose it in some other way)
> > 
> > Nope. You're mixing that up with the evil `qpkg -I > world`
> > command. regenworld should be fine as long as /var/log/emerge.log
> > is complete.
> 
> It is not.
> it adds alot of junk to my work file (over 250 packages), some i
> merged with --oneshot, other are just deps of other packages

Can you file a bug about that and attach your emerge.log?

Marius

-- 
Public Key at http://www.genone.de/info/gpg-key.pub

In the beginning, there was nothing. And God said, 'Let there be
Light.' And there was still nothing, but you could see a bit better.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2005-06-16 10:51 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-06-15 19:34 [gentoo-dev] newb question about emerge ian douglas
2005-06-15 19:56 ` Andrew Muraco
2005-06-15 20:06   ` Richard Fish
2005-06-15 20:38   ` Thomas Matthijs
2005-06-15 20:08     ` Marius Mauch
2005-06-16  9:42       ` Thomas Matthijs
2005-06-16 10:54         ` Marius Mauch
2005-06-15 20:00 ` Chris Gianelloni
2005-06-15 20:08   ` Andrew Muraco
2005-06-15 20:14   ` Alin Dobre
2005-06-15 20:24     ` Chris Gianelloni
2005-06-15 23:28       ` Georgi Georgiev
2005-06-15 20:38   ` ian douglas
2005-06-15 20:39 ` ian douglas

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox