Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Programm ohne ebuild deinstallieren
View unanswered posts
View posts from last 24 hours
View posts from last 7 days

 
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German)
View previous topic :: View next topic  
Author Message
Tinitus
Veteran
Veteran


Joined: 20 Sep 2004
Posts: 1754

PostPosted: Sat Feb 18, 2006 2:46 am    Post subject: Programm ohne ebuild deinstallieren Reply with quote

Hallo,

ich möchte ein Programm deinstallieren, von dem es kein ebuild im Portage mehr gibt. Wie ging das noch mal?

G. R.
Back to top
View user's profile Send private message
fuchur
Guru
Guru


Joined: 12 Aug 2003
Posts: 578

PostPosted: Sat Feb 18, 2006 10:02 am    Post subject: Re: Programm ohne ebuild deinstallieren Reply with quote

Hi

Tinitus wrote:
ich möchte ein Programm deinstallieren, von dem es kein ebuild im Portage mehr gibt. Wie ging das noch mal?


Ich verstehe die frage nicht. Wenn du über portage ein ebuild installiert hast und das ebuild nun nicht mehr gibt ist das eigentlich
egal da portage alles nötige unter "/var/db/pkg/*" speichert. Einfach ein "emerge -C programm" ob ebuild vorhanden oder nicht ist eigentlich
egal.

MfG
Back to top
View user's profile Send private message
mrsteven
Veteran
Veteran


Joined: 04 Jul 2003
Posts: 1939

PostPosted: Sat Feb 18, 2006 10:31 am    Post subject: Reply with quote

Wie ist das eigentlich nochmal, wenn das Ebuild eine eclass gebraucht hat, welche inzwischen aber nicht mehr im Portage ist? Ich kann mich erinnern, dass hier im Forum vor ein paar Jahren mal jemand Probleme damit hatte.
Back to top
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Sat Feb 18, 2006 11:04 am    Post subject: Reply with quote

Dann ist das ein Bug. eclasses werden nicht entfernt.
Back to top
View user's profile Send private message
fuchur
Guru
Guru


Joined: 12 Aug 2003
Posts: 578

PostPosted: Sat Feb 18, 2006 11:06 am    Post subject: Reply with quote

Hi
mrsteven wrote:
Wie ist das eigentlich nochmal, wenn das Ebuild eine eclass gebraucht hat, welche inzwischen aber nicht mehr im Portage ist? Ich kann mich erinnern, dass hier im Forum vor ein paar Jahren mal jemand Probleme damit hatte.


Ich nehme mal an das portage heute zum deinstallieren "/var/db/pkg/*/*/CONTENTS" benötigt. Irgentwelche benutzten eclass
werden wohl nicht berücksichtigt (wüste auch nicht warum) aber vielleicht liege ich auch total daneben.

MfG
Back to top
View user's profile Send private message
UncleOwen
Veteran
Veteran


Joined: 27 Feb 2003
Posts: 1493
Location: Germany, Hamburg

PostPosted: Sat Feb 18, 2006 11:08 am    Post subject: Reply with quote

fuchur wrote:
Irgentwelche benutzten eclass
werden wohl nicht berücksichtigt (wüste auch nicht warum) aber vielleicht liege ich auch total daneben.


pkg_{pre,post}remove?
Back to top
View user's profile Send private message
fuchur
Guru
Guru


Joined: 12 Aug 2003
Posts: 578

PostPosted: Sat Feb 18, 2006 11:57 am    Post subject: Reply with quote

Hi

UncleOwen wrote:
fuchur wrote:
Irgentwelche benutzten eclass
werden wohl nicht berücksichtigt (wüste auch nicht warum) aber vielleicht liege ich auch total daneben.


pkg_{pre,post}remove?


Dann lag ich wohl doch total daneben :)

Quote:

Wie ist das eigentlich nochmal, wenn das Ebuild eine eclass gebraucht hat, welche inzwischen aber nicht mehr im Portage ist? Ich kann mich erinnern, dass hier im Forum vor ein paar Jahren mal jemand Probleme damit hatte.


Wenn in ein Ebuild eine eclass benutzt die nicht mehr vorhanden ist lässt es sich
tatsächlich nicht mehr deinstallieren. Beispiel:
Habe bei mir die eclass "python.eclass" verschoben und versucht "dbus-0.60-r3" zu deinstallieren mit dem ergebnis:

Code:

emerge -C dbus

 sys-apps/dbus
    selected: 0.60-r3
   protected: none
     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 sys-apps/dbus-0.60-r3...
No package files given... Grabbing a set.
/usr/lib/portage/bin/ebuild.sh: line 1524: /usr/portage/eclass/python.eclass: Datei oder Verzeichnis nicht gefunden

!!! ERROR: sys-apps/dbus-0.60-r3 failed.
!!! Function inherit, Line 1525, Exitcode 1
!!! died sourcing /usr/portage/eclass/python.eclass in inherit()
!!! If you need support, post the topmost build error, NOT this status message.

!!! FAILED prerm: 1


MfG
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Deutsches Forum (German) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum