Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Portage defekt: there is no ebuild "portage"
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
KaterGonzo
Apprentice
Apprentice


Joined: 01 Apr 2004
Posts: 155

PostPosted: Wed Apr 09, 2014 6:11 pm    Post subject: Portage defekt: there is no ebuild "portage" Reply with quote

Hallo Leute,

wurde heute vor einem Gentoo-Server gesetzt, dessen emerge last sync vor zwei (!) Jahren erfolgte. Nachdem ich emerge --sync gemacht hatte, ging gar nix mehr. EAPI5 usw...

Daraufhin habe ich folgende Anleitung verfolgt und jetzt geht nichts mehr.

https://www.gentoo.org/proj/en/portage/doc/manually-fixing-portage.xml

Ich kann noch nicht mal portage aktualisieren.

Quote:
bck-gentoo-msi02 portage-2.2.7 # eselect list profile
!!! Error: Can't load module list
exiting
bck-gentoo-msi02 portage-2.2.7 # emerge clea^C
bck-gentoo-msi02 portage-2.2.7 # ^C
bck-gentoo-msi02 portage-2.2.7 # clear
bck-gentoo-msi02 portage-2.2.7 # emerge --sync

* IMPORTANT: 19 config files in '/etc' need updating.
* See the CONFIGURATION FILES section of the emerge
* man page to learn how to update config files.

* An update to portage is available. It is _highly_ recommended
* that you update portage now, before any other packages are updated.

* To update portage, run 'emerge --oneshot portage' now.

bck-gentoo-msi02 portage-2.2.7 # emerge portage
Calculating dependencies... done!

emerge: there are no ebuilds to satisfy "portage".
bck-gentoo-msi02 portage-2.2.7 # emerge --info
Portage 2.2.7 (!../usr/portage/profiles/default/linux/amd64/13.0, gcc-4.4.5, glibc-2.11.3, 2.6.37-gentoo-r4 x86_64)
=================================================================
System uname: Linux-2.6.37-gentoo-r4-x86_64-Intel-R-_Xeon-TM-_CPU_3.20GHz-with-gentoo-1.12.14
KiB Mem: 2056468 total, 730828 free
KiB Swap: 2104508 total, 2103920 free
Timestamp of tree: Unknown
ld GNU ld (GNU Binutils) 2.20.1.20100303
dev-lang/python: 2.7.1-r1::gentoo, 3.1.3-r1::gentoo
sys-devel/autoconf: 2.65-r1::gentoo
sys-devel/automake: 1.11.1::gentoo
sys-devel/binutils: 2.20.1-r1::gentoo
sys-devel/libtool: 2.2.10::gentoo
sys-kernel/linux-headers: 2.6.36.1::gentoo (virtual/os-headers)
Repositories:
ACCEPT_KEYWORDS="amd64"
ACCEPT_LICENSE="* -@EULA"
CFLAGS="-march=nocona -O2 -pipe"
CHOST="x86_64-pc-linux-gnu"
CONFIG_PROTECT="/etc"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/env.d/java/ /etc/fonts/fonts.conf /etc/gconf /etc/php/apache2-php5.3/ext-active/ /etc/php/cgi-php5.3/ext-active/ /etc/php/cli-php5.3/ext-active/ /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-march=nocona -O2 -pipe"
DISTDIR="/usr/portage/distfiles"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs unmerge-orphans userfetch userpriv usersandbox usersync"
GENTOO_MIRRORS="ftp://ftp.wh2.tu-dresden.de/pub/mirrors/gentoo/ http://gentoo.intergenia.de http://www.die.unipd.it/pub/Linux/distributions/gentoo-sources/ ftp://ftp6.uni-muenster.de/pub/linux/distributions/gentoo http://lug.mtu.edu/gentoo/"
PKGDIR="/usr/portage/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR=""
PORTDIR_OVERLAY=""
USE="acl acpi amd64 apache2 auth_digest berkdb bzip2 cdr cgi cli command-args cracklib crypt ctype curl cxx digest dri dvd filter fortran freetype gd gdbm gif iconv imap ipv6 java jpeg jpg json latin1 lzw mmx modules multilib mysql ncurses nls nptl openmp pam pcre php png readline sasl session snmp spl sse sse2 ssl syslog tcpd tiff truetype truetype2 unicode vhosts xml zlib" ABI_X86="64" ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" APACHE2_MODULES="authn_core authz_core socache_shmcb unixd actions alias auth_basic authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias auth_digest" CALLIGRA_FEATURES="kexi words flow plan sheets stage tables krita karbon braindump author" CAMERAS="ptp2" COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" ELIBC="glibc" GPSD_PROTOCOLS="ashtech aivdm earthmate evermore fv18 garmin garmintxt gpsclock itrax mtk3301 nmea ntrip navcom oceanserver oldstyle oncore rtcm104v2 rtcm104v3 sirf superstar2 timing tsip tripmate tnt ublox ubx" INPUT_DEVICES="keyboard mouse evdev" KERNEL="linux" LCD_DEVICES="bayrad cfontz cfontz633 glk hd44780 lb216 lcdm001 mtxorb ncurses text" LIBREOFFICE_EXTENSIONS="presenter-console presenter-minimizer" LINGUAS="de" OFFICE_IMPLEMENTATION="libreoffice" PHP_TARGETS="php5-5" PYTHON_SINGLE_TARGET="python2_7" PYTHON_TARGETS="python2_7 python3_3" RUBY_TARGETS="ruby19 ruby20" USERLAND="GNU" VIDEO_CARDS="fbdev glint intel mach64 mga nouveau nv r128 radeon savage sis tdfx trident vesa via vmware dummy v4l" XTABLES_ADDONS="quota2 psd pknock lscan length2 ipv4options ipset ipp2p iface geoip fuzzy condition tee tarpit sysrq steal rawnat logmark ipmark dhcpmac delude chaos account"
Unset: EMERGE_DEFAULT_OPTS, PORTAGE_BUNZIP2_COMMAND
Back to top
View user's profile Send private message
py-ro
Veteran
Veteran


Joined: 24 Sep 2002
Posts: 1733
Location: St. Wendel

PostPosted: Wed Apr 09, 2014 6:14 pm    Post subject: Reply with quote

Kurze Antwort, vergiss es, sichere die relevanten Configs und mach das Ding neu.

Dirty Antwort, entpacke nen stage3 und mach nen World Update.

Lange Antwort, naja, sehr viel schmerz und ohne zweites System fast nicht machbar.

Bye
Py
Back to top
View user's profile Send private message
toralf
Developer
Developer


Joined: 01 Feb 2004
Posts: 3691
Location: Hamburg

PostPosted: Wed Apr 09, 2014 8:06 pm    Post subject: Re: Portage defekt: there is no ebuild "portage" Reply with quote

KaterGonzo wrote:
... ging gar nix mehr ......und jetzt geht nichts mehr.
Und hier die blöde Antwort: Die Tendenz ist doch schon mal positiv :-D
Back to top
View user's profile Send private message
KaterGonzo
Apprentice
Apprentice


Joined: 01 Apr 2004
Posts: 155

PostPosted: Wed Apr 09, 2014 8:43 pm    Post subject: Reply with quote

Vielen Dank für die Antworten!

Das ist eben das Problem, wenn zu langr keine Updates eingepflegt wurden: man braucht emerge --sync, um Portage zu aktualisieren, führt man es aus, ist Portage defekt. Klassische Zwickmühle :-)

So: zweites System steht zur Verfügung. Wie fahre ich den karren nun wieder aus dem Dreck?konkret gefragt: wie kriege ich emerge funktionsfähig?

Danke!
Back to top
View user's profile Send private message
bell
Guru
Guru


Joined: 27 Nov 2007
Posts: 482

PostPosted: Fri Apr 11, 2014 7:48 am    Post subject: Reply with quote

Hier hatte ich mal eine Vorgehensweise beschrieben wie man Gentoo retten kann, solange /var/db/pkg noch da ist.
http://www.gentooforum.de/post/113778/gesamtes-verzeichnis-usr-bin-geloescht.html#post113778
Mal schauen ob es bei Deinem Problem hilft.
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