Difference between revisions of "Installing FSArchiver on Rocky Linux"

m
no edit summary
(Created page with "Installing FS Archiver takes a couple of steps beyond what is described on their website. '''Get it from from https://www.fsarchiver.org/installation/<nowiki/>;''' * wget <nowiki>https://github.com/fdupoux/fsarchiver/releases/download/0.8.6/fsarchiver-0.8.6-1.el7.x86_64.rpm</nowiki> '''Install it (spoiler alert, it won't work);''' * yum install fsarchiver-0.8.6-1.el7.x86_64.rpm Error: Problem: conflicting requests   - nothing provides libgcrypt.so.11()(64bit) ne...")
 
m
Line 3: Line 3:
'''Get it from from https://www.fsarchiver.org/installation/<nowiki/>;'''
'''Get it from from https://www.fsarchiver.org/installation/<nowiki/>;'''


* wget <nowiki>https://github.com/fdupoux/fsarchiver/releases/download/0.8.6/fsarchiver-0.8.6-1.el7.x86_64.rpm</nowiki>
*wget <nowiki>https://github.com/fdupoux/fsarchiver/releases/download/0.8.6/fsarchiver-0.8.6-1.el7.x86_64.rpm</nowiki>


'''Install it (spoiler alert, it won't work);'''
'''Install it (spoiler alert, it won't work);'''


* yum install fsarchiver-0.8.6-1.el7.x86_64.rpm
*yum install fsarchiver-0.8.6-1.el7.x86_64.rpm


Error:  
Error:  
Line 19: Line 19:
'''OK, get that package (it isn't available with Rocky / CentOS 8 or 9, but it is with Cent OS 7)'''
'''OK, get that package (it isn't available with Rocky / CentOS 8 or 9, but it is with Cent OS 7)'''


* wget <nowiki>https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/libgcrypt-1.5.3-14.el7.x86_64.rpm</nowiki>
*wget <nowiki>https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/libgcrypt-1.5.3-14.el7.x86_64.rpm</nowiki>


'''Install it (spoiler alert, it won't work);'''
'''Install it (spoiler alert, it won't work);'''
Line 72: Line 72:
'''Cool, let's install libgcrypt-1.5.3-14.el7.x86_64.rpm (spoiler alert, it wont work either);'''
'''Cool, let's install libgcrypt-1.5.3-14.el7.x86_64.rpm (spoiler alert, it wont work either);'''


* yum install libgcrypt-1.5.3-14.el7.x86_64.rpm
*yum install libgcrypt-1.5.3-14.el7.x86_64.rpm


Error:  
Error:  
Line 92: Line 92:
'''Forget it.  Do it manually;'''
'''Forget it.  Do it manually;'''


* Copy the libgcrypt.so.11.8.s and .libgcrypt.so.11.hmac to /usr/lib64 from the extracted RPM file (see above)
*Copy the libgcrypt.so.11.8.s and .libgcrypt.so.11.hmac to /usr/lib64 from the extracted RPM file (see above)
* Create a symbolic link: ln -s libgcrypt.so.11.8.2 libgcrypt.so.11
*Create a symbolic link: ln -s libgcrypt.so.11.8.2 libgcrypt.so.11


'''OK, back to installing FSArchiver (spoiler alert yet again, nothing happens / nothing is accomplished);'''
'''OK, back to installing FSArchiver (spoiler alert yet again, nothing happens / nothing is accomplished);'''


* yum install fsarchiver-0.8.6-1.el7.x86_64.rpm
*yum install fsarchiver-0.8.6-1.el7.x86_64.rpm


Dependencies resolved.
Dependencies resolved.
Line 107: Line 107:
'''Forget this crap.  And to forget it we'll need to jump slightly outside of the YUM / DNF paradigm;'''
'''Forget this crap.  And to forget it we'll need to jump slightly outside of the YUM / DNF paradigm;'''


* rpm -Uhv /usr/src/fsarchiver-0.8.6-1.el7.x86_64.rpm --nodeps
*rpm -Uhv /usr/src/fsarchiver-0.8.6-1.el7.x86_64.rpm --nodeps


'''Done!  Installed!  Finished!  Working;'''<syntaxhighlight lang="text">
'''Done!  Installed!  Finished!  Working;'''<syntaxhighlight lang="text">
Line 138: Line 138:
  -V: show program version and exit
  -V: show program version and exit
</syntaxhighlight>
</syntaxhighlight>
== Rough Notes Below (above article derived from below notes) ==
To install FS Archiver from <nowiki>https://www.fsarchiver.org/installation/</nowiki>
wget <nowiki>https://github.com/fdupoux/fsarchiver/releases/download/0.8.6/fsarchiver-0.8.6-1.el7.x86_64.rpm</nowiki>
yum install libgcrypt-1.5.3-14.el7.x86_64.rpm
Error:
Problem: problem with installed package systemd-libs-239-68.el8_7.2.x86_64
  - package systemd-libs-239-68.el8_7.2.x86_64 requires libgcrypt.so.20()(64bit), but none of the providers can be installed
  - package systemd-libs-239-68.el8_7.2.x86_64 requires libgcrypt.so.20(GCRYPT_1.6)(64bit), but none of the providers can be installed
  - package systemd-libs-239-68.el8.x86_64 requires libgcrypt.so.20()(64bit), but none of the providers can be installed
  - package systemd-libs-239-68.el8.x86_64 requires libgcrypt.so.20(GCRYPT_1.6)(64bit), but none of the providers can be installed
  - cannot install both libgcrypt-1.5.3-14.el7.x86_64 and libgcrypt-1.8.5-7.el8_6.x86_64
  - conflicting requests
 
Makes no sense in terms of files (see below)
Contents of libgcrypt-1.5.3-14.el7.x86_64.rpm (from <nowiki>https://rpmfind.net/linux/centos/7.9.2009/os/x86_64/Packages/libgcrypt-1.5.3-14.el7.x86_64.rpm</nowiki>)
Extract: rpm2cpio libgcrypt-1.5.3-14.el7.x86_64.rpm | cpio -idmv (from <nowiki>https://www.cyberciti.biz/tips/how-to-extract-an-rpm-package-without-installing-it.html</nowiki>)
./etc/gcrypt
./usr/lib64/.libgcrypt.so.11.hmac
./usr/lib64/libgcrypt.so.11
./usr/lib64/libgcrypt.so.11.8.2
./usr/share/doc/libgcrypt-1.5.3
./usr/share/doc/libgcrypt-1.5.3/AUTHORS
./usr/share/doc/libgcrypt-1.5.3/COPYING.LIB
./usr/share/doc/libgcrypt-1.5.3/NEWS
./usr/share/doc/libgcrypt-1.5.3/THANKS
Rocky Linux 8
lrwxrwxrwx.   1 root root       15 Jun 28  2022 libgcrypt.so -> libgcrypt.so.20
lrwxrwxrwx.   1 root root       19 Jun 28  2022 libgcrypt.so.20 -> libgcrypt.so.20.2.5
-rwxr-xr-x.   1 root root  1187328 Jun 28  2022 libgcrypt.so.20.2.5
-rw-r--r--.   1 root root       65 Jun 28  2022 .libgcrypt.so.20.hmac
CentOS 7
lrwxrwxrwx.   1 root root       19 Dec  7  2017 libgcrypt.so.11 -> libgcrypt.so.11.8.2
-rwxr-xr-x.   1 root root   535064 Aug  2  2017 libgcrypt.so.11.8.2
-rw-r--r--.   1 root root       65 Aug  2  2017 .libgcrypt.so.11.hmac
rpm -Uhv /usr/src/fsarchiver-0.8.6-1.el7.x86_64.rpm --nodeps
yum / dnf won't do it