Page 2 of 5

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 19 Jun 2017, 20:00
by Bogomips
Today set the slackware mirrors, after which checked slacky update

Code: Select all

root@porteus:/home/guest# usm -u slacky
 Starting slacky database update 
Downloading: vercheck.txt  DONE
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE
Downloading: LIBS.TXT.gz  DONE

gzip: /home/guest/p10/Por/var64/usm/slacky/CHECKSUMS.md5.gz: unexpected end of file
          

==============================================================================
WARNING!        WARNING!        WARNING!        WARNING!        WARNING!
==============================================================================
One or more errors occurred while usm was running:                       
 
FATAL ERROR!
usm update_database 248
Could not decompress: CHECKSUMS.md5.gz
 
============================================================================== 
coming down with fatal error.

Change Mirror from fastest to second fastest:

Code: Select all

SLACKY
Done!
slacky mirror set to: http://slack.isper.sk/pub

guest@porteus:~$ cat /tmp/sesm/slacky.lst
Testing http://repository.slacky.eu/ 0.132402
Testing http://slackware.org.uk/slacky 0.141137
Testing http://slack.isper.sk/pub 0.054606

guest@porteus:~$ sh masm.sh slacky http://repository.slacky.eu
Done!
slacky mirror set to: http://repository.slacky.eu/
           
Try the Full Monty:

Code: Select all

root@porteus:/home/guest# time usm -u all
 Starting slackware database update 
Downloading: vercheck.txt  DONE
Downloading: CHECKSUMS.md5  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
File verification was good.
Optimizing manifest
 slackware  database updated. 

Updating config file

 Starting slackwarepatches database update 
Downloading: CHECKSUMS.md5  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
File verification was good.
Optimizing manifest
 slackwarepatches  database updated. 

 Starting slacky database update 
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE
Downloading: LIBS.TXT.gz  DONE
File verification was good.
Optimizing manifest
 slacky  database updated. 

 Starting salix database update 
Downloading: CHECKSUMS.md5  DONE
Downloading: PACKAGES.TXT  DONE
Downloading: LIBS.TXT.gz  DONE
Downloading: OPTIFEST.gz  DONE
 salix  database updated. 

 Starting alien database update 
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE
Downloading: LIBS.TXT.gz  DONE
File verification was good.
Optimizing manifest
 alien  database updated. 

 Starting ponce database update 
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE
Downloading: LIBS.TXT.gz  DONE
Optimizing manifest
 ponce  database updated.

 Starting slackonly database update
Downloading: CHECKSUMS.md5.gz  DONE
Downloading: MANIFEST.bz2  DONE
Downloading: PACKAGES.TXT.gz  DONE
Downloading: LIBS.TXT.gz  DONE
File verification was good.
Optimizing manifest
 slackonly  database updated.

 Starting sbo database update
SLACKBUILDS.TXT.gz
Downloading: SLACKBUILDS.TXT.gz  DONE
 sbo  database updated.


Downloading: extra-deps.txt  DONE
Downloading: ignore-deps.txt  DONE


real    1m19.168s
user    0m22.209s
sys     0m5.742s
For the first time in a while, a clean run! Now noticed that sbo mirror was indeed being used, so will have to also be included, despite fact only one mirror, but for compleatness. :angel:

In light of above update issue (fatal error with slacky) reckon theres's just one more thing to be done, and that is to have a bad mirrors list, and this will be the icing on the cake! 8)

As there can't be too many bad fast mirrors, thought of having them added to command line, but you never know, So as well. following normal convention, will also look at file .usm/badmirrors.txt, and you takes your picks.
Ed_P wrote:Maybe use this posting viewtopic.php?f=39&t=7000&p=56083#p55999 for denoting scripts' update date & times.
Good idea will do so.
Ed_P wrote:
Bogomips wrote:
Ed_P wrote:The question is how many other files have you updated?
Answer should be none. Can check against the update times. However have updated the end of the preceding (1st Post) of topic.:)
The end of the 1st Post of topic shows:

Code: Select all

Last edited by Bogomips on 18 Jun 2017, 22:01, edited 3 times in total.
Reason: Summary of following Post.
Not very helpful. :(
Time for new glasses! Other day clearly missed unmissable usm error in my posting! :twisted: The end of 1st Post now shows summary of following post for easier reference, hopefully.

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 19 Jun 2017, 23:17
by Ed_P
Bogomips wrote:Change Mirror from fastest to second fastest:

Code: Select all

SLACKY
Done!
slacky mirror set to: http://slack.isper.sk/pub
 : 
 :
I assume there is a missing guest@porteus:~$ sh ?????.sh slacky command at the top?

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 19 Jun 2017, 23:53
by Bogomips
^ Just cutting out a lot of irrelevant stuff:

Code: Select all

guest@porteus:~$ . $g/sesm.sh 
Argument usage:         all     [<Toggle Debug: 0/1>]
guest@porteus:~$ sesm all

SLACKWARE
Testing ftp://ftp.cc.swin.edu.au/slackware/ 3.999929
Mirrors=152             Processed=3             Remaining=149
Testing http://mirror.aarnet.edu.au/pub/slackware/ 0.689075
Mirrors=152             Processed=8             Remaining=144
Testing ftp://mirror.internode.on.net/.pub2/slackware/ 3.999768
Mirrors=152             Processed=11            Remaining=141
Testing ftp://ftp.slackware.at/ 4.000876
Mirrors=152             Processed=14            Remaining=138
Testing ftp://gd.tuwien.ac.at/opsys/linux/freesoftware.com/ 4.001484
Mirrors=152             Processed=16            Remaining=136
Testing ftp://mirrors.unixsol.org/slackware/ 0.816049
Mirrors=152             Processed=22            Remaining=130
Testing http://mirror.bjtu.edu.cn/slackware/ 0.905400
Mirrors=152             Processed=28            Remaining=124
Testing ftp://mirrors.ucr.ac.cr/slackware/pub/slackware/ 3.175352
Mirrors=152             Processed=31            Remaining=121
Testing ftp://nephtys.lip6.fr/pub/linux/distributions/slackware/ 1.384778
Mirrors=152             Processed=41            Remaining=111
Testing ftp://ftp.cc.uoc.gr/mirrors/linux/slackware/ 1.799174
Mirrors=152             Processed=52            Remaining=100
Testing http://kambing.ui.ac.id/slackware/ 1.157815
Mirrors=152             Processed=60            Remaining=92
Testing ftp://ftp.nara.wide.ad.jp/pub/Linux/slackware/ 3.999837
Mirrors=152             Processed=66            Remaining=86
Testing ftp://riksun.riken.go.jp/Linux/slackware/ 4.000120
Mirrors=152             Processed=70            Remaining=82
Testing ftp://ftp.man.szczecin.pl/pub/Linux/slackware/ 4.000732
Mirrors=152             Processed=80            Remaining=72
Testing ftp://darkstar.ist.utl.pt/pub/slackware/ 2.317263
Mirrors=152             Processed=92            Remaining=60
Testing ftp://mirror2.etf.bg.ac.rs/slackware/ 4.000550
Mirrors=152             Processed=97            Remaining=55
Testing ftp://ftp.is.co.za/mirror/ftp.slackware.com/pub/ 3.128483
Mirrors=152             Processed=99            Remaining=53
Testing ftp://slackware.mirror.ac.za/ 2.798961
Mirrors=152             Processed=103           Remaining=49
Testing ftp://ftp.isu.edu.tw/pub/Linux/Slackware/ 3.999768
Mirrors=152             Processed=111           Remaining=41
Testing http://ftp.twaren.net/Linux/Slackware/ 0.726702
Mirrors=152             Processed=114           Remaining=38
Testing ftp://carroll.aset.psu.edu/pub/linux/distributions/slackware/ 4.001747
Mirrors=152             Processed=123           Remaining=29
Testing ftp://ftp.gtlib.gatech.edu/nv/ao2/lxmirror/ftp.slackware.com/ 1.448417
Mirrors=152             Processed=125           Remaining=27
Testing ftp://mirror.cs.princeton.edu/pub/mirrors/slackware/ 2.219938
Mirrors=152             Processed=132           Remaining=20
Testing http://mirrors.easynews.com/linux/slackware/ 4.000272
Mirrors=152             Processed=135           Remaining=17
Testing ftp://mirrors.xmission.com/slackware/ 2.223744
Mirrors=152             Processed=139           Remaining=13
Testing ftp://slackware.virginmedia.com/mirrors/ftp.slackware.com/ 3.754724
Mirrors=152             Processed=147           Remaining=5
Testing ftp://spout.ussg.indiana.edu/linux/slackware/ 1.736678
Mirrors=152             Processed=149           Remaining=3
Done!
slackware mirror set to: http://ftp.nluug.nl/os/Linux/distr/slackware/

SLACKWAREPATCHES
Done!
slackwarepatches mirror set to: http://ftp.nluug.nl/os/Linux/distr/slackware/

SLACKY
Done!
slacky mirror set to: http://slack.isper.sk/pub

SALIX
Testing http://download.salixos.org Fail
Mirrors=28              Processed=11            Remaining=17
Testing ftp://ftp.nluug.nl/pub/os/Linux/distr/salix 0.578242
Mirrors=28              Processed=19            Remaining=9
Testing http://salix.hostingxtreme.com Fail
Mirrors=28              Processed=27            Remaining=1
Done!
salix mirror set to: http://ftp.nux.ipb.pt/dists/salix

ALIEN
Done!
alien mirror set to: http://bear.alienbase.nl/mirrors/people/alien/sbrepos

PONCE
Done!
ponce mirror set to: http://ponce.cc/slackware

SLACKONLY
Done!
slackonly mirror set to: http://packages.slackonly.com/pub/packages
:)

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 20 Jun 2017, 03:05
by Ed_P
Bogomips wrote:^ Just cutting out a lot of irrelevant stuff:
This works also.

Code: Select all

guest@porteus:~$ . $g/sesm.sh 
Argument usage:         all     [<Toggle Debug: 0/1>]
guest@porteus:~$ sesm all 
 :
 :
 :

SLACKY
Done!
slacky mirror set to: http://slack.isper.sk/pub



But this doesn't. :evil:

Code: Select all

guest@porteus:~$ . $g/home/guest/USM/sesm.sh
bash: $'\r': command not found
bash: $'\r': command not found
bash: /home/guest/USM/sesm.sh: line 15: syntax error near unexpected token `$'{\r''
'ash: /home/guest/USM/sesm.sh: line 15: `fam() {
guest@porteus:~$ 
sesm.sh

Code: Select all

#!/bin/bash
# http://forum.porteus.org/viewtopic.php?f=39&t=7000&p=56042#p56042
# sesm.sh   Set the Slackware Miirors for usm Repos    Bogomips    2017-06-13 19:33:50
# fasm.sh   Adaptation by Bogomips to Set Fastest Slackware Repository Mirror   2017-06-07 21:35:10
# Last Update:   2017-06-16 18:11:42    Corrected to [include own directory] using RAW in Debug Mode

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 20 Jun 2017, 10:54
by Bogomips
^ Sorry, late was just about to turn in when saw above post. :sorry:

Learning to take advantage of some bash shortcuts, and the fact that it actualises the command line, thereby allowing tab completion. :good: Also running out of neutral letters:

Code: Select all

g=/home/guest/USM
. $g/sesm.sh
Try it! (see how tab completion on second line works ;) )

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 20 Jun 2017, 14:22
by Ed_P
Thank you Bogomips. :)

Unfortunately:

Code: Select all

guest@porteus:~$     g=/home/guest/USM
guest@porteus:~$     . $g/sesm.sh
bash: $'\r': command not found
bash: $'\r': command not found
bash: /home/guest/USM/sesm.sh: line 15: syntax error near unexpected token `$'{\r''
'ash: /home/guest/USM/sesm.sh: line 15: `fam() {

guest@porteus:~$ bash    . $g/sesm.sh
.: .: is a directory
guest@porteus:~$     g=/home/guest/USM
guest@porteus:~$ bash    . $g/sesm.sh
.: .: is a directory
guest@porteus:~$ 

Code: Select all

guest@porteus:~$ uname -a
Linux porteus 4.9.12-porteus #1 SMP PREEMPT Sun Feb 26 13:48:34 BRT 2017 x86_64 Intel(R) Core(TM) i3-6100U CPU @ 2.30GHz GenuineIntel GNU/Linux
guest@porteus:~$ 

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 20 Jun 2017, 18:40
by Bogomips
:shock:

Please do this as shown, and then repeat replacing q with g 8)

Code: Select all

guest@porteus:~$ q=/home/guest/USM
guest@porteus:~$ . $q/sesm.sh
bash: /home/guest/USM/sesm.sh: No such file or directory
guest@porteus:~$               q=/home/guest/USM
guest@porteus:~$             . $q/sesm.sh
bash: /home/guest/USM/sesm.sh: No such file or directory
guest@porteus:~$ echo '              q=/home/guest/USM' | od -cx
0000000                                                           q   =
           2020    2020    2020    2020    2020    2020    2020    3d71
0000020   /   h   o   m   e   /   g   u   e   s   t   /   U   S   M  \n
           682f    6d6f    2f65    7567    7365    2f74    5355    0a4d
0000040
guest@porteus:~$ echo '            . $q/sesm.sh' | od -cx
0000000                                                   .       $   q
           2020    2020    2020    2020    2020    2020    202e    7124
0000020   /   s   e   s   m   .   s   h  \n
           732f    7365    2e6d    6873    000a
0000031

guest@porteus:~$             . $q/sesm.sh
bash: /home/guest/USM/sesm.sh: No such file or directory
and of sourse, let's see what you get,

P.S. Done code block in green, and in pretty colours, but it's all the same, Some characters get gobbled up. Will have to do a quote if you wish to see the output proper.

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 20 Jun 2017, 20:04
by Ed_P
^ :pardon:

Code: Select all

guest@porteus:~$ q=/home/guest/USM
guest@porteus:~$ . $q/sesm.sh
bash: $'\r': command not found
bash: $'\r': command not found
bash: /home/guest/USM/sesm.sh: line 15: syntax error near unexpected token `$'{\r''
'ash: /home/guest/USM/sesm.sh: line 15: `fam() {

guest@porteus:~$ g=/home/guest/USM
guest@porteus:~$ . $g/sesm.sh
bash: $'\r': command not found
bash: $'\r': command not found
bash: /home/guest/USM/sesm.sh: line 15: syntax error near unexpected token `$'{\r''
'ash: /home/guest/USM/sesm.sh: line 15: `fam() {

guest@porteus:~$ echo '              q=/home/guest/USM' | od -cx
0000000                                                           q   =
           2020    2020    2020    2020    2020    2020    2020    3d71
0000020   /   h   o   m   e   /   g   u   e   s   t   /   U   S   M  \n
           682f    6d6f    2f65    7567    7365    2f74    5355    0a4d
0000040
guest@porteus:~$ echo '              g=/home/guest/USM' | od -cx
0000000                                                           g   =
           2020    2020    2020    2020    2020    2020    2020    3d67
0000020   /   h   o   m   e   /   g   u   e   s   t   /   U   S   M  \n
           682f    6d6f    2f65    7567    7365    2f74    5355    0a4d
0000040
guest@porteus:~$ 

guest@porteus:~$ ls $g
fasm.sh*    funcpackageGet.hic*  sam.sh*   usmbkup.sh*  usmupdfix.sh*
fasmez.sh*  masm.sh*             sesm.sh*  usmfix.sh*
guest@porteus:~$ ls $q
fasm.sh*    funcpackageGet.hic*  sam.sh*   usmbkup.sh*  usmupdfix.sh*
fasmez.sh*  masm.sh*             sesm.sh*  usmfix.sh*
guest@porteus:~$  

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 20 Jun 2017, 22:27
by Bogomips
^ The $q and $g seem to be working fine, however line 15 is first line of code after all comments. So suspect bash looking at windoze line ending: Carriage Return, Line Feed (\r\n). and cannot deal with it. So need to put file into unix format: just \n. There are all sorts of utilities for this. See if that will work.

Anyway try this for size (can't test, bereft of windoze files :():

Code: Select all

source  <(tr -d '\15\32' < $g/sesm.sh)    

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 21 Jun 2017, 03:17
by Ed_P
Bogomips wrote:Anyway try this for size (can't test, bereft of windoze files :():

Code: Select all

source  <(tr -d '\15\32' < $g/sesm.sh) 

Code: Select all

guest@porteus:~$ g=/home/guest/USM
guest@porteus:~$ source  <(tr -d '\15\32' < $g/sesm.sh)
Argument usage:		all	[<Toggle Debug: 0/1>]
guest@porteus:~$ cat source
cat: source: No such file or directory
guest@porteus:~$ . $g/sesm.sh
bash: $'\r': command not found
bash: $'\r': command not found
bash: /home/guest/USM/sesm.sh: line 15: syntax error near unexpected token `$'{\r''
'ash: /home/guest/USM/sesm.sh: line 15: `fam() {

Recreated my sesm.sh module from source posted here: https://forum.porteus.org/viewtopic.php?f=39&t=7000&p=56042#p55998
 
guest@porteus:~$ chmod +x $g/*.sh
guest@porteus:~$ . $g/sesm.sh
Argument usage:		all	[<Toggle Debug: 0/1>]
guest@porteus:~$ cat $g/sesm.sh
#!/bin/bash
# http://forum.porteus.org/viewtopic.php?f=39&t=7000&p=56042#p55998
# sesm.sh   Set the Slackware Miirors for usm Repos    Bogomips    2017-06-13 19:33:50
# fasm.sh   Adaptation by Bogomips to Set Fastest Slackware Repository Mirror   2017-06-07 21:35:10
# Last Update:   2017-06-16 18:11:42    Corrected to [include own directory] using RAW in Debug Mode
 :
 :
 :
Now a different scenario. :wall:

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 21 Jun 2017, 11:02
by Bogomips
Great! It worked. The windoze woz the cause. :twisted:
Ed_P wrote:

Code: Select all

guest@porteus:~$ g=/home/guest/USM
guest@porteus:~$ source  <(tr -d '\15\32' < $g/sesm.sh)
Argument usage:		all	[<Toggle Debug: 0/1>
At this point in time the script file has been souirced and the shell functions are available to be called. (Rather than fiddling around with a dot, easier on the eyes and to see what's happening by writing source)

So, this then would have worked:

Code: Select all

g=/home/guest/USM
source  <(tr -d '\15\32' < $g/sesm.sh)
sesm  all
8)

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 21 Jun 2017, 13:39
by Ed_P
Bogomips wrote:So, this then would have worked:

Code: Select all

g=/home/guest/USM
source  <(tr -d '\15\32' < $g/sesm.sh)
sesm  all
8)
Not what happened when I posted before.
Ed_P wrote:

Code: Select all

guest@porteus:~$ g=/home/guest/USM
guest@porteus:~$ source  <(tr -d '\15\32' < $g/sesm.sh)
Argument usage:		all	[<Toggle Debug: 0/1>]
guest@porteus:~$ cat source
cat: source: No such file or directory
guest@porteus:~$ . $g/sesm.sh
bash: $'\r': command not found
bash: $'\r': command not found
bash: /home/guest/USM/sesm.sh: line 15: syntax error near unexpected token `$'{\r''
'ash: /home/guest/USM/sesm.sh: line 15: `fam() {
When I executed the sesm.sh script it still errored. If the source command had worked shouldn't the sesm.sh file been fixed? :unknown: It seems that all the source command did was execute the sesm.sh script.

And while I certainly use Windows periodically I rarely/ever use it to write bash scripts. In fact I don't ever recall doing that. :no:


-edit-
Ok, since I still have a version of the sesm.sh file with the error I tried your new commands.

Code: Select all

guest@porteus:~$ g=/home/guest/USM
guest@porteus:~$ source  <(tr -d '\15\32' < $g/sesmold.sh)
Argument usage:		all	[<Toggle Debug: 0/1>]
guest@porteus:~$ sesmold.sh all
bash: sesmold.sh: command not found
guest@porteus:~$ sesm all

SLACKWARE
 :
 :
Where the heck is the sesm file that is being executed?? When I didn't put the $g variable in front of the sesmold.sh script it wasn't found, but sesm is!! :o

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 21 Jun 2017, 15:05
by Bogomips
Ed_P wrote: -edit-
Ok, since I still have a version of the sesm.sh file with the error I tried your new commands.

Code: Select all

guest@porteus:~$ g=/home/guest/USM
guest@porteus:~$ source  <(tr -d '\15\32' < $g/sesmold.sh)
Argument usage:		all	[<Toggle Debug: 0/1>]
guest@porteus:~$ sesmold.sh all
bash: sesmold.sh: command not found
guest@porteus:~$ sesm all

SLACKWARE
 :
 :
Rapidly becoming bash tutorial taxing my explanatory powers. :roll: Once file's been sourced, we are no longer talking file, but talking memory, would be a simple way to put it.
man.cx/bash wrote:. filename [arguments]
source filename [arguments]
Read and execute commands from filename in the current shell environment and return the exit status of the last command executed from filename.
All the commands in the sourced file sesm.sh would be executed. In this case ithey consist of function definitions followed by just the one command: sesm $*.

Simple example of function definition:

Code: Select all

guest@porteus:~$ tst ()  { echo To be or not to be?; }
guest@porteus:~$ tst
To be or not to be?
guest@porteus:~$ type tst
tst is a function
tst ()
{
    echo To be or not to be?
}
            
Ed_P wrote:Where the heck is the sesm file that is being executed?? When I didn't put the $g variable in front of the sesmold.sh script it wasn't found, but sesm is!! :o
In the same way as explained in above example, sesm was defined as a function upon sourcing, and is now executed like a command. :crazy:

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 21 Jun 2017, 16:56
by Ed_P
Bogomips wrote:Rapidly becoming bash tutorial taxing my explanatory powers. :roll:
Oh, it's exceeded my comprehension powers long ago. :(
Once file's been sourced, we are no longer talking file, but talking memory, would be a simple way to put it.
Thank you Bogomips. :friends: For a teenager you're pretty smart. :D


BTW When I tried this earlier it wasn't as helpful as your explanation.

Code: Select all

guest@porteus:~$ source --help
bash: source: --: invalid option
source: usage: source filename [arguments]
guest@porteus:~$ 

Re: [INFO & SCRIPT] Slackware Mirror Settings for USM

Posted: 22 Jun 2017, 11:05
by Bogomips
Resolving today's USM Update issue
  • Set the Mirrors & Update

    Code: Select all

    guest@porteus:~$ sesm all
    ...
    SLACKWARE
    ...
    Done!
    slackwarepatches mirror set to: http://mirror.ovh.net/mirrors/ftp.slackware.com/
    
    root@porteus:/home/guest# time usm -u all
     Starting slackware database update 
    Downloading: vercheck.txt  DONE
    Downloading: CHECKSUMS.md5  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT  DONE
    Downloading: LIBS.TXT.gz  DONE
     There was a problem downloading the file: 
    
  • Try 2nd Fastest

    Code: Select all

    guest@porteus:~$ cut -d" " -f2- /tmp/sesm/slackware.lst | sort -k2 | cut -d" " -f1 | head -n3
    http://mirror.ovh.net/mirrors/ftp.slackware.com/
    http://mirror.nl.leaseweb.net/slackware/
    http://ftp.nluug.nl/os/Linux/distr/slackware/
    
    guest@porteus:~$ . $g/masm.sh
    Argument usage:         <Repository>            <Mirror URL>
    guest@porteus:~$ masm slackware  http://mirror.nl.leaseweb.net/slackware/
    Done!
    slackware mirror set to: http://mirror.nl.leaseweb.net/slackware/
                 
  • Update

    Code: Select all

    root@porteus:/home/guest# time usm -u all
     Starting slackware database update 
    Downloading: vercheck.txt  DONE
    Downloading: CHECKSUMS.md5  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT  DONE
    Downloading: LIBS.TXT.gz  DONE
    File verification was good.
    Optimizing manifest
     slackware  database updated. 
    
    Updating config file
    
     Starting slackwarepatches database update 
    Downloading: CHECKSUMS.md5  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT  DONE
    Downloading: LIBS.TXT.gz  DONE
    File verification was good.
    Optimizing manifest
     slackwarepatches  database updated. 
    
     Starting slacky database update 
    Downloading: CHECKSUMS.md5.gz  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT.gz  DONE
    Downloading: LIBS.TXT.gz  DONE
    File verification was good.
    Optimizing manifest
     slacky  database updated. 
    
     Starting salix database update 
    Downloading: CHECKSUMS.md5  DONE
    Downloading: PACKAGES.TXT  DONE
    Downloading: LIBS.TXT.gz  DONE
    Downloading: OPTIFEST.gz  DONE
     salix  database updated. 
    
     Starting alien database update 
    Downloading: CHECKSUMS.md5.gz  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT.gz  DONE
    Downloading: LIBS.TXT.gz  DONE
    File verification was good.
    Optimizing manifest
     alien  database updated. 
    
     Starting ponce database update 
    Downloading: CHECKSUMS.md5.gz  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT.gz  DONE
    Downloading: LIBS.TXT.gz  DONE
    Optimizing manifest
     ponce  database updated.
    
     Starting slackonly database update
    Downloading: CHECKSUMS.md5.gz  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT.gz  DONE
    Downloading: LIBS.TXT.gz  DONE
    File verification was good.
    Optimizing manifest
     slackonly  database updated.
    
    sbo was updated 431 seconds ago. Skipping.
    
    Downloading: extra-deps.txt  DONE
    Downloading: ignore-deps.txt  DONE
    
    You can change the time limit for skipping in: /etc/usm/usm.conf
    The default is 3 hours
    
    real    1m32.204s
    user    0m22.325s
    sys     0m5.681s
    
:)

Edit Fri Jun 23 13:15:32 UTC 2017

Today's Issue:
  • Tried Slackware Repo twice with Fastest Mirror:

    Code: Select all

    root@porteus:/home/guest# time usm -u all
     Starting slackware database update 
    Downloading: vercheck.txt  DONE
    Downloading: CHECKSUMS.md5  DONE
    Downloading: MANIFEST.bz2  DONE
    Downloading: PACKAGES.TXT  DONE
    Downloading: LIBS.TXT.gz  DONE
     There was a problem downloading the file: (2x)
    
    root@porteus:/home/guest# sh $g/crm.sh slackware
    SLACKWARE
    Mirror: http://slackware.mirrorcatalogs.com/
    151 Commented Out
    
    root@porteus:/home/guest# sh $g/crm.sh slackwarepatches
    SLACKWAREPATCHES
    Mirror: http://slackware.mirrorcatalogs.com/
    151 Commented Out
    
  • Changed to 2nd Fastest Mirror

    Code: Select all

    guest@porteus:~$ cut -d" " -f2- /tmp/sesm/slackware.lst | sort -k2 | cut -d" " -f1 | head -n3
    http://slackware.mirrorcatalogs.com/
    http://ftp.nluug.nl/os/Linux/distr/slackware/
    http://mirror.ovh.net/mirrors/ftp.slackware.com/
    
    guest@porteus:~$ sh $g/masm.sh slackware http://ftp.nluug.nl/os/Linux/distr/slackware
    Done!
    slackware mirror set to: http://ftp.nluug.nl/os/Linux/distr/slackware/
    
    root@porteus:/home/guest# time usm -u all
    ...
    ownloading: extra-deps.txt  DONE
    Downloading: ignore-deps.txt  DONE
    ...
    real    1m18.131s
    user    0m21.599s
    sys     0m4.278s