Se avete problemi con l'installazione e la configurazione di Slackware postate qui. Non usate questo forum per argomenti generali... per quelli usate Gnu/Linux in genere.
Regole del forum
1) Citare sempre la versione di Slackware usata, la versione del Kernel e magari anche la versione della libreria coinvolta. Questi dati aiutano le persone che possono rispondere.
2) Per evitare confusione prego inserire in questo forum solo topic che riguardano appunto Slackware, se l'argomento è generale usate il forum Gnu/Linux in genere.
3) Leggere attentamente le risposte ricevute.
4) Scrivere i messaggi con il colore di default, evitare altri colori.
5) Scrivere in Italiano o in Inglese, se possibile grammaticalmente corretto, evitate stili di scrittura poco chiari, quindi nessuna abbreviazione tipo telegramma o scrittura stile SMS o CHAT.
6) Appena registrati è consigliato presentarsi nel forum dedicato.
La non osservanza delle regole porta a provvedimenti di vari tipo da parte dello staff, in particolare la non osservanza della regola 5 porta alla cancellazione del post e alla segnalazione dell'utente. In caso di recidività l'utente rischia il ban temporaneo.
These wget options are OK and I've found the right opcions after one hour of trying. The problem is...
Where there is an updated package, wget finds it and downloads it.
But it doesn't remove the old one.
victorche ha scritto:I have a simple question... I have a local mirror of Slackware Current on my HDD. For personal use
It was made with wget, using this command:
These wget options are OK and I've found the right opcions after one hour of trying. The problem is...
Where there is an updated package, wget finds it and downloads it.
But it doesn't remove the old one.
Any ideas?
use a bash script that runs wget, scans the local mirror for new packages, searches an old version of a package and deletes it.
Thanks!
But if you type wget --help
You'll see one option there: --mirror
It means that wget should be able to do this. And to do this automatically. Removing of old packages I mean.
Maybe you'll ask why I am not using this option... Well, I am not using --mirror because I want some fine tuning here... Like removing of all .html files. They are useless in my case. Also I don't need /pasture and /source directories... And I want to run wget in one directory which I want to be the top-level directory of my mirror. That's why I am using --cut-dirs=3 option.
If not, wget will make a directory like mirrors.name_of_the_domain.com, then a subdirectory named linux, then another one named slackware etc.
My point was.... Having the option --mirror makes me think there is a way to make wget to delete old packages and replace them with the new ones.
To delete the old packages one by one manually makes this wget option useless :/