ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Александр Никольников" <aries@first.cb.ucsnet.ru>
To: community@altlinux.ru
Subject: Re: [Comm] Re: Минимизация системы.
Date: Thu, 23 Dec 2004 10:58:19 +0500
Message-ID: <20041223055819.GB23866@alexpc.oiau.chel.cbr.ru> (raw)
In-Reply-To: <20041222133228.GC9534@osdn.org.ua>

On Wed, Dec 22, 2004 at 03:32:28PM +0200, Michael Shigorin wrote:
> On Wed, Dec 22, 2004 at 10:40:26AM +0500, Александр Никольников wrote:
> > Допустим, я знаю список пакетов которые мне нужны.
> > Как мне сделать чтобы в системе остались только эти пакеты и
> > всё что им необходимо по зависимостям ?
> 
> Боюсь, только ручным просмотром на сейчас.
> 
> Начиная с rpm -qa --queryformat "%{SIZE}\t\t%{NAME}\n" | sort -n
> и дальше apt-get -D remove показавшееся излишним.
У меня нет проблем со свободным местом ;) А вот болтающиеся
пакеты (некоторые со времён чуть-ли не Mandrake RE) с их зависимостями осложняют жизнь.

Что-то я не нашёл описания этого -D в документации apt.
Где-б про это узнать ?

Вроде может что и получится.
Найти пакеты от которых никакие другие пекаты не зависят.
Убрать из полученного списка нужные мне, а там хотя-бы один такой будет.
Всем остальным сказать apt-get -D remove
...
Любоваться тем как apt сносит полсистемы ;))

> 
> Довольно удобен для этого и Synaptic нынче.

"Гуйня" для управления пакетами ? - Фуу ...

> 
> PS: в дебиане был пакетик, анализирующий времена доступа к файлам
> пакетов и помогающий делать выводы -- я думал его портировать, но
> пока застрял.  ...хм, как зовётся -- тоже уже не найду :(

Выявление редко используемых пакетов - это интересно.


--
Саша




  reply	other threads:[~2004-12-23  5:58 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-22  5:40 [Comm] " Александр Никольников
2004-12-22  5:53 ` Andrey Rahmatullin
2004-12-22  6:28 ` Sergey S. Skulachenko
2004-12-22  8:04   ` Andrey Rahmatullin
2004-12-22 11:41   ` Александр Никольников
2004-12-22 16:27     ` Andrey Rahmatullin
2004-12-23  4:34       ` Александр Никольников
2004-12-22 15:35   ` Denis Smirnov
2004-12-22  7:19 ` Slava Dubrovskiy
2004-12-22 13:32 ` [Comm] " Michael Shigorin
2004-12-23  5:58   ` Александр Никольников [this message]
2004-12-23  6:15     ` Nizamov Shavkat
2004-12-23  9:26     ` Michael Shigorin
2004-12-22 18:27 ` [Comm] " Sergey Kuznetsov

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=20041223055819.GB23866@alexpc.oiau.chel.cbr.ru \
    --to=aries@first.cb.ucsnet.ru \
    --cc=community@altlinux.ru \
    /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