LinuxQuestions.org
Visit Jeremy's Blog.
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 09-14-2009, 08:31 PM   #1
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Rep: Reputation: 33
Downloading patches with Alien Bob's script.


Hello!

What changes (if any) should I make to Alien Bob's script

rsync_slackware_patches.sh


to make sure it downloads patches for my Slackware64-13 release.

I ran the script as root today and it downloaded the following patches:

Quote:
mozilla-firefox-3.5.3-i686-1.txz
seamonkey-1.1.18-i486-1.txz
seamonkey-solibs-1.1.18-i486-2.txz
Are they for my Slackware distribution?

Thank you!
 
Old 09-14-2009, 10:44 PM   #2
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
If you pass the -h option, you'll get a help menu which parses this -
-a <arch> Architecture to mirror (defaults to 'x86', can be 'x86_64' too)."

Reading the script states this -
Quote:
# What architecture will we be mirroring? The default is 'x86' meaning 32bit.
# Alternatively you can specify 'x86_64' meaning 64bit. The value of SARCH
# determines the name of the slackware directories.
# This value can be overruled via the '-a' commandline parameter;
SARCH=${SARCH:-"x86"}
Try sh rsync_slackware_patches.sh -a x86_64.

Quote:
mozilla-firefox-3.5.3-i686-1.txz
seamonkey-1.1.18-i486-1.txz
seamonkey-solibs-1.1.18-i486-2.txz
Those are clearly NOT x86_64 packages
 
Old 09-15-2009, 12:52 AM   #3
Hannes Worst
Member
 
Registered: Jul 2008
Location: Tilburg, The Netherlands
Distribution: Void Linux, Slackware, Nixos
Posts: 179

Rep: Reputation: 122Reputation: 122
Well done, by the way, by asking on forehand -before installing!
 
Old 09-15-2009, 07:19 AM   #4
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
Thanks my friends for your help. I will then add those parameters to the script.
 
Old 09-15-2009, 07:27 PM   #5
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
After trying the script with the parameter:

Quote:
sh rsync_slackware_patches.sh -a x86_64.
The same files were downloaded. Any suggestion?

Thanks again!
 
Old 09-15-2009, 07:43 PM   #6
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
You did something wrong, or did not look at the packages close enough -
Code:
bash-3.1# sh rsync_slackware_patches.sh -a x86_64
[rsync_slackware_patches.sh:] Syncing patches for slackware64 version '13.0'.
[rsync_slackware_patches.sh:] Changing to '/home/ftp/pub/Linux/Slackware/slackware64-13.0/'.
[rsync_slackware_patches.sh:] Here we go... using master 'slackware.mirrors.tds.net::slackware'

-----------------------------

bash-3.1# ls
mozilla-firefox-3.5.3-x86_64-1.txz  
seamonkey-1.1.18-x86_64-1.txz  
seamonkey-solibs-1.1.18-x86_64-2.txz
 
Old 09-15-2009, 08:15 PM   #7
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
Yes, I am surely doing something wrong but can't find out what.

When I run:

Quote:
sh rsync_slackware_patches.sh -a x86_64
It downloads the following files into /ftp/pub.../patches:

Quote:
mozilla-firefox-3.5.3-i686-1.txt seamonkey-1.1.18-i486-1.txt seamonkey-solibs-1.1.18-i486-2.txt
mozilla-firefox-3.5.3-i686-1.txz seamonkey-1.1.18-i486-1.txz seamonkey-solibs-1.1.18-i486-2.txz
mozilla-firefox-3.5.3-i686-1.txz.asc seamonkey-1.1.18-i486-1.txz.asc seamonkey-solibs-1.1.18-i486-2.txz.asc
Please, help me finding out what I am doing wrong.

Thank you!

Last edited by glore2002; 09-15-2009 at 08:16 PM.
 
Old 09-15-2009, 08:21 PM   #8
disturbed1
Senior Member
 
Registered: Mar 2005
Location: USA
Distribution: Slackware
Posts: 1,133
Blog Entries: 6

Rep: Reputation: 224Reputation: 224Reputation: 224
Check the script to make sure it's the newest version.
http://connie.slackware.com/~alien/tools/

Code:
sh rsync_slackware_patches.sh -h
-----------------------------------------------------------------
$Id: rsync_slackware_patches.sh,v 1.18 2009/09/09 08:17:45 root Exp root $
Look in your download directory, see if there is another directory slackware64

/home/ftp/pub/Linux/Slackware/slackware64-13.0/
 
Old 09-15-2009, 08:33 PM   #9
glore2002
Member
 
Registered: Mar 2007
Location: Buenos Aires, Argentina.
Distribution: Lubuntu 17.10 x64
Posts: 510

Original Poster
Rep: Reputation: 33
Thumbs up

Yes!!!!!!

You were right disturbed1. I didn't have the newest version of the script (09/09/2009). That was the reason.

Now it works fine.

Thanks again for your cooperation.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Alien Bob's Slackware-13 mini iso, what does it contain? linus72 Slackware 2 08-31-2009 02:42 AM
Alien Bob's USB Installer & 64-bit Slack Biggen Slackware 29 07-17-2009 10:30 PM
Alien Bob's VLC Build + Slamd64 Question Daedra Slackware 10 02-22-2009 03:40 PM
Rsync script for the first patches of Slackware 11 Alien Bob Slackware 4 10-26-2006 01:06 PM
Fedora 4. downloading and installing patches? totallynewguy Linux - Software 3 08-20-2005 01:32 PM

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

All times are GMT -5. The time now is 12:16 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