ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Vladimir D. Seleznev" <vseleznv@altlinux.org>
To: alexei.mezin@gmail.com,
	ALT Linux Sisyphus discussions <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Что-то не так с rpm или с пакетом?
Date: Wed, 13 Nov 2019 00:28:47 +0300
Message-ID: <20191112212847.GB366321@portlab> (raw)
In-Reply-To: <dacf6d51-3f29-2205-ff74-af9c00061e09@gmail.com>

On Wed, Nov 13, 2019 at 12:19:54AM +0300, Alexei V. Mezin wrote:
> 12.11.2019 23:33, Vladimir D. Seleznev пишет:
> 
> > Действительно, что-то странное. И в Сизифе, и в p8/9 версия пакета без
> > эпохи. 
> 
> Может баг надо вешать? На кого? Или само рассосется?
> 
> 
> > А apt-repo что показывает?
> 
> Ничего необычного
> 
> $ apt-repo
> rpm [alt] http://ftp.altlinux.org/pub/distributions/ALTLinux 
> Sisyphus/x86_64 classic
> rpm [alt] http://ftp.altlinux.org/pub/distributions/ALTLinux 
> Sisyphus/x86_64-i586 classic
> rpm [alt] http://ftp.altlinux.org/pub/distributions/ALTLinux 
> Sisyphus/noarch classic
> rpm 
> http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus 
> x86_64 autoimports
> rpm 
> http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus 
> noarch autoimports
^ А вот и разгадка тайны:

$ rpm -q --provides -p http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus/noarch/RPMS.autoimports/node-gyp-3.6.0-alt1_7.noarch.rpm
npm(node-gyp) = 3.6.0
node-gyp = 1:3.6.0-alt1_7
$ rpm -q --qf '%{epoch}\n' -p http://ftp.altlinux.org/pub/distributions/ALTLinux/autoimports/Sisyphus/noarch/RPMS.autoimports/node-gyp-3.6.0-alt1_7.noarch.rpm
1

Подключённый autoimports -- это всегда необычно.

> > Возможно и должно, но поведение apt'а такое
> 
> Я ничего в этом не понимаю, но в моем понимании такое поведение баг, а 
> не фича. Если явно указывается расположение файла пакета, то зачем 
> ставить что-то из другого, неявного места?!!

Я тоже считаю, что такое поведение -- баг и противоречит принципу
наименьшего удивления.

-- 
   С уважением,
   Владимир Селезнев


  reply	other threads:[~2019-11-12 21:28 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 [this message]
2019-11-13  8:49           ` Alexei Mezin
2019-11-13  9:40               ` Alexei V. Mezin
2019-11-14  6:33                 ` Vladimir D. Seleznev
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=20191112212847.GB366321@portlab \
    --to=vseleznv@altlinux.org \
    --cc=alexei.mezin@gmail.com \
    --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