[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#314334: apt: APT doesn't work on filesystems without shared writeable mmap(), like JFFS2



Hi,

Here's a workaround; keep the package caches on tmpfs.

dilinger@fred:~$ grep cache /etc/fstab 
tmpfs	/var/cache/apt/cache	tmpfs defaults	  0 0
dilinger@fred:~$ cat /etc/apt/apt.conf
Dir {
  Cache "var/cache/apt/" {
    srcpkgcache "cache/srcpkgcache.bin";
    pkgcache "cache/pkgcache.bin";
  };
};


tmpfs is capable of shared writeable mmap, so with this apt is usable
on jffs2.



Reply to: