JN Hope that helps,
OK, I found
apt-get -o Dir::Cache=/cf -o Dir::Cache::archives=debs/ autoclean
will do what I want, leave only the current versions on my sneakernet
shared memory card... Thanks.
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject of unsubscribe.
Is there any case where
$ cd /var/cache/apt/archives
$ set -- $(ls -r some_package_*)
$ dpkg --compare-versions $1 gt $2
isn't true? Thus for my uses, I needn't worry about
dpkg --compare-versions and just use ls?
--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org
with a subject
jida...@jidanni.org wrote:
Is there any case where
$ cd /var/cache/apt/archives
$ set -- $(ls -r some_package_*)
$ dpkg --compare-versions $1 gt $2
isn't true?
Yes.
* dpkg --compare-versions uses ASCII to compare letters (so B a).
In non-C locales, ls does not.
* dpkg
3 matches
Mail list logo