Today, I executed the following command to update my system

        emerge -auDN world

What happened is that gnupg seemed to be downgraded to 1.4.7-r1 version.

I know gnupg-2.0.7 is stable in the current portage, so I am curious
about this downgrade of gnupg. After searching this thread, inspired by
the post by Neil Bothwick(Dec 16, 2007), I know that I can use the
option --tree to check the dependency.

        emerge -puDN --tree world

The above command reported: 
1.) squirrelmail-2.4.10a-r2 requires gnupg-1.4.7-r1
2.) gpgme and so on require gnupg-2.0.7

Neil Bothwick said we could install these two versions of gnupg
simultaneously, but in the immediate following post, Nago Toro said
"No". So I checked the ebuild of gnupg, then I agree with Nago Toro.

Searching the gentoo forum( forums.gnetoo.org), I found the following
bugzilla post is usefull.

        http://bugs.gentoo.org/show_bug.cgi?id=202406

According to this bug report, I know that squirrelmail-1.4.10a-r2 can't
work with gnupg version 2. So the ebuild maintainer of squirrelmail set
version 1 as a dependency.

Analyzing the ebuild of squirrelmail-1.4.10a-r2, I know that the
dependency is only requirred by USE flag "crypt". So I diable this flag
in my local portage config file /etc/portage/package.use.

After doing this, I can update my system without getting gnupg back to
version 1 now. As a matter of fact, it's impossible to update without
doing this change. Even you can afford downgrading gnupg, the other
package e.g. gpgme, still requirre you install version 2 of gnupg. It's
unresolved unless you decides discarding one!

Does anyone has better solution?

-- 
Shaochun Wang <[EMAIL PROTECTED]>

Jabber: [EMAIL PROTECTED]
-- 
[email protected] mailing list

Reply via email to