From: "Vladimir D. Seleznev" <vseleznv@altlinux.org> To: ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org> Subject: Re: [sisyphus] Что-то не так с rpm или с пакетом? Date: Thu, 14 Nov 2019 09:33:18 +0300 Message-ID: <20191114063318.GA1292989@portlab.ipa.basealt.ru> (raw) In-Reply-To: <52bf8b3a-ccc5-37ec-77d4-d08f8cf6b1d0@gmail.com> On Wed, Nov 13, 2019 at 12:40:58PM +0300, Alexei V. Mezin wrote: > 13.11.2019 11:51, Антон Мидюков пишет: > > >> Раз он есть, кто-то должен к нему подключаться :) Или у него какое-то > >> другое предназначение и модель использования? > >> > > Да. Установка оттуда единичных пакетов при необходимости. > > > > И как это предполагается использовать? Можно поиграть с apt_preferences. Я подключил репозитории Сизифа и автоимпорта, прописал в файле /etc/apt/preferences.d/autoimports конфиг: $ cat <<EOF > /etc/apt/preferences.d/autoimports Package: * Pin: release l=Autoimports Pin-Priority: 499 EOF После чего выполнил. apt-get install -y node-gyp Итог: $ apt-cache policy node-gyp node-gyp: Installed: 3.8.0-alt1:sisyphus.214219.100@1538840981 Candidate: 3.8.0-alt1:sisyphus.214219.100@1538840981 Version Table: 1:3.6.0-alt1_7@1553873664 0 499 http://ftp.altlinux.org noarch/autoimports pkglist *** 3.8.0-alt1:sisyphus.214219.100@1538840981 0 500 http://ftp.altlinux.org ALTLinux/Sisyphus/noarch/classic pkglist 100 RPM Database Установлена нужная версия node-gyp. Буду благодарен, если кто-нибудь задокументирует это на альтовики в каком-нибудь подходящем для этого месте. > У меня (наверняка не только у меня) технология простая: > нужен конкретный пакет? Или пакет неизвестен, но можно сформулировать > ключевые слова для поиска? Значит apt-cache search. Пакет найден, значит > apt-get install. И только если пакет не найден, то google и изучение > вопроса "а надо ли оно мне, а можно ли скачать и собрать локально" и > т.п. Иногда вместо apt-cache search можно веб-интерфейс на p.a.o, там > удобно смотреть версии пакета на всех ветках и архитектурах, а так же > по-быстрому глянуть в ченджлог, спек и т.п. > > Но такая модель использования подразумевает, что autoimports подключен, > иначе как в нем по простому искать? Ходить через http://ftp.a.o в > репозиторий и делать ctrl-f на странице со списком пакетов? > > Кстати, возвращаясь к node-gyp. На данный момент проблемы с этим пакетом > наблюдаются и на > https://packages.altlinux.org/ru/search?utf8=%E2%9C%93&query=node-gyp > > Показаны версии > 1:3.6.0-alt1_7 > 3.6.2-alt0.M80P.1 > 3.8.0-alt1 > > При этом "дефолтная" ссылка ведет именно на 3.6.0-alt1_7, и далее все > ссылки ведут куда-то на Сизиф, а не на какой-то автоиморт. При этом в > правом верхнем углу написано, что в Сизифе пакет более новый. При этом > для всех прочих пакетов дефолтная ссылка таки обычно ведет именно на > сизифовскую версию пакета. Бардак и неразбериха. -- С уважением, Владимир Селезнев
next prev parent reply other threads:[~2019-11-14 6:33 UTC|newest] Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top 2019-11-12 18:51 Alexei V. Mezin 2019-11-12 18:49 ` Vladimir D. Seleznev 2019-11-12 19:26 ` Alexei V. Mezin 2019-11-12 20:33 ` Vladimir D. Seleznev 2019-11-12 21:19 ` Alexei V. Mezin 2019-11-12 21:28 ` Vladimir D. Seleznev 2019-11-13 8:49 ` Alexei Mezin 2019-11-13 9:40 ` Alexei V. Mezin 2019-11-14 6:33 ` Vladimir D. Seleznev [this message] 2019-12-05 17:54 ` Шенцев Алексей
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=20191114063318.GA1292989@portlab.ipa.basealt.ru \ --to=vseleznv@altlinux.org \ --cc=sisyphus@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 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