Dependency Issues

This forum is dedicated to basic help and support :

Ask here your questions about basic installation and usage of Mageia. For example you may post here all your questions about getting Mageia isos and installing it, configuring your printer, using your word processor etc.

Try to ask your questions in the right sub-forum with as much details as you can gather. the more precise the question will be, the more likely you are to get a useful answer

Dependency Issues

Postby DankyNanky » Sep 19th, '18, 15:59

Refer to here for a little insite. I am trying to install PacketFence, which is finding many core dependencies it cannot resolve.\

If I use urmq to search for one of the dependencies I am greeted with the following packages available:

Code: Select all
[root@localnet ~]# urpmq glibc
glibc|glibc|glibc|glibc|glibc


Then to confirm, I use dnf to see what it can find for glibc-common and it finds no results:

Code: Select all
[root@localnet ~]# dnf list glibc-common
Last metadata expiration check: 0:39:07 ago on Wed 19 Sep 2018 21:40:32 AEST.
Error: No matching Packages to list


I know that glibc-common as a package exists, as here is an example search resulting in RPMs of the nature.
I then went and made sure I had glibc installed:

Code: Select all
[root@localnet ~]# urpmi glibc
Package glibc-2.22-29.mga6.x86_64 is already installed


So either I have an OS that doesn't support the installation of glibc-common and by proxy PacketFence, or another issue.
Other people have pointed out via dnf they are able to locate the package, so perhaps I am missing a repo?

The following list is my current repos for help:

Code: Select all
[root@localnet ~]# urpmq --list-url
Core Release2 http://mirror.aarnet.edu.au/pub/mageia/distrib/6/x86_64/media/core/release
Core Release Debug
Core Updates http://mirror.aarnet.edu.au/pub/mageia/distrib/6/x86_64/media/core/updates
Core Updates Debug
Core Updates Testing
Core Updates Testing Debug
Core Backports
Core Backports Debug
Core Backports Testing
Core Backports Testing Debug
Nonfree Release2 http://mirror.aarnet.edu.au/pub/mageia/distrib/6/x86_64/media/nonfree/release
Nonfree Release Debug
Nonfree Updates http://mirror.aarnet.edu.au/pub/mageia/distrib/6/x86_64/media/nonfree/updates
Nonfree Updates Debug
Nonfree Updates Testing
Nonfree Updates Testing Debug
Nonfree Backports
Nonfree Backports Debug
Nonfree Backports Testing
Nonfree Backports Testing Debug
Tainted Release
Tainted Release Debug
Tainted Updates
Tainted Updates Debug
Tainted Updates Testing
Tainted Updates Testing Debug
Tainted Backports
Tainted Backports Debug
Tainted Backports Testing
Tainted Backports Testing Debug
Core 32bit Release http://mirror.aarnet.edu.au/pub/mageia/distrib/6/i586/media/core/release
Core 32bit Updates http://mirror.aarnet.edu.au/pub/mageia/distrib/6/i586/media/core/updates
Core 32bit Updates Testing
Core 32bit Backports
Core 32bit Backports Testing
Nonfree 32bit Release http://mirror.aarnet.edu.au/pub/mageia/distrib/6/i586/media/nonfree/release
Nonfree 32bit Updates http://mirror.aarnet.edu.au/pub/mageia/distrib/6/i586/media/nonfree/updates
Nonfree 32bit Updates Testing
Nonfree 32bit Backports
Nonfree 32bit Backports Testing
Tainted 32bit Release
Tainted 32bit Updates
Tainted 32bit Updates Testing
Tainted 32bit Backports
Tainted 32bit Backports Testing
google-chrome http://dl.google.com/linux/chrome/rpm/stable/x86_64
DankyNanky
 
Posts: 3
Joined: Sep 19th, '18, 15:49

Re: Dependency Issues

Postby ITA84 » Sep 19th, '18, 18:25

Using urpmi /path/to/rpm should work as expected (i.e. install the package and its dependencies); what error messages does it print?

Also, maybe the package was renamed to something else or put inside another package. You could try searching for the package you need by the files it provides with the urpmf command. For example, looking at the glibc-common RPM file list you found, there's /usr/bin/getent, so running urpmf /usr/bin/getent should find the package it's provided by
ITA84
 
Posts: 199
Joined: Mar 5th, '13, 18:15

Re: Dependency Issues

Postby doktor5000 » Sep 19th, '18, 20:22

On Mageia there is no subpackage called glibc-common, that stuff should all be contained in the main glibc package. So you would probably need to install packagefence via urpmi --allow-nodeps
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: 17630
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Dependency Issues

Postby DankyNanky » Sep 20th, '18, 12:22

If I use urpmi to path to packet it tells me it isn't able to satisfy the glibc-common. The command for what the package is provided by:

Code: Select all
    $MIRRORLIST: media/debug/core/release/media_info/20170714-192631-files.xml.lzma
glibc-debuginfo:/usr/lib/debug/usr/bin/getent.debug                           
    $MIRRORLIST: media/core/updates/media_info/20180914-203103-files.xml.lzma
glibc:/usr/bin/getent                                                         
glibc:/usr/bin/getent
glibc:/usr/bin/getent
glibc:/usr/bin/getent
    $MIRRORLIST: media/debug/core/updates/media_info/20180914-203151-files.xml.lzma
glibc-debuginfo:/usr/lib/debug/usr/bin/getent.debug                           
glibc-debuginfo:/usr/lib/debug/usr/bin/getent.debug
glibc-debuginfo:/usr/lib/debug/usr/bin/getent.debug
glibc-debuginfo:/usr/lib/debug/usr/bin/getent.debug
    $MIRRORLIST: media/core/backports/media_info/20180914-201056-files.xml.lzma
    $MIRRORLIST: media/nonfree/release/media_info/20170714-184104-files.xml.lzma
    $MIRRORLIST: media/nonfree/updates/media_info/20180915-112813-files.xml.lzma
    $MIRRORLIST: media/nonfree/backports/media_info/20170714-185111-files.xml.lzma
    $MIRRORLIST: media/tainted/release/media_info/files.xml.lzma               
    $MIRRORLIST: media/tainted/release/media_info/20170714-184134-hdlist.cz


As for the command, I'm currently attempting it but at the moment my system's not recognising URPMI (wonder if due to a package update?), so I'll reboot to test.
DankyNanky
 
Posts: 3
Joined: Sep 19th, '18, 15:49


Return to Basic support

Who is online

Users browsing this forum: No registered users and 1 guest

cron