ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Dmitry V. Levin" <ldv@alt-linux.org>
To: ALT Linux Sisyphus mailing list <sisyphus@altlinux.ru>
Subject: Re: [sisyphus] Снова загадки apt-get
Date: Wed, 3 Oct 2001 11:47:57 +0400
Message-ID: <20011003114757.B27226@ldv.office.alt-linux.org> (raw)
In-Reply-To: <3BBA160B.2288B58F@protein.bio.msu.su>

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

On Tue, Oct 02, 2001 at 11:31:23PM +0400, Ivan Adzhubei wrote:
> Последние несколько обновлений apt-get dist-upgrade отказывается
> обновлять часть пакетов:
> 
> # apt-get dist-upgrade
> Reading Package Lists... Done
> Building Dependency Tree... Done
> Calculating Upgrade... Done
> The following packages have been kept back
>   emacs-nox gabber kernel22-headers

Такое бывает по разным (объективным) причинам.

> При этом apt-get install соглашается их обновлять по одному, например:
> 
> # apt-get install kernel22-headers
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following held packages will be changed:
>   kernel22-headers
> The following packages will be upgraded
>   kernel22-headers
> 1 packages upgraded, 0 newly installed, 0 to remove and 10 not upgraded.
> Need to get 1098kB of archives. After unpacking 115kB will be used.

Как видите, kernel22-headers принадлежит к категории "held packages", что
означает, в частности, что он не будет обновлен автоматически.
P.S. начиная с apt >= 0.3.19cnc52-alt4 kernel22-headers уже не принадлежит
к категории "held packages".

> # apt-get install emacs-nox
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following extra packages will be installed:
>   emacs-common
> The following packages will be REMOVED:
>   emacs
> The following NEW packages will be installed:
>   emacs-common
> The following packages will be upgraded
>   emacs-nox
> 1 packages upgraded, 1 newly installed, 1 to remove and 10 not upgraded.
> Need to get 7558kB of archives. After unpacking 3035kB will be freed.

Произошло не очень удачно оформленное переименование:
emacs --> emacs-common
Не очень удачное в том плане, что apt не предлагает заменить старые пакеты
новыми.

> Вопрос - кто из них прав и как поступать в такой ситуации - обновлять
> пакеты по одному командой install? Не пострадает ли целостность системы
> в этом случае?

Нужно решать персонально в каждом конкретном случае.
Например, в kernel22-headers до сих пор есть ошибка, которую каждый раз
при обновлении пакета надо лечить путем запуска
"update-alternatives --auto kernel_include".


Regards,
	Dmitry

+-------------------------------------------------------------------------+
Dmitry V. Levin     mailto://ldv@alt-linux.org
ALT Linux Team      http://www.altlinux.ru/
Fandra Project      http://www.fandra.org/
+-------------------------------------------------------------------------+
UNIX is user friendly. It's just very selective about who its friends are.

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

  reply	other threads:[~2001-10-03  7:47 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-10-02 19:31 Ivan Adzhubei
2001-10-03  7:47 ` Dmitry V. Levin [this message]
2001-10-03  8:03   ` [sisyphus] Re: [sisyphus] ссылки после обновления ядра Sergey S. Skulachenko
2001-10-03  8:23     ` Dmitry V. Levin
2001-10-03  8:36       ` [sisyphus] " Sergey S. Skulachenko

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=20011003114757.B27226@ldv.office.alt-linux.org \
    --to=ldv@alt-linux.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