Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Frequently Asked Questions
  • Search

GF19: Emerge fails to unmerge a package.

Some of the most commonly heard questions in the Gentoo Community, along with answers.
Post Reply
Advanced search
1 post • Page 1 of 1
Author
Message
kallamej
Administrator
Administrator
User avatar
Posts: 4993
Joined: Fri Jun 27, 2003 10:05 am
Location: Gothenburg, Sweden

GF19: Emerge fails to unmerge a package.

  • Quote

Post by kallamej » Thu Jan 13, 2005 2:45 pm

Navigation: [[topic=30565]Gentoo Fundamentals[/topic]] [[topic=23350]Table of Contents[/topic]]

Q: I have upgraded a package, but the old version fails to unmerge. What should I do if:
  • It complains about an unexpected EOF while looking for matching `"' in /var/db/pkg/<cat>/<pkg-version>/<pkg-version>.ebuild?

    A: This is caused by an old bug that replaced a " with, typically, ^A. Edit the ebuild in /var/db/... manually, or try running the (unmaintained) fixvardbentries script.
    See Unexpected EOF error on unmerging for more info and support.
  • It complains about a missing eclass?

    A: There are a number of ways to solve this:
    1. Grab the old eclass from CVS and put it in /usr/portage/eclass, before unmerging
    2. Edit the saved ebuild in /var/db/pkg/<cat>/<pkg-version>
    3. Remove the files installed by the ebuild by hand
    Taken from [post=1062142]this post[/post] in [topic=126968]Cannot unmerge due to missing eclass[/topic]. Note that if you're using ebuilds from an overlay, you have to be careful with eclasses from that overlay. Such eclasses must be kept as long as you have an ebuild from that overlay still installed.
  • I get a traceback?

    A: There is probably corruption in your package database. Check the files in /var/db/pkg/<cat>/<pkg-version> for null characters, carriage returns or whatever else that shouldn't be there. Chances are that re-emerging the old version and then upgrading solves the problem. More info can be found [post=3878382]here[/post], [topic=244200]here[/topic] and [topic=224817]here[/topic], for instance.
2005-08-08: Updated unexpected EOF section since fixvardbentries is no longer distributed with portage. --kallamej
2006-06-29: Added note about eclasses and overlays. --kallamej
2007-05-19: Added one more link to the traceback section and switched to post and topic tags. --kallamej
Please read our FAQ Forum, it answers many of your questions.
irc: #gentoo-forums on irc.libera.chat
Top
Post Reply
1 post • Page 1 of 1

Return to “Frequently Asked Questions”

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