ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Epiphanov Sergei <serpiph@nikiet.ru>
To: "Рассылка Sisyphus" <sisyphus@altlinux.ru>
Subject: [sisyphus] Странности apt и genbasedir?
Date: Mon, 25 Oct 2004 10:52:24 +0400
Message-ID: <200410251052.24866.serpiph@nikiet.ru> (raw)

Начал пересобирать Сизиф в hasher для платформы i686 (для себя) и наткнулся 
на ряд вопросов:

1. Один раз получил ситуацию, когда прерывал программу hsh через Ctrl+C и 
после чего любая попытка выдать genbasedir на репозиторий hasher получал
CachedMD5::CachedMD5 assertion failed. Только когда обнаружил файл 
в /var/cache/apt/genpkgdir файл, связанный с репозиторием и не удалил, 
ничего не мог сделать. Хотя ожидал, что этот файл должне был быть в 
chroot-окружении. Или я неправ?

2. В процессе сборки (я задал в цикле пересобрать все src-пакеты из Сизифа) 
начал натыкаться на странности: начали появляться строки вроде

gcc-c++ является виртуальным пакетом. Нет кандидатов для установки.

Расследование показало, что это происходит тогда, когда пакет(ы), 
предоставляющие подобные строки, есть и в изначальном репозитарии Сизифа, 
и в сборочном (hasher). То есть если есть, например, срез Сизифа от 
ALTLinux, и я собрал пакет в hasher, то при последующих сборках данный 
пакет исчезает из видимости apt. Пришлось сделать дубликат исходного 
репозитария и по мере сборки пакетов в hasher удалять из него 
соответствующие i586.rpm и noarch.rpm с последующей попыткой пересобрать 
ошибочный пакет. Только тогда apt нормально берёт пакеты из hasher.

То есть возможно, что если есть 2 репозитория и в обоих есть один и тот же 
пакет (может, только с разной платформой), то он не увидится apt, хотя в 
его кэше они описаны.

-- 
С уважением, Епифанов Сергей


             reply	other threads:[~2004-10-25  6:52 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-10-25  6:52 Epiphanov Sergei [this message]
2004-10-25  9:17 ` Dmitry V. Levin
2004-10-25 10:20   ` Epiphanov Sergei
2004-10-25 10:45     ` Dmitry V. Levin
2004-10-25 10:47 ` Dmitry V. Levin
2004-10-25 11:19   ` Epiphanov Sergei

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=200410251052.24866.serpiph@nikiet.ru \
    --to=serpiph@nikiet.ru \
    --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