* [gentoo-user] depclean+noreplace
@ 2007-09-03 7:39 Daniel Iliev
2007-09-03 7:47 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: Daniel Iliev @ 2007-09-03 7:39 UTC (permalink / raw
To: gentoo-user
Hi,
Recently I noticed an inconsistency between the behavior of 'emerge
-n' and the advise shown while executing 'emerge --depclean'.
emerge --depclean -pv
===snip
Also study the list of packages to be cleaned for any
obvious mistakes. Packages that are part of the world
set will always be kept. They can be manually added
to this set with `emerge --noreplace <atom>`.
===snip
But:
===quote
localhost ~ # grep python /var/lib/portage/world ###(<--No result)
localhost ~ # emerge --noreplace dev-lang/python
Calculating dependencies ..... ..... ..... ... done!
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
localhost ~ # grep python /var/lib/portage/world ###(<--Still no result)
localhost ~ #
===quote
Is this the normal behavior of portage or there's something wrong with
my installation?
--
Best regards,
Daniel
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] depclean+noreplace
2007-09-03 7:39 [gentoo-user] depclean+noreplace Daniel Iliev
@ 2007-09-03 7:47 ` Neil Bothwick
2007-09-03 8:15 ` Marc Joliet
0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2007-09-03 7:47 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 678 bytes --]
On Mon, 3 Sep 2007 10:39:56 +0300, Daniel Iliev wrote:
> localhost ~ # grep python /var/lib/portage/world ###(<--No result)
> localhost ~ # emerge --noreplace dev-lang/python
> Calculating dependencies ..... ..... ..... ... done!
> >>> Auto-cleaning packages...
>
> >>> No outdated packages were found on your system.
> * GNU info directory index is up-to-date.
>
> localhost ~ # grep python /var/lib/portage/world ###(<--Still no result)
> localhost ~ #
Python is part of the system profile, so it doesn't need to be added to
world. Portage knows this.
--
Neil Bothwick
Life is a sexually transmitted disease and the mortality rate is 100%.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] depclean+noreplace
2007-09-03 7:47 ` Neil Bothwick
@ 2007-09-03 8:15 ` Marc Joliet
2007-09-03 8:42 ` Bo Ørsted Andresen
0 siblings, 1 reply; 7+ messages in thread
From: Marc Joliet @ 2007-09-03 8:15 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1730 bytes --]
Am Mon, 3 Sep 2007 08:47:48 +0100
schrieb Neil Bothwick <neil@digimed.co.uk>:
> On Mon, 3 Sep 2007 10:39:56 +0300, Daniel Iliev wrote:
>
> > localhost ~ # grep python /var/lib/portage/world ###(<--No result)
> > localhost ~ # emerge --noreplace dev-lang/python
> > Calculating dependencies ..... ..... ..... ... done!
> > >>> Auto-cleaning packages...
> >
> > >>> No outdated packages were found on your system.
> > * GNU info directory index is up-to-date.
> >
> > localhost ~ # grep python /var/lib/portage/world ###(<--Still no
> > result) localhost ~ #
>
> Python is part of the system profile, so it doesn't need to be added
> to world. Portage knows this.
>
>
Well, I recall having problems with --noreplace, too, so I tried this:
marcec marcec # grep ladspa /var/lib/portage/world
media-plugins/vocoder-ladspa
marcec marcec # emerge -n ladspa-sdk
Calculating dependencies... done!
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
marcec marcec # grep ladspa /var/lib/portage/world
media-plugins/vocoder-ladspa
marcec marcec #
I also tried with media-libs/ladspa-sdk (which I believe shouldn't make
a difference). Still nothing.
Now, according to the message during --depclean, it should have been
added to world. Why wasn't it? Are there other criteria portage watches
for with the --noreplace option given?
Is there any (thorough) documentation regarding this? A quick search on
www.gentoo.org and gentoo-wiki.com didn't yield anything.
--
Marc Joliet
--
"People who think they know everything really annoy those of us who
know we don't" - Bjarne Stroustrup
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] depclean+noreplace
2007-09-03 8:15 ` Marc Joliet
@ 2007-09-03 8:42 ` Bo Ørsted Andresen
2007-09-03 9:58 ` Neil Bothwick
0 siblings, 1 reply; 7+ messages in thread
From: Bo Ørsted Andresen @ 2007-09-03 8:42 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 832 bytes --]
On Monday 03 September 2007 10:15:48 Marc Joliet wrote:
> > > localhost ~ # grep python /var/lib/portage/world ###(<--No result)
> > > localhost ~ # emerge --noreplace dev-lang/python
[SNIP]
> > > localhost ~ # grep python /var/lib/portage/world ###(<--Still no
> > > result) localhost ~ #
> >
> > Python is part of the system profile, so it doesn't need to be added
> > to world. Portage knows this.
While this is true --noreplace should still add it to world.
> Well, I recall having problems with --noreplace, too, so I tried this:
[SNIP]
> Now, according to the message during --depclean, it should have been
> added to world. Why wasn't it? Are there other criteria portage watches
> for with the --noreplace option given?
It's a bug.
https://bugs.gentoo.org/show_bug.cgi?id=188929
--
Bo Andresen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] depclean+noreplace
2007-09-03 8:42 ` Bo Ørsted Andresen
@ 2007-09-03 9:58 ` Neil Bothwick
2007-09-03 10:14 ` Bo Ørsted Andresen
0 siblings, 1 reply; 7+ messages in thread
From: Neil Bothwick @ 2007-09-03 9:58 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 523 bytes --]
On Mon, 3 Sep 2007 10:42:07 +0200, Bo Ørsted Andresen wrote:
> > > Python is part of the system profile, so it doesn't need to be added
> > > to world. Portage knows this.
>
> While this is true --noreplace should still add it to world.
Why? When system is included in world?
https://bugs.gentoo.org/show_bug.cgi?id=188929
I thought that one had been fixed, it certainly works here, or has the fix
not made it to stable yet?
--
Neil Bothwick
Hot tip #345: Never whistle while drinking coffee.
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] depclean+noreplace
2007-09-03 9:58 ` Neil Bothwick
@ 2007-09-03 10:14 ` Bo Ørsted Andresen
2007-09-03 12:40 ` Daniel Iliev
0 siblings, 1 reply; 7+ messages in thread
From: Bo Ørsted Andresen @ 2007-09-03 10:14 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 798 bytes --]
On Monday 03 September 2007 11:58:27 Neil Bothwick wrote:
> On Mon, 3 Sep 2007 10:42:07 +0200, Bo Ørsted Andresen wrote:
> > > > Python is part of the system profile, so it doesn't need to be added
> > > > to world. Portage knows this.
> >
> > While this is true --noreplace should still add it to world.
>
> Why? When system is included in world?
I'm not arguing the fact that adding system packages like this to world may be
a bit silly. But --noreplace does not (and in my opinion should not) have
exceptions for things that are silly.
> https://bugs.gentoo.org/show_bug.cgi?id=188929
>
> I thought that one had been fixed, it certainly works here, or has the fix
> not made it to stable yet?
It's only been fixed in 2.1.3.x. Which isn't stable yet.
--
Bo Andresen
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [gentoo-user] depclean+noreplace
2007-09-03 10:14 ` Bo Ørsted Andresen
@ 2007-09-03 12:40 ` Daniel Iliev
0 siblings, 0 replies; 7+ messages in thread
From: Daniel Iliev @ 2007-09-03 12:40 UTC (permalink / raw
To: gentoo-user
On Mon, 3 Sep 2007 12:14:58 +0200
Bo Ørsted Andresen <bo.andresen@zlin.dk> wrote:
> On Monday 03 September 2007 11:58:27 Neil Bothwick wrote:
> > On Mon, 3 Sep 2007 10:42:07 +0200, Bo Ørsted Andresen wrote:
> > > > > Python is part of the system profile, so it doesn't need to
> > > > > be added to world. Portage knows this.
> > >
> > > While this is true --noreplace should still add it to world.
> >
> > Why? When system is included in world?
>
> I'm not arguing the fact that adding system packages like this to
> world may be a bit silly. But --noreplace does not (and in my opinion
> should not) have exceptions for things that are silly.
>
> > https://bugs.gentoo.org/show_bug.cgi?id=188929
> >
> > I thought that one had been fixed, it certainly works here, or has
> > the fix not made it to stable yet?
>
> It's only been fixed in 2.1.3.x. Which isn't stable yet.
>
Ah! My mistake. Sorry, for the silly example. Python was the first
thing that came to my mind as an example of a package which is
installed and not present in the world list, but didn't thing about
the fact it is a system package also. Well, this behavior is the same
for every package here (this time the example is with "mc"):
===
localhost ~ # cp /var/lib/portage/world .
localhost ~ # grep mc /var/lib/portage/world
app-misc/mc
localhost ~ # sed -i 's/mc//g' /var/lib/portage/world
localhost ~ # grep mc /var/lib/portage/world
localhost ~ # emerge --noreplace app-misc/mc
Calculating dependencies ..... ..... ........ done!
>>> Auto-cleaning packages...
>>> No outdated packages were found on your system.
* GNU info directory index is up-to-date.
localhost ~ # grep mc /var/lib/portage/world
localhost ~ #
===
So, I'll just wait for the devs to mark "stable" the next version of
portage.
Thanks for your replies!
--
Best regards,
Daniel
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2007-09-03 12:52 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-09-03 7:39 [gentoo-user] depclean+noreplace Daniel Iliev
2007-09-03 7:47 ` Neil Bothwick
2007-09-03 8:15 ` Marc Joliet
2007-09-03 8:42 ` Bo Ørsted Andresen
2007-09-03 9:58 ` Neil Bothwick
2007-09-03 10:14 ` Bo Ørsted Andresen
2007-09-03 12:40 ` Daniel Iliev
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox