Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

emerge sync killed portage

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
8 posts • Page 1 of 1
Author
Message
sw4qw
n00b
n00b
Posts: 29
Joined: Mon Aug 01, 2005 4:00 am

emerge sync killed portage

  • Quote

Post by sw4qw » Fri Feb 03, 2006 11:15 pm

Just like the title says.
When it got to the part at the end where it says its updating the portage cache, it seems to get anywhere from 80-95% done then i get:

!!! Cannot resolve a virtual package name to an ebuild.
!!! This is a bug, please report it. (virtual/libintl-0)

What the heck do I do now? Now I get that same result whenever I try to use emerge. Help in a non-destructive-to-my-current-configuration kind of way would be much appreciated.
Top
ecatmur
Advocate
Advocate
User avatar
Posts: 3595
Joined: Mon Oct 20, 2003 8:07 pm
Location: Edinburgh
Contact:
Contact ecatmur
Website

  • Quote

Post by ecatmur » Fri Feb 03, 2006 11:37 pm

Update portage.
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Top
sw4qw
n00b
n00b
Posts: 29
Joined: Mon Aug 01, 2005 4:00 am

  • Quote

Post by sw4qw » Fri Feb 03, 2006 11:43 pm

You mean like how?

emerge -u portage

gives me the same error. Everything involving emerge gives me that error now.
Top
ecatmur
Advocate
Advocate
User avatar
Posts: 3595
Joined: Mon Oct 20, 2003 8:07 pm
Location: Edinburgh
Contact:
Contact ecatmur
Website

  • Quote

Post by ecatmur » Sat Feb 04, 2006 12:04 am

Hm. Try nuking everything in /usr/portage outside /usr/portage/sys-apps/portage and /usr/portage/eclass.
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Top
sw4qw
n00b
n00b
Posts: 29
Joined: Mon Aug 01, 2005 4:00 am

  • Quote

Post by sw4qw » Sat Feb 04, 2006 12:52 am

Remove everything but those two directories in /usr/portage?

Then do what? After that emerge -u portage says:

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

So anyway, tried emerge --sync again and it seems to have gone ok, after it finished it said:

*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.

The next command emerge -u portage failed again with the same error as before.
Top
ecatmur
Advocate
Advocate
User avatar
Posts: 3595
Joined: Mon Oct 20, 2003 8:07 pm
Location: Edinburgh
Contact:
Contact ecatmur
Website

  • Quote

Post by ecatmur » Sat Feb 04, 2006 8:12 am

Ah... I should have said to leave /usr/portage/profiles.

It might be easier to run:

Code: Select all

ebuild /usr/portage/sys-apps/portage/portage-2.0.54.ebuild merge
This will install portage 2.0.54 without going through emerge.
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Top
sw4qw
n00b
n00b
Posts: 29
Joined: Mon Aug 01, 2005 4:00 am

  • Quote

Post by sw4qw » Sat Feb 04, 2006 10:37 am

Well, I didn't actually delete any of that stuff, just moved it to a backup folder in my home directory so no big deal.

Interestingly enough, this whole fiasco is the end result of me almost NEVER running emerge to update anything. So yeah, the next time I ran emerge -u portage it worked and now I'm ready to start into a habit of updating more regularly to avoid doing this again.

One question left though, I cannot update the hardware abstraction layer without first updating the kernel, mine is 2.6.11, how would I go about running emerge -u world and tell it to skip sys-apps/hal?
Top
ecatmur
Advocate
Advocate
User avatar
Posts: 3595
Joined: Mon Oct 20, 2003 8:07 pm
Location: Edinburgh
Contact:
Contact ecatmur
Website

  • Quote

Post by ecatmur » Sat Feb 04, 2006 3:09 pm

Ah, good.

Yeah, this happens now and again - the Portage devs make changes to the tree which break older, deprecated versions of portage. It's unavoidable, really; if you want to be able to use portage with a current tree you have to update portage occasionally.

To skip hal, you could temporarily mask it: echo ">=sys-apps/hal-0.5" >> /etc/portage/package.mask.
No more cruft
dep: Revdeps that work
Using command-line ACCEPT_KEYWORDS?
Top
Post Reply

8 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic