LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Slackware (http://www.linuxquestions.org/questions/slackware-14/)
-   -   Downloading patches with Alien Bob's script. (http://www.linuxquestions.org/questions/slackware-14/downloading-patches-with-alien-bob%27s-script-755213/)

glore2002 09-14-2009 08:31 PM

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!

disturbed1 09-14-2009 10:44 PM

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 :)

Hannes Worst 09-15-2009 12:52 AM

Well done, by the way, by asking on forehand -before installing!

glore2002 09-15-2009 07:19 AM

Thanks my friends for your help. I will then add those parameters to the script.

glore2002 09-15-2009 07:27 PM

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!

disturbed1 09-15-2009 07:43 PM

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


glore2002 09-15-2009 08:15 PM

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!

disturbed1 09-15-2009 08:21 PM

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/

glore2002 09-15-2009 08:33 PM

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.


All times are GMT -5. The time now is 07:02 PM.