Ein Neuling macht heftigen Fehler......

roggi

New Member
Juhu,

da bin ich wieder........

Da ich zu den Leuten gehöre, bei denen lerning by doing groß geschrieben steht, habe ich wohl gestern einen fatalen Fehler begangen.

Angefangen hat alles damit, dass ich nur CoDII installieren wollte.

Das Spiel benötigt libstdc++6. Dies habe ich ums verrecken nicht zum Laufen bekommen. Also habe ich Google und Co bemüht. Ein Ergebnis war u.a. die Anwendung von
Code:
apt-get -f install

was wohl nicht so eine gute Idee war.

Ergebnis:
Code:
Entferne mysql-server ...
Entferne mysql-server-5.0 ...
Stopping MySQL database server: mysqld.
Entferne mysql-client ...
Entferne mysql-client-5.0 ...
Entferne vlc ...
Entferne vlc-nox ...
Entferne telnet ...
Entferne nmap ...
Entferne libwxgtk2.6-0 ...
Entferne libwxbase2.6-0 ...
Entferne libvlc0 ...
Entferne build-essential ...
Entferne g++ ...
Entferne libmodplug0c2 ...
Entferne libglu1-mesa ...
Entferne w3m ...
Entferne libgc1c2 ...
Entferne libcaca0 ...
Entferne php5-pspell ...
Entferne libaspell15 ...
Entferne man-db ...
Entferne groff-base ...
Entferne dselect ...
Entferne apt-utils ...
Entferne g++-4.1 ...
Entferne libstdc++6-4.1-dev ...
Entferne tasksel ...
Entferne tasksel-data ...
Entferne aptitude ...
Entferne libsigc++-2.0-0c2a ...
Entferne apt ...
Entferne libstdc++6 ...

Wie gesagt, war keine gute Idee......

Wie bekomme ich das wieder hin?

Gruß

Ralf
 
Blindes Abtippen ist nicht unbedingt ein intelligentes Vorgehen, aber das hast Du jetzt ja am eigenen Leib gespürt.

Entweder Du installierst alle genannten Packages von Hand wieder ein oder Du reinitialisierst die Kiste.

--marneus
 
Blindes Abtippen ist nicht unbedingt ein intelligentes Vorgehen, aber das hast Du jetzt ja am eigenen Leib gespürt.

--marneus

Oh Ja,

aber warum muss ich das so hart erfahren.....:mad:

Halt eigene Dummheit..........

Von Hand habe ich noch nie installiert- werde mich mal versuchen.

Vielen Dank....

Gruß

Ralf
 
Code:
apt-get install mysql-server

Geht nur schlecht solang er kein apt installiert hat. ^^

@roggi: Schau mal ob es die Befehle "tar" und "wget" noch gibt, wenn ja:
Code:
wget http://germany-irc.de/blah.tar
tar xfv blah.tar -C /
 
Er wird sich als Anfänger ohne apt schon recht hart tun... ich würde die Kiste neu installieren, und nochmal sauber aufsetzen. So ist das nur ein einziges gebastel, und er kriegt nicht mal mehr Sicherheitsupdates etc.

lg Basti
 
Wieder was dazu gelernt, ich wusste nicht, dass man mit apt apt entfernen kann :confused:

Ich würde auch dazu raten: Neuaufsetzen. Alles andere wäre nur Gefrickel.

Deswegen empfehlen wir ja auch immer Neuligen zuerst einmal zu Hause auf einem Virtuellen System oder einer Linuxkiste "rumzuspielen", denn dann wäre dir DAS erspart geblieben :)
 
@roggi: Schau mal ob es die Befehle "tar" und "wget" noch gibt, wenn ja:
Code:
wget http://germany-irc.de/blah.tar
tar xfv blah.tar -C /

hat funktioniert:
Code:
wget http://germany-irc.de/blah.tar
gibt folgendes aus:

Code:
ks363228:/home/cod2-server# wget http://germany-irc.de/blah.tar
--15:59:29--  http://germany-irc.de/blah.tar
           => `blah.tar.1'
Auflösen des Hostnamen »germany-irc.de«.... 85.214.125.207
Verbindungsaufbau zu germany-irc.de|85.214.125.207|:80... verbunden.
HTTP Anforderung gesendet, warte auf Antwort... 200 OK
Länge: 3.758.080 (3.6M) [application/x-tar]

100%[=================================================================================================================>] 3.758.080      6.68M/s

15:59:30 (6.67 MB/s) - »blah.tar.1« gespeichert [3758080/3758080]

Ausgabe bei:
Code:
tar xfv blah.tar -C /

Code:
./usr/share/bug/apt/script
./usr/share/apt/
./usr/share/apt/debian-archive.gpg
./usr/share/locale/
./usr/share/locale/bg/
./usr/share/locale/bg/LC_MESSAGES/
./usr/share/locale/bg/LC_MESSAGES/apt.mo
./usr/share/locale/bg/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/bg/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/bs/
./usr/share/locale/bs/LC_MESSAGES/
./usr/share/locale/bs/LC_MESSAGES/apt.mo
./usr/share/locale/bs/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/bs/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/ca/
./usr/share/locale/ca/LC_MESSAGES/
./usr/share/locale/ca/LC_MESSAGES/apt.mo
./usr/share/locale/ca/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/ca/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/cs/
./usr/share/locale/cs/LC_MESSAGES/
./usr/share/locale/cs/LC_MESSAGES/apt.mo
./usr/share/locale/cs/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/cs/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/cy/
./usr/share/locale/cy/LC_MESSAGES/
./usr/share/locale/cy/LC_MESSAGES/apt.mo
./usr/share/locale/cy/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/cy/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/da/
./usr/share/locale/da/LC_MESSAGES/
./usr/share/locale/da/LC_MESSAGES/apt.mo
./usr/share/locale/da/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/da/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/de/
./usr/share/locale/de/LC_MESSAGES/
./usr/share/locale/de/LC_MESSAGES/apt.mo
./usr/share/locale/de/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/de/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/el/
./usr/share/locale/el/LC_MESSAGES/
./usr/share/locale/el/LC_MESSAGES/apt.mo
./usr/share/locale/el/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/el/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/en_GB/
./usr/share/locale/en_GB/LC_MESSAGES/
./usr/share/locale/en_GB/LC_MESSAGES/apt.mo
./usr/share/locale/en_GB/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/en_GB/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/es/
./usr/share/locale/es/LC_MESSAGES/
./usr/share/locale/es/LC_MESSAGES/apt.mo
./usr/share/locale/es/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/es/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/eu/
./usr/share/locale/eu/LC_MESSAGES/
./usr/share/locale/eu/LC_MESSAGES/apt.mo
./usr/share/locale/eu/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/eu/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/fi/
./usr/share/locale/fi/LC_MESSAGES/
./usr/share/locale/fi/LC_MESSAGES/apt.mo
./usr/share/locale/fi/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/fi/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/fr/
./usr/share/locale/fr/LC_MESSAGES/
./usr/share/locale/fr/LC_MESSAGES/apt.mo
./usr/share/locale/fr/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/fr/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/gl/
./usr/share/locale/gl/LC_MESSAGES/
./usr/share/locale/gl/LC_MESSAGES/apt.mo
./usr/share/locale/gl/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/gl/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/he/
./usr/share/locale/he/LC_MESSAGES/
./usr/share/locale/he/LC_MESSAGES/apt.mo
./usr/share/locale/he/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/he/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/hu/
./usr/share/locale/hu/LC_MESSAGES/
./usr/share/locale/hu/LC_MESSAGES/apt.mo
./usr/share/locale/hu/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/hu/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/it/
./usr/share/locale/it/LC_MESSAGES/
./usr/share/locale/it/LC_MESSAGES/apt.mo
./usr/share/locale/it/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/it/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/ja/
./usr/share/locale/ja/LC_MESSAGES/
./usr/share/locale/ja/LC_MESSAGES/apt.mo
./usr/share/locale/ja/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/ja/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/ko/
./usr/share/locale/ko/LC_MESSAGES/
./usr/share/locale/ko/LC_MESSAGES/apt.mo
./usr/share/locale/ko/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/ko/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/nb/
./usr/share/locale/nb/LC_MESSAGES/
./usr/share/locale/nb/LC_MESSAGES/apt.mo
./usr/share/locale/nb/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/nb/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/nl/
./usr/share/locale/nl/LC_MESSAGES/
./usr/share/locale/nl/LC_MESSAGES/apt.mo
./usr/share/locale/nl/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/nl/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/nn/
./usr/share/locale/nn/LC_MESSAGES/
./usr/share/locale/nn/LC_MESSAGES/apt.mo
./usr/share/locale/nn/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/nn/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/pl/
./usr/share/locale/pl/LC_MESSAGES/
./usr/share/locale/pl/LC_MESSAGES/apt.mo
./usr/share/locale/pl/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/pl/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/pt/
./usr/share/locale/pt/LC_MESSAGES/
./usr/share/locale/pt/LC_MESSAGES/apt.mo
./usr/share/locale/pt/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/pt/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/pt_BR/
./usr/share/locale/pt_BR/LC_MESSAGES/
./usr/share/locale/pt_BR/LC_MESSAGES/apt.mo
./usr/share/locale/pt_BR/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/pt_BR/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/ro/
./usr/share/locale/ro/LC_MESSAGES/
./usr/share/locale/ro/LC_MESSAGES/apt.mo
./usr/share/locale/ro/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/ro/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/ru/
./usr/share/locale/ru/LC_MESSAGES/
./usr/share/locale/ru/LC_MESSAGES/apt.mo
./usr/share/locale/ru/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/ru/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/sk/
./usr/share/locale/sk/LC_MESSAGES/
./usr/share/locale/sk/LC_MESSAGES/apt.mo
./usr/share/locale/sk/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/sk/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/sl/
./usr/share/locale/sl/LC_MESSAGES/
./usr/share/locale/sl/LC_MESSAGES/apt.mo
./usr/share/locale/sl/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/sl/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/sv/
./usr/share/locale/sv/LC_MESSAGES/
./usr/share/locale/sv/LC_MESSAGES/apt.mo
./usr/share/locale/sv/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/sv/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/tl/
./usr/share/locale/tl/LC_MESSAGES/
./usr/share/locale/tl/LC_MESSAGES/apt.mo
./usr/share/locale/tl/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/tl/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/vi/
./usr/share/locale/vi/LC_MESSAGES/
./usr/share/locale/vi/LC_MESSAGES/apt.mo
./usr/share/locale/vi/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/vi/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/zh_CN/
./usr/share/locale/zh_CN/LC_MESSAGES/
./usr/share/locale/zh_CN/LC_MESSAGES/apt.mo
./usr/share/locale/zh_CN/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/zh_CN/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/locale/zh_TW/
./usr/share/locale/zh_TW/LC_MESSAGES/
./usr/share/locale/zh_TW/LC_MESSAGES/apt.mo
./usr/share/locale/zh_TW/LC_MESSAGES/libapt-inst1.1.mo
./usr/share/locale/zh_TW/LC_MESSAGES/libapt-pkg3.11.mo
./usr/share/doc/
./usr/share/doc/apt/
./usr/share/doc/apt/examples/
./usr/share/doc/apt/examples/apt.conf
./usr/share/doc/apt/examples/sources.list
./usr/share/doc/apt/examples/configure-index.gz
./usr/share/doc/apt/copyright
./usr/share/doc/apt/changelog.Debian.gz
./usr/share/man/
./usr/share/man/man8/
./usr/share/man/man8/apt-config.8.gz
./usr/share/man/man8/apt-get.8.gz
./usr/share/man/man8/apt-key.8.gz
./usr/share/man/man8/apt-secure.8.gz
./usr/share/man/man8/apt.8.gz
./usr/share/man/man8/apt-cache.8.gz
./usr/share/man/man8/apt-cdrom.8.gz
./usr/share/man/man5/
./usr/share/man/man5/sources.list.5.gz
./usr/share/man/man5/apt.conf.5.gz
./usr/share/man/man5/apt_preferences.5.gz
./usr/share/man/fr/
./usr/share/man/fr/man8/
./usr/share/man/fr/man8/apt-config.8.gz
./usr/share/man/fr/man8/apt-get.8.gz
./usr/share/man/fr/man8/apt-key.8.gz
./usr/share/man/fr/man8/apt-cache.8.gz
./usr/share/man/fr/man8/apt-cdrom.8.gz
./usr/share/man/fr/man5/
./usr/share/man/fr/man5/sources.list.5.gz
./usr/share/man/fr/man5/apt.conf.5.gz
./usr/share/man/fr/man5/apt_preferences.5.gz
./usr/share/man/es/
./usr/share/man/es/man8/
./usr/share/man/es/man8/apt-config.8.gz
./usr/share/man/es/man8/apt-get.8.gz
./usr/share/man/es/man8/apt.8.gz
./usr/share/man/es/man8/apt-cache.8.gz
./usr/share/man/es/man8/apt-cdrom.8.gz
./usr/share/man/es/man5/
./usr/share/man/es/man5/sources.list.5.gz
./usr/share/man/es/man5/apt.conf.5.gz
./usr/share/man/es/man5/apt_preferences.5.gz
./usr/share/man/pt_BR/
./usr/share/man/pt_BR/man5/
./usr/share/man/pt_BR/man5/apt_preferences.5.gz
./usr/share/man/ja/
./usr/share/man/ja/man8/
./usr/share/man/ja/man8/apt-get.8.gz
./usr/share/man/ja/man8/apt-cache.8.gz
./usr/share/man/ja/man8/apt-cdrom.8.gz
./usr/share/man/ja/man5/
./usr/share/man/ja/man5/apt.conf.5.gz
./usr/share/man/de/
./usr/share/man/de/man8/
./usr/share/man/de/man8/apt.8.gz
./etc/
./etc/apt/
./etc/apt/sources.list.d/
./etc/cron.daily/
./etc/cron.daily/apt
./var/
./var/cache/
./var/cache/apt/
./var/cache/apt/archives/
./var/cache/apt/archives/partial/
./var/lib/
./var/lib/apt/
./var/lib/apt/lists/
./var/lib/apt/lists/partial/
./var/lib/apt/periodic/
ks363228:/home/cod2-server#

Welches ist der nächste Schritt?

Gruß

Ralf
 
Code:
»blah.tar.1« gespeichert

aber Du hast

Code:
tar xfv blah.tar -C /

entpackt? Irgendwas stimmt doch da nicht!?

Basti
 
Sein apt etc funzt mittlerweile wieder, hab ihm im ICQ geholfen alles wieder flott zu bekommen, sogar sein cod2 Serv rennt. :)
 
Ohne jetzt TamCore nahe treten zu wollen oder gar bösen Sachen zu unterstellen ist es IMHO aus prinzipiellen Überlegungen keine gute Idee, auf Aufforderung irgendwo eine Datei runter zu laden und als root auszuführen...
Ich weiß, dass es in diesem Fall keine bessere und einfache Möglichkeit für die ad hoc Hilfe gibt (außer eben der Neuinstallation), trotzdem möchte ich es hier anmerken.
 
Back
Top