[SOLVED] RPM does not work with MetaPackages

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

[SOLVED] RPM does not work with MetaPackages

Postby fraterlinux » Aug 16th, '12, 17:06

If I run the command rpm:

Code: Select all
# rpm -i calligra-2.4.1-1.mga2.x86_64.rpm
#

Installs without asking dependency property.

If I run the command urpmi:
Code: Select all
# Urpmi calligra-2.4.1-1.mga2.x86_64.rpm
To satisfy dependencies, the following programs will be installed:
  Package Version Release Arch
(Media "Core Release (distrib1)")
  1.mga2 braindump 2.4.1 x86_64 (suggested)
  calligra 1.mga2 2.4.1 x86_64
  calligra 1.mga2 x86_64 2.4.1-sheets (suggested)
  calligra 1.mga2 x86_64 2.4.1-stage (suggested)
  calligra 1.mga2 x86_64 2.4.1-words (suggested)
  flow 1.mga2 2.4.1 x86_64 (suggested)
  Karbon 1.mga2 2.4.1 x86_64 (suggested)
  KChart 1.mga2 2.4.1 x86_64 (suggested)
  kexi 1.mga2 2.4.1 x86_64 (suggested)
  KFormula 1.mga2 2.4.1 x86_64 (suggested)
  1.mga2 krita 2.4.1 x86_64 (suggested)
  lib64QtShiva0.1 1.mga2 0.9.2 x86_64 (suggested)
  lib64braindumpcore9 1.mga2 2.4.1 x86_64 (suggested)
  lib64calligrastageprivate9 1.mga2 2.4.1 x86_64 (suggested)
  lib64chartshapelib9 1.mga2 2.4.1 x86_64 (suggested)
  lib64flowprivate9 1.mga2 2.4.1 x86_64 (suggested)
  lib64freetds0 2.mga2 0.91 x86_64 (suggested)
  lib64gsl0 1.mga2 1.15 x86_64 (suggested)
  lib64gtlcore0 1.mga2 0.9.16 x86_64 (suggested)
  lib64gtlfragment0 1.mga2 0.9.16 x86_64 (suggested)
  lib64kexicore9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kexidatatable9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kexidataviewcommon9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kexidb9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kexiextendedwidgets9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kexiformutils9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kexiguiutils9 1.mga2 2.4.1 x86_64 (suggested)
  lib64keximain9 1.mga2 2.4.1 x86_64 (suggested)
  lib64keximigrate9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kexirelationsview9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kexiutils9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kformdesigner9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kformulalib9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kokross9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kowv2_9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kplatokernel9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kplatomodels9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kplatoui9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kplatoworkfactory9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kritaimage9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kritalibbrush9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kritalibpaintop9 1.mga2 2.4.1 x86_64 (suggested)
  lib64kritaui9 1.mga2 2.4.1 x86_64 (suggested)
  lib64msooxml9 1.mga2 2.4.1 x86_64 (suggested)
  lib64openctl0 1.mga2 0.9.16 x86_64 (suggested)
  lib64openshiva0 1.mga2 0.9.16 x86_64 (suggested)
  lib64planprivate9 1.mga2 2.4.1 x86_64 (suggested)
  lib64planworkapp9 1.mga2 2.4.1 x86_64 (suggested)
  lib64rcps_plan9 1.mga2 2.4.1 x86_64 (suggested)
  lib64rtfreader9 1.mga2 2.4.1 x86_64 (suggested)
  lib64unixODBC2 1.mga2 2.3.1 x86_64 (suggested)
  lib64wordnet3.0 13.mga2 3.0 x86_64 (suggested)
  lib64wordsexportfilters9 1.mga2 2.4.1 x86_64 (suggested)
  lib64xbase1 4.mga1 3.1.2 x86_64 (suggested)
  2.4.1 x86_64 1.mga2 plan (suggested)
  stateshape 1.mga2 2.4.1 x86_64 (suggested)
  webshape 1.mga2 2.4.1 x86_64 (suggested)
  13.mga2 wordnet 3.0 x86_64 (suggested)
181MB of additional disk space will be used.
52MB of packages will be downloaded.
Proceed to install 58 packages? (S / N)


Why RPM does not recognize the correct dependencies of calligra-2.4.1-1.mga2.x86_64.rpm ???
:?:
fraterlinux
 
Posts: 131
Joined: Jun 21st, '12, 13:15

Re: RPM does not work with MetaPackages

Postby wobo » Aug 16th, '12, 18:18

fraterlinux wrote:Why RPM does not recognize the correct dependencies of calligra-2.4.1-1.mga2.x86_64.rpm ???
:?:
Because the rpm command does not care for dependencies, that's the main advantage of the urpm* suite.
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: RPM does not work with MetaPackages

Postby fraterlinux » Aug 16th, '12, 18:32

See the example below, rpm says dependency missing.

Code: Select all
# rpm -i cups-pdf-2.6.1-1.mga2.x86_64.rpm
Error: Unmet dependencies:
         cups is needed by cups-pdf-2.6.1-1.mga2.x86_64


My question is why MetaPackages do not respect default standard rpm dependency and it is made solely for urpmi.
fraterlinux
 
Posts: 131
Joined: Jun 21st, '12, 13:15

Re: RPM does not work with MetaPackages

Postby wobo » Aug 16th, '12, 19:12

Ah, sorry. I did not know that the calligra package is such a meta package. BTW: are you talking about dependencies or suggests?
wobo
---
And a new day will dawn for those who stand long
And the forests will echo with laughter
(Stairway to Heaven, Led Zeppelin)
User avatar
wobo
 
Posts: 1649
Joined: Mar 22nd, '11, 17:13

Re: RPM does not work with MetaPackages

Postby fraterlinux » Aug 16th, '12, 19:21

What is the technical term? SuggestPackages?
fraterlinux
 
Posts: 131
Joined: Jun 21st, '12, 13:15

Re: [SOLVED] RPM does not work with MetaPackages

Postby doktor5000 » Aug 16th, '12, 19:46

Actually both of you are a bit off. Suggests and Requires are both forms of dependencies, but both are just arbitrary tags.
For rpm it's OK if suggests are missing, that is the technical implementation. That why some packagers don't like Suggests.
But it works as designed, so marking as [SOLVED].
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18018
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest