From: Sergey Vlasov <vsu@altlinux.ru>
To: sisyphus@lists.altlinux.org
Subject: Re: [sisyphus] Упрямые пакеты
Date: Mon, 19 Jul 2010 16:25:17 +0400
Message-ID: <20100719122516.GI4149@newmaster.mivlgu.local> (raw)
In-Reply-To: <201007191434.54902.serpiph@nikiet.ru>
[-- Attachment #1: Type: text/plain, Size: 1541 bytes --]
On Mon, Jul 19, 2010 at 02:34:54PM +0400, Sergei Epiphanov wrote:
> Похоже на эффект apt-get. Дело в том, что я пользуюсь командой
>
> apt-get install kernel-image-<тратата> 'kernel-modules-.*-<соответствует
> kernel-image-...>' dahdi-udev- kernel-modules-dahdi-<на основе ошибки apt-get>
>
> В этом варианте apt-get предлагает установить asterisk-user и pbx-base-user,
> хотя реально ни одного пакета dahdi не встаёт. Для их неустановки приходится
> писать:
>
> apt-get install kernel-image-<тратата> 'kernel-modules-.*-<соответствует
> kernel-image-...>' dahdi-udev- kernel-modules-dahdi-<на основе ошибки apt-get>
> asterisk-user- pbx-base-user-
>
> apt-get говорит, что последние 2 вообще-то не установлены в системе, поэтому и
> их сносом не будет заниматься.
Да, это действительно особенность apt-get - если одним параметром
запросить установку пакета, а потом в последующих параметрах запросить
его же удаление, сам пакет не будет установлен, а вот все его
зависимости будут установлены, несмотря на то, что на самом деле эти
пакеты не нужны. Тот же самый эффект будет у двух последовательных
команд install <все_модули> и remove <лишние_модули> в apt-shell.
Можно попробовать воспользоваться более мощными средствами поиска
пакетов, имеющимися в aptitude:
aptitude install "~n ^kernel-modules-.*-$VERSION\$ !~n dahdi"
В этом случае формируется только один запрос на установку, изначально
не содержащий ненужных пакетов, поэтому лишние пакеты из зависимостей
в системе не появляются.
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
prev parent reply other threads:[~2010-07-19 12:25 UTC|newest]
Thread overview: 27+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-19 6:06 Sergei Epiphanov
2010-07-19 8:59 ` Ivan Fedorov
2010-07-19 10:17 ` Sergei Epiphanov
2010-07-19 10:22 ` Денис Смирнов
2010-07-19 10:21 ` Денис Смирнов
2010-07-19 10:28 ` Sergei Epiphanov
2010-07-19 10:34 ` Sergei Epiphanov
2010-07-19 12:00 ` Ivan Fedorov
2010-07-19 12:47 ` Sergei Epiphanov
2010-07-19 13:01 ` Denis G. Samsonenko
2010-07-19 13:07 ` Sergei Epiphanov
2010-07-19 15:00 ` Roman Lesnichenko
2010-07-19 15:06 ` Anton A. Vinogradov
2010-07-19 15:59 ` Roman Lesnichenko
2010-07-20 7:05 ` Sergei Epiphanov
2010-07-20 6:15 ` REAL
2010-07-20 7:56 ` Sergei Epiphanov
2010-07-20 7:04 ` REAL
2010-07-20 7:06 ` REAL
2010-08-13 3:13 ` Vladimir V. Kamarzin
2010-07-19 12:14 ` Денис Смирнов
2010-07-19 12:45 ` Sergei Epiphanov
2010-07-19 12:50 ` Andrey Rahmatullin
2010-07-19 14:22 ` Денис Смирнов
2010-07-20 6:21 ` Sergei Epiphanov
2010-07-20 6:34 ` Ildar Mulyukov
2010-07-19 12:25 ` Sergey Vlasov [this message]
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=20100719122516.GI4149@newmaster.mivlgu.local \
--to=vsu@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