ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Eugene Prokopiev <enp@itx.ru>
To: ALT Linux Team development discussions <Devel@lists.altlinux.org>
Subject: [devel] hasher --apt-config and remote apt repo
Date: Fri, 21 Jun 2013 14:36:39 +0400
Message-ID: <CANM4RujP3x4dyOyZQZFUjmZarBD_MuifVmQiKQdOT0XKL60DGw@mail.gmail.com> (raw)

Здравствуйте!

У меня прекрасно собираются пакеты посредством hsh без указания
--apt-config (или с указанием системного) и не собираются с
--apt-config=/home/enp/apt/apt.conf.p7.x86_64, который содержит
единственную строчку:

Dir::Etc::SourceList /etc/apt/sources.list.d/local.list;

Этот файл, используемый всеми apt.conf, выглядит так:

rpm http://fileserver/distrib/free/linux/alt/p7/branch/ x86_64 classic
rpm http://fileserver/distrib/free/linux/alt/p7/branch/ noarch classic

Диагностика такова:

mkaptbox: Created APT configuration file
`/tmp/.private/enp/hasher/aptbox/etc/apt/apt.conf'.
mkaptbox: Created APT source list file `./etc/apt/sources.list'.
mkaptbox: Created RPM database in `./var/lib/rpm/'.
Получено: 1 http://fileserver x86_64 release [913B]
Получено: 2 http://fileserver noarch release [707B]
Получено 1620B за 0s (0B/s).
Получено: 1 http://fileserver x86_64/classic pkglist [14,9MB]
Получено: 2 http://fileserver x86_64/classic release [135B]
Получено: 3 http://fileserver noarch/classic pkglist [3213kB]
Получено: 4 http://fileserver noarch/classic release [135B]
Получено: 5 http://fileserver x86_64/classic pkglist [14,9MB]
Получено: 6 http://fileserver x86_64/classic release [135B]
Получено: 7 http://fileserver noarch/classic pkglist [3213kB]
Получено: 8 http://fileserver noarch/classic release [135B]
Ошибка http://fileserver x86_64/classic pkglist
  Could not open file
/tmp/.private/enp/hasher/aptbox/var/lib/apt/lists/partial/fileserver_distrib_free_linux_alt_p7_branch_x86%5f64_base_pkglist.classic
- open (2 No such file or directory)
Ошибка http://fileserver noarch/classic pkglist
  Could not open file
/tmp/.private/enp/hasher/aptbox/var/lib/apt/lists/partial/fileserver_distrib_free_linux_alt_p7_branch_noarch_base_pkglist.classic
- open (2 No such file or directory)
Получено 21,4MB за 3s (6419kB/s).
xz: (stdin): File format not recognized
xz: (stdin): File format not recognized
Невозможно получить
http://fileserver/distrib/free/linux/alt/p7/branch/x86_64/base/pkglist.classic
 Could not open file
/tmp/.private/enp/hasher/aptbox/var/lib/apt/lists/partial/fileserver_distrib_free_linux_alt_p7_branch_x86%5f64_base_pkglist.classic
- open (2 No such file or directory)
Невозможно получить
http://fileserver/distrib/free/linux/alt/p7/branch/noarch/base/pkglist.classic
 Could not open file
/tmp/.private/enp/hasher/aptbox/var/lib/apt/lists/partial/fileserver_distrib_free_linux_alt_p7_branch_noarch_base_pkglist.classic
- open (2 No such file or directory)
Чтение списков пакетов... Завершено
Построение дерева зависимостей... Завершено
W: Duplicate sources.list entry http://fileserver x86_64/classic
pkglist (/tmp/.private/enp/hasher/aptbox/var/lib/apt/lists/fileserver_distrib_free_linux_alt_p7_branch_x86%5f64_base_pkglist.classic)
W: Duplicate sources.list entry http://fileserver noarch/classic
pkglist (/tmp/.private/enp/hasher/aptbox/var/lib/apt/lists/fileserver_distrib_free_linux_alt_p7_branch_noarch_base_pkglist.classic)
W: Возможно, Вам потребуется запустить `apt-get update' для исправления.
E: Некоторые индексные файлы не удалось скачать, они либо были
проигнорированы, либо вместо них были использованы старые версии.

На соседней машине, где репозитарий apt доступен локально, все
собирается в том числе и с --apt-config. Более того, я смонтировал
удаленный репозитарий локально средствами curlftpfs, и после этого
сборка с --apt-config и локальными источниками таки заработала.

Теперь скажите: это баг или я что-то неправильно делаю?

--
WBR,
Eugene Prokopiev

             reply	other threads:[~2013-06-21 10:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-21 10:36 Eugene Prokopiev [this message]
2013-06-21 11:03   ` Eugene Prokopiev

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=CANM4RujP3x4dyOyZQZFUjmZarBD_MuifVmQiKQdOT0XKL60DGw@mail.gmail.com \
    --to=enp@itx.ru \
    --cc=Devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git