Gentoo Logo
Gentoo Spaceship




Note: Due to technical difficulties, the Archives are currently not up to date. GMANE provides an alternative service for most mailing lists.
c.f. bug 424647
List Archive: gentoo-admin
Navigation:
Lists: gentoo-admin: < Prev By Thread Next > < Prev By Date Next >
Headers:
To: gentoo-admin@g.o
From: Georgi Georgiev <chutz@...>
Subject: Re: How to satisfy Portage dependencies with dummy packages (or other methods)?
Date: Sun, 21 Aug 2005 17:25:03 +0900
maillog: 20/08/2005-12:12:54(+0200): Ralph Seichter types
> Georgi Georgiev wrote:
> 
> > echo 'mail-mta/postfix-2.2.4' >>
> >   /etc/portage/profile/package.provided
> 
> I have tried this, but ssmtp still gets installed:
> 
>   # mkdir /etc/portage/profile
>   # echo 'mail-mta/postfix-2.2.4' >>
>       /etc/portage/profile/package.provided
>   # emerge --update --deep world
>   Calculating world dependencies ...done!
>   >>> emerge (1 of 1) mail-mta/ssmtp-2.61 to /
>   [...]
> 
> However, adding "mail-mta/ssmtp-2.61" to package.provided seems to
> do the trick. Thank you, Georgi! Will this prevent future ssmtp
> versions from being installed, or should I add it to package.mask
> aswell? If so, would that be /etc/portage/profile/package.mask or
> /etc/portage/package.mask?

It seems that if a virtual is satisfied by a "provided" package, the
virtual is not calculated properly.

For example, I put mail-mta/postfix-2.2.4 in package.provided and
remove ssmtp from my system. As it is, there is nothing to satisfy
virtual/mta on my system which is required by sudo. Here is an
illustration:

lion ~ # emerge -pt app-admin/sudo

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild   R   ] app-admin/sudo-1.6.8_p9  
[ebuild  N    ]  mail-mta/ssmtp-2.61-r1  

However, if you explicitly state that virtual/mta is provided by
postfix:

lion ~ # echo virtual/mta mail-mta/postfix >> /etc/portage/profile/virtuals
lion ~ # emerge -pt app-admin/sudo

These are the packages that I would merge, in reverse order:

Calculating dependencies ...done!
[ebuild   R   ] app-admin/sudo-1.6.8_p9  

This, I think, is the *proper* way to work around what I consider to be
a portage bug.

-- 
-*   Georgi Georgiev   -* Stop me, before I kill again!                -*
*-    chutz@...    *-                                              *-
-*  +81(90)2877-8845   -*                                              -*
-- 
gentoo-admin@g.o mailing list


Replies:
Re: How to satisfy Portage dependencies with dummy packages (or other methods)?
-- Ralph Seichter
References:
How to satisfy Portage dependencies with dummy packages (or other methods)?
-- Ralph Seichter
Re: How to satisfy Portage dependencies with dummy packages (or other methods)?
-- Georgi Georgiev
Re: How to satisfy Portage dependencies with dummy packages (or other methods)?
-- Ralph Seichter
Navigation:
Lists: gentoo-admin: < Prev By Thread Next > < Prev By Date Next >
Previous by thread:
Re: How to satisfy Portage dependencies with dummy packages (or other methods)?
Next by thread:
Re: How to satisfy Portage dependencies with dummy packages (or other methods)?
Previous by date:
Re: How to satisfy Portage dependencies with dummy packages (or other methods)?
Next by date:
Re: How to satisfy Portage dependencies with dummy packages (or other methods)?


Updated Jun 17, 2009

Summary: Archive of the gentoo-admin mailing list.

Donate to support our development efforts.

Copyright 2001-2013 Gentoo Foundation, Inc. Questions, Comments? Contact us.