You are not logged in.

#1 2010-05-03 13:26:57

dkorzhevin
Member
From: Kiev, Ukraine
Registered: 2010-04-23
Posts: 61

Local ArchLinux repository (core, extra, community) on DVD

Hello,

Please, tell - how can i make images of repository with archlinux install+core+extra+community to DVD disks? I search wiki, forum - but doesnt find information of making such dvd or any else setup media.

Offline

#2 2010-05-03 13:34:44

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: Local ArchLinux repository (core, extra, community) on DVD

rsync a mirror, burn them to DVD and then point pacman at it.

Offline

#3 2010-05-03 14:49:51

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: Local ArchLinux repository (core, extra, community) on DVD

And remember that you will need to update them regularly.

Offline

#4 2010-05-04 06:51:23

dkorzhevin
Member
From: Kiev, Ukraine
Registered: 2010-04-23
Posts: 61

Re: Local ArchLinux repository (core, extra, community) on DVD

Thank you for answer!

I trying to rsync local mirror from "http://archlinux.hell.org.ua/archlinux/" using manual from wiki (http://wiki.archlinux.org/index.php/Local_Mirror) but i have errors:

[korg@archlinux scripts]$ ./mirrorsync.sh
ERROR: The remote path must start with a module name not a /
rsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]
ERROR: The remote path must start with a module name not a /
rsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]
ERROR: The remote path must start with a module name not a /
rsync error: error starting client-server protocol (code 5) at main.c(1506) [Receiver=3.0.7]
[korg@archlinux scripts]$

In mirrorsync.sh:

SYNC_SERVER=archlinux.hell.org.ua::/archlinux

Where mistake?

Offline

#5 2010-05-04 06:57:38

Allan
Pacman
From: Brisbane, AU
Registered: 2007-06-09
Posts: 11,384
Website

Re: Local ArchLinux repository (core, extra, community) on DVD

Big hint in your error output...

ERROR: The remote path must start with a module name not a /

Offline

#6 2010-05-04 07:05:37

dkorzhevin
Member
From: Kiev, Ukraine
Registered: 2010-04-23
Posts: 61

Re: Local ArchLinux repository (core, extra, community) on DVD

I try that, and have error:

[korg@archlinux scripts]$ ./mirrorsync.sh
rsync: failed to connect to archlinux.hell.org.ua: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]
rsync: failed to connect to archlinux.hell.org.ua: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]
rsync: failed to connect to archlinux.hell.org.ua: Connection refused (111)
rsync error: error in socket IO (code 10) at clientserver.c(122) [Receiver=3.0.7]
[korg@archlinux scripts]$ ./mirrorsync.sh

"SYNC_SERVER=archlinux.hell.org.ua::archlinux"

Offline

#7 2010-05-04 08:54:44

wonder
Developer
From: Bucharest, Romania
Registered: 2006-07-05
Posts: 5,941
Website

Re: Local ArchLinux repository (core, extra, community) on DVD

for i in core extra community; do
    rsync -rpltv --delete-after  \
        --exclude=os/i686 \
        rsync://mirror.giantix-server.de/archlinux/$i ~/mirror
    sleep 5
done

note the --exclude=os/i686. now it would fetch only the packages for x86_64. modify it to os/x86_64 if you want only i686


Give what you have. To someone, it may be better than you dare to think.

Offline

#8 2010-05-04 09:48:31

dkorzhevin
Member
From: Kiev, Ukraine
Registered: 2010-04-23
Posts: 61

Re: Local ArchLinux repository (core, extra, community) on DVD

Thank you, I was able to synchronize the repository core, extra, community with another local server (ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/), apparently a bug with hell.org.ua associated with incorrect server settings .

And how to write a local repository on DVD discs? (Only i686 architecture) at the moment I have is such a repository directory structure:

/home/mirror/
|-- files
|   |-- community
|   |   `-- os
|   |       |-- any
|   |       |-- i686
|   |       `-- x86_64
|   |-- core
|   |   `-- os
|   |       |-- any
|   |       |-- i686
|   |       `-- x86_64
|   `-- extra
|       `-- os
|           |-- any
|           |-- i686
|           `-- x86_64
|-- logs
`-- scripts

Offline

#9 2010-05-04 14:16:52

knedlyk
Member
From: L'viv, Ukraine
Registered: 2009-04-14
Posts: 163
Website

Re: Local ArchLinux repository (core, extra, community) on DVD

hell.org.ua is not syncing regularly, so you'd better forget about it. Use ftp://ftp.linux.kiev.ua/pub/Linux/ArchLinux/ as local Ukrainian mirror. Then you have to burn DVD with the following local structure:

-- community
   `-- os
       |-- any
       |-- i686
       `-- x86_64
-- core
   `-- os
       |-- any
       |-- i686
       `-- x86_64
-- extra
    `-- os
     |-- any
     |-- i686
     `-- x86_64

an then point your pacman to use the local mirror, e.g. in /etc/pacman.conf: Server = file:///media/dvd/$repo/os/i686.

Offline

Board footer

Powered by FluxBB