public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] package dependencies
@ 2006-02-16 18:59 Nick Smith
  2006-02-16 19:13 ` Ghaith Hachem
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: Nick Smith @ 2006-02-16 18:59 UTC (permalink / raw
  To: gentoo-user

is there a way to tell what packages are required by what?  for
instance i have a package that is blocking another package when i do
an emerge, is there a way to tell if the package that is blocking the
other is actually needed by any other package on the system before i
unmerge it?

thanks

Nick

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] package dependencies
  2006-02-16 18:59 [gentoo-user] package dependencies Nick Smith
@ 2006-02-16 19:13 ` Ghaith Hachem
  2006-02-16 19:33   ` Nick Smith
  2006-02-16 19:13 ` [gentoo-user] " gentuxx
  2006-02-16 22:46 ` [gentoo-user] " Catalin Trifu
  2 siblings, 1 reply; 8+ messages in thread
From: Ghaith Hachem @ 2006-02-16 19:13 UTC (permalink / raw
  To: gentoo-user

usualy portatge tells you what is blocking what
anyway try emerge -av it will give you an idea of what you need

On 2/16/06, Nick Smith <nick.smith79@gmail.com> wrote:
> is there a way to tell what packages are required by what?  for
> instance i have a package that is blocking another package when i do
> an emerge, is there a way to tell if the package that is blocking the
> other is actually needed by any other package on the system before i
> unmerge it?
>
> thanks
>
> Nick
>
> --
> gentoo-user@gentoo.org mailing list
>
>


--
Cheers,
Ghaith

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] package dependencies
  2006-02-16 18:59 [gentoo-user] package dependencies Nick Smith
  2006-02-16 19:13 ` Ghaith Hachem
@ 2006-02-16 19:13 ` gentuxx
  2006-02-16 22:46 ` [gentoo-user] " Catalin Trifu
  2 siblings, 0 replies; 8+ messages in thread
From: gentuxx @ 2006-02-16 19:13 UTC (permalink / raw
  To: gentoo-user

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

Nick Smith wrote:

>is there a way to tell what packages are required by what? for
>instance i have a package that is blocking another package when i do
>an emerge, is there a way to tell if the package that is blocking the
>other is actually needed by any other package on the system before i
>unmerge it?
>
>thanks
>
>Nick
>
equery depends <pkg>

- --
gentux
echo "hfouvyAdpy/ofu" | perl -pe 's/(.)/chr(ord($1)-1)/ge'

gentux's gpg fingerprint ==> 34CE 2E97 40C7 EF6E EC40  9795 2D81 924A
6996 0993
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.1 (GNU/Linux)

iD8DBQFD9M7bLYGSSmmWCZMRArUaAKDD65Op6n0sQ9xj7WjkQ+YjowD5/wCfUYQN
pb9fKUA/CGIB3plI/XSYNVM=
=wErz
-----END PGP SIGNATURE-----

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] package dependencies
  2006-02-16 19:13 ` Ghaith Hachem
@ 2006-02-16 19:33   ` Nick Smith
  2006-02-16 19:40     ` Daniel da Veiga
  0 siblings, 1 reply; 8+ messages in thread
From: Nick Smith @ 2006-02-16 19:33 UTC (permalink / raw
  To: gentoo-user

On 2/16/06, Ghaith Hachem <blacksadness@gmail.com> wrote:
> usualy portatge tells you what is blocking what
> anyway try emerge -av it will give you an idea of what you need
>
right, but i want to know that the package im going to remove because
its blocking something else isnt needed by another package on my
system that has nothing to do with the package im trying to emerge.
can that be done?  am i making any sense?

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user] package dependencies
  2006-02-16 19:33   ` Nick Smith
@ 2006-02-16 19:40     ` Daniel da Veiga
  2006-02-16 22:10       ` [gentoo-user] " Mick
  0 siblings, 1 reply; 8+ messages in thread
From: Daniel da Veiga @ 2006-02-16 19:40 UTC (permalink / raw
  To: gentoo-user

On 2/16/06, Nick Smith <nick.smith79@gmail.com> wrote:
> On 2/16/06, Ghaith Hachem <blacksadness@gmail.com> wrote:
> > usualy portatge tells you what is blocking what
> > anyway try emerge -av it will give you an idea of what you need
> >
> right, but i want to know that the package im going to remove because
> its blocking something else isnt needed by another package on my
> system that has nothing to do with the package im trying to emerge.
> can that be done?  am i making any sense?
>
> --
> gentoo-user@gentoo.org mailing list
>
>

You can use the --tree option and check if that package is a dependency...

--
Daniel da Veiga
Computer Operator - RS - Brazil
-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCM/IT/P/O d-? s:- a? C++$ UBLA++ P+ L++ E--- W+++$ N o+ K- w O M- V-
PS PE Y PGP- t+ 5 X+++ R+* tv b+ DI+++ D+ G+ e h+ r+ y++
------END GEEK CODE BLOCK------

-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: package dependencies
  2006-02-16 19:40     ` Daniel da Veiga
@ 2006-02-16 22:10       ` Mick
  0 siblings, 0 replies; 8+ messages in thread
From: Mick @ 2006-02-16 22:10 UTC (permalink / raw
  To: gentoo-user

Daniel da Veiga wrote:

> On 2/16/06, Nick Smith <nick.smith79@gmail.com> wrote:
>> On 2/16/06, Ghaith Hachem <blacksadness@gmail.com> wrote:
>> > usualy portatge tells you what is blocking what
>> > anyway try emerge -av it will give you an idea of what you need
>> >
>> right, but i want to know that the package im going to remove because
>> its blocking something else isnt needed by another package on my
>> system that has nothing to do with the package im trying to emerge.
>> can that be done?  am i making any sense?

Usually unmerging the blocker and re-emerging later on fixes it.  Sometimes
there may be a cyclical blocking scenario whereby the two packages (or
their dependencies) are categorically incompatible.  I don't believe
there's an easy solution for such a predicament.  In your case I would try
to unmerge the blocker, emerge what you want, re-emerge the original
blocker.  If portage let's you do it then that's that.  :)
-- 
Regards,
Mick

-- 
gentoo-user@gentoo.org mailing list



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

* [gentoo-user]  Re: package dependencies
  2006-02-16 18:59 [gentoo-user] package dependencies Nick Smith
  2006-02-16 19:13 ` Ghaith Hachem
  2006-02-16 19:13 ` [gentoo-user] " gentuxx
@ 2006-02-16 22:46 ` Catalin Trifu
  2006-02-20  7:33   ` Catalin Grigoroscuta
  2 siblings, 1 reply; 8+ messages in thread
From: Catalin Trifu @ 2006-02-16 22:46 UTC (permalink / raw
  To: gentoo-user

	equery depends {blocking_package}

    This will give you a list of all the packages that require the blocker.
    equery is in app-portage/gentoolkit

Catalin


Nick Smith wrote:
> is there a way to tell what packages are required by what?  for
> instance i have a package that is blocking another package when i do
> an emerge, is there a way to tell if the package that is blocking the
> other is actually needed by any other package on the system before i
> unmerge it?
> 
> thanks
> 
> Nick
> 

-- 
gentoo-user@gentoo.org mailing list



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

* Re: [gentoo-user]  Re: package dependencies
  2006-02-16 22:46 ` [gentoo-user] " Catalin Trifu
@ 2006-02-20  7:33   ` Catalin Grigoroscuta
  0 siblings, 0 replies; 8+ messages in thread
From: Catalin Grigoroscuta @ 2006-02-20  7:33 UTC (permalink / raw
  To: gentoo-user

Be careful, however, about virtual packages.
For example, equery depenxs xorg-x11 will give you nothing - but you can 
not safely unmerge it, as it's the only package for the virtual package 
"x11", and there actually are a lot of packages depending on x11.
I do not know how to correctly deal with this situation.

Catalin

Catalin Trifu wrote:
> 	equery depends {blocking_package}
>
>     This will give you a list of all the packages that require the blocker.
>     equery is in app-portage/gentoolkit
>
> Catalin
>
>
> Nick Smith wrote:
>   
>> is there a way to tell what packages are required by what?  for
>> instance i have a package that is blocking another package when i do
>> an emerge, is there a way to tell if the package that is blocking the
>> other is actually needed by any other package on the system before i
>> unmerge it?
>>
>> thanks
>>
>> Nick
>>
>>     
>
>   

-- 
gentoo-user@gentoo.org mailing list



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

end of thread, other threads:[~2006-02-20  7:38 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-02-16 18:59 [gentoo-user] package dependencies Nick Smith
2006-02-16 19:13 ` Ghaith Hachem
2006-02-16 19:33   ` Nick Smith
2006-02-16 19:40     ` Daniel da Veiga
2006-02-16 22:10       ` [gentoo-user] " Mick
2006-02-16 19:13 ` [gentoo-user] " gentuxx
2006-02-16 22:46 ` [gentoo-user] " Catalin Trifu
2006-02-20  7:33   ` Catalin Grigoroscuta

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