This site is now 100% read-only, and retired.

XML logo

Using cifs as mountpoint for apt archive
Posted by trakic on Wed 27 Oct 2010 at 09:25
Tags:
My rootfs (squeeze/sid) is quite small on my embedded device so I have descided to use a CIFS mount point for storing a new deb packages.

After symlinking the propriate endpoints following error occured:

# apt-get dist-upgrade -d -y

E: Archives directory /var/cache/apt/archives/partial is missing. - Acquire (75: Value too large for defined data type

My CIFS mount point looks like this:
//192.168.1.10/OpenShare/ on /mnt/nas01/OpenShare type cifs (rw,mand)

And symlink entry like this:
debian-nvu:/var/cache/apt# ls -laFh
total 39M
drwxr-xr-x 3 root root 4.0K Oct 27 10:14 ./
drwxr-xr-x 30 root root 4.0K May 28 21:50 ../
lrwxrwxrwx 1 root root 36 Oct 27 10:14 archives -> /mnt/nas01/OpenShare/debian/archives/
drwxr-xr-x 3 root root 20K Oct 25 22:43 archives.orig/
-rw-r--r-- 1 root root 24M Oct 10 2009 erl
-rw-r--r-- 1 root root 14M Oct 27 04:09 pkgcache.bin
-rw-r--r-- 1 root root 14M Oct 26 21:29 srcpkgcache.bin
lrwxrwxrwx 1 root root 34 Aug 22 2008 x-window-manager -> /etc/alternatives/x-window-manager*

I hope somebody can shed a light.

br.Admir Trakic, Copenhagen, Denmark

 

Comments on this Entry

Re: Using cifs as mountpint for my apt archive
Posted by rjc (193.122.xx.xx) on Wed 27 Oct 2010 at 13:29
The error message says exactly what is wrong:

E: Archives directory /var/cache/apt/archives/partial is missing. - Acquire (75: Value too large for defined data type

# mkdir /var/cache/apt/archives/partial

rjc

[ Parent ]

Re: Using cifs as mountpint for my apt archive
Posted by trakic (193.110.xx.xx) on Wed 27 Oct 2010 at 14:26
[ View Weblogs ]
The folder is already there with root persmissions, so that's why I find it hard to figure. I have guess i should add additional mount.cifs options.

[ Parent ]

Re: Using cifs as mountpint for my apt archive
Posted by taintedkernel (68.193.xx.xx) on Wed 27 Oct 2010 at 16:15
Yes I was going to say try creating the directory as well, I saw that error when I was working with my SheevaPlug. Not sure what the problem is there, but perhaps this will provide some insight: http://computingplugs.com/index.php/Fixing_apt-get

[ Parent ]

Re: Using cifs as mountpint for my apt archive
Posted by trakic (193.110.xx.xx) on Thu 28 Oct 2010 at 08:09
[ View Weblogs ]
Like I said previously partial directory was already there before apt-get was executed, so I'm still not able to download packages by using cifs mount point as repository for newcomming packages.

[ Parent ]

Re: Using cifs as mountpint for my apt archive
Posted by mcortese (20.142.xx.xx) on Fri 29 Oct 2010 at 08:55
[ View Weblogs ]
On this bug report they suggest to add nounix and noserverino to the mount options. Give it a try.

[ Parent ]

Re: Using cifs as mountpint for my apt archive
Posted by trakic (193.110.xx.xx) on Tue 4 Oct 2011 at 09:45
[ View Weblogs ]
FIXED: for some strange reason my cifs mount kept adding noexec,nosuid as mount option,so I had to exlicit add suitable mount options: exec,suid on my fstab entry.

[ Parent ]