Sie sind nicht angemeldet.

[gelöst] grep gelöscht

1

12.11.2009, 22:50

grep gelöscht

Hatte eigentlich die Idee grep zu löschen und neu zu emergen, weil es beim update ein paar Probleme gab. Allerdings lässt sich grep nun gar nicht mehr installieren. Ist das reparabel? 8|

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/grep-2.5.4-r1/work/grep-2.5.4/config.log
 * 
 * ERROR: sys-apps/grep-2.5.4-r1 failed.
 * Call stack:
 *           	ebuild.sh, line   49:  Called src_configure
 *         	environment, line 2307:  Called econf '--bindir=/bin' '--enable-n
ls' '--enable-perl-regexp' '--without-included-regex'
 *           	ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                  	die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if rele
vant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/grep-2.5.4-r1/t
emp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/grep-2.5
.4-r1/temp/environment'.
 * 

>>> Failed to emerge sys-apps/grep-2.5.4-r1, Log file:

>>>  '/var/tmp/portage/sys-apps/grep-2.5.4-r1/temp/build.log'

 * Messages for package sys-apps/grep-2.5.4-r1:

 * 
 * ERROR: sys-apps/grep-2.5.4-r1 failed.
 * Call stack:
 *           	ebuild.sh, line   49:  Called src_configure
 *         	environment, line 2307:  Called econf '--bindir=/bin' '--enable-n
ls' '--enable-perl-regexp' '--without-included-regex'
 *           	ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *                  	die "econf failed"
 *  The die message:
 *   econf failed
 * 
 * If you need support, post the topmost build error, and the call stack if rele
vant.
 * A complete build log is located at '/var/tmp/portage/sys-apps/grep-2.5.4-r1/t
emp/build.log'.
 * The ebuild environment file is located at '/var/tmp/portage/sys-apps/grep-2.5
.4-r1/temp/environment'.
Gruß, TRIAGE

Dieser Beitrag wurde bereits 1 mal editiert, zuletzt von »TRIAGE« (13.11.2009, 13:18)


2

12.11.2009, 23:09

Quellcode

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# emerge -pvC sys-apps/grep

>>> These are the packages that would be unmerged:


!!! 'sys-apps/grep' is part of your system profile.
!!! Unmerging it may be damaging to your system.


 sys-apps/grep
    selected: 2.5.4-r1
   protected: none
     omitted: none

>>> 'Selected' packages are slated for removal.
>>> 'Protected' and 'omitted' packages will not be removed.
Bei so einer Warnung, besonders mit leucht Gelben und Roten Warnhinweisen mit vielen Ausrufezeichen, da sollte man stets Vorsichtig sein!

Könntest du eine Fehlermeldung posten?

3

13.11.2009, 00:47

Ich stimme jesef zu. Systempakete sollte man nicht so leichtsinnig deinstallieren. Zur Reparatur: Eventuell klappt es ja mit Busybox

Quellcode

1
2
3
4
5
6
7
mkdir /usr/local/bin/            #falls noch nicht da
ln -s /bin/busybox /usr/local/bin/grep
ln -s /bin/busybox /usr/local/bin/egrep
ln -s /bin/busybox /usr/local/bin/fgrep
export PATH=/usr/local/bin/:$PATH       # falls noch nicht im Pfad
emerge -1 grep
rm /usr/local/bin/grep /usr/local/bin/egrep /usr/local/bin/fgrep
Auch wenn Open-Source kostenlos ist, ist sie nicht umsonst. Dein Preis ist Dein Engagement und Mitarbeit an OS-Projekten.
Wenn Du keinen Preis bezahlen willst, bist Du die Ware. Und das ist nicht Open Source, geschweigedenn frei.

4

13.11.2009, 13:14

Wow, jetzt bin ich sprachlos! Vielen Dank an Euch beide. grep ist wieder installiert! Zukünftig lasse ich die Finger von den Systempaketen :thumbsup:
Gruß, TRIAGE