OS/2, eCS & ArcaOS - Technical > Setup & Installation
How to reinstall files missing from /usr/bin?
ivan:
And here we see the advantage of WARPIN over RPM/YUM. Sorry I don't like RPM, never did even when I encountered it 20 odd years ago and I admit I use linux Mint now in parallel with OS/2 (ArcaOS) because of Firefox because it doesn't use rpm/yum as a program loader.
Rant over and back to Pete's problem. You need to get a copy of ARCVIEW-22 and its tools, it will allow you to get individual files from the various rpm packages and put them where you want them. It is what I use when I can't find what I want as normal files.
Steven Levine:
--- Quote from: Pete on February 13, 2025, 07:56:26 pm ---Hi All
yum reinstall J:\var\cache\yum\netlabs-rel\packages\sane-backends-1.0.28-2.oc00.pentium4.rpm
which resulted in
No package matched to remove: sane-backends-0:1.0.28-2.oc00
Error: Problem in reinstall: no package matched to remove
--- End quote ---
Yum cannot install an rpm directly, but anpm can. You can also use rpm to install rpms. <g>
I find it best to think of yum as a front-end for rpm. Yum uses rpm under the covers, much like anpm uses yum and rpm.
If you have not lost the content of /var/lib/rpm
rpm -qa
will list all of the package rpm thinks you have installed.
Pete:
Hi Steven
Yes, rpm -qa > rpmlist.txt seems to have all the previously installed packages showing.
Guess I can just work through the list (re)installing 1 by 1 - unless there is some way of presenting rpm with a list to (re)install?
Thanks
Pete
Pete:
Hi Ivan
I'm quite in agreement with your rant :-)
I encountered rpm in the late 1990s and have been a devoted hater ever since.
However, it is what we are currently having to use so I try to make the best of it... and it is certainly not the fault of rpm/yum that I got into this mess.
I have arcview 2.1 installed and that does not let me pull out individual files, have to unpack all files, copy the required files to where ever, then delete the unpacked rpm files - Is arcview 2.2 on hobbesarchive, arcanoae or Alexs site?
While unpacking with arcview means I now have printing and scanning working again ANPM/yum do not know that which means that should I want to install a package that relies on something within cups/hplip/sane/hpaio it will be necessary to also install whatever package(s) are required. Also, of course, updates are not be offered for packages that are not known to be installed.
Regards
Pete
Tom:
--- Quote from: Pete on February 13, 2025, 11:43:52 pm ---Is arcview 2.2 on hobbesarchive, arcanoae or Alexs site?
--- End quote ---
Arcview 2.25 is available as a Warpin package on both hobbesarchive and Alex's website:
https://hobbesarchive.com/Home/Download?path=/Hobbes/pub/os2/util/archiver/ArcView-2_25.wpi
https://altsan.org/programming/os2/arcview_225.wpi
Navigation
[0] Message Index
[#] Next page
[*] Previous page
Go to full version