Um meine RPMs up to date zu halten, nutze ich mirror. Das lässt sich recht fein konfigurieren, um nur die Pakete zu ziehen, die man auch will.
Wie nutzen? Zunächst mußt Du die /usr/lib/perl5/site_perl/5.6.0/mirror.defaults anpassen, dann eine Auswahl-Datei anlegen. Bei mir sieht die so aus (achte auf unnötige Zeilenumbrüche): ---- kde.mirror , hier ausschneiden :)----
package=kdebase comment=kde basis-pakete site=ftp.gwdg.de # where to start pulling files back from
remote_dir=/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/upda te _for_7.2/base/
# where to put the files on your machine local_dir=/home/fredl/soft/kde22suse/base #
#----- package=applications comment=kde apps site=ftp.gwdg.de exclude_patt=^qt-korean|^qt-japanese|.link # ich will kein japanisch, kein koreanisch
remote_dir=/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/upda te _for_7.2/applications/
local_dir=/home/fredl/soft/kde22suse/applications/
#----- package=devel comment=kde devel-files # nur wichtig fürs kompilieren weiterer programme site=ftp.gwdg.de
remote_dir=/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/upda te _for_7.2/development/
# where to put the files on your machine local_dir=/home/fredl/soft/kde22suse/development/
#----- package=i18n comment=i18n-de site=ftp.gwdg.de get_patt=^kde-i18n-de- # ich will nur die deutschen uebersetzungen
remote_dir=/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/upda te _for_7.2/internationalization/
local_dir=/home/fredl/soft/kde22suse/internationalization/
----kde.mirror ende ----
Du solltest natürlich die local_dir anpassen und die entsprechenden Verzeichnisse anlegen (weiß nicht, ob mirror das notfalls alleine macht). Dann rufst Du als normaler User
mirror -d kde.mirror
Ich habe das nun mittlerweile ausprobiert, habe jedoch folgende Fehlermeldung erhalten: ---> LIST -lRat 425 Can't build data connection: Connection refused. Cannot get remote directory listing because: 425 Can't build data connection: Connection refused. Cannot get remote directory details (/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/update_for_7.1 /base/) disconnecting from ftp.gwdg.de Kann mir da jemand weiterhelfen? Ich führe als root folgenden Befehl aus: bash-2.04# mirror -d -n -p kdebase suse.mirror defaults from /usr/lib/perl5/site_perl/5.6.0/mirror.defaults package=kdebase ftp.gwdg.de:/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/upd at e_for_7.1/base/ -> /mirrors/suse/i386/supplementary/KDE/update_for_7.1/base/ ftp timeout set to 300 Scanning local directory /mirrors/suse/i386/supplementary/KDE/update_for_7.1/base/ Connecting to ftp.gwdg.de 220-Gesellschaft fuer wissenschaftliche Datenverarbeitung mbH Goettingen 220-==================================================================== 220-This is a Linux PC (GA6-BXDU board, 2 CPUs P-II/400, 1 GB RAM) 220-running SuSE-Linux-7.1 under kernel 2.4.12. 220-/pub is reiserfs on LVM with 8 SCSI U2W disks 18 GB on 2 channels 220-/pub/misc is reiserfs on LVM with 2 IDE disks 80 GB on 2 channels 220- 220-Thanks to SuSE GmbH for donating some disk space. 220- 220-For questions and other contacts to the ftp-admin, mailto:emoenke@gwdg.de 220-All transfers are logged. The local time is Tue Oct 16 16:36:12 2001. 220- 220-Limits: Domains gwdg.de, uni-goettingen.de, mpg.de: 200 sessions. 220- Other domains: Mon - Fri 8:00 - 18:00: 500 sessions 220- other times: 600 sessions. 220-Your domain limit: 500 active sessions: 420 220- 220-Login as "ftp" or "anonymous" and use your email address as password. 220- 220 ftp.gwdg.de FTP server (Version wu-2.4.2-academ[BETA-18](1) Fri Jul 13 13:45:06 MEST 2001) ready. login as anonymous ---> USER anonymous 331 Guest login ok, send your complete e-mail address as password. ---> PASS 230-Hello User at zhb147pub10.bluewin.ch, 230-we have 421 users (max 500) logged in in your class at the moment. 230-Local time is: Tue Oct 16 16:36:13 2001 230-All transfers are logged. If you don't like this, disconnect now. 230- 230-tar-on-the-fly and gzip-on-the-fly are implemented; to get a whole 230-directory "foo", "get foo.tar" or "get foo.tar.gz" may be used. 230-Please use gzip-on-the-fly only if you need it; most files already 230-are compressed, and I will kill your processes if you waste my 230-ressources. 230- 230-The command "site exec locate pattern" will create a list of all 230-path names containing "pattern". 230- 230 Guest login ok, access restrictions apply. ---> REST 0 350 Restarting at 0. Send STORE or RETRIEVE to initiate transfer. Can do restarts ---> TYPE I 200 Type set to I. Scanning remote directory /pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/update_for_7.1/ ba se/---> CWD /pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/update_for_7.1/ ba se/ 250 CWD command successful. ---> TYPE A 200 Type set to A. ---> PORT 195,186,147,10,5,48 200 PORT command successful. ---> LIST -lRat 425 Can't build data connection: Connection refused. Cannot get remote directory listing because: 425 Can't build data connection: Connection refused. Cannot get remote directory details (/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/update_for_7.1 /base/) disconnecting from ftp.gwdg.de ---> QUIT 221 Goodbye. All done, Exiting ------------------------------ suse.mirror: package=update comment=SuSE 7.1 Update site=ftp.gwdg.de # where to start pulling files back from remote_dir=/pub/linux/suse/ftp.suse.com/suse/i386/update/7.1 # where to put the files on your machine local_dir=/mirrors/suse/i386/update/7.1 # #----- package=kdebase comment=kde basis-pakete site=ftp.gwdg.de # where to start pulling files back from remote_dir=/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/upda te_for_7.1/base/ # where to put the files on your machine local_dir=/mirrors/suse/i386/supplementary/KDE/update_for_7.1/base/ # #----- package=applications comment=kde apps site=ftp.gwdg.de exclude_patt=^qt-korean|^qt-japanese|.link # ich will kein japanisch, kein koreanisch remote_dir=/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/upda te_for_7.1/applications/ local_dir=mirrors/suse/i386/supplementary/KDE/update_for_7.1/application s/ #----- #package=devel # comment=kde devel-files # nur wichtig fürs kompilieren weiterer programme #site=ftp.gwdg.de #remote_dir=/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/upd ate_for_7.1/development/ # where to put the files on your machine #local_dir=mirrors/suse/i386/supplementary/KDE/update_for_7.1/developmen t/ #----- package=i18n comment=i18n-de site=ftp.gwdg.de get_patt=^kde-i18n-de- # ich will nur die deutschen uebersetzungen remote_dir=/pub/linux/suse/ftp.suse.com/suse/i386/supplementary/KDE/upda te_for_7.1/internationalization/ local_dir=mirrors/suse/i386/supplementary/KDE/update_for_7.1/internation alization/ Am mirror.defaults habe ich nichts geändert, ausser bei Zeilenumbrüchen habe ich ein '&' eingefügt, weil er sonst reklamiert hat!? Vielen Dank für Eure Hilfe! Gruss Florian _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com