Shared Deb archive (Ubuntu)

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 !

Dette indlæg blev udgivet i Knowledge Base, Linux, Old Base. Bogmærk permalinket.

Skriv et svar