-   Slackware (
-   -   keep slack 10 updated with wget? (

mipia 10-11-2004 10:52 PM

keep slack 10 updated with wget?
Ive been reading here and there about how some people are able to update thier slackware system via wget. I've been reading through the wget man page but Im just confused on how I would do this. Any pointers on what I should use for syntax? As far as I am able to understand so far, this will download the needed packages and I can use pkgtool to install. Any syntax help would be appreciated. Thank you!

DaHammer 10-11-2004 11:30 PM

I assume you mean manually maintaining Slackware. If so it's as simple as going to and taking a look at the ChangeLog.txt file. Then downloading what you want with wget:
And using upgradepkg:

upgradepkg whatever-x.x.tgz
You can see what packages you have installed in /var/log/packages/, else using pkgtool.

mipia 10-12-2004 05:20 PM

yea i figured that out. My previous post was a sort of quick before bed thing. Is there a way to exclude the packages already downloaded if I want to wget again in the future? Would there be a possibility to somehow cron this? Maybe I should just subscribe to a update newsletter? Curious I guess.

gbonvehi 10-12-2004 05:24 PM

The better way is to take a look at: when you wake up ;)

DaHammer 10-12-2004 05:29 PM

Yeah, don't believe I'd automate it entirely. If your looking for something with less interaction on your part, you could use one of the 3rd party programs for updating Slackware, like swaret or slackpkg.

mipia 10-12-2004 05:56 PM

yea i suppose, Im doing this to avoid a 3rd party app in the first place. No biggy. I'll just check when I get home from work or something. Thanks again.:D

gnashley 10-13-2004 03:20 AM

You could use rsync to keep a local directory updated with the latest updates. That will only download files not already in your local dir.

-X- 10-13-2004 06:48 AM

What I use to keep Slackware updated with wget. Run it when you know of a change or put it in your cron. cd to the mirror path and;
# upgradekg *.tgz
-or- add the command to the script.

I generally run this (cron) one a week or when I get mail on changes. I also perform the upgradepkg after looking through the change log and looking the files directory.

--- Slackware-wget-update --
# Where to put the files
# Where to mirror from. only have one.
wget -o /var/log/slackware-mirror -P $PATHDOWNLOAD --mirror $FTPSITE
# Mail root
mail -s "Slackware mirror" root < /var/log/slackware-mirror

Edit: updatepkg -> upgradepkg.
To much BSD stuff in my head.

mipia 10-13-2004 06:01 PM

great, thanks

All times are GMT -5. The time now is 01:26 AM.