Relocatable packages in Mageia

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.

Relocatable packages in Mageia

Postby adhefe » Nov 7th, '20, 17:57

Hi,

Although not recommended, some rpm packages can be installed in alternative directories to the standard root directory /. One can check for this using,

$ rpm -qpi package.rpm|head -n

Where n is the number of lines to see the answer (depends on the distro).

Two questions:
1) urpmi supports installation in alternative directories?
2) Are there relocatable rpm packages in Mageia?

The latter question arises because there seems to be a distro policy to have or not relocatable packages:

As an example, in RHEL the package rsync seems to be relocatable:
# rpm -qpi rsync-2.5.7-5.3E.i386.rpm | head -1
Name : rsync Relocations: /usr

see https://www.thegeekdiary.com/how-to-ins ... el-fedora/


However, in Mageia 7.1 it is not:
Code: Select all
$ rpm -qpi ~/Downloads/rsync-3.1.3-4.mga7.x86_64.rpm |head -13
Name        : rsync
Version     : 3.1.3
Release     : 4.mga7
Architecture: x86_64
Install Date: (not installed)
Group       : Networking/File transfer
Size        : 953238
License     : GPLv3+
Signature   : RSA/SHA256, ter 25 fev 2020 17:45:16 -03, Key ID b742fa8b80420f66
Source RPM  : rsync-3.1.3-4.mga7.src.rpm
Build Date  : ter 25 fev 2020 17:44:16 -03
Build Host  : localhost
[b]Relocations : (not relocatable)[/b]
Last edited by isadora on Nov 7th, '20, 20:10, edited 1 time in total.
Reason: Please place command-output between [CODE]-tags, to improve readability, thanks ahead!!! ;)
adhefe
 
Posts: 188
Joined: Mar 11th, '19, 02:08

Re: Relocatable packages in Mageia

Postby doktor5000 » Nov 7th, '20, 20:10

The answers to your questions are no and no.
AFAICT no distro packages are relocatable nowadays, because usually this either doesn't work or it's the wrong approach to whatever problem you're trying to solve.
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


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest

cron