ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Ilya V. Pobelov" <pobelov@mail.ru>
To: Mailing list for ALT Linux users <community@altlinux.ru>
Subject: [Comm] умная подчистка /var/cache/apt/archives/
Date: Wed, 19 Oct 2005 23:46:43 +0200
Message-ID: <20051019214643.GG11285@pur.v.ru> (raw)

Доброе время суток.
Наверное типичная ситуация - есть аптовский кеш пакетов по адресу
/var/cache/apt/archives/
Хочется его подчистить для освобождения места на диске, но по-умному -
файлы, скопированные с CD удалить, а скачанные с сети оставить. Я примерно
представляю, как это сделать, но может у кого-нибудь есть уже готовый скриптик?
И в догонку - нет ли у кого готового решения для такой задачи:
есть файлы пакета разных версий, нужно оставить новейший, а остальные
удалить?

--
With best regards, Ilya V. Pobelov
ALT Linux Master 2.4 (Citron)
kernel 2.6.11-wks26-up-alt4.ilya1, system uptime: 19 days, 3:38
NP: Death - Zombie Ritual


             reply	other threads:[~2005-10-19 21:46 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-10-19 21:46 Ilya V. Pobelov [this message]
2005-10-20  5:03 ` Шенцев Алексей Владимирович
2005-10-20 18:27   ` Ilya V. Pobelov

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20051019214643.GG11285@pur.v.ru \
    --to=pobelov@mail.ru \
    --cc=community@altlinux.ru \
    --cc=community@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git