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!
|
I assume you mean manually maintaining Slackware. If so it's as simple as going to ftp://ftp.slackware.com/pub/slackwar...-10.0/patches/ and taking a look at the ChangeLog.txt file. Then downloading what you want with wget:
And using upgradepkg: Code:
upgradepkg whatever-x.x.tgz |
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.
|
The better way is to take a look at: ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt when you wake up ;)
|
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.
|
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
|
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.
|
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 -- #!/bin/bash # VERSION=10.0 # Where to put the files PATHDOWNLOAD=/var/download/mirror/ # Where to mirror from. only have one. #ftp://carroll.cac.psu.edu/pub/linux/...are/slackware-$VERSION/patches/packages/ FTPSITE=ftp://slackware.oregonstate.edu/pub/slackware/slackware-$VERSION/patches/packages/ # 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. |
great, thanks
|
All times are GMT -5. The time now is 02:23 AM. |