From: Ivan Zakharyaschev <imz@altlinux.org> To: "devel@ where you _can_ ask" <devel-newbies@lists.altlinux.org> Subject: Re: [newbies] Минимальный набор пакетов для локального репозитария hasher Date: Wed, 30 May 2018 11:53:41 +0300 (MSK) Message-ID: <alpine.LFD.2.20.1805301149010.3504@imap.altlinux.org> (raw) In-Reply-To: <CAB_XSX2uBzWrZzzNsn4sRG1GDLK06rWD84NB=v_=RwSxtt7diQ@mail.gmail.com> [-- Attachment #1: Type: text/plain, Size: 4572 bytes --] On Tue, 29 May 2018, Eugine Kosenko wrote: > Идея в том, чтобы создать локальный репозитарий и не гонять по сети базовые > пакеты при каждой сборке. Когда-то, в 2015 у меня это уже получалось. А Чтобы почти н иичего не гонять, я поступаю так: https://www.altlinux.org/Hasher/Tips#.D0.9A.D1.8D.D1.88.D0.B8.D1.80.D0.BE.D0.B2.D0.B0.D0.BD.D0.B8.D0.B5_.D1.81.D0.BA.D0.B0.D1.87.D0.B8.D0.B2.D0.B0.D0.B5.D0.BC.D1.8B.D1.85_apt-.D0.BE.D0.BC_.D0.BF.D0.B0.D0.BA.D0.B5.D1.82.D0.BE.D0.B2 При кешировании и pkglists будут качаться только маленькие чексуммы и, если ничего не изменилось, ничего больше. А по Вашему вопросу не готов дать ответ сейчас. > сейчас похожим образом вытащил из журналов hasher вот такой список: > > setup_2.2.15-alt1_noarch_1503594490.rpm. > filesystem_2.3.16-alt1_x86%5f64_1515521141.rpm. > glibc-preinstall_6%3a2.27-alt4_x86%5f64_1526040680.rpm. > glibc-core_6%3a2.27-alt4_x86%5f64_1526040680.rpm. > sh_3.2.57-alt3_x86%5f64_1508879715.rpm. > terminfo_6.1.20180407-alt1_noarch_1524068825.rpm. > libtinfo_6.1.20180407-alt1_x86%5f64_1524068795.rpm. > libreadline6_6.3.8-alt3_x86%5f64_1526568462.rpm. > bash_3.2.57-alt3_x86%5f64_1508879715.rpm. > bzlib_1%3a1.0.6-alt5_x86%5f64_1508883138.rpm. > libacl_2.2.52.0.52.33f0-alt2_x86%5f64_1511850751.rpm. > libattr_2.4.48-alt1_x86%5f64_1511850646.rpm. > libcap_1%3a2.25-alt1_x86%5f64_1490633683.rpm. > libgmp10_6.1.2-alt2_x86%5f64_1492204409.rpm. > libgcc1_7.3.1-alt4_x86%5f64_1527185501.rpm. > glibc-pthread_6%3a2.27-alt4_x86%5f64_1526040680.rpm. > libpcre3_8.41-alt1_x86%5f64_1499296460.rpm. > libselinux_1%3a2.5-alt4.1_x86%5f64_1524669642.rpm. > coreutils_8.27.0.23.f4570-alt1_x86%5f64_1492908982.rpm. > getopt_2.32-alt1_x86%5f64_1523954527.rpm. > fakeroot_1.20.2-alt1_x86%5f64_1462942359.rpm. > grep_3.0.0.12.e2b7-alt1_x86%5f64_1490552151.rpm. > libbeecrypt7_4.2.1-alt7_x86%5f64_1302194536.rpm. > libdb4.7_4.7.25-alt9_x86%5f64_1490438456.rpm. > zlib_1.2.8-alt1_x86%5f64_1371079009.rpm. > libelf_0.170-alt6_x86%5f64_1524180960.rpm. > liblua5.3_5.3.4-alt2_x86%5f64_1505285816.rpm. > liblzma_5.2.3-alt2_x86%5f64_1517075184.rpm. > libpopt_1%3a1.16-alt1_x86%5f64_1500322984.rpm. > librpm7_4.13.0.1-alt1.1_x86%5f64_1525116135.rpm. > rpm_4.13.0.1-alt1.1_x86%5f64_1525116135.rpm. > > Создал на его основе локальный репозитарий. Вначале даже hsh > --initroot-only проходил успешно, но при попытке скомпилировать любой пакет > все-равно выдавало ошибку зависимостей. А потом в какой-то момент, сломался > и initroot: > > Some packages could not be installed. This may mean that you have > requested an impossible situation or if you are using the unstable > distribution that some required packages have not yet been created > or been moved out of Incoming. > The following information may help to resolve the situation: > > The following packages have unmet dependencies: > fakeroot: Depends: getopt > Depends: /bin/sh > Depends: /lib64/ld-linux-x86-64.so.2 > Depends: coreutils > Depends: libc.so.6(GLIBC_2.11)(64bit) > Depends: libc.so.6(GLIBC_2.14)(64bit) > Depends: libc.so.6(GLIBC_2.2.5)(64bit) > Depends: libc.so.6(GLIBC_2.3.4)(64bit) > Depends: libc.so.6(GLIBC_2.4)(64bit) > Depends: libc.so.6(GLIBC_2.7)(64bit) > Depends: libdl.so.2(GLIBC_2.2.5)(64bit) > Depends: rtld(GNU_HASH) > rpm: Depends: coreutils > Depends: popt (>= 1.10.2.1) > PreDepends: /bin/sh > Depends: /bin/bash > Depends: /bin/mv > Depends: /bin/rm > Depends: /bin/sh > Depends: /lib64/ld-linux-x86-64.so.2 > Depends: /sbin/ldconfig > Depends: grep > Depends: libpopt.so.0()(64bit) (>= set:iftcI7hLBLBQVZk2vR1) > Depends: librpm7 (= 4.13.0.1-alt1) > E: Broken packages > > Сейчас пытаюсь убрать это методом проб и ошибок. > > Нельзя ли получить описание минимального репозитария для hasher без > ненужных экспериментов? >
next parent reply other threads:[~2018-05-30 8:53 UTC|newest] Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top 2018-05-30 8:53 ` Ivan Zakharyaschev [this message] 2018-05-30 10:50 ` Антон Мидюков 2018-05-30 11:07 ` Ivan Zakharyaschev
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=alpine.LFD.2.20.1805301149010.3504@imap.altlinux.org \ --to=imz@altlinux.org \ --cc=devel-newbies@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
devel@ where you _can_ ask This inbox may be cloned and mirrored by anyone: git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \ devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com public-inbox-index devel-newbies Example config snippet for mirrors. Newsgroup available over NNTP: nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies AGPL code for this site: git clone https://public-inbox.org/public-inbox.git