anishnath
27th July 2011, 06:25 PM
rpm -qi shows wrong Relocations
--------------------------------------------------------------------------------
rpm -ihv Test-01.rpm --relocate /opt/Test01=/opt/Test02
issue command
rpm -ql Test-01
it shows the file from /opt/Test02 that is correct
but when i query
rpm -qi Test-01
Name : Test-01 Relocations: /opt/Test01
it shows the old Relocation
Any Idea why
---------- Post added at 05:25 PM ---------- Previous post was at 04:15 PM ----------
Description of problem:
rpm -qi shows wrong Relocation after installing the package using rpm --relocate option
Version-Release number of selected component (if applicable):
How reproducible:
Build a spec file using Prefix option
example rpm:- Test-01.rpm
Steps to Reproduce:
1. rpm -ihv Test-01.rpm --relocate /opt/Test01=/opt/Test02
2.
3.
Actual results:
rpm -qi Test-01
Name : Test-01 Relocations: /opt/Test01
Expected results:
rpm -qi Test-01
Name : Test-01 Relocations: /opt/Test02
--------------------------------------------------------------------------------
rpm -ihv Test-01.rpm --relocate /opt/Test01=/opt/Test02
issue command
rpm -ql Test-01
it shows the file from /opt/Test02 that is correct
but when i query
rpm -qi Test-01
Name : Test-01 Relocations: /opt/Test01
it shows the old Relocation
Any Idea why
---------- Post added at 05:25 PM ---------- Previous post was at 04:15 PM ----------
Description of problem:
rpm -qi shows wrong Relocation after installing the package using rpm --relocate option
Version-Release number of selected component (if applicable):
How reproducible:
Build a spec file using Prefix option
example rpm:- Test-01.rpm
Steps to Reproduce:
1. rpm -ihv Test-01.rpm --relocate /opt/Test01=/opt/Test02
2.
3.
Actual results:
rpm -qi Test-01
Name : Test-01 Relocations: /opt/Test01
Expected results:
rpm -qi Test-01
Name : Test-01 Relocations: /opt/Test02