Re: [gentoo-user] portage confusion

2008-03-03 Thread Daniel Pielmeier
   Are you using kde-4.0.x or why do you have


 kde-3.5.7. Tried to update to kde-4.0.x near the end
  of January. This was after almost two years of not
  updating anything. This led to a emerge -uD world
  which took about a week over my string-and-can modem.
  Many, many failure to build errors kept me returning
  to the list for advice. See ,for instance, emerge -uD
  world: another obstacle in the archive. It was like
  crawling through the desert pursuing a mirage. I was
  unmerging here remerging there. Maybe that's when
  qca-2.0.0-r2 slipped into my system. I never
  completely understood why kde-4 couldn't be emerged. I
  ran update-eix and eix-sync. Even now when I do emerge
  -u kde it just points to 3.5.8.


   app-crypt/qca-2.0.0-r2
   unmasked? You can add =app-crypt/qca-1.0-r3
   ~whateverarchyouhave to
   /etc/portage.keyords and try again emerge -avuND
   world.


 Ok, that worked. Thanks.

So if you didn't manage to install kde-4.0.x, you should revert your
settings in /etc/portage/package.* and/or /etc/make.conf

For instance you should have app-crypt/qca-2.0.0-r2 in
/etc/portage/package.unmask which is not necessary if don't have
kde-4. And then you don't need app-crypt/qca-1.0-r3 in
/etc/portage/package.keywords either.

I don't want to be offensive, but I strongly recommend you to do some
cleanup! I also recommend to learn how to use portage (man portage,
man ebuild, man emerge, and so on), how to manage
/etc/package/package.*, revdep-rebuild and what emerge --depclean is
doing! Learn how to handle blockers, to unmerge a specific version of
a package if it is slotted and not needed anymore, or you will get in
such troubles all the time!

I would also recommend everybody to use udept which in my opinion is
far superior to all other portage tools (depclean, eix-test-obsolete
equery, and so on), or replaces many of them by one single tool. I use
it for cleanup and other stuff, but it has some problems currently
with USE_DEFAULTS and SLOT_DEPENDENCIES so it does not work correctly
and its output has to be interpreted in the right way. There is also a
bug open where an updated ebuild exists which solves other problems
the current version has. I hope this problems go away and the
maintainer of udept finds the time to work on it again, it would be a
great loss if not!

Btw, it is no problem to install kde-4 in parallel to kde-3! It is
just a bit tricky and you should have some experience of how gentoo
works. I would also not unmask a kde version which is currently masked
and do a world update in parallel when i had not updated my system for
about two years. It is expected that many problems occur if doing so
because there are enough problems anyway after such a long time not
having done update world!

Portage wants to install kde-3.5.8 because it is now stable, thus
normal! Kde-3.5.7 is not in the tree anymore, as far as i know. I am
no kde user but i figured this all out by just reading this list and a
bit research!

Update-eix has in most cases nothing to do with upgrade problems. It
is just a database listing your portage-tree. The only problem when
not doing update-eix is that you may reason the wrong things because
the database is out of date and you rely on the output of eix which is
wrong!

Regards,

Daniel
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion--FIXED

2008-03-03 Thread maxim wexler
 Now do 
 emerge -avuND world 
 to make sure everything is up to date followed by
 emerge -av --depclean
 and
 revdep-rebuild

...
Dynamic linking on your system is consistent... All
done.

Amen.


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread Alan McKinnon
On Sunday 02 March 2008, maxim wexler wrote:
 Hi group,

 Notice in the following portage has nothing to say
 about blockers following a warning from
 revdep-rebuild. And the -u switch calls forth an
 earlier version of python but without the -u switch is
 content to re-emerge the newer package which I already
 have on my system.

Um, yes it does have something to say about blockers. It explicitly 
states that python-2.3.6-r2 conflicts with something else (probably 
python-updater):

 !!! Error: the dev-lang/python-2.3.6-r2 package
 conflicts with another package;
 !!!the two packages cannot be installed on the
 same system together.
 !!!Please use 'emerge --pretend' to determine
 blockers.

You have a python-2.3 and python-2.4 on your system,probably left over 
from ages ago, as emerge will not by default unmerge an older SLOT when 
you install a newer SLOT of a package.

You can probably get rid of python-2.3 safely, but first find out what 
is using it:

equery depends =dev-lang/python-2.3.5-r3

If nothing, then unmerge it, but first you might want to make a backup 
(just in case):

quickpkg =dev-lang/python-2.3.5-r3

then run python-updater

Now do 
emerge -avuND world 
to make sure everything is up to date followed by
emerge -av --depclean
and
revdep-rebuild

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread Neil Bothwick
On Sat, 1 Mar 2008 22:10:39 -0800 (PST), maxim wexler wrote:

 Notice in the following portage has nothing to say
 about blockers following a warning from
 revdep-rebuild. And the -u switch calls forth an
 earlier version of python but without the -u switch is
 content to re-emerge the newer package which I already
 have on my system.
 
 This was all precipitated after emerge xcircuit I was
 advised to upgrade tk and tclx and then
 revdep-rebuild.
 
 emerge -u tk just said zero packages to emerge. Not
 no ebuilds to satisfy 'tk', zero packages.

That's because you already have the latest available version of tk
installed, so there is nothing for emerge -u to do.

 All prepared. Starting rebuild...
 emerge --oneshot  =dev-lang/python-2.4.4-r6
 =dev-lang/python-2.3.5-r3
 ..
 Calculating dependencies... done!
 
 !!! Error: the dev-lang/python-2.3.6-r2 package
 conflicts with another package;
 !!!the two packages cannot be installed on the
 same system together.
 !!!Please use 'emerge --pretend' to determine
 blockers.

You need to do what it says, run the emerge command from revdep-rebuild
with the --pretend option.

 localhost heathen # emerge -puv python

This is not the same. Python is slotted and it appears that your system
has, or at least needs, 2.3 and 2.4 so run the command it tells you to to
see what blocks what.


-- 
Neil Bothwick

Beware of low-flying butterflies.


signature.asc
Description: PGP signature


Re: [gentoo-user] portage confusion

2008-03-02 Thread maxim wexler
 
 You can probably get rid of python-2.3 safely, but
 first find out what 
 is using it:
 
 equery depends =dev-lang/python-2.3.5-r3
 
 If nothing, then unmerge it, but first you might
 want to make a backup 
 (just in case):

 
[EMAIL PROTECTED] ~ $ equery depends
=dev-lang/python-2.3.5-r3
[ Searching for packages depending on
=dev-lang/python-2.3.5-r3... ]
Traceback (most recent call last):
  File /usr/bin/equery, line 1732, in ?
cmd.perform(local_opts)
  File /usr/bin/equery, line 1117, in perform
deps = pkg.get_runtime_deps() +
pkg.get_compiletime_deps() + pkg.get_postmerge_deps()
AttributeError: Package instance has no attribute
'get_postmerge_deps'

Not exactly nothing. Is this what you mean?

mw



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread Alan McKinnon
On Sunday 02 March 2008, maxim wexler wrote:
  You can probably get rid of python-2.3 safely, but
  first find out what
  is using it:
 
  equery depends =dev-lang/python-2.3.5-r3
 
  If nothing, then unmerge it, but first you might
  want to make a backup
  (just in case):

 [EMAIL PROTECTED] ~ $ equery depends
 =dev-lang/python-2.3.5-r3
 [ Searching for packages depending on
 =dev-lang/python-2.3.5-r3... ]
 Traceback (most recent call last):
   File /usr/bin/equery, line 1732, in ?
 cmd.perform(local_opts)
   File /usr/bin/equery, line 1117, in perform
 deps = pkg.get_runtime_deps() +
 pkg.get_compiletime_deps() + pkg.get_postmerge_deps()
 AttributeError: Package instance has no attribute
 'get_postmerge_deps'

 Not exactly nothing. Is this what you mean?

No, that's an error. I've seen it somewhere before, but can't recall 
where. Can't recall what to do about it either.

If no-one else offers an opinion, I'd start by checking that all your 
portage tools still work properly: emerge, revdep-rebuild, the various 
tools in gentoolkit and portage-utils


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread Alan McKinnon
On Sunday 02 March 2008, maxim wexler wrote:

 Re-emerged gentoolkit.

 Now I get:

snip long list

 [EMAIL PROTECTED] ~ $

 Again, not nothing. I can't unmerge all this stuff
 can I? Should I still run python-updater etc?

No, you don;t need to unmerge all of it - most of those are virtuals or 
any version of python  x

Run python-updater. That will remerge everything linked to 2.3 to 2.4

If all goes well then you can unmerge python-2.3.* and run 
revdep-rebuild as a last safety check. Be warned, python-updater iwll 
remerge a lot of stuff - it always does


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread maxim wexler

--- Alan McKinnon [EMAIL PROTECTED] wrote:

 On Sunday 02 March 2008, maxim wexler wrote:
   You can probably get rid of python-2.3 safely,
 but
   first find out what
   is using it:
  
   equery depends =dev-lang/python-2.3.5-r3
  
   If nothing, then unmerge it, but first you might
   want to make a backup
   (just in case):
 
  [EMAIL PROTECTED] ~ $ equery depends
  =dev-lang/python-2.3.5-r3
  [ Searching for packages depending on
  =dev-lang/python-2.3.5-r3... ]
  Traceback (most recent call last):
File /usr/bin/equery, line 1732, in ?
  cmd.perform(local_opts)
File /usr/bin/equery, line 1117, in perform
  deps = pkg.get_runtime_deps() +
  pkg.get_compiletime_deps() +
 pkg.get_postmerge_deps()
  AttributeError: Package instance has no attribute
  'get_postmerge_deps'
 
  Not exactly nothing. Is this what you mean?
 
 No, that's an error. I've seen it somewhere before,
 but can't recall 
 where. Can't recall what to do about it either.
 
 If no-one else offers an opinion, I'd start by
 checking that all your 
 portage tools still work properly: emerge,
 revdep-rebuild, the various 
 tools in gentoolkit and portage-utils

http://forums.gentoo.org/viewtopic-p-3443611.html?sid=1e11270e20684fdc0eea90b188f26344

Re-emerged gentoolkit.

Now I get:

[EMAIL PROTECTED] ~ $ equery depends
=dev-lang/python-2.3.5-r3
[ Searching for packages depending on
=dev-lang/python-2.3.5-r3... ]
app-office/dia-0.95.1 (python?
=dev-lang/python-1.5.2)
app-pda/libopensync-0.22 (python?
=dev-lang/python-2.2)
app-portage/esearch-0.7.1 (=dev-lang/python-2.2)
app-portage/gentoolkit-0.2.3-r1
(=dev-lang/python-2.0)
dev-java/java-config-1.3.7 (virtual/python)
dev-java/java-config-2.0.33-r1 (dev-lang/python)
   (virtual/python)
dev-lang/swig-1.3.31 (python? virtual/python)
dev-libs/libxml2-2.6.30-r1 (python? dev-lang/python)
dev-libs/libxslt-1.1.22 (python? dev-lang/python)
dev-python/cddb-py-1.4 (virtual/python)
dev-python/id3-py-1.2 (virtual/python)
dev-python/numeric-24.2-r6 (virtual/python)
   (=dev-lang/python-2.3)
dev-python/pycairo-1.4.0 (virtual/python)
 (=dev-lang/python-2.3)
dev-python/pycrypto-2.0.1-r6 (virtual/python)
dev-python/pygtk-2.12.0 (=dev-lang/python-2.3.5)
dev-python/pyid3lib-0.5.1-r1 (virtual/python)
dev-python/pyogg-1.3-r1 (dev-lang/python)
(virtual/python)
dev-python/pyopengl-2.0.0.44 (virtual/python)
dev-python/pysqlite-2.3.5 (virtual/python)
  (=dev-lang/python-2.3)
dev-python/python-fchksum-1.7.1 (dev-lang/python)
dev-python/pyvorbis-1.4-r1 (dev-lang/python)
   (virtual/python)
dev-python/wxpython-2.6.4.0 (=dev-lang/python-2.1)
dev-util/scons-0.96.1 (virtual/python)
  (=dev-lang/python-2.0)
gnome-base/libglade-2.6.2 (=dev-lang/python-2.0-r7)
kde-base/kdeutils-3.5.7 (dev-lang/python)
media-libs/lcms-1.17 (python? =dev-lang/python-1.5.2)
media-libs/mutagen-1.12 (virtual/python)
media-sound/dir2ogg-0.11 (virtual/python)
media-sound/jack-3.1.1 (virtual/python)
   (=virtual/python-1.5.2)
sys-apps/file-4.21-r1 (virtual/python)
sys-libs/cracklib-2.8.10 (python? dev-lang/python)
sys-libs/libcap-1.10-r9 (python?
=virtual/python-2.2.1)
[EMAIL PROTECTED] ~ $   

Again, not nothing. I can't unmerge all this stuff
can I? Should I still run python-updater etc?

mw



  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread Willie Wong
On Sun, Mar 02, 2008 at 01:34:30PM -0800, Penguin Lover maxim wexler squawked:
 Re-emerged gentoolkit.
 
 Now I get:
 
 [EMAIL PROTECTED] ~ $ equery depends
 =dev-lang/python-2.3.5-r3
 [ Searching for packages depending on
 =dev-lang/python-2.3.5-r3... ]
 app-office/dia-0.95.1 (python?
snip
 sys-libs/libcap-1.10-r9 (python?
 =virtual/python-2.2.1)
 [EMAIL PROTECTED] ~ $   
 
 Again, not nothing. I can't unmerge all this stuff
 can I? Should I still run python-updater etc?

python-updater should've been run after you installed a new version of
python (I'm pretty sure it is in the ebuild).

equery depends is not smart enough to know that there is another
python on your system that satisfies the dependencies. What you should
look for in the output of equery depends is whether any of the
dependencies (as listed in the paranthesis after the package name) is
a hard dependency on a particular version of python. 

Basically, look for something that says =virtual/python-2.3 or 
=virtual/python-2.3 or something like that. 

My cursory glance at the output you send suggests that nothing
explicitly depends on that particular version of python. So you
*should* be able to unmerge the old one. If something does break...
then file a bug at b.g.o. 

W
-- 
Let me just make sure this is not on my list to avoid.
~DeathMech, S. Sondhi. P-town PHY 205
Sortir en Pantoufles: up 450 days, 20:31
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread maxim wexler
 python. So you
 *should* be able to unmerge the old one. If
 something does break...
 then file a bug at b.g.o. 

It want's to grab both of them. How do I move 2.4.4.r6
to the protected column? Or should I? Is this a good
place to use the  operator?

localhost heathen # emerge -pC python

 These are the packages that would be unmerged:


!!! 'dev-lang/python' is part of your system profile.
!!! Unmerging it may be damaging to your system.


 dev-lang/python
selected: 2.3.5-r3 2.4.4-r6
   protected: none
 omitted: none

 'Selected' packages are slated for removal.
 'Protected' and 'omitted' packages will not be
removed.

And does this mean it won't remerge anything but MAY
emerge something? If so, does that mean v2.4? I've
already got that:

localhost heathen # python-updater -p
 * Starting Python Updater from 2.3 to 2.4 :
 * Searching for packages with files in
/usr/lib/python2.3 /usr/lib32/python2.3
/usr/lib64/python2.3 ..
 * No packages needs to be remerged.

mw



  

Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread Daniel Pielmeier

maxim wexler schrieb:

python. So you
*should* be able to unmerge the old one. If
something does break...
then file a bug at b.g.o. 


It want's to grab both of them. How do I move 2.4.4.r6
to the protected column? Or should I? Is this a good
place to use the  operator?



try emerge -pC =python-2.3.5-r3
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread Neil Bothwick
On Mon, 3 Mar 2008 01:46:08 +0200, Alan McKinnon wrote:

 emerge -avC =dev-lang/python-2.3.5-r3

 Unmerging python will leave you with an unusuable portage and you'll 
 need a backup copy or other voodoo to get it going again. What you 
 actually want is to remove just the SLOT you are no longer using

Even so, I would quickpkg it first, just in case you accidentally remove
too much.


-- 
Neil Bothwick

New sig wanted good price paid.


signature.asc
Description: PGP signature


Re: [gentoo-user] portage confusion

2008-03-02 Thread Alan McKinnon
On Monday 03 March 2008, maxim wexler wrote:
  python. So you
  *should* be able to unmerge the old one. If
  something does break...
  then file a bug at b.g.o.

 It want's to grab both of them. How do I move 2.4.4.r6
 to the protected column? Or should I? Is this a good
 place to use the  operator?

 localhost heathen # emerge -pC python


emerge -avC =dev-lang/python-2.3.5-r3


Unmerging python will leave you with an unusuable portage and you'll 
need a backup copy or other voodoo to get it going again. What you 
actually want is to remove just the SLOT you are no longer using


-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread maxim wexler
 
 quickpkg =dev-lang/python-2.3.5-r3
 
done

 then run python-updater

localhost heathen # python-updater
 * Can't determine any previous Python version(s).

 
 Now do 
 emerge -avuND world 
...
[blocks B ] app-crypt/qca-1.0-r3 (is blocking
app-crypt/qca-2.0.0-r2)
...
So,

localhost heathen # emerge -pvC qca

 These are the packages that would be unmerged:

 app-crypt/qca
selected: 2.0.0-r2
   protected: none
 omitted: none

 'Selected' packages are slated for removal.
 'Protected' and 'omitted' packages will not be
removed.

Seems like I've already got the package that's
supposedly blocked.

localhost heathen # emerge -vC app-crypt/qca-1.0-r3

--- Couldn't find 'app-crypt/qca-1.0-r3' to unmerge.

 No packages selected for removal by unmerge


So I unmerged then remerged the one I already got and
did emerge -auvND world.

Same thing. The link to the gentoo manual says I can
just ignore that particular package but it doesn't say
how.

mw



  

Looking for last minute shopping deals?  
Find them fast with Yahoo! Search.  
http://tools.search.yahoo.com/newsearch/category.php?category=shopping
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread Daniel Pielmeier

  Now do
emerge -avuND world 

...
[blocks B ] app-crypt/qca-1.0-r3 (is blocking
app-crypt/qca-2.0.0-r2)
...
So,

localhost heathen # emerge -pvC qca


These are the packages that would be unmerged:


 app-crypt/qca
selected: 2.0.0-r2
   protected: none
 omitted: none


'Selected' packages are slated for removal.
'Protected' and 'omitted' packages will not be

removed.

Seems like I've already got the package that's
supposedly blocked.

localhost heathen # emerge -vC app-crypt/qca-1.0-r3

--- Couldn't find 'app-crypt/qca-1.0-r3' to unmerge.


No packages selected for removal by unmerge



So I unmerged then remerged the one I already got and
did emerge -auvND world.

Same thing. The link to the gentoo manual says I can
just ignore that particular package but it doesn't say
how.


Are you using kde-4.0.x or why do you have app-crypt/qca-2.0.0-r2 
unmasked? You can add =app-crypt/qca-1.0-r3 ~whateverarchyouhave to 
/etc/portage.keyords and try again emerge -avuND world. Maybe you have 
to do emerge -av --oneshot =app-crypt/qca-1.0-r3 before!

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] portage confusion

2008-03-02 Thread maxim wexler

 Are you using kde-4.0.x or why do you have

kde-3.5.7. Tried to update to kde-4.0.x near the end
of January. This was after almost two years of not
updating anything. This led to a emerge -uD world
which took about a week over my string-and-can modem.
Many, many failure to build errors kept me returning
to the list for advice. See ,for instance, emerge -uD
world: another obstacle in the archive. It was like
crawling through the desert pursuing a mirage. I was
unmerging here remerging there. Maybe that's when
qca-2.0.0-r2 slipped into my system. I never
completely understood why kde-4 couldn't be emerged. I
ran update-eix and eix-sync. Even now when I do emerge
-u kde it just points to 3.5.8.

 app-crypt/qca-2.0.0-r2 
 unmasked? You can add =app-crypt/qca-1.0-r3
 ~whateverarchyouhave to 
 /etc/portage.keyords and try again emerge -avuND
 world. 

Ok, that worked. Thanks.

mw


  

Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  
http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 

-- 
gentoo-user@lists.gentoo.org mailing list