Local Mirror - Wiki - help please

Hello peoples,
I have read and followed the Wiki on having a local mirror  http://wiki2.archlinux.org/index.php/Local%20Mirror
My updates do not occur automatically, and I do not have the knowledge yet to fix this so I was wondering if there is a better way of doing this.  I have read Man:crond and crontab but am left a little confused as to how this can be incorporated into using the original script.  Also I would like to automate the time to 0200HRS.   Can somebody help me out please?   

Thankyou for your reply i3839,
From your answer, I can define more clearly what the issue is.  The updating I was refering to was only the ¨Current¨ and ¨Extra¨ database that I sync.  The script given in the wiki didn´t work for me so here is my version that works for me.
#!/bin/sh
rsync -avz --delete rsync.archlinux.org::ftp/current/os/i686/ /home/mirror/current/os/i686
rsync -avz --delete rsync.archlinux.org::ftp/extra/os/i686/ /home/mirror/extra/os/i686
# rsync -avz --delete rsync.archlinux.org::ftp/testing /mirror/
# rsync -avz --delete rsync.archlinux.org::ftp/unstable /mirror/
The two issues I have are:
1. the script does not run automatically via cron.daily/sync file, yet when I click on the sync.sh file it works. 
2. The updates occur at 0002hrs, which I would like to change to 0200hrs instead
cron.daily/sync:
!/bin/sh
SYNCLOGFILE="/var/log/sync.log"
SYNCLOCKFILE="/var/lock/sync.lock"
if [ -f $SYNCLOCKFILE ]; then
# lock file already present, bail
exit 1
fi
echo -n ">>> Sync log for " > $SYNCLOGFILE
date >> $SYNCLOGFILE
cd /home/mirror
touch $SYNCLOCKFILE
su - evan -c "/home/mirror/sync.sh" >> $SYNCLOGFILE
rm -f $SYNCLOCKFILE
Also, the sync.log and sync.lock files have not been created. Is this a permissions issue and if so how do I fix it?
Cheers

Similar Messages

  • [SOLVED] vsftpd on Local Mirror, running but not working

    I'm building a Local Mirror on a vm (vbox) with bridged adapter and fix-ip by following this wiki.
    http://wiki.archlinux.org/index.php/Loc … cal_mirror
    After the painful rsync and those setup, I tried pacman -Syu from another Arch vm (no firewall).  I received the following error.
    :: Synchronizing package databases...
    error: failed retrieving file 'core.db.tar.gz' from 192.168.100.100 : Service not available, closing control connection
    I've tried by nmap on the hosting PC and find that the vsftpd should be running.
    Starting Nmap 4.62 ( http://nmap.org ) at 2010-08-27 01:03 HKT
    Interesting ports on 192.168.100.100:
    Not shown: 1714 closed ports
    PORT   STATE SERVICE
    21/tcp open  ftp
    MAC Address: 08:00:27:76:33:1C (Cadmus Computer Systems)
    Nmap done: 1 IP address (1 host up) scanned in 1.318 seconds
    In the wiki, it suggests to use "ftp" to replace "mirror" for ftp_username & nopriv_user.  I tried both.
    I also find that there is no "archlinux" under my /home/mirror/files as "suggested" by the following statement in vsftpd.conf
    # Chroot directory for anonymous user
    anon_root=/home/mirror/files/archlinux
    I tried both (1) amend the vsftpd.conf to remove the "archlinux", and (2) manually add that directory with owner/group=mirror.
    Meanwhile, I only find under /home/mirror/files 6 items - community core extra community.lastsync core.lastsync extra.lastsync.  Have I completed the rsync successfully?  Or, something is missing.  Is the directory structure correct?
    Is the sample vsftpd.conf in the Local Mirror wiki updated?  I've cross reference it with the vsftpd wiki but I'm not knowledgable enough to find things useful.
    What else should I check?
    I love ArchLinux so much that I really hope that it can work.
    Please help.
    Thanks.
    Last edited by dboat (2010-08-27 15:38:14)

    I have tried couple of Linux distro to learn Linux/Network.  I like ArchLinux's "simple" concept, light weight, updated packages, nice document and fast bootup/shutdown.  I have installed over ten times ArchLinux in different virtualmachines and netbook in the past week.  I will keep some, delete some and create more.  I don't have a fast internet connection and that's why I would like to set up my local mirror.  I am a newbie here, so please feel free to let me know if I am taking too much (bandwidth) from the community, and it is not encouraged for my case.  And sorry if I have already created any trouble.
    Well, back to my problem.
    1. After the rsync, including everything, the / now occupies 14G harddisk space.  Is it a normal size for a local mirror?
    2. I have inserted "Server = file:///home/mirror/files/$repo/os/i686" as the first line in its /etc/pacman.d/mirrorlist
        pacman -Syy  looks fine.
        pacman -Syu  gives a list of warning (xxx: local is newer than core), end with "there is nothing to do"
        pacman -S mplayer  starts installtion normally, but need mirrors on internet cause a large portion of software is missing/inaccessible on my local mirror.
    3. I have tried to login by FileZilla from an Ubuntu vm, and receive this error message (on FileZilla)
    Status:    Connecting to 192.168.100.100:21...
    Status:    Connection established, waiting for welcome message...
    Response:    421 Service not available.
    Error:    Could not connect to server
    Seems I have issues on both the mirror and the vsftpd.  I prefer to resolve the vsftpd problem first, but all suggestion/comment are very welcome.
    Lastly, did I post my question in a wrong place?  If yes, please let me know.

  • Found 2 Mistakes in "Local Mirror" on Wiki

    I've just found out 2 mistakes in the article: "Local Mirror" on Wiki. You can find out what they are from the history tab. I just changed my script to the newest one and got a few errors.
    Can somebody please confirm that the newest one on Wiki works fine ?

    Yes, they are fine. Thank you.
    I added -k option because otherwise ftp/current does not get synced (it's a symlink).

  • HP Photosmart Premium c309g-m does not have a mirror image print option-help please

    After twice being dropped from HP chat support I have laned in this forum to get some help please.
    I need to be able to print mirror images from my printer and it simply is not a option-it's not a matter of turning on the
    option, it is not there at all.
    Thanks
    Donna

    Check the iron-on packaging for ink specs.   Make sure to use HP iron-on paper.
    Say thanks by clicking "Kudos" "thumbs up" in the post that helped you.
    I am employed by HP

  • Help please. Extended display won't work on MBP and AOC 20" 1600 x 900  60HZ monitor. Mirror display does. I've a mini dvd to vga converter cable. Should this work?

    Help please. Extended display won't work on MBP and AOC 20" 1600 x 900  60HZ monitor. Mirror display does. I've a mini dvd to vga converter cable. Should this work?

    I have the same mini display port adapter and Belkin DVI-HDMI cable (but a Panasonic 42" Plasma HDTV) so just set this up on it to see if I could duplicate your problem, unfortunately for you (but good for me) I can't.
    I connected the adapter+HDMI cable before switching the HDTV on and then powered up the MBP. It (the HDTV) came up with my background right away (it's set at Mirror not extended Desktop) and when I run System Preferences/Displays get the following. Sorry but all I can confirm is that adapter+cable combination should work ...
    Try doing a Parameter RAM reset - hold down command/option/p/r keys at start up and wait for three chimes before releasing the keys?

  • HT1338 When I try to link my Macbook to my TV, I cannot find the "Arrangement" button that would lead me to "Mirror Display". Please help!

    When I try to link my Macbook to my TV, I cannot find the "Arrangement" button that would lead me to "Mirror Display". Please help!

    The Arrangement tab only appears in System Preferences Displays pane if a second display is recognized by the system (the OS).  So it seems like your MacBook is not seeing the TV as being connected.
    Describe the video connection between MacBook and TV...  What type of video out port does your MacBook model have?  How is it converted to the type of port used on the TV?

  • Help!!!!!! OS X wants to use the "local items" keychain. Please enter password. I have tried every password that I know of. Nothing works! I haven't even set up a password for this

    Help!!!!!! OS X wants to use the "local items" keychain. Please enter password. I have tried every password that I know of. Nothing works! I haven't even set up a password for this

  • I spilled some sugary liquid on my Macbook keyboard, I can mirror this computer with another mac and it works find but I can't see anything on the macbook monitor. Help, please!

    I spilled some sugary liquid on my Macbook keyboard, I can mirror this computer with another mac and it works find but I can't see anything on the macbook monitor. Help, please!

    There really isn't any workaround to the cost. You can't get the parts needed to fix it yourself. Only Apple has those parts and they do not sell them to end users.
    Sure you could take it apart and clean everything and the screen might start working again but then it might not. Depending on what cause it to stop working in the first place. Like something got shorted out.
    mike1206 wrote:
    Apple wants 1,200 dollars to fix. I'm trying to work around that cost.

  • Using latest version ios8... have airplay icon but no place to select "mirroring" ... any help please?

    I am using the latest version of ios 8 on my ipad 2 and trying to mirror the image from my ipad to my tv screen. I have apple tv and have the apple tv icon on my ipad. Music plays but I have no option I can find for "mirroring". any help would be appreciated.

    Welcome to the Apple Community.
    Have you tried swiping up from the bottom of the screen to access the control centre

  • Making archlinux (local) mirror

    Before I post the issue PLEASE dont send me to the wiki page, I have been there and it needs to be updated big time!
    okay, I followed the steps on the wiki and I cannot get the mirror script to function, I just get access denied. I believe that I get access denied due to the fact that I am not an official mirror. There is nowhere on the wiki that shows any other servers that can be used properly for the script. I tried the ibiolo mirror on the page but it does not work. If anyone has an unofficial mirror, can you please paste your whole sync.sh? or can someone give me an alternative mirror to rsync.archlinux.org? Thanks
    Last edited by 3nd3r (2007-07-01 05:54:50)

    i got the same with that script u say.. the thing is dir hierarchy errs  made a changes in it and works
    #!/bin/bash
    # This script is used to sync a local mirror of the Arch Linux repositories.
    # Copyright (c)2007 Woody Gilk <[email protected]>
    # Licensed under the GNU GPL (version 2)
    # Original modificado !
    # Filesystem locations for the sync operations
    SYNC_HOME="$HOME/archmirror"
    SYNC_LOGS="$SYNC_HOME/logs"
    SYNC_PKGS="$SYNC_HOME/packages"
    EXCLUDE_FROM=rsync_arch.excludes
    # This allows you to set which repositories you would like to sync
    # Valid options are: current, extra, community, unstable, testing, release
    SYNC_REPO=(current extra community )
    # servidor oficial SYNC_SERVER="rsync.archlinux.org::"
    #francia rsync://distrib-coffee.ipsl.jussieu.fr/pub/linux/archlinux/ rsync
    #francia rsync://mir1.archlinuxfr.org/archlinux rsync
    SYNC_SERVER="distro.ibiblio.org::distros/archlinux/"
    # directorio almacenar descargas temporales ( rync )
    PARTIAL_DIR="$SYNC_HOME/rsync_partial"
    # eliminar ficheros que no existan en el servidor ..
    DELETE=true
    # The following line is the format of the log file name, this example will
    # output something like this: pkgsync_20070201-8.log
    LOG_FILE="pkgsync_$(date +%Y%m%d-%H).log"
    # Do not edit the following lines, they protect the sync from running more than
    # one instance at a time.
    if [ ! -d $SYNC_HOME ]; then
    echo "$SYNC_HOME does not exist, please create it, then run this script again."
    exit 1
    fi
    SYNC_LOCK="$SYNC_HOME/sync_running.lock"
    if [ -f $SYNC_LOCK ] ; then
    echo "aparentemente existe una instancia de este programa en ejecucion... desea continuar? (s):"
    read continua
    if test "$continua" != "s"; then
    exit 1
    fi
    fi
    touch "$SYNC_LOCK"
    # End of non-editable lines
    # Create the log file and insert a timestamp
    #[c]touch "$SYNC_LOGS/$LOG_FILE"
    #[c] echo "==========================================" >> "$SYNC_LOGS/$LOG_FILE"
    #[c] echo ">> Starting sync on $(date)" >> "$SYNC_LOGS/$LOG_FILE"
    #[c] echo ">> ---" >> "$SYNC_LOGS/$LOG_FILE"
    # Rsync each of the repos set in $SYNC_REPO
    for repo in ${SYNC_REPO[@]}; do
    repo=$(echo $repo |tr [:upper:] [:lower:])
    echo "Syncing $repo to $SYNC_PKGS/$repo"
    repourl=$repo
    # If you only want to mirror 32bit packages, you can add
    # " --exclude=os/x86_64" after "--delete"
    # If you only want to mirror 64bit packages, use "--exclude=os/i686"
    # If you want both 32bit and 64bit, leave the following line as it is
    #rsync -rptv --delete --exclude=os/x86_64 rsync.archlinux.org::$repourl "$SYNC_PKGS/$repo" >> "$SYNC_LOGS/$LOG_FILE"
    parametros=" -av --progress -hh -k --stats --partial --partial-dir="$PARTIAL_DIR
    # parametros para eliminar ficheros que no existan en el servidor ..
    if $DELETE; then
    parametros=$parametros" --delete --delete-excluded"
    fi
    if test -e $EXCLUDE_FROM ; then
    parametros="$parametros --exclude-from=$EXCLUDE_FROM"
    fi
    echo $parametros
    rsync $parametros --ipv4 --exclude=os/x86_64 $SYNC_SERVER$repourl "$SYNC_PKGS/"
    # If you know of a rsync mirror that is geographically closer to you than archlinux.org
    # simply replace ".archlinux.org" with the domain of that mirror in the above line
    done
    # Remove the lock file and exit
    rm -f "$SYNC_LOCK"
    exit 0
    and if there is a file rsync_arch.excludes in the dir where app is running then it must be like this one (man rsync)
    where every line that matches a file in repo will be excluded in the download, otherside if prefixed with a + it will be
    inckuded (man rsync)
    # solo descargando paquetes,
    # si se quiere descargar tambien las imagenes de instalalcion, comentar
    current/iso/
    wesnoth*
    nexuiz*
    flightgear*
    tremulous*
    sauerbraten*
    scorched3d*
    #torcs-*
    + koffice-l10n-es*
    koffice-l10n-*
    + kde-i18n-es*
    kde-i18n-*
    festival-*
    eclipse-*
    rfc-*
    skype-*
    + openoffice-base*
    + openoffice-es*
    + openoffice-spell-en*
    + openoffice-spell-es*
    openoffice-*

  • Hi all! I was updating the software on i pad to ios6, update was interrupted(apple update server is unavailable...). iTunes Diagnostics shows that "secure link to I tunes store failed". I use Windows 7 Home Premium 64 bit. Can anybody help please?

    Hi all! I was updating the software on i pad to ios6, update was interrupted(apple update server is unavailable...). iTunes Diagnostics shows that "secure link to I tunes store failed". I use Windows 7 Home Premium 64 bit. Can anybody help please?
    The following was done so far:
    1. Windows Firewall - new rule created for itunes.
    2. iTunes - latest version installed.
    3. LAN setting : automatic detection of proxy is enabled;
    4. iTunes diagnostics shows:
    Microsoft Windows 7 x64 Home Premium Edition (Build 7600)
    TOSHIBA Satellite L655
    iTunes 11.0.2.26
    QuickTime 7.7.3
    FairPlay 2.3.31
    Apple Application Support 2.3.3
    iPod Updater Library 10.0d2
    CD Driver 2.2.3.0
    CD Driver DLL 2.1.3.1
    Apple Mobile Device 6.1.0.13
    Apple Mobile Device Driver 1.64.0.0
    Bonjour 3.0.0.10 (333.10)
    Gracenote SDK 1.9.6.502
    Gracenote MusicID 1.9.6.115
    Gracenote Submit 1.9.6.143
    Gracenote DSP 1.9.6.45
    iTunes Serial Number 003FB880034B7720
    Current user is not an administrator.
    The current local date and time is 2013-04-23 11:01:14.
    iTunes is not running in safe mode.
    WebKit accelerated compositing is enabled.
    HDCP is supported.
    Core Media is supported.
    Video Display Information
    Intel Corporation, Intel(R) HD Graphics
    **** External Plug-ins Information ****
    No external plug-ins installed.
    iPodService 11.0.2.26 (x64) is currently running.
    iTunesHelper 11.0.2.26 is currently running.
    Apple Mobile Device service 3.3.0.0 is currently running.
    **** Network Connectivity Tests ****
    Network Adapter Information
    Adapter Name:          {1CB5BBC2-8124-4664-899A-CE0A4683E3B4}
    Description:          Realtek RTL8188CE Wireless LAN 802.11n PCI-E NIC
    IP Address:          0.0.0.0
    Subnet Mask:          0.0.0.0
    Default Gateway:          0.0.0.0
    DHCP Enabled:          Yes
    DHCP Server:
    Lease Obtained:          Thu Jan 01 08:00:00 1970
    Lease Expires:          Thu Jan 01 08:00:00 1970
    DNS Servers:
    Adapter Name:          {8140112A-43D0-41D6-8B36-BE146C811173}
    Description:          Atheros AR8152/8158 PCI-E Fast Ethernet Controller (NDIS 6.20)
    IP Address:          10.5.7.196
    Subnet Mask:          255.255.0.0
    Default Gateway:          10.5.0.1
    DHCP Enabled:          Yes
    DHCP Server:          172.18.255.2
    Lease Obtained:          Tue Apr 23 10:14:40 2013
    Lease Expires:          Tue Apr 23 22:14:40 2013
    DNS Servers:          121.97.59.7
                        121.97.59.2
                        121.97.59.3
    Active Connection:          LAN Connection
    Connected:          Yes
    Online:                    Yes
    Using Modem:          No
    Using LAN:          Yes
    Using Proxy:          No
    Firewall Information
    Windows Firewall is on.
    iTunes is NOT enabled in Windows Firewall.
    Connection attempt to Apple web site was successful.
    Connection attempt to browsing iTunes Store was unsuccessful.
    The network connection timed out.
    Connection attempt to purchasing from iTunes Store was successful.
    Connection attempt to iPhone activation server was successful.
    Connection attempt to firmware update server was unsuccessful.
    The network connection timed out.
    Connection attempt to Gracenote server was successful.
    The network connection timed out.
    Last successful iTunes Store access was 2013-03-22 10:05:31.
    @@@. iTunes IS ENABLED THROUGH THE FIREWALL , even though diagnostics says "NOT enabled"

    hours after the first post i somehow got this to work. dont know how, but i do tried the dns clear cache, the clear host file, oh and i did the check automatically detech dns AND THEN se-check it again before i got this to work.

  • When I try to update I get an U44M1I210 error message, "Unable to extract the downloaded files" - help please, applies to latest Indesign, Illustrator and Photoshop CC

    When I try to do a CC update I get an U44M1I210 error message, "Update failed - Unable to extract the downloaded files. Press retry to download again. (U44M1I210)" - help please - re-downloading makes no difference, applies to latest Indesign, Illustrator and Photoshop CC, others seemed to update without problems. I can see the disk image files in AAMUpdater folder but they will not open and come up with "couldn't be opened - resource busy" message.

    Yes Jeff, I did all those several times to no avail.
    I've included a small error snippet from two installs here. In Creative Cloud when updating the Apps, all 3 get to 50%, then the failure occurs. Retrying starts at 50% and fails the same way each time.
    This first one is a segment from the Indesign updater - I have always had the all hard drive folders with read and write privileges allowed and I checked again, this is still the case so I do not know why this particular error message is arising. The second snippet if from the Illustrator update.
    08/21/14 09:27:20:522 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Installer Operation: PayloadUninstaller
    08/21/14 09:27:20:522 | [INFO] |  | OOBE | DE |  |  |  | 25152 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*=*
    08/21/14 09:27:20:522 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Session {CB2632B8-D44B-11E3-88A6-77388C8F654B} modify request for AdobeCode: CommonUninstall
    08/21/14 09:27:20:527 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Effective AdobeCode for: CommonUninstall is CommonUninstall
    08/21/14 09:27:20:528 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Payload  8.0.0.15 CommonUninstall: Calling ARKEngine from path /Applications/Utilities/Adobe Application Manager/DECore/DE6/resources
    08/21/14 09:27:20:531 | [INFO] |  | OOBE | DE |  |  |  | 25152 | INSTALLDIR property not found in database
    08/21/14 09:27:20:531 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Beginning un-installation for payload at /Library/Application Support/Adobe/Uninstall/CommonUninstall.db
    08/21/14 09:27:20:531 | [INFO] |  | OOBE | DE |  |  |  | 25152 | UninstallSeq property not found in database
    08/21/14 09:27:20:531 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 1)
    08/21/14 09:27:20:531 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 1)
    08/21/14 09:27:20:531 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 2)
    08/21/14 09:27:20:531 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 2)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0/en_GB/Extensions". Check and correct folder & parent directory permissions and then try again.(Seq 3)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 3)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0/en_GB". Check and correct folder & parent directory permissions and then try again.(Seq 4)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 4)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0". Check and correct folder & parent directory permissions and then try again.(Seq 5)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 5)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/HelpCfg/en_GB". Check and correct folder & parent directory permissions and then try again.(Seq 6)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 6)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEPServiceManager4/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 7)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 7)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEPServiceManager4/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 8)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 8)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEP/extensions". Check and correct folder & parent directory permissions and then try again.(Seq 9)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 9)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEP". Check and correct folder & parent directory permissions and then try again.(Seq 10)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 10)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 11)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 11)
    08/21/14 09:27:20:532 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Library/Application Support/Adobe/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 12)
    08/21/14 09:27:20:532 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 12)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 13)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 13)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014/Plug-Ins". Check and correct folder & parent directory permissions and then try again.(Seq 14)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 14)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 15)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 15)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized/Extensions.localized". Check and correct folder & parent directory permissions and then try again.(Seq 16)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 16)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized". Check and correct folder & parent directory permissions and then try again.(Seq 17)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 17)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 18)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 18)
    08/21/14 09:27:20:533 | [ERROR] |  | OOBE | DE |  |  |  | 25152 | DF037: Unable to delete directory "/Applications/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 19)
    08/21/14 09:27:20:533 | [WARN] |  | OOBE | DE |  |  |  | 25152 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 19)
    08/21/14 09:27:20:533 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Completing un-installation for payload at /Library/Application Support/Adobe/Uninstall/CommonUninstall.db
    08/21/14 09:27:20:533 | [INFO] |  | OOBE | DE |  |  |  | 25152 | Physical payload uninstall result:0
    08/21/14 09:27:20:623 | [INFO] |  | OOBE | DE |  |  |  | 24018 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* Operation complete. Setting status: 0 =*=*=*=*=*=*=*=*=*=*=*=*=*
    08/21/14 09:27:20:623 | [INFO] |  | OOBE | DE |  |  |  | 24018 | :: END TIMER :: [Payload Operation :CommonUninstall] took 101 milliseconds (0.101 seconds) DTR = 79.2079 KBPS (0.0773515 MBPS)
    08/21/14 09:27:20:624 | [INFO] |  | OOBE | DE |  |  |  | 24018 | User specified overrideFile:
    08/21/14 09:27:20:625 | [INFO] |  | OOBE | DE |  |  |  | 24018 | The csu inventory was not updated for payload  8.0.0.15 CommonUninstall, value of local var is -1
    08/21/14 09:27:20:625 | [INFO] |  | OOBE | DE |  |  |  | 24018 | Calling the ROLLBACK custom action code for pre-remove for payload  8.0.0.15 CommonUninstall
    08/21/14 09:27:20:698 | [INFO] |  | OOBE | DE |  |  |  | 24018 | No operation.  We're done:
    0/22/14 11:18:46:937 | [INFO] |  | OOBE | DE |  |  |  | 77654 | Beginning un-installation for payload at /Library/Application Support/Adobe/Uninstall/CommonUninstall.db
    10/22/14 11:18:46:938 | [INFO] |  | OOBE | DE |  |  |  | 77654 | UninstallSeq property not found in database
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Users/MikeTessersComputer/Library/Preferences/Adobe/dynamiclinkmediaserver". Check and correct folder & parent directory permissions and then try again.(Seq 1)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 1)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Users/MikeTessersComputer/Library/Preferences/Adobe InDesign". Check and correct folder & parent directory permissions and then try again.(Seq 2)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 2)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 3)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 3)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/Startup Scripts CC/Adobe Photoshop". Check and correct folder & parent directory permissions and then try again.(Seq 4)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 4)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 9.0/en_US/Extensions". Check and correct folder & parent directory permissions and then try again.(Seq 5)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 5)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 9.0/en_US". Check and correct folder & parent directory permissions and then try again.(Seq 6)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 6)
    10/22/14 11:18:46:938 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 9.0". Check and correct folder & parent directory permissions and then try again.(Seq 7)
    10/22/14 11:18:46:938 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 7)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0/en_GB/Extensions". Check and correct folder & parent directory permissions and then try again.(Seq 8)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 8)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0/en_GB". Check and correct folder & parent directory permissions and then try again.(Seq 9)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 9)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign/Version 10.0". Check and correct folder & parent directory permissions and then try again.(Seq 10)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 10)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/InDesign". Check and correct folder & parent directory permissions and then try again.(Seq 11)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 11)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/HelpCfg/ro_RO". Check and correct folder & parent directory permissions and then try again.(Seq 12)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 12)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/HelpCfg/en_GB". Check and correct folder & parent directory permissions and then try again.(Seq 13)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 13)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/HelpCfg/el_GR". Check and correct folder & parent directory permissions and then try again.(Seq 14)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 14)
    10/22/14 11:18:46:939 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEPServiceManager4/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 15)
    10/22/14 11:18:46:939 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 15)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEPServiceManager4/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 16)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 16)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEP/extensions". Check and correct folder & parent directory permissions and then try again.(Seq 17)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 17)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/CEP". Check and correct folder & parent directory permissions and then try again.(Seq 18)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 18)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/Adobe/AdobePatchFiles". Check and correct folder & parent directory permissions and then try again.(Seq 19)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 19)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Library/Application Support/Adobe/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 20)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 20)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Photoshop CC 2014/Plug-ins". Check and correct folder & parent directory permissions and then try again.(Seq 21)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 21)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Photoshop CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 22)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 22)
    10/22/14 11:18:46:940 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014/Plug-Ins". Check and correct folder & parent directory permissions and then try again.(Seq 23)
    10/22/14 11:18:46:940 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 23)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014/Plug-Ins". Check and correct folder & parent directory permissions and then try again.(Seq 24)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 24)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 25)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 25)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe InDesign CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 26)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 26)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized/Extensions.localized". Check and correct folder & parent directory permissions and then try again.(Seq 27)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 27)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized/Extensions.localized". Check and correct folder & parent directory permissions and then try again.(Seq 28)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 28)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized". Check and correct folder & parent directory permissions and then try again.(Seq 29)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 29)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014/Plug-ins.localized". Check and correct folder & parent directory permissions and then try again.(Seq 30)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 30)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 31)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 31)
    10/22/14 11:18:46:941 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe Illustrator CC 2014". Check and correct folder & parent directory permissions and then try again.(Seq 32)
    10/22/14 11:18:46:941 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 32)
    10/22/14 11:18:46:942 | [ERROR] |  | OOBE | DE |  |  |  | 77654 | DF037: Unable to delete directory "/Applications/Adobe". Check and correct folder & parent directory permissions and then try again.(Seq 33)
    10/22/14 11:18:46:942 | [WARN] |  | OOBE | DE |  |  |  | 77654 | DW063: Command ARKDeleteDirectoryCommand failed.(Seq 33)
    10/22/14 11:18:46:942 | [INFO] |  | OOBE | DE |  |  |  | 77654 | Completing un-installation for payload at /Library/Application Support/Adobe/Uninstall/CommonUninstall.db
    10/22/14 11:18:46:942 | [INFO] |  | OOBE | DE |  |  |  | 77654 | Physical payload uninstall result:0
    10/22/14 11:18:47:030 | [INFO] |  | OOBE | DE |  |  |  | 77365 | *=*=*=*=*=*=*=*=*=*=*=*=*=*=*=* Operation complete. Setting status: 0

  • HT4059 Being new to iBook publishing I need to know if stats are available to determine how many times my iBook has been downloaded. Can anyone help please? Mr Ignorant

    Being new to iBook publishing I need to know if stats are available to determine how many times my iBook has been downloaded. Can anyone help please? I need to persuade someone that this really is worthwhile. Mr Ignorant.

    The only people who can possibly assist you with this is Apple Customer Relations, call your local Apple contact number and ask for Customer Relations then explain your situation clearly and politely (be firm but don't rant).
    You might want to investiage what the local laws are regarding defective goods and 'fit for use' definitions on warranties etc. Consumer Protection can be a useful tool to use or bargain with if needed ...

  • Unsatisfied link when callind dll from run method Help Please?

    Hi,
    I get an unsatisfied link error while trying to calling a dll at a certain time period in a run method. The same dll works fine called in another setup and even called in a loop.
    Can anyone help please?
    import java.util.Timer;
    import java.util.TimerTask;
    * Schedule a task that executes once every second.
    public class TimeRetrieve {
        Timer timer;
        public TimeRetrieve() {
                 timer = new Timer();
            timer.schedule(new RemindTask(),
                        0,        //initial delay
                        1*1000);  //subsequent rate
        class RemindTask extends TimerTask
           String string_A;
           double d1;
         double d2;
         double d3;
         double d4;
         double d5;
         double d6;
         double d7;
         double d8;
         int numIter = 3;
         int start = 1;
            public void run()
                  if (numIter > 0) {
                  cinterface(start, string_A, d1, d2, d3, d4, d5, d6, d7, d8 );
              System.out.println("In Java action performed start button, after call to dll  \n");
              System.out.println("   string_A =  :" +string_A );
              System.out.println("doubles , \t  d1  \t d2  \t  d3  \t d4 \t d5 \t d6 \t d7 \t d8");
              System.out.println(d1 +"\t" +d2+"\t"+d3+"\t"+d4+"\t"+d5+"\t"+d6+"\t"+d7+"\t"+d8);
              numIter--;
                 } else
                 System.out.println("End Looping!");
                    System.exit
                 System.exit(0);  
        public static void main(String args[]) {
                   System.out.println("Starting Data Retrieval.");
                 new TimeRetrieve();
    // Load shared library which contains implementation of native methods
                    public native void cinterface(int start, String string_A, double d1, double d2, double d3, double d4,
                    double d5, double d6, double d7, double d8 );
                    static
                          try
                               System.out.println ("load cinterface"); //unsatisfied link
                               System.loadLibrary("cinterface");
                          catch (UnsatisfiedLinkError ee)
                               System.out.println
                                    ("Caught unsatisfied link error for dlls" );
                               System.out.println
                                    ("get local msg = " + ee.getLocalizedMessage() );
                               System.out.println ("getMessage " + ee.getMessage() );
                                   // System.out.println ("print Stack Trace " +ee.printStackTrace() );

    My mistake! I found it. Had some wrong names.

  • How to download a local mirror of public yum, public-yum-downloader.sh

    Hello there
    I did write an script to create a local mirror of public-yum.oracle.com, it now includes the errata and security bug fixes information._
    First of all, thanks for giving a try to the script.
    The script can be located at:
    https://github.com/kikitux/public-yum-downloader
    Direct RAW access:
    https://raw.github.com/kikitux/public-yum-downloader/master/public-yum-downloader.sh
    Download as
    # wget https://raw.github.com/kikitux/public-yum-downloader/master/public-yum-downloader.sh
    The hierarchy is 100% the same as what is on public-yum
    The script can take several argumentas, like -P for the OS directory, and --url for where the same path will be public, so you can put the mirror in a different path
    example, I have my own repo in /u02/stage/ and is shared like http://mirandaa00/stage
    on my apache I have
    Alias /stage "/u02/stage/"
    <Directory "/u02/stage/">
    Options Indexes MultiViews FollowSymLinks
    AllowOverride None
    Order allow,deny
    Allow from all
    </Directory>
    In that way, I have everything I want in my own path.
    When you use the url option, the script will create a local-yum-ol6.repo file with the url you gave, with GPG enabled, so you can be sure nothing wrong will happen in the middle
    I use this script it this way
    as root, i have /root/bin/dl.sh with this content
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -R 6.latest --url http://mirandaa00/stage -l /u02/stage/repo/OracleLinux/OL6/
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -R 5.latest --url http://mirandaa00/stage -l /u02/stage/repo/OracleLinux/OL5/
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -R 4.latest --url http://mirandaa00/stage -l /u02/stage/repo/EnterpriseLinux/EL4/
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -R 6.4 --url http://mirandaa00/stage -l /u02/stage/repo/OracleLinux/OL6/
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -R 5.9 --url http://mirandaa00/stage -l /u02/stage/repo/OracleLinux/OL5/
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -R 4.9 --url http://mirandaa00/stage -l /u02/stage/repo/EnterpriseLinux/EL4/
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -R 4.8 --url http://mirandaa00/stage -l /u02/stage/repo/EnterpriseLinux/EL4/
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -R 6.UEK --url http://mirandaa00/stage
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -R 5.UEK --url http://mirandaa00/stage
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -r ol6_addons --url http://mirandaa00/stage
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -r el5_addons --url http://mirandaa00/stage
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -r el5_oracle_addons --url http://mirandaa00/stage
    ~/bin/public-yum-downloader.sh -P /u02/stage/ -p http://proxy:3128 -r ol6_playground_latest
    the -l will look on that path to find the rpm, useful for example if you have a dvd and you want to use as initial cache
    I do run my commands in that way as when 5.9 came out, I had a lot of those rpms in 5.8 or 5 latest, rite?
    Worst thing that could happen, is the rpm is not there, and will have to download, but if it's there will copy it
    for UEK and addons those are unique rpm, so I don't use -l
    for the playground, that are the new kernel based on 3.x directly, i don't use --url, as I don't wat the script to enable that repo, but I do want to download what that channel have
    so, for known versions 6.0 to 6.4 you can use -R 6.n or even -R 6.UEK
    for other repos you can pass the name as -r repo
    Regarding the OVM3, the OVM3 is not on the repo, so I don't use my script for that, however, you can use the tools your self
    mkdir -p /u02/stage/repo/OracleVM/OVM3/latest/x86_64/repodata/.cache
    and create a repo file
    cat /u02/stage/public-yum-ovm3.repo
    [ovm3_latest]
    name=Oracle Linux $releasever Latest (x86_64)
    baseurl=http://public-yum.oracle.com/repo/OracleVM/OVM3/latest/x86_64/
    gpgkey=http://public-yum.oracle.com/RPM-GPG-KEY-oracle-el5
    gpgcheck=1
    enabled=1
    Then, you can download what is there as:
    http_proxy=http://proxy:3128 yumdownloader -c /u02/stage/public-yum-ovm3.repo --destdir=/u02/stage/repo/OracleVM/OVM3/latest/x86_64/ '*'
    createrepo -v -c /u02/stage/repo/OracleVM/OVM3/latest/x86_64/repodata/.cache /u02/stage/repo/OracleVM/OVM3/latest/x86_64
    Please, take note the yumdownloader use --destdir=/path  then SPACE, then what you want to download, as we want a mirror, space '*'
    any question, here, or feel free to mailme at [email protected]
    if you have time, check http://kikitux.net
    Alvaro.
    Edited by: Alvaro Miranda on May 6, 2013 9:13 PM

    Keep it running, time by time it takes FOR Ever
    The good thing is the script already downloaded the repo file and the GPG key, so internet is working.
    Where you tell me is waiting for ever, is downloading the metadata of the files, and doing the list of packages and dependencies to download.
    then, with that list, it will use wget to download the rpm files
    On /var/tmp/public-yum-downloader/ it will be leaving some files that you can use to check what's doing, a folder for x86_64 and i383 to have a local copy of the metadata
    /var/tmp/public-yum-downloader/list.log will show is the output of yum-downloader and then the output of wget
    I don't think your download will be slower than mine.. I am on New Zealand.. :D
    Alvaro.

Maybe you are looking for

  • Partner Access to Beehive Workspace

    Beehive Onlinie Workspace: HCM Fusion Training Beehive Online Group: Early Adopter Implementer Training Group shows: [email protected] Naga Kadiyala [email protected] Verified Group is associated with the workspace Only this partner is having access

  • Safari suddenly no longer accessing some websites

    I am on OS 10.4.9 using Safari 2.0.4. I'm aware both are outdated, but for various reasons I have chosen not to upgrade because I haven't really had any need to. But some weirdness has happened regarding my Safari and this is perhaps more a curiosity

  • Sharing problems with iTunes 9

    Under iTunes 8 I had sharing of my music collection working well with 2 other computers on my home network by pointing iTunes on each computer to a common iTunes Media Folder Location on a network drive. I installed iTunes 9 and turned Home Sharing o

  • How to use OWN logical database

    Hi all, hope somebody can help me. I copied a standard logical database (FPMF). The program which I use and have modified is also copied from standard. How can I assure that the program use MY logical database instead of the SAP-One? In my case I hav

  • IPOD updater download DOES NOT start automatically

    I cannot get the new updater (1.1) for the Nano to start...it will not download. Suggestions? Thanks. Rgar