Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 123441 - Emerge Sync gives : virtual package error
Summary: Emerge Sync gives : virtual package error
Status: RESOLVED DUPLICATE of bug 114798
Alias: None
Product: Portage Development
Classification: Unclassified
Component: Core - Interface (emerge) (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Portage team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-19 21:29 UTC by Tarun Garg
Modified: 2006-02-19 21:33 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 Tarun Garg 2006-02-19 21:29:28 UTC
>>> Updating Portage cache... -!!! Cannot resolve a virtual package name to an ebuild.
!!! This is a bug, please report it. (virtual/libintl-0)



After this error if we try to emerge anything for e.g

emerge mplayer

We get the following error.bash-2.05b# emerge mplayer
!!! ARCH is not set... Are you missing the /etc/make.profile symlink?
!!! Is the symlink correct? Is your portage tree complete?



----------------------- emerge --info ---------------------------------bash-2.05b# emerge --info
Portage 2.0.51-r3 (default-linux/x86/2004.3, gcc-3.3.4, glibc-2.3.4.20040808-r1, 2.6.7 i686)
=================================================================
System uname: 2.6.7 i686 Intel(R) Pentium(R) 4 CPU 2.80GHz
Gentoo Base System version 1.4.16
Autoconf: sys-devel/autoconf-2.59-r5
Automake: sys-devel/automake-1.8.5-r1
Binutils: sys-devel/binutils-2.15.90.0.1.1-r3
Headers:  sys-kernel/linux-headers-2.4.21-r1
Libtools: sys-devel/libtool-1.5.2-r7
ACCEPT_KEYWORDS=""
AUTOCLEAN="yes"
CFLAGS="-O2 -march=i686 -fomit-frame-pointer"
CHOST="i686-pc-linux-gnu"
COMPILER=""
CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /var/qmail/control"
CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d"
CXXFLAGS="-O2 -march=i686 -fomit-frame-pointer"
DISTDIR="/usr/portage/distfiles"
FEATURES="autoaddcvs ccache distlocks sandbox"
GENTOO_MIRRORS="http://gentoo.osuosl.org http://distro.ibiblio.org/pub/Linux/distributions/gentoo"
MAKEOPTS="-j2"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
PORTDIR_OVERLAY=""
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="alsa apache cups foomaticdb gnome gtk other_var1 other_var2 pam ppds ssl usb"

--------------------------------------------------------------------------------------
Comment 1 Alec Warner (RETIRED) archtester gentoo-dev Security 2006-02-19 21:33:29 UTC
The first error is a dupe, the second error indicates one of two things.  Either your /etc/make.profile symlink is wrong, or your ${PORTDIR}/profiles directory is hosed.

To fix the first error, you should emerge portage.  However that probably won't work until you fix the profile issue.  Try:
readlink /etc/make.profile

And if that returns something like 
"/usr/portage/profiles/default-linux/x86/2004.3", then you probably want to make sure that directory is populated.

*** This bug has been marked as a duplicate of 114798 ***