ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Stanislav Ievlev <inger@altlinux.org>
To: sisyphus@altlinux.ru
Subject: Re: [sisyphus] apt, pam_userpass и dist-upgrade
Date: Wed, 23 Apr 2003 15:46:00 +0400
Message-ID: <20030423114600.GB13130@basalt.office.altlinux.org> (raw)
In-Reply-To: <20030423083258.GN7416@inferno.immo>

On Wed, Apr 23, 2003 at 12:32:58PM +0400, Alexey I. Froloff wrote:
> * Dmitry V. Levin <ldv@altlinux.org> [030423 12:17]:
> > > Есть у меня свой "локальный" репозитарий, где в частности лежит
> > > новый xscreensaver, но, так как я его собирал до апгрейда, он был
> > > собран с libpam_userpass.so.0. Обновил "зеркало", apt-get update,
> > > apt-get dist-upgrade и apt предложил мне "захолдить" старый
> > > pam_userpass и вдобавок снести половину системы (видать много там
> > > межпакетных зависимостей обновилось).
> > Это легко объяснить:
> > libpam_userpass.so.0 был нужен для пакета shadow-utils, который, по
> > мнению apt, сносить нельзя ни при каких обстоятельствах.
> Но в то же время новый shadow-utils лежал в репозитарии...
> Что подтвердил "точечный" апгрейд pam_userpass...
> 
> > > Собсно вопрос: почему apt так себя повёл? По какому критерию он
> > > выбирает какой пакет апгрейдить, какой снести, а какой захолдить?
> > По весам, см. "-o Debug::pkgProblemResolver=true".
> Меня давно интересовал вопрос - эти самые "веса" можно прописать
> в пакете? Очень хочется как-то совместить это дело с
> альтернативами...
Очень не простой вопрос: так как вес пакета зависит от текущего множества
пакетов в системе и репозитории, то не понятно с каким коэффициентом
должен прибавляться "альтернативный" вес.

> 
> -- 
> Regards, Alexey I. Froloff
> AIF5-RIPN, AIF5-RIPE
> ------------------------------------------
>   Inform-Mobil, Ltd. System Adminitrator
>        http://www.inform-mobil.ru/
> Tel: +7(095)504-4709, Fax: +7(095)513-1006




  reply	other threads:[~2003-04-23 11:46 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-04-21  8:11 Alexey I. Froloff
2003-04-23  8:15 ` Dmitry V. Levin
2003-04-23  8:32   ` Alexey I. Froloff
2003-04-23 11:46     ` Stanislav Ievlev [this message]
2003-04-23 12:46       ` Alexey I. Froloff
2003-04-23 14:00         ` Stanislav Ievlev
2003-04-23 14:17           ` Alexey I. Froloff
2003-04-24  9:57             ` Stanislav Ievlev

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=20030423114600.GB13130@basalt.office.altlinux.org \
    --to=inger@altlinux.org \
    --cc=sisyphus@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 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