From: "Andriy Dobrovol's'kii" <dobr@iop.kiev.ua>
To: community@altlinux.ru
Subject: Re: [Comm] Re: deps [on remove] ?
Date: Fri, 18 Mar 2005 12:35:34 +0200
Message-ID: <423AAEF6.6030307@iop.kiev.ua> (raw)
In-Reply-To: <20050318095402.GO16967@immo.ru>
Alexey I. Froloff wrote:
> * Dmytro O. Redchuk <dor@> [050318 12:34]:
>
>>>И никто не обратил внимания на точный смысл сообщения апта. Он снова
>>>в ответ на пожелание _удалить_ пакет, пытается что-то поставить...
>>>Я об этом раньше уже писал сюда, но, все заявили, что это абсолютно
>>>нормально... :(
>>
>>Ненормально!!!
>
> Это нормально. С точки зрения apt remove - это такой же install,
> только наоборот.
>
> # apt-get remove cyrus-imapd
> ... will be REMOVED:
> cyrus-imapd postfix
> ...
>
> # apt-get install cyrus-imapd-
> ... will be REMOVED:
> cyrus-imapd postfix
> ...
>
> # apt-get remove cyrus-imapd procmail+
> ... will be INSTALLED:
> procmail
> ... will be REMOVED:
> cyrus-imapd
> ...
>
> # apt-get install cyrus-imapd- procmail
> ... will be INSTALLED:
> procmail
> ... will be REMOVED:
> cyrus-imapd
> ...
>
> Иначе как одной командой устновить один пакет и удалить другой не
> нарушая зависимостей?
>
Всё написанное говорит только о слабой проработке логики апта и не
более. Просто, в логической цепочке, забыли ещё одну точку
ветвления. :) Если нужно что-то удалить и одновременно поставить --
используем базы с указаных серверов. Если _только_удалить_ оцениваем
зависимости только локальной пакетной базы. И тогда, никакой
проблемы с множественностью ядра, в указаном случае, просто не
возникло бы. Как не возникло бы и моих проблем описаных ранее.
Проблема не в том, что удалить -- для апта значит "поставить, только
наоборот", а в точ, что он всегда при удалении оценивает структуру
зависимостей по внешним базам. Из-за чего, тривиальная операция,
часто становится невозможной. И решается исключительно отключением
внешних баз.
--
Rgrds,
Andriy
*********************************************************************
email: dobr at iop dot kiev dot ua Kyiv, Ukraine
Phone: (380-44) 265-7824 Department of Gas Electronics
Fax: (380-44) 265-2329 Institute of Physics of NASU
*********************************************************************
prev parent reply other threads:[~2005-03-18 10:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-03-17 14:41 [Comm] " Dmytro O. Redchuk
2005-03-17 14:58 ` Eugene A. Suchkov
2005-03-17 15:13 ` Dmytro O. Redchuk
2005-03-17 15:30 ` Sergey Kuznetsov
2005-03-17 15:36 ` [Comm] " Michael Shigorin
2005-03-17 15:42 ` Dmytro O. Redchuk
2005-03-17 16:12 ` Michael Shigorin
2005-03-17 16:35 ` Dmytro O. Redchuk
2005-03-18 9:25 ` Andriy Dobrovol's'kii
2005-03-18 9:33 ` Dmytro O. Redchuk
2005-03-18 9:54 ` Alexey I. Froloff
2005-03-18 10:03 ` Dmytro O. Redchuk
2005-03-18 10:35 ` Andriy Dobrovol's'kii [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=423AAEF6.6030307@iop.kiev.ua \
--to=dobr@iop.kiev.ua \
--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