Re: Problem with exact provides in pre-release version

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 30 June 2016 at 01:21, Marcin Zajączkowski <mszpak@xxxxx> wrote:
>
> Hi,
>
> I'm a maintainer of NetworkManager-sstp package and before 1.2.0 final
> will be released I experimenting in my CORP repo with pre-release Git
> version. I've encountered a situation which - I'm not sure - is a
> problem with my configuration or some issue with dependencies resolving.
>
> $ sudo dnf install NetworkManager-sstp-gnome
> Error: nothing provides NetworkManager-sstp(x86-64) =
> 1.2.0-0.20160514git86c2737d.fc24 needed by
> NetworkManager-sstp-gnome-1:1.2.0-0.20160514git86c2737d.fc24.x86_64
> (try to add '--allowerasing' to command line to replace conflicting
> packages)
>
> While already installed corresponding NetworkManager-sstp reports:
> $ rpm -q --provides NetworkManager-sstp
> NetworkManager-sstp = 1:1.2.0-0.20160514git86c2737d.fc24
> NetworkManager-sstp(x86-64) = 1:1.2.0-0.20160514git86c2737d.fc24
> config(NetworkManager-sstp) = 1:1.2.0-0.20160514git86c2737d.fc24
>
> I don't know why I have that error - NetworkManager-sstp seems to
> provide what is needed.
>
> In the SPEC file I have (for NetworkManager-sstp-gnome):
> > Requires: NetworkManager-sstp%{?_isa} = %{version}-%{release}
>

You should add the epoch to the requires:
Requires: NetworkManager-sstp%{?_isa} = %{epoch}:%{version}-%{release}

[...]

-- 
Ahmad Samir
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://lists.fedoraproject.org/admin/lists/devel@xxxxxxxxxxxxxxxxxxxxxxx




[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux