ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Vladislav Zavjalov <slazav@altlinux.org>
To: ALT Linux Team development discussions <devel@lists.altlinux.org>
Subject: Re: [devel] проблема с зависимостями в task 238627
Date: Fri, 4 Oct 2019 08:04:40 +0300
Message-ID: <20191004050440.GA10630@imap.altlinux.org> (raw)
In-Reply-To: <20191003204438.GD5632@imap.altlinux.org>

On Thu, Oct 03, 2019 at 11:44:38PM +0300, Vladislav Zavjalov wrote:
> On Thu, Oct 03, 2019 at 11:37:02PM +0300, Dmitry V. Levin wrote:
> > On Thu, Oct 03, 2019 at 11:10:44PM +0300, Vladislav Zavjalov wrote:
> > > Есть пакет libproj, который Provides/Obsoletes libproj-nad.
> > > Пытаюсь собрать новую версию, касательно libproj-nad ничего не меняю.
> > > 
> > > Сам пакет собирается, однако потом требуется пересборка зависимых
> > > пакетов. И вот при вычислении зависимостей для grass возникает ошибка:
> > > 
> > > The following packages have unmet dependencies:
> > >   libproj-nad: Depends: libproj (= 5.2.0-alt1:sisyphus+221643.100.9.2)
> > >   E: Broken packages
> > > 
> > > То есть, он явно хочет старую версию.
> > > В чем может быть проблема?
> > 
> > В proj.spec: поскольку пакета libproj-nad больше нет и никто его не заменяет,
> > первая же попытка его установить обламывается.
> 
> Да, спасибо, опять эта путаница с proj/libproj!
> (и моя рассеянность с редактированием спека в несколько заходов и
> забыванием, что я там уже наделал). Теперь, кажется, все понятно.

Все же пока не получилось с этим побороться.

Я неправильно писал про предыдущую версию,
в старом пакете все же был подпакет libproj-nad
c "Requires: libproj = %version-%release".

Теперь я хочу от него избавиться и запаковать все в libproj. Поскольку
там теперь довольно разнородные данные, не только NAD (канадские и американские
сетки), и места эти данные много не занимают, и уже однажды была
проблема, что в openorienteering-mapper забыли добавить этот nad и он
собирался неправильно (и с весьма неочевидной диагностикой).

Теперь у меня в libproj стоит
Obsoletes: libproj-nad
Provides:  libproj-nad
(также я пробовал с Provides:  libproj-nad = %version-%release)

Все равно возникает ошибка, уже немного другая:

Investigating libproj-nad
Package libproj-nad has broken dep on libproj
  Considering libproj 8 as a solution to libproj-nad 9999
    Reinst Failed because of protected libproj-nad
Done
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:
  libproj-devel: Depends: libproj (= 6.2.0-alt1:sisyphus+238627.374.8.1)
  libproj-nad: Depends: libproj (= 5.2.0-alt1:sisyphus+221643.100.9.2)
  proj: Depends: libproj (= 6.2.0-alt1:sisyphus+238627.374.8.1)
E: Broken packages

Почему он по-прежнему хочет старый пакет и не находит нового?
Что означает "protected libproj-nad"? И что, кстати, означают
числа в "Considering libproj 8 as a solution to libproj-nad 9999"?



  reply	other threads:[~2019-10-04  5:04 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-10-03 20:10 Vladislav Zavjalov
2019-10-03 20:37 ` Dmitry V. Levin
2019-10-03 20:44   ` Vladislav Zavjalov
2019-10-04  5:04     ` Vladislav Zavjalov [this message]
2019-10-04  6:33       ` Sergey Afonin
2019-10-04  7:44         ` Vladislav Zavjalov
2019-10-04  7:54           ` Vladislav Zavjalov

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=20191004050440.GA10630@imap.altlinux.org \
    --to=slazav@altlinux.org \
    --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