* [sisyphus] вопрос про apt
@ 2008-06-20 10:29 Ildar Mulyukov
2008-06-20 11:01 ` Alexey Gladkov
0 siblings, 1 reply; 6+ messages in thread
From: Ildar Mulyukov @ 2008-06-20 10:29 UTC (permalink / raw)
To: ALT Linux Sisyphus discussion list; +Cc: at
[-- Attachment #1: Type: text/plain, Size: 1076 bytes --]
Постановка задачи: на машине i586 запустить apt-get -d, настроенный на
x86_64 - репозитарий (чтобы apt выкачал пакеты ночью).У меня не
получается. Как я не изгаляюсь:
E: Package bash has no installation candidate
Команда, которую я запускаю, выглядит примерно так:
apt-get \
-o APT::Architecture=x86_64 \
-o APT::Get::List-Cleanup=false \
-o Dir::Etc::sourceparts=a \
-o Dir::Etc::sourcelist=/var/DATA/ALTLinux/lists/sources64.list \
-o Dir::State=/var/DATA/ALTLinux/lists/ \
-o Dir::Cache=/tmp \
-o Dir::Cache::archives=/var/DATA/ALTLinux/x86_64 \
-o RPM::RootDir=/var/DATA/ALTLinux/lists/rpmroot64 \
install -d -y bash
Аналогичный скрипт для выкачки из i586 вполне работает.
Вопрос к знатокам apt (ау, at@!): это вообще возможно?
Спасибо. С уважением, Ильдар
ЗЫ. Прилагаю оригинал скрипта.
--
Ildar Mulyukov, free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
Jabber: ildar@jabber.ru
ICQ: 4334029
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================
[-- Attachment #2: get-alt64.sh --]
[-- Type: application/x-shellscript, Size: 594 bytes --]
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] вопрос про apt
2008-06-20 10:29 [sisyphus] вопрос про apt Ildar Mulyukov
@ 2008-06-20 11:01 ` Alexey Gladkov
2008-06-20 11:05 ` Alexey Gladkov
0 siblings, 1 reply; 6+ messages in thread
From: Alexey Gladkov @ 2008-06-20 11:01 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Ildar Mulyukov wrote:
> Постановка задачи: на машине i586 запустить apt-get -d, настроенный на
> x86_64 - репозитарий (чтобы apt выкачал пакеты ночью).У меня не
> получается. Как я не изгаляюсь:
> E: Package bash has no installation candidate
>
> Команда, которую я запускаю, выглядит примерно так:
Вы пробовали эту команду запустить через setarch ? (просто идея)
--
Rgrds, legion
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] вопрос про apt
2008-06-20 11:01 ` Alexey Gladkov
@ 2008-06-20 11:05 ` Alexey Gladkov
2008-06-20 11:10 ` Ildar Mulyukov
0 siblings, 1 reply; 6+ messages in thread
From: Alexey Gladkov @ 2008-06-20 11:05 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Alexey Gladkov wrote:
> Вы пробовали эту команду запустить через setarch ? (просто идея)
Глупость сморозил.
База rpm является архитектурно зависимой. В вашем случае может помочь
mkaptbox.
--
Rgrds, legion
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] вопрос про apt
2008-06-20 11:05 ` Alexey Gladkov
@ 2008-06-20 11:10 ` Ildar Mulyukov
2008-06-20 11:21 ` Alexey Gladkov
0 siblings, 1 reply; 6+ messages in thread
From: Ildar Mulyukov @ 2008-06-20 11:10 UTC (permalink / raw)
To: sisyphus
On 20.06.2008 17:05:27, Alexey Gladkov wrote:
> Alexey Gladkov wrote:
>> Вы пробовали эту команду запустить через setarch ? (просто идея)
>
> Глупость сморозил.
>
> База rpm является архитектурно зависимой. В вашем случае может
> помочь mkaptbox.
Пробовал, не помогло. См. -o
RPM::RootDir=/var/DATA/ALTLinux/lists/rpmroot64, там лежит результат
работы "rpm --initdb -r `pwd`/tmp" на x86_64-машине.
--
Ildar Mulyukov, free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
Jabber: ildar@jabber.ru
ICQ: 4334029
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] вопрос про apt
2008-06-20 11:10 ` Ildar Mulyukov
@ 2008-06-20 11:21 ` Alexey Gladkov
2008-06-25 9:32 ` Ildar Mulyukov
0 siblings, 1 reply; 6+ messages in thread
From: Alexey Gladkov @ 2008-06-20 11:21 UTC (permalink / raw)
To: ALT Linux Sisyphus discussions
Ildar Mulyukov wrote:
> Пробовал, не помогло. См. -o
> RPM::RootDir=/var/DATA/ALTLinux/lists/rpmroot64, там лежит результат
> работы "rpm --initdb -r `pwd`/tmp" на x86_64-машине.
Как вы пробовали ?
Создали aptbox и запустили aptbox/apt-get с нужными параметрами ?
--
Rgrds, legion
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [sisyphus] вопрос про apt
2008-06-20 11:21 ` Alexey Gladkov
@ 2008-06-25 9:32 ` Ildar Mulyukov
0 siblings, 0 replies; 6+ messages in thread
From: Ildar Mulyukov @ 2008-06-25 9:32 UTC (permalink / raw)
To: sisyphus
On 20.06.2008 17:21:20, Alexey Gladkov wrote:
> Ildar Mulyukov wrote:
>> Пробовал, не помогло. См. -o
>> RPM::RootDir=/var/DATA/ALTLinux/lists/rpmroot64, там лежит
>> результат работы "rpm --initdb -r `pwd`/tmp" на x86_64-машине.
>
> Как вы пробовали ?
> Создали aptbox и запустили aptbox/apt-get с нужными параметрами ?
Сделал чистый эксперимент: создал aptbox в x86_64 hasher-е, перенёс его
на i586, запустил.
./apt-get install -d setup - работает
./apt-get install -d bash - не работает
./apt-cache show setup - работает
./apt-cache show bash - ничего
./apt-cache -o APT::Architecture=x86_64 show bash - ничего
./apt-get -o APT::Architecture=x86_64 install -d bash - E: Package bash
has no installation candidate
идеи?
--
Ildar Mulyukov, free SW designer/programmer/packager
=========================================
email: ildar@altlinux.ru
Jabber: ildar@jabber.ru
ICQ: 4334029
ALT Linux Sisyphus http://www.sisyphus.ru
=========================================
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2008-06-25 9:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-06-20 10:29 [sisyphus] вопрос про apt Ildar Mulyukov
2008-06-20 11:01 ` Alexey Gladkov
2008-06-20 11:05 ` Alexey Gladkov
2008-06-20 11:10 ` Ildar Mulyukov
2008-06-20 11:21 ` Alexey Gladkov
2008-06-25 9:32 ` Ildar Mulyukov
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