View previous topic :: View next topic |
Author |
Message |
mmontg1 Tux's lil' helper
Joined: 21 Jun 2002 Posts: 129
|
Posted: Wed Jan 21, 2004 9:15 pm Post subject: Cannot unmerge due to missing eclass |
|
|
Mod edit: Changed title from package specific to problem specific. --kallamej
raid kdelibs # emerge -c kdelibs
kde-base/kdelibs
selected: 3.1
protected: 2.2.2a 3.0.4 3.1.5
omitted: none
>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
>>> Waiting 5 seconds before starting...
>>> (Control-C to abort)...
>>> Unmerging in: 5 4 3 2 1
>>> Unmerging kde-base/kdelibs-3.1...
No package files given... Grabbing a set.
Lockfile removed: /var/db/pkg/kde-base/kdelibs-3.1.portage_lockfile
Lockfile removed: /var/db/pkg/kde-base/kdelibs-3.1.portage_lockfile
/usr/sbin/ebuild.sh: /usr/portage/eclass/kde.org.eclass: No such file or directory
!!! ERROR: kde-base/kdelibs-3.1 failed.
!!! Function inherit, Line 83, Exitcode 1
!!! died sourcing /usr/portage/eclass/kde.org.eclass in inherit()
!!! FAILED prerm: 1
raid kdelibs #
Any ideas on this... I searched the forums, and am kinda stuck.
Thanks a ton guys. |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Wed Jan 21, 2004 9:56 pm Post subject: |
|
|
-c is not -C
Carlo _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
mmontg1 Tux's lil' helper
Joined: 21 Jun 2002 Posts: 129
|
Posted: Sun Jan 25, 2004 1:02 am Post subject: Autocleaning packages.... |
|
|
This was first noticed when portage tries to auto clean this package. -C gives the error message also... Thanks for the update though
Anybody else got any ideas on this one? |
|
Back to top |
|
|
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Sat Feb 07, 2004 12:50 pm Post subject: |
|
|
I have the same problem.
The first line of code in kdelibs-3.1-r2.ebuild is
Code: | inherit kde kde.org |
But in /usr/portage/eclass I only found the file kde.eclass.
kde.org.eclass does not exist - neither in this directory nor in anywhere else. I also searched on two other Gentoo boxes - no kde.org.eclass.
So what to do? _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
|
spitzwegerich l33t
Joined: 04 Mar 2003 Posts: 697 Location: Lower Bavaria, Central Europe
|
Posted: Sat Feb 07, 2004 12:54 pm Post subject: |
|
|
I changed the line in the kdelibs ebuild to
and did the unmerge.
It seems to have worked without problems. _________________ "Work is the curse of the drinking classes."
-Oskar Wilde |
|
Back to top |
|
|
Gigantopithicus n00b
Joined: 05 Aug 2002 Posts: 17 Location: Chicago, IL
|
Posted: Tue Apr 20, 2004 4:56 pm Post subject: |
|
|
I also had the same problem. However, I did not find the inherit statement in any of the kdelib ebuilds that contained kde.org. So, as a quick fix, I symlinked them as such:
ln -s /usr/portage/eclass/kde.eclass /usr/portage/eclass/kde.org.eclass
... worked fine. |
|
Back to top |
|
|
Carlo Developer
Joined: 12 Aug 2002 Posts: 3356
|
Posted: Tue Apr 20, 2004 5:26 pm Post subject: |
|
|
Thanks for pointing me to this topic again!
edit: Portage doesn't keep up with eclasses, which do not exist anymore. This can happen, because Portage doesn't reflect the removal of eclasses in already installed ebuilds.
There are three alternative ways to fix 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/<foo>/<bar>
3. remove the files installed by the ebuild by hand
The first alternative is the best of course.
Bug 46223
Carlo _________________ Please make sure that you have searched for an answer to a question after reading all the relevant docs. |
|
Back to top |
|
|
joehni Apprentice
Joined: 27 Jul 2003 Posts: 175
|
Posted: Sun Aug 29, 2004 10:28 pm Post subject: |
|
|
Just for the records: One suggestion to deal with the problem was to create the missing eclass file with touch. I had the problem with package app-i18n/kde-i18n-de that referenced removed kde-i18n.eclass. After creating the empty file, I was able to unmerge the package - at least emerge told me, that it had successfully removed it. Unfortunately I had to detect later, that the package was still referenced in my system. Only after restoring the kde-i18n.eclass with the latest version from CVS enabled emerge to unmerge kde-i18n-de in a permanent way. |
|
Back to top |
|
|
|