wenn ich ein programm per apt-get installieren will, bekomme ich seit neuestem folgende meldung (bei jedem programm, also auch welche die 100% per apt-get installierbar sind):
beispiel von g++:
bash-2.05b# apt-get install g+
Reading Package Lists... Done
Building Dependency Tree... Done
E: Couldn't find package g
bash-2.05b# apt-get install g++
Reading Package Lists... Done
Building Dependency Tree... Done
Package g++ has no available version, but exists in the database.
This typically means that the package was mentioned in a dependency and
never uploaded, has been obsoleted or is not available with the contents
of sources.list
However the following packages replace it:
cpp-2.95
E: Package g++ has no installation candidate
die apt-get checks sind wie man sieht alle ok, des programm (hier g++) wurde in den package-lists gefunden, aber dann kommt die meldung die nicht stimmt, weil g++ auf den servern liegt und nicht wie behauptet "never uploaded" wurde.
kann mir jemand sagen wie ich dieses problem behebe?
apt-get problem
hab aus der sources.list alles gelöscht und neue mirrors geaddet, apt-get update gemacht, alles bis dahin ok.
sources.list:
deb http://ftp.leo.org/debian/ stable main
deb-src http://ftp.leo.org/debian/ stable main
deb http://security.debian.org/ stable/updates main
sources.list:
deb http://ftp.leo.org/debian/ stable main
deb-src http://ftp.leo.org/debian/ stable main
deb http://security.debian.org/ stable/updates main
Ich meinte das in der Zeile hinter main noch non-free und contrib fehlen. Bei apt-setup wirst du eigentlich gefragt ob du soetwas haben willst.
non-us mußt du dann wirklich per Hand einfügen.
Deine Zeile sollte wie, folgt aussehen
(natürlich nur wenn du die Pakete aus non-free und contrib wirklich willst) und danach ein apt-get update.
cu
non-us mußt du dann wirklich per Hand einfügen.
Deine Zeile sollte wie, folgt aussehen
Code: Alles auswählen
deb http://ftp.leo.org/debian/ stable main non-free contrib
cu
jetzt klappts wieder!!!
ich hab noch ma so zum spaß sources.list per google gesucht und bin dann auf japanische mirrors gestossen, ok die server-anbindung is nich gut (nur max. 90 kb) aber immerhin es geht jetzt wieder, g++ lies sich installieren.
sources.list:
deb ftp://ring.asahi-net.or.jp/pub/linux/debian/debian sarge main contrib non-free
deb ftp://ring.asahi-net.or.jp/pub/linux/debian/debian-jp sarge-jp main contrib non-free
deb ftp://ring.asahi-net.or.jp/pub/linux/de ... ian-non-US sarge/non-US main contrib non-free
deb http://security.debian.org/ sarge/updates main contrib non-free
deb ftp://ring.asahi-net.or.jp/pub/linux/debian/debian sarge-proposed-updates main contrib non-free
deb ftp://ring.asahi-net.or.jp/pub/linux/de ... ian-non-US sarge-proposed-updates/non-US main contrib non-fre
ich hab noch ma so zum spaß sources.list per google gesucht und bin dann auf japanische mirrors gestossen, ok die server-anbindung is nich gut (nur max. 90 kb) aber immerhin es geht jetzt wieder, g++ lies sich installieren.
sources.list:
deb ftp://ring.asahi-net.or.jp/pub/linux/debian/debian sarge main contrib non-free
deb ftp://ring.asahi-net.or.jp/pub/linux/debian/debian-jp sarge-jp main contrib non-free
deb ftp://ring.asahi-net.or.jp/pub/linux/de ... ian-non-US sarge/non-US main contrib non-free
deb http://security.debian.org/ sarge/updates main contrib non-free
deb ftp://ring.asahi-net.or.jp/pub/linux/debian/debian sarge-proposed-updates main contrib non-free
deb ftp://ring.asahi-net.or.jp/pub/linux/de ... ian-non-US sarge-proposed-updates/non-US main contrib non-fre