LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 10-11-2004, 09:52 PM   #1
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Rep: Reputation: 35
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!
 
Old 10-11-2004, 10:30 PM   #2
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
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
You can see what packages you have installed in /var/log/packages/, else using pkgtool.
 
Old 10-12-2004, 04:20 PM   #3
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Original Poster
Rep: Reputation: 35
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.
 
Old 10-12-2004, 04:24 PM   #4
gbonvehi
Senior Member
 
Registered: Jun 2004
Location: Argentina (SR, LP)
Distribution: Slackware
Posts: 3,145

Rep: Reputation: 53
The better way is to take a look at: ftp://ftp.slackware.com/pub/slackwar.../ChangeLog.txt when you wake up
 
Old 10-12-2004, 04:29 PM   #5
DaHammer
Member
 
Registered: Oct 2003
Location: Planet Earth
Distribution: Slackware, LFS
Posts: 561

Rep: Reputation: 30
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.
 
Old 10-12-2004, 04:56 PM   #6
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Original Poster
Rep: Reputation: 35
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.
 
Old 10-13-2004, 02:20 AM   #7
gnashley
Amigo developer
 
Registered: Dec 2003
Location: Germany
Distribution: Slackware
Posts: 4,928

Rep: Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612Reputation: 612
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.
 
Old 10-13-2004, 05:48 AM   #8
-X-
Member
 
Registered: Oct 2003
Location: Tx,USA
Distribution: Slackware, Red Hat, CentOS
Posts: 495

Rep: Reputation: 30
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.

Last edited by -X-; 10-13-2004 at 05:57 AM.
 
Old 10-13-2004, 05:01 PM   #9
mipia
Member
 
Registered: May 2003
Location: lake michigan
Distribution: Debian, Mint, Slackware
Posts: 457

Original Poster
Rep: Reputation: 35
great, thanks
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why can't I use wget? TruckStuff General 7 02-24-2009 01:39 PM
Just how long are old versions of Slack updated? slackMeUp Slackware 3 09-17-2004 05:32 AM
wget & Slack patches revenant Linux - Software 2 08-30-2004 12:53 PM
Whoo hoo, just updated Slack!! BajaNick Slackware 14 06-21-2004 11:02 PM
Keeping slack updated Werpon Slackware 5 03-09-2004 01:18 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 08:35 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration