Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

Local Rsync Mirror not syncing distfiles and packages [solve

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
3 posts • Page 1 of 1
Author
Message
m_spidey
Guru
Guru
User avatar
Posts: 312
Joined: Mon Feb 28, 2005 10:42 pm
Location: Planetexpress Ship

Local Rsync Mirror not syncing distfiles and packages [solve

  • Quote

Post by m_spidey » Wed Jan 31, 2007 1:09 am

Hi All

I've set up a local rsync mirror for the rest of my LAN. The problems lies in that the 'emerge --sync' when performed from another LAN machine doesn't pull the 'distfiles' and 'packages' directory under /usr/portage.

Here is my rsyncd.conf

Code: Select all


# This line is required by the /etc/init.d/rsyncd script
pid file = /var/run/rsyncd.pid
use chroot = yes
read only = yes

hosts allow=192.168.0.0/255.255.255.0 192.168.2.0/255.255.255.0
hosts deny=*

# Simple example for enabling your own local rsync server
[gentoo-portage]
        path = /usr/portage
        comment = Gentoo Portage tree
Thanks for you help.
Last edited by m_spidey on Wed Jan 31, 2007 1:29 am, edited 1 time in total.
Ronald McDonald -> The necessary Evil.
Top
Conan
Guru
Guru
Posts: 360
Joined: Tue Nov 02, 2004 1:26 am

  • Quote

Post by Conan » Wed Jan 31, 2007 1:23 am

Code: Select all

ignorance ~ # grep RSYNC_OPTS /etc/make.globals
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress --force --whole-file --delete --delete-after --stats --timeout=180 --exclude=/distfiles --exclude=/local --exclude=/packages"
Try overriding that in make.conf
Top
m_spidey
Guru
Guru
User avatar
Posts: 312
Joined: Mon Feb 28, 2005 10:42 pm
Location: Planetexpress Ship

  • Quote

Post by m_spidey » Wed Jan 31, 2007 1:29 am

Thanks for that. =D
Ronald McDonald -> The necessary Evil.
Top
Post Reply

3 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic