Gentoo Archives: gentoo-user

From: Mark Knecht <markknecht@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Re: dev-lang/python-2.3.6-r2 (is blocking app-admin/python-updater-0.5
Date: Sun, 27 Jul 2008 01:46:54
Message-Id: 5bdc1c8b0807261846s2870baabl70b12b9bcc058198@mail.gmail.com
In Reply to: Re: [gentoo-user] Re: dev-lang/python-2.3.6-r2 (is blocking app-admin/python-updater-0.5 by Mark Knecht
1 On Sat, Jul 26, 2008 at 6:34 PM, Mark Knecht <markknecht@×××××.com> wrote:
2 > On Sat, Jul 26, 2008 at 6:18 PM, Dale <dalek1967@×××××××××.net> wrote:
3 >> Mark Knecht wrote:
4 >>>
5 >>> On Sat, Jul 26, 2008 at 4:20 PM, Nikos Chantziaras <realnc@×××××.de>
6 >>> wrote:
7 >>>
8 >>>>
9 >>>> Dale wrote:
10 >>>>
11 >>>>>
12 >>>>> Mark Knecht wrote:
13 >>>>>
14 >>>>>>
15 >>>>>> As part of emerge -DuN system portage appears to first make me remove
16 >>>>>> python by hand. Is this safe?
17 >>>>>>
18 >>>>>
19 >>>>> No! Not until you get a working version installed. Portage needs
20 >>>>> python.
21 >>>>> Someone correct me if I misstep here:
22 >>>>>
23 >>>>> emerge the new python, run the python updater and let it emerge whatever
24 >>>>> packages it needs to rebuild, check to make sure nothing still needs the
25 >>>>> old
26 >>>>> version and then you can unmerge the old one.
27 >>>>>
28 >>>>> I think that is the correct way.
29 >>>>>
30 >>>>
31 >>>> It is. *Only* unmerge the old Python after you emerged the new one *and*
32 >>>> ran python-updater.
33 >>>>
34 >>>> Unmerging Python without first emerging the new version is equivalent to
35 >>>> sawing off the branch you are sitting on. You could as well unmerge
36 >>>> portage
37 >>>> itself and wonder where portage went and why you can't emerge.
38 >>>>
39 >>>>
40 >>>
41 >>> Thanks. That is sort of what I thought but I felt it best to ask
42 >>> first. It seems I have python oriented things in my world file that
43 >>> I'm not clear need to be there. One is python-updater. I'll emerge
44 >>> python first and then return to look at how emerge -DuN world would
45 >>> proceed.
46 >>>
47 >>> Thanks!
48 >>>
49 >>> Cheers,
50 >>> Mark
51 >>>
52 >>>
53 >>>
54 >>
55 >> Not quite there yet. After you emerge the new python, run the python
56 >> updater and let it update/re-emerge whatever it needs to. You really need
57 >> to run the updater tool. It looks for packages that will still depend on
58 >> the old python and rebuild them so they will work with the new one.
59 >>
60 >> If you emerge the new python and unmerge the old python, some things may not
61 >> work, including portage.
62 >>
63 >> After you get that sorted out, then you can do the other updates.
64 >>
65 >> Make sense?
66 >>
67 >> Dale
68 >>
69 >> :-) :-)
70 >>
71 >
72 > It's almost exactly the question I Came back to ask. Thanks.
73 >
74 > I finished the python emerge and saw the message about running
75 > python-updater. Before doing that I tried the emerge -pvDuN
76 > python-updater and saw it still wanted me to remove the old python. I
77 > am running python-updater (the old version) now. After that's done
78 > it's then OK for me to emerge -C the older version of python by hand
79 > and proceed with the emerge -DuN python-updater operation?
80 >
81 > I am getting messages about packages now being masked, such as:
82 >
83 > * Adding to list: =games-board/pysol-sound-server-3.01
84 > * Adding to list: =dev-tcltk/snack-2.2.10
85 >
86 > These are the packages that would be merged, in order:
87 >
88 > Calculating dependencies -
89 > !!! All ebuilds that could satisfy "=dev-python/pygtk-2.12.0-r1" have
90 > been masked.
91 > !!! One of the following masked packages is required to complete your request:
92 > - dev-python/pygtk-2.12.0-r1 (masked by: ~x86 keyword)
93 >
94 > For more information, see MASKED PACKAGES section in the emerge man page or
95 > refer to the Gentoo Handbook.
96 >
97 > dragonfly ~ # eix -I pygtk
98 > [D] dev-python/pygtk
99 > Available versions: (2) 2.10.6 2.12.0 ~2.12.0-r1 ~2.12.1 ~2.12.1-r2
100 > {X doc examples opengl}
101 > Installed versions: 2.12.0-r1(2)["proaudio"
102 > /usr/portage/local/layman/pro-audio](19:14:20 01/01/08)(opengl -doc
103 > -examples)
104 > Homepage: http://www.pygtk.org/
105 > Description: GTK+2 bindings for Python
106 >
107 >
108 > Do I need to unmask these things by hand to make forward progress?
109 > (Either that or do an emerge -C to remove them and then let an emerge
110 > -DuN world/revdep-rebuild catch them...) It seems strange to me that
111 > an emerge -DuN system operation is leading me to do things that don't
112 > have anything to do with the system. I'm pretty sure that package is
113 > used for a game and just getting caught in this general python-updater
114 > process.
115 >
116 > Thanks,
117 > Mark
118 >
119
120 Humm. I seem to be stuck at this one. python-updater is complaining
121 about vte which is used by gnome and gnome-terminal. I tried unmasking
122 vte in package.keywords but I still get the same error:
123
124 * Adding to list: =games-board/pysol-sound-server-3.01
125 * Adding to list: =dev-tcltk/snack-2.2.10
126
127 These are the packages that would be merged, in order:
128
129 Calculating dependencies \
130 !!! All ebuilds that could satisfy "=x11-libs/vte-0.16.12" have been masked.
131 !!! One of the following masked packages is required to complete your request:
132 - x11-libs/vte-0.16.12 (masked by: )
133
134 For more information, see MASKED PACKAGES section in the emerge man page or
135 refer to the Gentoo Handbook.
136
137 dragonfly ~ # equery depends vte
138 [ Searching for packages depending on vte... ]
139 gnome-base/gnome-2.20.3 (>=x11-libs/vte-0.16.12)
140 x11-terms/gnome-terminal-2.18.4 (>=x11-libs/vte-0.15.3)
141 dragonfly ~ #
142
143 It seems that the developers have deleted the version on my machine
144 from portage:
145
146 dragonfly ~ # eix x11-libs/vte
147 [U] x11-libs/vte
148 Available versions: 0.16.8 0.16.13 (~)0.16.14 {debug doc opengl python}
149 Installed versions: 0.16.12(08:52:33 02/24/08)(opengl python -debug -doc)
150 Homepage: http://www.gnome.org/
151 Description: Gnome terminal widget
152
153 dragonfly ~ #
154
155 I tried building 0.6.14 and got a sandbox violation.
156
157 Ideas?
158
159 Thanks,
160 Mark

Replies