* [gentoo-user] emerge --depclean and fftw
@ 2006-10-27 11:06 Dale
2006-10-27 11:32 ` Bo Ørsted Andresen
0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2006-10-27 11:06 UTC (permalink / raw
To: gentoo-user
Hi,
I am trying to keep my new install nice and clean, nothing useless
lurking around. I run emerge -p --depclean world on occasion and I
finally got this one:
> >>> These are the packages that would be unmerged:
>
> sci-libs/fftw
> selected: 3.0.1-r2
> protected: none
> omitted: none
>
> >>> 'Selected' packages are slated for removal.
> >>> 'Protected' and 'omitted' packages will not be removed.
>
> Packages installed: 814
> Packages in world: 228
> Packages in system: 56
> Unique package names: 814
> Required packages: 813
> Number to remove: 1
> root@smoker / #
So I did a little research, to make sure it was really not used by
anything. This is what I got:
> root@smoker / # equery depends fftw
> [ Searching for packages depending on fftw... ]
> media-libs/libsamplerate-0.1.2
> root@smoker / # equery depends libsamplerate
> [ Searching for packages depending on libsamplerate... ]
> media-sound/audacious-1.1.2-r1
> media-libs/akode-2.0.1
> app-cdr/k3b-0.12.17
> root@smoker / #
So it seems libsamplerate needs fftw, and a few things need
libsamplerate. So if removing fftw breaks libsamplerate then could that
lead to the ones needing libsamplerate breaking to? Sounds like
dominoes falling to me.
My question is this, is it safe to remove fftw? I am learning here.
See how much research I did before coming here? I haven't removed it
yet either.
Thanks
Dale
:-) :-)
--
gentoo-user@gentoo.org mailing list
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] emerge --depclean and fftw
2006-10-27 11:06 [gentoo-user] emerge --depclean and fftw Dale
@ 2006-10-27 11:32 ` Bo Ørsted Andresen
2006-10-27 12:24 ` Dale
0 siblings, 1 reply; 9+ messages in thread
From: Bo Ørsted Andresen @ 2006-10-27 11:32 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1161 bytes --]
On Friday 27 October 2006 13:06, Dale wrote:
> I am trying to keep my new install nice and clean, nothing useless
> lurking around. I run emerge -p --depclean world on occasion and I
>
> finally got this one:
> > >>> These are the packages that would be unmerged:
> >
> > sci-libs/fftw
> > selected: 3.0.1-r2
> > protected: none
> > omitted: none
[SNIP]
>
> So I did a little research, to make sure it was really not used by
>
> anything. This is what I got:
> > root@smoker / # equery depends fftw
> > [ Searching for packages depending on fftw... ]
> > media-libs/libsamplerate-0.1.2
[SNIP]
> So it seems libsamplerate needs fftw, and a few things need
> libsamplerate. So if removing fftw breaks libsamplerate then could that
> lead to the ones needing libsamplerate breaking to? Sounds like
> dominoes falling to me.
Sounds like you've disabled the fftw use flag of libsamplerate. --depclean is
generally pretty safe when `emerge -DNp world` doesn't want to do anything.
Better to use `dep -L fftw` from app-portage/udept or `pquery --vdb --revdep
sci-libs/fftw` from sys-apps/pkgcore.
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] emerge --depclean and fftw
2006-10-27 11:32 ` Bo Ørsted Andresen
@ 2006-10-27 12:24 ` Dale
2006-10-27 12:30 ` Bo Ørsted Andresen
0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2006-10-27 12:24 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1433 bytes --]
Bo Ørsted Andresen wrote:
>
>
> Sounds like you've disabled the fftw use flag of libsamplerate. --depclean is
> generally pretty safe when `emerge -DNp world` doesn't want to do anything.
>
> Better to use `dep -L fftw` from app-portage/udept or `pquery --vdb --revdep
> sci-libs/fftw` from sys-apps/pkgcore.
>
>
Hi,
I haven't enabled or disabled fftw before. Maybe it changed as part of
a profile or something that was installed?? I did do a emerge -uDv
world before running --depclean. This is a fairly new install, only
about a month old.
All the pkgcore programs are masked. What version do you recommend I
unmask? Equery shows these available:
> root@smoker / # emerge pkgcore
> Calculating dependencies
> !!! All ebuilds that could satisfy "pkgcore" have been masked.
> !!! One of the following masked packages is required to complete your
> request:
> - sys-apps/pkgcore-0.1.2 (masked by: ~x86 keyword)
> - sys-apps/pkgcore-0.1.3 (masked by: ~x86 keyword)
> - sys-apps/pkgcore-0.1.1-r1 (masked by: ~x86 keyword)
> - sys-apps/pkgcore-0.1.2-r1 (masked by: ~x86 keyword)
> - sys-apps/pkgcore-0.1.4 (masked by: ~x86 keyword)
>
> For more information, see MASKED PACKAGES section in the emerge man
> page or
> refer to the Gentoo Handbook.
>
> root@smoker / #
Looks like I am about to learn some more. Never heard of this command
before. O_O
Thanks
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 1886 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] emerge --depclean and fftw
2006-10-27 12:24 ` Dale
@ 2006-10-27 12:30 ` Bo Ørsted Andresen
2006-10-27 12:56 ` Dale
0 siblings, 1 reply; 9+ messages in thread
From: Bo Ørsted Andresen @ 2006-10-27 12:30 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 905 bytes --]
On Friday 27 October 2006 14:24, Dale wrote:
> Bo Ørsted Andresen wrote:
> > Sounds like you've disabled the fftw use flag of libsamplerate.
> > --depclean is generally pretty safe when `emerge -DNp world` doesn't want
> > to do anything.
> >
> > Better to use `dep -L fftw` from app-portage/udept or `pquery --vdb
> > --revdep sci-libs/fftw` from sys-apps/pkgcore.
>
> I haven't enabled or disabled fftw before. Maybe it changed as part of
> a profile or something that was installed?? I did do a emerge -uDv
> world before running --depclean. This is a fairly new install, only
> about a month old.
`equery depends` considers all use flags as enabled even if they aren't.
pquery and dep take your use flags into account.
> All the pkgcore programs are masked. What version do you recommend I
> unmask? Equery shows these available:
[SNIP]
The latest.
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] emerge --depclean and fftw
2006-10-27 12:30 ` Bo Ørsted Andresen
@ 2006-10-27 12:56 ` Dale
2006-10-27 13:56 ` Bo Ørsted Andresen
0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2006-10-27 12:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 1301 bytes --]
Bo Ørsted Andresen wrote:
> <snip>
>
> `equery depends` considers all use flags as enabled even if they aren't.
> pquery and dep take your use flags into account.
>
>
>> All the pkgcore programs are masked. What version do you recommend I
>> unmask? Equery shows these available:
>>
> [SNIP]
>
> The latest.
>
>
Hi,
hmmmmm, looks like some unstable stuff in the works here. I keyworded
pkgcore but it needs a unstable docutils which is part of python. Looks
like this:
> root@smoker / # emerge pkgcore -vp
>
> These are the packages that would be merged, in order:
>
> Calculating dependencies -
> !!! All ebuilds that could satisfy ">=dev-python/docutils-0.4" have
> been masked.
> !!! One of the following masked packages is required to complete your
> request:
> - dev-python/docutils-0.4 (masked by: ~x86 keyword)
>
> For more information, see MASKED PACKAGES section in the emerge man
> page or
> refer to the Gentoo Handbook.
> (dependency required by "sys-apps/pkgcore-0.1.4" [ebuild])
>
> root@smoker / #
If I recall correctly portage uses python and I sure don't want to mess
up python and bork portage. You sure this will be safe? Would I be
better off to unmerge fftw and try it?
Thanks for the help.
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 1815 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] emerge --depclean and fftw
2006-10-27 12:56 ` Dale
@ 2006-10-27 13:56 ` Bo Ørsted Andresen
2006-10-27 17:59 ` Dale
0 siblings, 1 reply; 9+ messages in thread
From: Bo Ørsted Andresen @ 2006-10-27 13:56 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2272 bytes --]
On Friday 27 October 2006 14:56, Dale wrote:
> Bo Ørsted Andresen wrote:
> > <snip>
> >
> > `equery depends` considers all use flags as enabled even if they aren't.
> > pquery and dep take your use flags into account.
> >
> >> All the pkgcore programs are masked. What version do you recommend I
> >> unmask? Equery shows these available:
> >
> > [SNIP]
> >
> > The latest.
>
> hmmmmm, looks like some unstable stuff in the works here. I keyworded
> pkgcore but it needs a unstable docutils which is part of python. Looks
>
> like this:
> > root@smoker / # emerge pkgcore -vp
[SNIP]
> If I recall correctly portage uses python and I sure don't want to mess
> up python and bork portage. You sure this will be safe? Would I be
> better off to unmerge fftw and try it?
I somehow get the feeling you haven't quite understood what I have said. So
I'll try again. media-libs/libsamplerate only depends on sci-libs/fftw if you
have the fftw use flag enabled.
# emerge -vp1 libsamplerate
[...]
[ebuild R ] media-libs/libsamplerate-0.1.2 USE="-fftw -sndfile" 0 kB
I.e. if you have no "-" in front of fftw then it needs fftw. Further what I
have said is that `equery depends` ignores that condition. So you have three
other alternatives for `equery depends` which will be able to show reverse
dependencies. I've already mentioned two. The third is adjutrix from
sys-apps/paludis (version 0.8.2 would be necessary there). pquery or dep does
seem more suited for this task though since they both take your use flags
into consideration whereas adjutrix will show something like:
# adjutrix -D /var/db/pkg -r fftw
Reverse dependencies for 'sci-libs/fftw':
media-libs/libsamplerate-0.1.2 DEPEND on one of:
sci-libs/fftw-3.0.1-r2::installed (condition USE='fftw')
[...]
and leave it up to you to check whether the USE='fftw' condition is true.
Finally I would like to say that whether you want to use testing software is
your own decision. But it certainly does do a better job than equery for
reverse dependencies. That's true no matter which of the three mentioned
alternatives you would choose. And I wouldn't suggest them if I thought they
would set you computer on fire...
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] emerge --depclean and fftw
2006-10-27 13:56 ` Bo Ørsted Andresen
@ 2006-10-27 17:59 ` Dale
2006-10-27 18:08 ` Bo Ørsted Andresen
0 siblings, 1 reply; 9+ messages in thread
From: Dale @ 2006-10-27 17:59 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 2540 bytes --]
Bo Ørsted Andresen wrote:
>
> I somehow get the feeling you haven't quite understood what I have said. So
> I'll try again. media-libs/libsamplerate only depends on sci-libs/fftw if you
> have the fftw use flag enabled.
>
> # emerge -vp1 libsamplerate
> [...]
> [ebuild R ] media-libs/libsamplerate-0.1.2 USE="-fftw -sndfile" 0 kB
>
> I.e. if you have no "-" in front of fftw then it needs fftw. Further what I
> have said is that `equery depends` ignores that condition. So you have three
> other alternatives for `equery depends` which will be able to show reverse
> dependencies. I've already mentioned two. The third is adjutrix from
> sys-apps/paludis (version 0.8.2 would be necessary there). pquery or dep does
> seem more suited for this task though since they both take your use flags
> into consideration whereas adjutrix will show something like:
>
> # adjutrix -D /var/db/pkg -r fftw
> Reverse dependencies for 'sci-libs/fftw':
> media-libs/libsamplerate-0.1.2 DEPEND on one of:
> sci-libs/fftw-3.0.1-r2::installed (condition USE='fftw')
> [...]
>
> and leave it up to you to check whether the USE='fftw' condition is true.
>
> Finally I would like to say that whether you want to use testing software is
> your own decision. But it certainly does do a better job than equery for
> reverse dependencies. That's true no matter which of the three mentioned
> alternatives you would choose. And I wouldn't suggest them if I thought they
> would set you computer on fire...
>
>
Ahhh, I see now what you are saying. Default is to use fftw unless I
turn it off. Gotcha now. I did see what you were saying about equery
depends though. It sort of makes assumptions on USE whether they are
true or not. I am disabled and I hurt a lot so sometimes it takes me a
while to get my light bulb to turn on. ;-)
I do use some testing stuff, like KDE and some other things that won't
make me bork up to much. I do try to be very careful though when it
comes to things like python, gcc and those critical things. I messed up
my system once and had to install from scratch and I learned to be
careful. Gentoo is a bit harder to install and takes longer too than
say Mandriva. I knew they wouldn't set my system on fire but I always
ask first before I do anything I may regret. I'm also on dial-up so I
prefer not to have to download ALL the source stuff again either.
I see what you are saying and have learned a lot. Thanks for the help.
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 2892 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] emerge --depclean and fftw
2006-10-27 17:59 ` Dale
@ 2006-10-27 18:08 ` Bo Ørsted Andresen
2006-10-28 8:36 ` Dale
0 siblings, 1 reply; 9+ messages in thread
From: Bo Ørsted Andresen @ 2006-10-27 18:08 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 257 bytes --]
On Friday 27 October 2006 19:59, Dale wrote:
> Ahhh, I see now what you are saying. Default is to use fftw unless I
> turn it off. Gotcha now.
I haven't said anything about what the default is. Actually it's off by
default..
--
Bo Andresen
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
* Re: [gentoo-user] emerge --depclean and fftw
2006-10-27 18:08 ` Bo Ørsted Andresen
@ 2006-10-28 8:36 ` Dale
0 siblings, 0 replies; 9+ messages in thread
From: Dale @ 2006-10-28 8:36 UTC (permalink / raw
To: gentoo-user
[-- Attachment #1: Type: text/plain, Size: 466 bytes --]
Bo Ørsted Andresen wrote:
> On Friday 27 October 2006 19:59, Dale wrote:
>
>> Ahhh, I see now what you are saying. Default is to use fftw unless I
>> turn it off. Gotcha now.
>>
>
> I haven't said anything about what the default is. Actually it's off by
> default..
>
>
Hmm, looks like I have to spend more time trying to understand this
then. I need a local LUG. Get a little one on one with no delays.
Thanks
Dale
:-) :-)
[-- Attachment #2: Type: text/html, Size: 932 bytes --]
^ permalink raw reply [flat|nested] 9+ messages in thread
end of thread, other threads:[~2006-10-28 8:41 UTC | newest]
Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-10-27 11:06 [gentoo-user] emerge --depclean and fftw Dale
2006-10-27 11:32 ` Bo Ørsted Andresen
2006-10-27 12:24 ` Dale
2006-10-27 12:30 ` Bo Ørsted Andresen
2006-10-27 12:56 ` Dale
2006-10-27 13:56 ` Bo Ørsted Andresen
2006-10-27 17:59 ` Dale
2006-10-27 18:08 ` Bo Ørsted Andresen
2006-10-28 8:36 ` Dale
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox