Fwd: Mirror issues?

Charles Chambers cchamb2 at gmail.com
Thu Mar 19 14:06:07 UTC 2020


Never mind.  I'm stupid.

The script line setting ownership of the repositories to a known state
needs to execute from /media/8TB, or it needs to specify /media/8TB/* :

chown -R charles:charles /media/8TB/*

I've been executing the script from /home/charles (user home directory)
rather than from /media/8TB, so the error message is telling me that
/home/charles has no files for which changing ownership is valid.  The
directory /home/charles indeed has NO files, so the error is indeed valid.

Charlie





---------- Forwarded message ---------
From: Charles Chambers <cchamb2 at gmail.com>
Date: Thu, Mar 19, 2020 at 5:15 AM
Subject: Re: Mirror issues?
To: Thomas Ward <teward at ubuntu.com>
Cc: <ubuntu-mirrors at lists.ubuntu.com>


Here's the script at this point.  I have two of them (one for cdimages, one
for packages), but they both work the same.



==================

while [ 1 ]

do

#Download archives
#    rsync -a --progress --delete rsync://ubuntu.cs.utah.edu/ubuntu
/media/8TB/ubuntu-mirror
#    rsync -a --progress --delete rsync://
mirrors.syringanetworks.net/ubuntu-archive /media/8TB/ubuntu-mirror
     rsync -a --progress --delete rsync://mirror.arizona.edu/ubuntu
/media/8TB/ubuntu-mirror
     chown -R charles:charles *

# Download ISO
#     rsync -a --progress --delete rsync://cdimage.ubuntu.com/cdimage
/media/8TB/ubuntu-cdimage
#     chown -R charles:charles *
#  Check for errors/abends

     if [ "$?" = "0" ] ; then
           echo "rsync completed normally"
           exit
     else
           echo "rsync failure.  Retrying..."
           sleep 600
     fi

done

================







On Tue, Mar 17, 2020 at 4:03 PM Thomas Ward <teward at ubuntu.com> wrote:

> What specific RSync command are you using?  When you use `*` it might
> cause issues, or if the filename is named `*` you're trying to rsync it
> will not work right either.  Details about what command you're using
> **exactly** would be helpful.
>
> If you need it, I can bundle up my mirror sync scripts (I have one for
> cdimage and one for packages) and share them with you if you think that'd
> be helpful.
>
>
> Thomas
>
>
> On 3/17/20 8:49 AM, Charles Chambers wrote:
>
> I may or may not be having an issue with my connection.
>
> I mirror both the cdimages as well as packages.
>
> On both, rsync is failing, with the error message showing of:
>
> chown: cannot access ‘*’: No such file or directory
> rsync failure.  Retrying...
>
> And nothing further happens.
>
> Control C on the session, restart it, and the same outcome.
>
> It's been in place for a few months while I figure out how to get a
> static IP and go public.
>
> Do I need to change anything?
>
>
>
>

-- 
Charlie
cchamb2 at gmail.com


-- 
Charlie
cchamb2 at gmail.com
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-mirrors/attachments/20200319/cf56eb13/attachment.html>


More information about the ubuntu-mirrors mailing list