Unifix knowledge database - The original one

Dashboard - News - Search - List - About - Admin

Shared Deb archive (Ubuntu)

Author:zephid - Wed Feb 20 11:21:12 2008

Using Samba shares.

Add to /etc/fstab
//server/folder  /opt/archives  smbfs  uid=root,gid=users,credentials=/path/file  0 0

credentials syntax:
username = smb_username
password = smb_password

apt-get install smbfs

Edit /etc/apt/apt.conf.d/20archive

Add to bottom
Dir::Cache::Archives "/opt/archives";

NB: Due to limitations in apt, we can not change the lock file, so only one person can use the share at the time. However it is possible to delete lock and start a new update, if the packages are archived !
Copyright(c) Unifix.org 2002-2011

Dashboard - News - Search - List - About - Admin
Powered by Mikjaer Consulting Solutions - Hosted by Specialhosting.dk