RPM/YUM Tips on OS/2-eCS: Difference between revisions
Jump to navigation
Jump to search
Line 58: | Line 58: | ||
rpm --rebuilddb | rpm --rebuilddb | ||
==TroubleShooting== | |||
===Error: No such table: packages=== | |||
N/A | |||
[[Category:How_To]] | [[Category:How_To]] |
Revision as of 19:36, 12 March 2015
This are some RPM/YUM general tips that I need to write somewhere to don't forget them.
List the Content on the RPM Server
yum list
or search something more specifically like the "gcc" available
yum list gcc*
Install something
yum install <put-the-name-here>
Ex:
yum install libc
Ex. with several packaged:
yum install libc gcc-4.4.4 gcc-4.7.3 openssl curl libjpeg libxslt libicu zlib libxml2 mmap pthread urpo libstdc++6
Update all the stuff you have installed
yum update
Install YUM/RPM
Sometime RPM did not get automatically updated or installed. You can manually install them again with:
yum install rpm
Installing the Netlabs Experimental Repository
There is other repository for netlabs experimental stuff. You can use it under your risk.
This repository can be installed do doing a:
yum install netlabs-exp
It can also be set manually by creating a file under:
x:\etc\yum\repos.d\netlabs-exp.repo
with content:
[netlabs-exp] name=Netlabs experimental repository $releasever - $basearch baseurl=http://rpm.netlabs.org/experimental/$releasever/$basearch/ enabled=1
Clean
yum clean all
Check
This command check is the dependencies of the packaged are installed correctly.
yum check
RebuildDB
If your RPM database got corrupted you can use:
rpm --rebuilddb
TroubleShooting
Error: No such table: packages
N/A