Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I tried to remove the long time unused packages from apt-cacher archive using find:

$ find /var/cache/apt-cacher -atime +5 -type f -name ".*deb*" | wc -l 8471
$ find /var/cache/apt-cacher -atime +9 -type f -name ".*deb*" | wc -l 2269
$ find /var/cache/apt-cacher -atime +10 -type f -name ".*deb*" | wc -l 0

Can I depend on the "Access Time" for apt-cacher archive usage?

That is, does "Access Time" change only when package get received by the user?

We are using apt-cacher for more than 6 months.

share|improve this question
possible duplicate of How can I list the unused applications? – Raja Feb 12 '13 at 12:43
The question deals with another problem. So I wouldn't consider them duplicates. – qbi Feb 12 '13 at 20:33
snow: I mostly want to know how apt-cacher act with its list of packages.It might be better to present this at apt-cacher developer mail-list. – Amir Naghizadeh Feb 13 '13 at 8:34

Are you sure that the atime on your files is properly kept? Many filesystems use mounted nowadays with noatime or relatime options to reduce the amount to writes to the disk.

Those options influence how and how often the atime stat field is written.

share|improve this answer
Thanks for remind me that,it was good TIP. – Amir Naghizadeh May 15 '13 at 9:58

Yes, apt- catcher is an apt-proxy. It has the ability to catch the packages you download locally each time an update is made in your system.

share|improve this answer
so,you don't answer my question. – Amir Naghizadeh May 15 '13 at 9:56

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.