• Willkommen im Linux Club - dem deutschsprachigen Supportforum für GNU/Linux. Registriere dich kostenlos, um alle Inhalte zu sehen und Fragen zu stellen.

[solved] apt-get update

zero0109

Hacker
Eine Frage: Ich habe Skolelinux http://www.skolelinux.com installiert. Dort sind Pakete wie Samba oder webmin dabei, welche eindeutig veraltet sind. Nun habe ich http-quellen hinzugefügt, was auch prima funktioniert. Wenn ich jetzt aber mit
Code:
apt-get install samba
von meiner samba 2.2.3 auf die 3er updaten möchte sagt er mir
Code:
Sorry, samba is already the newest version.
0 packages upgraded, 0 newly installed, 0 to remove and 0  not upgraded.
Ein -t unstable bringt auch nichts.
Was mache ich falsch?
 

wenf

Hacker
wenn du neue Paket-sourcen hinzufügsz, mußt du den Paket-cahe aktualisieren

apt-cache update
schaut bei den http quellen nach welche pakete es dort gibt und trägt diese dann in den cache ein

danach sollte apt-get install samba das gewünschte resultat bringen
 
A

Anonymous

Gast
Geht bei mir nicht da sagt er bloß
Code:
saturn2:~# apt-cache update
E: Invalid operation update
als mögliche Dinge gibt er an
Code:
saturn2:~# apt-cache
apt 0.5.4.0.skolelinux.6 for linux i386 compiled on Feb 28 2003 10:07:43
Usage: apt-cache [options] command
       apt-cache [options] add file1 [file1 ...]
       apt-cache [options] showpkg pkg1 [pkg2 ...]

apt-cache is a low-level tool used to manipulate APT's binary
cache files, and query information from them

Commands:
   add - Add an package file to the source cache
   gencaches - Build both the package and source cache
   showpkg - Show some general information for a single package
   stats - Show some basic statistics
   dump - Show the entire file in a terse form
   dumpavail - Print an available file to stdout
   unmet - Show unmet dependencies
   search - Search the package list for a regex pattern
   show - Show a readable record for the package
   depends - Show raw dependency information for a package
   pkgnames - List the names of all packages
   dotty - Generate package graphs for GraphVis
   policy - Show policy settings

Options:
  -h   This help text.
  -p=? The package cache.
  -s=? The source cache.
  -q   Disable progress indicator.
  -i   Show only important deps for the unmet command.
  -c=? Read this configuration file
  -o=? Set an arbitary configuration option, eg -o dir::cache=/tmp
See the apt-cache(8) and apt.conf(5) manual pages for more information.
Ich habs mal mit gencaches probiert. Hat aber auch nichts gebracht. Was könnte ich sonst noch machen?
 

wenf

Hacker
moment
hab mit deb schon einige zeit nichts gemacht .
keine ahnung - was ich dir da für einen schund geschrieben habe - sorry

apt-get update sucht nach den quellen
apt-get upgrade installiert aktualisierungen
mit apt-cache showpkg kannst du dir paketinfos ansehen


wenn apt-get update nicht auf deinen angegebenen Quellen nachsieht, dann hast du vermutlich die quellen an einer falschen stelle angegeben, vertippt oder so etwas

was schreibt apt-get update ?

/me schämt sich dafür, dir falsche infos gegeben zu haben :
WENF muß bestraft werden
*knebel* *würg* - so genug

Wenf gesteht falsche infos verbreitet zu haben - sorry -
 
Oben