Bug 3081 - The following package cannot be installed because it depends on packages that are older than the installed ones: libfreetype6-devel-2.4.4-4.mga1
Summary: The following package cannot be installed because it depends on packages that...
Status: RESOLVED OLD
Alias: None
Product: Mageia
Classification: Unclassified
Component: RPM Packages (show other bugs)
Version: 1
Hardware: i586 Linux
Priority: Normal major
Target Milestone: ---
Assignee: Mageia Bug Squad
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 2475
  Show dependency treegraph
 
Reported: 2011-10-17 06:46 CEST by Thomas Spuhler
Modified: 2011-11-21 19:02 CET (History)
4 users (show)

See Also:
Source RPM: libfreetype6-devel-2.4.4-4.mga1
CVE:
Status comment:


Attachments

Description Thomas Spuhler 2011-10-17 06:46:53 CEST
Description of problem:
The following package cannot be installed because it depends on packages
that are older than the installed ones:
libfreetype6-devel-2.4.4-4.mga1
Continue installation anyway? (Y/n) y

as a result, gtk2-devel doesn't install

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1.
2.
3.
Comment 1 Manuel Hiebel 2011-10-17 12:32:33 CEST
is see no gtk2-devel in the repo...

CC: (none) => dmorganec

Manuel Hiebel 2011-10-17 12:36:17 CEST

Blocks: (none) => 2475

Comment 2 Jani Välimaa 2011-10-17 16:11:08 CEST
lib{64,}gtk+2.0-devel provides gtk2-devel.

CC: (none) => jani.valimaa

Comment 3 Dave Hodgins 2011-10-21 02:31:16 CEST
While I've had no problem installing libfreetype6-devel, the following
does look strange to me ...
[root@hodgins ~]# urpmq --requires libfreetype6-devel |grep ==
--requires behaviour changed, use --requires-recursive to get the old behaviour
libfreetype6-devel: libfreetype6[== 2.4.4]
libfreetype6-devel: libfreetype6[== 2.4.4]
libfreetype6-devel: libfreetype6[== 2.4.4]
libfreetype6-devel: libfreetype6[== 2.4.4]
[root@hodgins ~]# urpmq --provides libfreetype6|grep 'libfreetype6\['
libfreetype6: libfreetype6[== 2.4.4-5.1.mga1.tainted]
libfreetype6: libfreetype6[== 2.4.4-4.mga1]
libfreetype6: libfreetype6[== 2.4.4-5.2.mga1]
libfreetype6: libfreetype6[== 2.4.4-5.2.mga1.tainted]

Does the part after the - in the provides get ignored
when satisfying the requires/

CC: (none) => davidwhodgins

Comment 4 Jani Välimaa 2011-10-21 05:54:20 CEST
I think it's not strange at all. If we look at .spec we can see that the -devel pkg requires "only" %{libname} = %{version} and the lib pkg provides %{version}-%{release} (as pkgs normally does).

So yes, the latter part is ignored or it's irrelevant as the rpm compares only %{version} part in this time. Maybe someone who knows rpm better, could explain more.
Comment 5 Sander Lepik 2011-10-21 12:20:08 CEST
AFAIK provides and requires must mach.. If one package requires with release then another has to provide with release and vice versa..

CC: (none) => sander.lepik

Comment 6 Thomas Spuhler 2011-11-08 05:22:17 CET
Has this been solved ? or became obsolete?
Although I reported the bug I haven't seen a problem for a long time.
If nobody complains, I'll close it.
Comment 7 Manuel Hiebel 2011-11-21 19:02:17 CET
no replay, let's go

Status: NEW => RESOLVED
Resolution: (none) => OLD


Note You need to log in before you can comment on or make changes to this bug.