• Check your mirror status

    From Bit Twister@2:250/1 to All on Sun Apr 26 06:59:53 2020
    I can recommend checking your mirror status at
    https://mirrors.mageia.org/status


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Herman@2:250/1 to All on Sun Apr 26 10:09:37 2020
    On Sun, 26 Apr 2020 00:59:53 -0500, Bit Twister wrote:

    I can recommend checking your mirror status at
    https://mirrors.mageia.org/status

    How come belnet is not on this list (anymore)?

    Herman Viaene

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Doug Laidlaw@2:250/1 to All on Sun Apr 26 10:26:21 2020
    On 26/4/20 3:59 pm, Bit Twister wrote:
    I can recommend checking your mirror status at
    https://mirrors.mageia.org/status

    A very good idea. Here in Oz, there are two local mirrors. As of now:

    internode.on.net is orange: "less than 2 days old." It has only Mga 7.
    A few months back, its parent "went titsup" in the delightful English
    slang, and they were expecting the mirror to go down with it. But the
    mirror is still there, and near the top of the list of good mirrors for LinuxMint. It seems to be good for Mint, but not for Mageia.

    aarnet.edu.au is red. It was always a bit behind.

    tsukuba.wide.ad.jp was one of my favorites as a second mirror, but it is
    now red.

    I use jameswhitby.net. It is almost always right up to date, but
    Princeton is showing red.

    As internode proves, don't accept a report for a different distro.

    Doug.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: Aioe.org NNTP Server (2:250/1@fidonet)
  • From Aragorn@2:250/1 to All on Sun Apr 26 11:22:53 2020
    On 26.04.2020 at 09:09, Herman scribbled:

    On Sun, 26 Apr 2020 00:59:53 -0500, Bit Twister wrote:
    =20
    I can recommend checking your mirror status at
    https://mirrors.mageia.org/status =20
    =20
    How come belnet is not on this list (anymore)?

    I don't know the actual reason, but it could be because belnet.be tends
    to lag behind on everyone else, or maybe it was the decision of the
    belnet.be administrator(s) to no longer mirror Mageia.=20

    As far as I can remember, PCLinuxOS does not include belnet.be in their
    own mirror list anymore either, but the primary PCLinuxOS mirror
    (ftp.nluug.nl) is located in the Netherlands, so there isn't any
    difference in latency for Belgian users.

    Myself, I'm using Manjaro as my primary distro now, and belnet.be is
    included as one of the mirrors there, but it's always among the last
    ones to sync =E2=80=94 I think it syncs only once per day. Luckily, Manjaro includes a tool that lets one locally create a new mirror list
    depending on mirror response time.

    --=20
    With respect,
    =3D Aragorn =3D


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Strider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Sun Apr 26 14:26:04 2020
    On Sun, 26 Apr 2020 19:26:21 +1000, Doug Laidlaw wrote:
    On 26/4/20 3:59 pm, Bit Twister wrote:
    I can recommend checking your mirror status at
    https://mirrors.mageia.org/status

    A very good idea. Here in Oz, there are two local mirrors. As of now:

    internode.on.net is orange: "less than 2 days old." It has only Mga 7.
    A few months back, its parent "went titsup" in the delightful English slang, and they were expecting the mirror to go down with it. But the
    mirror is still there, and near the top of the list of good mirrors for LinuxMint. It seems to be good for Mint, but not for Mageia.

    aarnet.edu.au is red. It was always a bit behind.

    tsukuba.wide.ad.jp was one of my favorites as a second mirror, but it is
    now red.

    I use jameswhitby.net. It is almost always right up to date, but
    Princeton is showing red.

    Checking the Source column at https://mirrors.mageia.org/ may give the
    reason for several mirrors going red.


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Werner Brinkmann@2:250/1 to All on Sun Apr 26 18:22:49 2020
    Am 26.04.20 um 15:26 schrieb Bit Twister:
    Checking the Source column at https://mirrors.mageia.org/ may give the reason for several mirrors going red.

    What does it mean when a server has no source listet?
    I'm asking this because I use ftp.free.fr for my updates as that is
    allways one of the first ones to have latest updates and is not too far
    away. But it has no source listet.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Sun Apr 26 19:23:38 2020
    On Sun, 26 Apr 2020 19:22:49 +0200, Werner Brinkmann wrote:
    Am 26.04.20 um 15:26 schrieb Bit Twister:
    Checking the Source column at https://mirrors.mageia.org/ may give the
    reason for several mirrors going red.

    What does it mean when a server has no source listet?

    Just means the information was not provided by that site's administrator.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Sun Apr 26 20:45:27 2020
    On Sun, 26 Apr 2020 14:23:38 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:

    On Sun, 26 Apr 2020 19:22:49 +0200, Werner Brinkmann wrote:
    Am 26.04.20 um 15:26 schrieb Bit Twister:
    Checking the Source column at https://mirrors.mageia.org/ may give the
    reason for several mirrors going red.

    What does it mean when a server has no source listet?

    Just means the information was not provided by that site's administrator.

    Which is usually because that mirror has more than one source.

    Regards, Dave Hodgins

    --
    Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
    email replies.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Sun Apr 26 20:44:24 2020
    On Sun, 26 Apr 2020 05:09:37 -0400, Herman <herman@invalid.invalid> wrote:

    On Sun, 26 Apr 2020 00:59:53 -0500, Bit Twister wrote:

    I can recommend checking your mirror status at
    https://mirrors.mageia.org/status
    How come belnet is not on this list (anymore)?

    As shown on https://mirrors.mageia.org/ belnet.be only has ftp and rsync access.
    The status page only lists mirrors that support http access.

    Regards, Dave Hodgins

    --
    Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
    email replies.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Sun Apr 26 22:58:37 2020
    On 26/4/20 7:26 pm, Doug Laidlaw wrote:
    On 26/4/20 3:59 pm, Bit Twister wrote:


    aarnet.edu.au is red.  It was always a bit behind.

    and aarnet source is princeton, and it is in the red too, for nearly a week.

    Blame corona i suppose



    --
    faeychild
    Running plasmashell 5.15.4 on 5.5.15-desktop-3.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Mon Apr 27 06:41:01 2020
    On 27/4/20 7:58 am, faeychild wrote:
    On 26/4/20 7:26 pm, Doug Laidlaw wrote:
    On 26/4/20 3:59 pm, Bit Twister wrote:


    aarnet.edu.au is red.  It was always a bit behind.

    and aarnet source is princeton, and it is in the red too, for nearly a
    week.

    Blame corona i suppose


    And princeton is sourced from rsync.mageia.
    Do we have a circular argument :-)


    --
    faeychild
    Running plasmashell 5.15.4 on 5.5.15-desktop-3.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Mon Apr 27 06:45:57 2020
    On Mon, 27 Apr 2020 01:41:01 -0400, faeychild <faeychild@nomail.afraid.org> wrote:
    And princeton is sourced from rsync.mageia.
    Do we have a circular argument :-)

    The admin of the princeton mirror is now aware of the problem, as are the Mageia
    sysadmins, so hopefully it'll be fixed soon.

    Regards, Dave Hodgins

    --
    Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
    email replies.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Mon Apr 27 11:36:58 2020
    On Sun, 26 Apr 2020 00:59:53 -0500, Bit Twister wrote:
    I can recommend checking your mirror status at
    https://mirrors.mageia.org/status

    After a bit of spelunking around on two mirrors, I found the
    mageia_timestamp file at the top of the mageia hierarchy which has
    something like


    $ cat mageia_timestamp
    1587978601
    Mon 27 Apr 2020 11:10:01 AM CEST

    and at the time of me playing around
    $ date
    Mon 27 Apr 2020 05:14:04 AM CDT


    So I figured it would be dead simple to compute the difference.

    set -- $(cat mageia_timestamp)
    Sync_time=$1
    Current_time=$(date +%s)
    Current_time=1587982444 # hard code date/time of test
    Delta=$(echo "$Current_time - $Sync_time" | bc)
    date --universal --date="@$Delta" +'%j %T'

    why do I get
    001 01:04:03

    instead of 000 xxxxxx ?


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Jim Beard@2:250/1 to All on Mon Apr 27 14:29:53 2020
    On Mon, 27 Apr 2020 05:36:58 -0500, Bit Twister wrote:

    On Sun, 26 Apr 2020 00:59:53 -0500, Bit Twister wrote:
    I can recommend checking your mirror status at
    https://mirrors.mageia.org/status

    After a bit of spelunking around on two mirrors, I found the
    mageia_timestamp file at the top of the mageia hierarchy which has
    something like


    $ cat mageia_timestamp
    1587978601
    Mon 27 Apr 2020 11:10:01 AM CEST

    and at the time of me playing around
    $ date
    Mon 27 Apr 2020 05:14:04 AM CDT


    So I figured it would be dead simple to compute the difference.

    set -- $(cat mageia_timestamp)
    Sync_time=$1
    Current_time=$(date +%s)
    Current_time=1587982444 # hard code date/time of test
    Delta=$(echo "$Current_time - $Sync_time" | bc)
    date --universal --date="@$Delta" +'%j %T'

    why do I get
    001 01:04:03

    instead of 000 xxxxxx ?

    Daylight saving time?

    Cheers!

    jim b.

    --
    UNIX is not user-unfriendly, it merely expects users to be computer-friendly.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Mon Apr 27 14:26:49 2020
    On Mon, 27 Apr 2020 01:45:57 -0400, David W. Hodgins <dwhodgins@nomail.afraid.org> wrote:

    On Mon, 27 Apr 2020 01:41:01 -0400, faeychild <faeychild@nomail.afraid.org>
    wrote:
    And princeton is sourced from rsync.mageia.
    Do we have a circular argument :-)

    The admin of the princeton mirror is now aware of the problem, as are the
    Mageia
    sysadmins, so hopefully it'll be fixed soon.

    And it now appears to be fixed. For some reason just restarting the rsync process
    at the mirror, fixed whatever the problem was.

    Regards, Dave Hodgins

    --
    Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
    email replies.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From TJ@2:250/1 to All on Mon Apr 27 15:17:57 2020
    On 4/27/20 1:41 AM, faeychild wrote:
    On 27/4/20 7:58 am, faeychild wrote:
    On 26/4/20 7:26 pm, Doug Laidlaw wrote:
    On 26/4/20 3:59 pm, Bit Twister wrote:


    aarnet.edu.au is red.  It was always a bit behind.

    and aarnet source is princeton, and it is in the red too, for nearly a
    week.

    Blame corona i suppose


    And princeton is sourced from rsync.mageia.
    Do we have a circular argument  :-)


    Princeton is a Tier 1 mirror. All Tier 1 mirrors source from Mageia
    itself. Tier 2 mirrors source from Tier 1 mirrors.

    When a Tier 1 mirror has a problem, all the mirrors that source from it
    will, of course, have a problem as well.

    TJ

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Mon Apr 27 17:03:15 2020
    On Mon, 27 Apr 2020 13:29:53 -0000 (UTC), Jim Beard wrote:
    On Mon, 27 Apr 2020 05:36:58 -0500, Bit Twister wrote:

    On Sun, 26 Apr 2020 00:59:53 -0500, Bit Twister wrote:
    I can recommend checking your mirror status at
    https://mirrors.mageia.org/status

    After a bit of spelunking around on two mirrors, I found the
    mageia_timestamp file at the top of the mageia hierarchy which has
    something like


    $ cat mageia_timestamp
    1587978601
    Mon 27 Apr 2020 11:10:01 AM CEST

    and at the time of me playing around
    $ date
    Mon 27 Apr 2020 05:14:04 AM CDT


    So I figured it would be dead simple to compute the difference.

    set -- $(cat mageia_timestamp)
    Sync_time=$1
    Current_time=$(date +%s)
    Current_time=1587982444 # hard code date/time of test
    Delta=$(echo "$Current_time - $Sync_time" | bc)
    date --universal --date="@$Delta" +'%j %T'

    why do I get
    001 01:04:03

    instead of 000 xxxxxx ?

    Daylight saving time?


    I do not think so. I used date --universal to remove that offset.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From David W. Hodgins@2:250/1 to All on Mon Apr 27 19:53:19 2020
    On Mon, 27 Apr 2020 12:03:15 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:

    $ cat mageia_timestamp
    1587978601
    Mon 27 Apr 2020 11:10:01 AM CEST
    ~~~~
    set -- $(cat mageia_timestamp)
    Sync_time=$1
    Current_time=$(date +%s)
    Current_time=1587982444 # hard code date/time of test
    Delta=$(echo "$Current_time - $Sync_time" | bc)
    date --universal --date="@$Delta" +'%j %T'

    why do I get
    001 01:04:03

    instead of 000 xxxxxx ?

    I do not think so. I used date --universal to remove that offset.

    CEST is the time in France, so it's one hour later in the day than utc, i.e. Great Britain, when it's on standard time.

    Regards, Dave Hodgins

    --
    Change dwhodgins@nomail.afraid.org to davidwhodgins@teksavvy.com for
    email replies.

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Mon Apr 27 20:33:01 2020
    On Mon, 27 Apr 2020 14:53:19 -0400, David W. Hodgins wrote:
    On Mon, 27 Apr 2020 12:03:15 -0400, Bit Twister
    <BitTwister@mouse-potato.com> wrote:

    $ cat mageia_timestamp
    1587978601
    Mon 27 Apr 2020 11:10:01 AM CEST
    ~~~~
    set -- $(cat mageia_timestamp)
    Sync_time=$1
    Current_time=$(date +%s)
    Current_time=1587982444 # hard code date/time of test
    Delta=$(echo "$Current_time - $Sync_time" | bc)
    date --universal --date="@$Delta" +'%j %T'

    why do I get
    001 01:04:03

    instead of 000 xxxxxx ?

    I do not think so. I used date --universal to remove that offset.

    CEST is the time in France, so it's one hour later in the day than utc, i.e. Great Britain, when it's on standard time.

    I understand what you said, but as I understand it, the first word in
    in mageia_timestamp just seconds since 1970-01-01 00:00:00 UTC

    The conversion to local time is when time zone and daylight saving time
    are applied.

    The major problem is I have no idea why I am winding up with a day difference. Take this test shot as example

    [bittwister@wb work]$ cat mageia_timestamp
    1588015201
    Mon 27 Apr 2020 09:20:01 PM CEST

    [bittwister@wb work]$ date
    Mon 27 Apr 2020 02:26:42 PM CDT

    Day is still the same, but
    $ t
    1 days 00:06
    still shows 1 day instead of 0

    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Mon Apr 27 23:15:02 2020
    On 27/4/20 11:26 pm, David W. Hodgins wrote:


    And it now appears to be fixed. For some reason just restarting the
    rsync process
    at the mirror, fixed whatever the problem was.


    Turn it off and turn it on again
    Hi tech :-)

    It works for me -- mostly

    regards


    --
    faeychild
    Running plasmashell 5.15.4 on 5.5.15-desktop-3.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From faeychild@2:250/1 to All on Mon Apr 27 23:23:55 2020
    On 27/4/20 8:36 pm, Bit Twister wrote:

    why do I get
    001 01:04:03

    instead of 000 xxxxxx ?


    Relativity, Bits
    wibbly wobbly timey wimey

    I am told on good authority - honest :-)

    regards


    --
    faeychild
    Running plasmashell 5.15.4 on 5.5.15-desktop-3.mga7 kernel.
    Mageia release 7 (Official) for x86_64 installed via Mageia-7-x86_64-DVD.iso


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From William Unruh@2:250/1 to All on Tue Apr 28 01:20:38 2020
    On 2020-04-27, Bit Twister <BitTwister@mouse-potato.com> wrote:
    On Mon, 27 Apr 2020 14:53:19 -0400, David W. Hodgins wrote:
    On Mon, 27 Apr 2020 12:03:15 -0400, Bit Twister <BitTwister@mouse-potato.com> wrote:

    $ cat mageia_timestamp
    1587978601
    Mon 27 Apr 2020 11:10:01 AM CEST
    ~~~~
    set -- $(cat mageia_timestamp)
    Sync_time=$1
    Current_time=$(date +%s)
    Current_time=1587982444 # hard code date/time of test
    Delta=$(echo "$Current_time - $Sync_time" | bc)
    date --universal --date="@$Delta" +'%j %T'

    why do I get
    001 01:04:03

    instead of 000 xxxxxx ?

    I do not think so. I used date --universal to remove that offset.

    CEST is the time in France, so it's one hour later in the day than utc, i.e.
    Great Britain, when it's on standard time.

    I understand what you said, but as I understand it, the first word in
    in mageia_timestamp just seconds since 1970-01-01 00:00:00 UTC

    The conversion to local time is when time zone and daylight saving time
    are applied.

    The major problem is I have no idea why I am winding up with a day
    difference.
    Take this test shot as example

    [bittwister@wb work]$ cat mageia_timestamp
    1588015201
    Mon 27 Apr 2020 09:20:01 PM CEST

    [bittwister@wb work]$ date
    Mon 27 Apr 2020 02:26:42 PM CDT

    Day is still the same, but
    $ t
    1 days 00:06
    still shows 1 day instead of 0
    man date:

    %j day of year (001..366)

    Ie, it cannot be 000 Your date of 3843 seconds is being interpreted as
    the day (1st day) of the year 1970.
    If you did

    date --utc --date="@3843"

    you would have gotten
    Thu Jan 1 01:04:03 UTC 1970
    which would have made it clear what had happened.


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)
  • From Bit Twister@2:250/1 to All on Tue Apr 28 03:14:52 2020
    On Tue, 28 Apr 2020 00:20:38 -0000 (UTC), William Unruh wrote:
    Day is still the same, but
    $ t
    1 days 00:06
    still shows 1 day instead of 0
    man date:

    %j day of year (001..366)

    Ie, it cannot be 000 Your date of 3843 seconds is being interpreted as
    the day (1st day) of the year 1970.
    If you did

    date --utc --date="@3843"

    you would have gotten
    Thu Jan 1 01:04:03 UTC 1970
    which would have made it clear what had happened.

    Ahaaa, frap. Apparently I can not see the forest for the trees.

    Thank you for your time and reply. ck_mirror_sync script follows: ---------8<---------8<---Cut below this line ------8<---------8<---------8< #!/bin/bash
    #***********************************************************
    #* ck_mirror_sync - Check time of last mirror sync
    #*
    #* Assumes wget is installed.
    #*
    #* Return codes:
    #* any code from mkdir
    #* and code from cc $HOME/tmp
    #* 10 wget failure to fetch time stamp file
    #* 11 time stamp a day or more old
    #* 12 time stamp is more than 11 hours old
    #*
    #* Failure output is n days HH:MM
    #*
    #***********************************************************

    set -u
    export PATH=/usr/local/bin:/usr/bin:/bin:/usr/local

    _exe=$0
    _app=${0##*/}

    _day=0
    line=""
    _mirror=""
    _n=0
    _rtn_code=0
    _rtn_code_time=""
    _sec=0
    _stamp_fn=""
    _start_time=0
    _stop_time=0
    _tmp=""


    function ck_mirror_timestamp ()
    {

    _stamp_fn="$1"
    rm --force mageia_timestamp* index.html*

    wget --quiet --tries=3 --timeout=10 $_stamp_fn
    if [ ! -e mageia_timestamp ] ; then
    _rtn_code=10
    echo "
    $_exe fatal error
    # wget failure running
    wget $_stamp_fn
    "
    return
    fi

    set -- $(cat mageia_timestamp)
    _start_time=$1
    _stop_time=$(date +%s)
    _sec=$(echo "$_stop_time - $_start_time" | bc)
    _tmp=$(date --utc --date="@$_sec" +'%j %H %M')
    set -- $_tmp
    _day=$1
    let _day="_day - 1"
    _rtn_code_time="$_day days $2:$3"

    if [ $_day -gt 0 ] ; then # a day or more old
    _rtn_code=12
    fi

    if [ $2 -gt 11 ] ; then # 12 or more hours old
    _rtn_code=13
    fi

    if [ $_rtn_code -ne 0 ] ; then
    echo "$_app Warning: $_mirror is stale by $_rtn_code_time"
    fi

    rm --force mageia_timestamp* index.html*
    } # end function ck_mirror_timestamp

    #******************************
    #* main code starts here
    #******************************

    mkdir --parents $HOME/tmp
    if [ $? -ne 0 ] ; then
    _rtn_code=$?
    echo "
    $_exe fatal error. Unable to mkdir $HOME/tmp
    "
    exit $_rtn_code
    fi

    cd $HOME/tmp
    if [ $? -ne 0 ] ; then
    _rtn_code=$?
    echo "
    $_exe fatal error. Unable to cd $HOME/tmp
    "
    exit $_rtn_code
    fi

    #****************************************
    #* pull mirror from /etc/urpmi/urpmi.cfg)
    #****************************************

    line=$(grep x86_64/media/core/release /etc/urpmi/urpmi.cfg)
    set -- $line
    let _n="${#} - 3"
    shift $_n
    set -- $(IFS='/' ; echo $line)
    _mirror=$3

    if [ $4 = "pub" ] ; then # add it to file spec
    ck_mirror_timestamp ${2}//${3}/pub/mageia/mageia_timestamp
    else
    ck_mirror_timestamp ${2}//${3}/mageia/mageia_timestamp
    fi

    exit $_rtn_code
    #********* end ck_mirror_sync ************************************


    --- MBSE BBS v1.0.7.13 (GNU/Linux-x86_64)
    * Origin: A noiseless patient Spider (2:250/1@fidonet)