ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Alexey Tourbin <at@altlinux.ru>
To: sisyphus@altlinux.ru
Subject: [sisyphus] apt-scripts
Date: Sun, 11 Jun 2006 17:10:29 +0400
Message-ID: <20060611131029.GC29743@localhost.localdomain> (raw)

[-- Attachment #1: Type: text/plain, Size: 2017 bytes --]

On Thu, May 18, 2006 at 02:07:18AM +0400, QA Team Robot wrote:
> apt-scripts - Lua scripts for APT
> * Tue May 16 2006 Alexey Tourbin <at@altlinux> 0.1-alt1
> - initial revision, only 'apt-cache list-extras' for now

> apt-scripts - Lua scripts for APT
> * Sun May 21 2006 Alexey Tourbin <at@altlinux> 0.1.1-alt1
> - added 'apt-cache list-nodeps'
> * Tue May 16 2006 Alexey Tourbin <at@altlinux> 0.1-alt1

Команда `apt-cache list-extras' показывает пакеты, которые отсутствуют
в репозитрарии (совпадение по имени пакета, кроме специальных случаев
типа Allow-Duplicated, в которых версия также учитывается).

Вот вывод этой команды на одном из офисных серверов (поскольку пакет
apt-scripts не установлен, показываю альтернативный вариант запуска этих
скриптов):

$ cd ~/tmp/rpm
$ rpm2cpio /raid/ALT/Sisyphus/files/noarch/RPMS/apt-scripts-0.1.1-alt1.noarch.rpm |cpio -idmu --quiet
$ apt-cache script ./usr/share/apt/scripts/list-extras.lua |head
lua4
kernel22-smp-secure#2.2.25-alt1
kernel24-smp#2.4.2-ipl2mdk
libgtk+mdk
libbonobo-conf
lesstif-doc
<censored>
kernel-image-std-smp#2.4.28-alt2
glibc-core-i686
xsysinfo
$

Это означает, что перечисленных пакетов больше нет в репозитарии.
Следовательно, эти пакеты скорее всего были перемещены в
orphaned/obsolete (и поэтому, быть может, стоит их снести).


Команда `apt-cache list-nodeps' показывает пакеты, от которых не зависят
какие-либо другие пакеты, установленные в системе.  То есть эти пакеты
"никому не нужны" и их можно удалить с помощью "rpm -e".  Тем не мене,
список этот большой, примерно 1/3 от всех установленных пакетов.

Среди этого списка можно обнаружить неиспользуемые библиотеки, примерно так:

$ apt-cache script ./usr/share/apt/scripts/list-nodeps.lua |grep '^lib[^-]*$'
libgtk+mdk
libmysqlclient10
libdevmapper
libevent
libintl1
libtolua5
libdnet
libunicode
libcups
libxorgconfig
libdb1
libdb2
libgd1
libgd2
libogg
libORBit
libxml
libmm
$

Эти библиотеки, вероятно, стоит снести.

[-- Attachment #2: Type: application/pgp-signature, Size: 191 bytes --]

             reply	other threads:[~2006-06-11 13:10 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-06-11 13:10 Alexey Tourbin [this message]
2006-06-11 15:02 ` Dmitry V. Levin

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=20060611131029.GC29743@localhost.localdomain \
    --to=at@altlinux.ru \
    --cc=sisyphus@altlinux.ru \
    --cc=sisyphus@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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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