Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 118498 - Can't upgrade portage
Summary: Can't upgrade portage
Status: RESOLVED DUPLICATE of bug 63400
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: AMD64 Linux
: High normal (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-01-10 00:51 UTC by Mike Blazer
Modified: 2006-01-10 04:11 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike Blazer 2006-01-10 00:51:40 UTC
Hello guys,
I run gentoo for what 1.5 years without upgrades on 2 amd64 servers.
cat /proc/version
Linux version 2.6.9 (my@mail.com) (gcc version 3.3.3 20040412 (Gent
oo Linux 3.3.3-r6, ssp-3.3.2-2, pie-8.7.6)) #1 SMP Mon Nov 1 13:08:53 PST 2004

Now that I need to install new software I did
emerge sync

and loaded the huge portages tree.
At the end of the report it said:

>>> Updating Portage cache... -/usr/sbin/ebuild.sh: line 7: need-gnustep-gui: co
mmand not found                                                                -
/usr/sbin/ebuild.sh: line 7: need-gnustep-gui: command not found               /
kde                                                                            -
kde                                                                            \
 * Please upgrade your package (gempak-5.6m) to use toolchain-funcs.eclass     |
 * Please upgrade your package (gempak-5.7.2_p2) to use toolchain-funcs.eclass \
 * Please upgrade your package (molden-3.9) to use toolchain-funcs.eclass      |
 * Please upgrade your package (molden-4.0) to use toolchain-funcs.eclass      /
 * Please upgrade your package (molden-4.1) to use toolchain-funcs.eclass      \
 * Please upgrade your package (primegen-0.97) to use toolchain-funcs.eclass   |
 * Please upgrade your package (rasmol-2.7.1.1) to use toolchain-funcs.eclass  /
 * Please upgrade your package (rasmol-2.7.2.1.1) to use toolchain-funcs.eclass-
 * Please upgrade your package (xfoil-6.94) to use toolchain-funcs.eclass      \
 * Please upgrade your package (xfoil-6.94-r1) to use toolchain-funcs.eclass   \
!!! Cannot resolve a virtual package name to an ebuild.
!!! This is a bug, please report it. (virtual/libstdc++-3.3)

Failed cache update: virtual/libstdc++-3.3                                     |
!!! Cannot resolve a virtual package name to an ebuild.
!!! This is a bug, please report it. (virtual/x11-6.8)

Failed cache update: virtual/x11-6.8                                            
...done!

</QUOTE>
Then few statements like this
Performing Global Updates: /usr/portage/profiles/updates/3Q-2002

and finally
 ** Skipping packages. Run 'fixpackages' or set it in FEATURES to fix the
    tbz2's in the packages directory. Note: This can take a very long time.

 * An update to portage is available. It is _highly_ recommended
 * that you update portage now, before any other packages are updated.
 * Please do so and then update ALL of your configuration files.


I see some bugs here that mean to be reported.

Before that /etc/make.profile was symlinked to ../usr/portage/profiles/default-amd64-2004.0/

now this symlink was broken. I tried emerge  --update  portage but got this report
!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?

I removed the orphaned symlink and got more:
!!! /etc/make.profile is not a symlink and will probably prevent most merges.
!!! It should point into a profile within /usr/portage/profiles/
!!! (You can safely ignore this message when syncing. It's harmless.)


!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?

Then I tried
> ln -s /usr/portage/profiles/default-linux/amd64/2005.1/ /etc/make.profile

> emerge  --update  portage

now the  bug report looks like:
!!! 'str' object has no attribute 'insert'
!!! 'rm -Rf /usr/portage/profiles; emerge sync' may fix this. If it does
!!! not then please report this to bugs.gentoo.org and, if possible, a dev
!!! on #gentoo (irc.freenode.org)

I did that but this ain't help.

The old emerge version (on the other server that I didn't touch):
> emerge --version
Portage 2.0.50-r3 (default-amd64-2004.0, gcc-3.3.3, glibc-2.3.2-r9, 2.6.9)

I didn't play much with gentoo, these 2 servers run my perl programms perfectly well. I'd not like to stop it and upgrade everything.
Could you please help me to fix the portage system so that I could install the new software?

Thanks in advance
Mike Blazer
Comment 1 Jakub Moc (RETIRED) gentoo-dev 2006-01-10 02:24:13 UTC
See Bug 63400, comment #49

*** This bug has been marked as a duplicate of 63400 ***
Comment 2 Mike Blazer 2006-01-10 03:26:38 UTC
Thanks, that's the 1st thing that came to my mind.
I copied the old /usr/portage/profiles from another server.

But it still does not do what I wanted:
> emerge --pretend vlc

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

Calculating dependencies |
!!! all ebuilds that could satisfy ">=media-libs/freetype-2.1.8" have been maske
d.
!!! possible candidates are:
- media-libs/freetype-2.1.10 (masked by: package.mask, ~keyword)
- media-libs/freetype-2.1.9-r1 (masked by: package.mask)
!!!    (dependency required by "x11-base/xorg-x11-6.8.2-r6" [ebuild])

!!! Error calculating dependencies. Please correct.

I checked all package.mask files and did not find anything about freetype.
packages.gentoo.org says that freetype-2.1.9-r1 is tested for amd64 - I could not find where is it masked.
Maybe ths is another question or probably related to the roughly fixed emerge.

I also got something likethat trying to upgrade portage:

> emerge  --update  portage
Calculating dependencies
!!! all ebuilds that could satisfy "portage" have been masked.
!!! possible candidates are:
- sys-apps/portage-2.0.51.22-r3 (masked by: package.mask)
- sys-apps/portage-2.0.53 (masked by: package.mask)
- sys-apps/portage-2.0.54 (masked by: package.mask, ~keyword)
- sys-apps/portage-2.1_pre3-r1 (masked by: package.mask, ~keyword)

!!! Error calculating dependencies. Please correct.

Thanks a lot for any input

Mike Blazer
Comment 3 Jakub Moc (RETIRED) gentoo-dev 2006-01-10 03:34:22 UTC
(In reply to comment #2)
> Thanks, that's the 1st thing that came to my mind.
> I copied the old /usr/portage/profiles from another server.

No. As noted in the comment referred to above, you need to 

ln -s /usr/portage/profiles/obsolete/amd64 /etc/make.profile

then upgrade portage, then just move to the normal profile and upgrade. Don't copy some weird profiles from somewhere, they don't reflect the current state of the rest of the tree.


*** This bug has been marked as a duplicate of 63400 ***
Comment 4 Mike Blazer 2006-01-10 04:02:22 UTC
ah, sorry-it was masked in old profile as .51 was intesting
Comment 5 Mike Blazer 2006-01-10 04:11:04 UTC
yes, thanks, that's exactly what I did :)

after that emerge portage asked me for many gcc upgrades but
emerge =portage-2.0.51.22-r3

compiled fine  - after I commented out the portage-related line in package.mask of that directory

Thanks a lot!
Mike