LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
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 06-01-2009, 10:31 PM   #1
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Rep: Reputation: 15
download updates


I recently installed slackware 12.2 on my desktop a few minutes ago. I am online and ready to go but what's a simpler command to download updates. Right now I am using this:
Quote:
wget ftp: //localmirrors/pathToSlack12/slackware/slackware-12.2/patches/packages/*.tgz
I think what i did is outdated. I get the error message:
Quote:
failed: Connection timed out
I'm looking online to find a easier command but to no prevail. If you can help I would greatly appreciate it.

Thanks
 
Old 06-01-2009, 10:54 PM   #2
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Install and configure slackpkg. (already installed if you did a full install)

Un-comment a mirror in the /etc/slackpkg/mirrors file

Edit /etc/slackpkg/slackpkg.conf to suit your needs.

Code:
slackpkg update
slackpkg upgrade patches
 
Old 06-01-2009, 11:20 PM   #3
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
I noticed I only need to un-comment one mirror but which one should I choose. My processor is a little less than two Gigs but does my processor have anything to do with this?

These are my options to choose from here in the USA:
Quote:
#USA, 155Mbps
#http://carroll.cac.psu.edu/pub/linux...lackware-12.2/
#ftp://carroll.cac.psu.edu/pub/linux/...lackware-12.2/
#USA,
#ftp://distro.ibiblio.org/pub/linux/d...lackware-12.2/
#USA,
#ftp://ftp-linux.cc.gatech.edu/pub/sl...lackware-12.2/
#USA, 100Mbit
#ftp://ftp.ale.org/pub/mirrors/slackware/slackware-12.2/
#USA, 2xT3
#ftp://ftp.cerias.purdue.edu/pub/os/s...lackware-12.2/
#USA, 100Mbit
#ftp://ftp.cs.stevens-tech.edu/pub/Li...lackware-12.2/
#USA, 1Gbit
#http://lmlinux.com/distros/slackware/slackware-12.2/
#USA, 100Mbit
#http://mirror.mhvlug.org/slackware/slackware-12.2/
#USA, OC-48
#http://mirrors.usc.edu/pub/linux/dis...lackware-12.2/
#ftp://mirrors.usc.edu/pub/linux/dist...lackware-12.2/
#USA, 1Gbit
#http://slackware.cs.utah.edu/pub/sla...lackware-12.2/
#ftp://slackware.cs.utah.edu/pub/slac...lackware-12.2/
#USA, 1Mbit
#ftp://slackware.ext3networking.com/p...lackware-12.2/
#USA, GigE
#http://mirrors.easynews.com/linux/sl...lackware-12.2/
#USA, x-OC12
#http://slackware.mirrors.pair.com/slackware-12.2/
#ftp://slackware.mirrors.pair.com/slackware-12.2/
#USA, 1Gbit
#http://slackware.mirrors.tds.net/pub...lackware-12.2/
#ftp://slackware.mirrors.tds.net/pub/...lackware-12.2/
#USA, 10Mbit
#ftp://ftp.slackware.com/pub/slackware/slackware-12.2/
#USA, 45Mbit
#http://slackware.oregonstate.edu/pub...lackware-12.2/
#ftp://slackware.oregonstate.edu/pub/...lackware-12.2/
#
so which one would be a wise decision?
 
Old 06-01-2009, 11:24 PM   #4
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
+1 for slackpkg. If you would rather have your regular user simply download the patches, then you might want to try Eric's rsync_slackware_patches.sh script found in his tools section of his site.

I also recommend either subscribing to the security mailing list of the security RSS feed, unless you would just rather let cron automatically download your patches regularly.
 
Old 06-01-2009, 11:26 PM   #5
shadowsnipes
Senior Member
 
Registered: Sep 2005
Distribution: Slackware
Posts: 1,443

Rep: Reputation: 73
Quote:
Originally Posted by trnz$mr View Post
I noticed I only need to un-comment one mirror but which one should I choose. My processor is a little less than two Gigs but does my processor have anything to do with this?

These are my options to choose from here in the USA:

so which one would be a wise decision?
Pick the closest one to where you live. If you are not sure then just uncomment the tds http one.
 
Old 06-01-2009, 11:52 PM   #6
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
I'm ready for the home stretch on this one.

for the command:
Quote:
# slackpkg upgrade patches
it says I need the GPG key of Slackware Linux Project
To download and install that key, I used:
Quote:
# slackpkg update gpg
but then I ran the previous command of
Quote:
# slackpkg upgrade patches
and it gives me the same message about needing the GPG key again.

Any last suggestions?
 
Old 06-02-2009, 01:12 AM   #7
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Try 'slackpkg update' then 'slackpkg upgrade-all'. The patches directory will be included when looking for packages to upgrade.
 
Old 06-02-2009, 01:55 AM   #8
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
ya, that still didn't work. I downloaded the GPG-KEY. I saved it but it's still telling me I need it.
 
Old 06-02-2009, 02:17 AM   #9
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
Do you have gnupg installed?
 
Old 06-02-2009, 02:23 AM   #10
allend
LQ 5k Club
 
Registered: Oct 2003
Location: Melbourne
Distribution: Slackware64-15.0
Posts: 6,371

Rep: Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750Reputation: 2750
Quote:
I downloaded the GPG-KEY. I saved it but it's still telling me I need it.
How did you do this? It should only be necessary to run (as root) 'slackpkg update gpg' once.
 
Old 06-02-2009, 03:07 AM   #11
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
Do you have gnupg installed?
I don't remember installing gnupg. Where would I go to get that?
 
Old 06-02-2009, 03:48 AM   #12
H_TeXMeX_H
LQ Guru
 
Registered: Oct 2005
Location: $RANDOM
Distribution: slackware64
Posts: 12,928
Blog Entries: 2

Rep: Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301Reputation: 1301
A simpler way might be to use either my script to download patches that are not installed (does not need gnupg):
http://draconishinobi.50webs.com/slackware/usu.tgz
or (can turn off gnupg):
http://darklinux.net/slackupdate/

Or just use slackpkg, but I prefer downloading as a user, then deciding when and whether to install them.
 
Old 06-02-2009, 06:01 AM   #13
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
gpg --import GPG-KEY

What error message are you getting there when you run
slackpkg upgrade-all
 
Old 06-02-2009, 05:30 PM   #14
trnz$mr
Member
 
Registered: Oct 2008
Posts: 121

Original Poster
Rep: Reputation: 15
Quote:
What error message are you getting there when you run
slackpkg upgrade-all
The error message says:
Quote:
You need the GPG key of Slackware Linux Project <security@slackware.com>.
To download and install that key run:
# slackpkg update gpg
And that's about it for that message. The rest of it say's I can disable it but it's not recommended.


Quote:
or (can turn off gnupg):
http://darklinux.net/slackupdate/
I downloaded 'slackupdate_0.7.1.sh' from that link you gave as su but Permission is denied.
I remember going through this permission thing a long time ago, i just don't recall what I did to fix it, so I started a log book. It looks like I have a bit more research to do, for this.
 
Old 06-02-2009, 08:18 PM   #15
mRgOBLIN
Slackware Contributor
 
Registered: Jun 2002
Location: New Zealand
Distribution: Slackware
Posts: 999

Rep: Reputation: 231Reputation: 231Reputation: 231
The permission denied part for that script is likely because you need to
Code:
chmod +x filename
Interested to know what the issue is with slackpkg.

Can you tell me if you get any errors after running the following commands (as root)

Download the slackware GPG-KEY

http://www.slackware.com/gpg-key

Code:
gpg --import gpg-key
gpg --list-keys security@slackware.com
If all seems to go well then try slackpkg again. (Verify that the mirror you chose is working ok with a web browser or something)
Code:
slackpkg update
slackpkg upgrade-all
 
  


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
Can't download updates hansmax Linux - Newbie 8 01-04-2009 04:50 PM
download ports and updates dedexes *BSD 3 07-08-2008 06:22 AM
10.1 Cannot Download Updates Thin Mandriva 7 02-01-2005 03:51 PM
Where does yum download updates to? fzx1 Linux - Newbie 2 04-10-2004 03:50 PM
how do yer download updates chrismc2 Linux - Software 5 01-07-2004 12:52 PM

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

All times are GMT -5. The time now is 08:42 PM.

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