Gentoo Archives: gentoo-user

From: Shaochun Wang <scwang@××××××.cn>
To: gentoo user <gentoo-user@l.g.o>
Subject: [gentoo-user] gnupg update problem
Date: Mon, 14 Jan 2008 03:26:10
Message-Id: 20080114032527.GA30607@localhost
1 Today, I executed the following command to update my system
2
3 emerge -auDN world
4
5 What happened is that gnupg seemed to be downgraded to 1.4.7-r1 version.
6
7 I know gnupg-2.0.7 is stable in the current portage, so I am curious
8 about this downgrade of gnupg. After searching this thread, inspired by
9 the post by Neil Bothwick(Dec 16, 2007), I know that I can use the
10 option --tree to check the dependency.
11
12 emerge -puDN --tree world
13
14 The above command reported:
15 1.) squirrelmail-2.4.10a-r2 requires gnupg-1.4.7-r1
16 2.) gpgme and so on require gnupg-2.0.7
17
18 Neil Bothwick said we could install these two versions of gnupg
19 simultaneously, but in the immediate following post, Nago Toro said
20 "No". So I checked the ebuild of gnupg, then I agree with Nago Toro.
21
22 Searching the gentoo forum( forums.gnetoo.org), I found the following
23 bugzilla post is usefull.
24
25 http://bugs.gentoo.org/show_bug.cgi?id=202406
26
27 According to this bug report, I know that squirrelmail-1.4.10a-r2 can't
28 work with gnupg version 2. So the ebuild maintainer of squirrelmail set
29 version 1 as a dependency.
30
31 Analyzing the ebuild of squirrelmail-1.4.10a-r2, I know that the
32 dependency is only requirred by USE flag "crypt". So I diable this flag
33 in my local portage config file /etc/portage/package.use.
34
35 After doing this, I can update my system without getting gnupg back to
36 version 1 now. As a matter of fact, it's impossible to update without
37 doing this change. Even you can afford downgrading gnupg, the other
38 package e.g. gpgme, still requirre you install version 2 of gnupg. It's
39 unresolved unless you decides discarding one!
40
41 Does anyone has better solution?
42
43 --
44 Shaochun Wang <scwang@××××××.cn>
45
46 Jabber: fungusw@××××××.org
47 --
48 gentoo-user@l.g.o mailing list