Updating the rpm database

Posted by / 29-Mar-2019 01:12

For example, the following command with -qf (query file) option will show you a file /usr/bin/htpasswd is own by package httpd-tools-2.2.15-15.el6.centos.1.i686. Most Of My Servers runs on Open Source Platform called Linux.email protected# rpm -qi vsftpd Name : vsftpd Relocations: (not relocatable) Version : 2.2.2 Vendor: Cent OS Release : 11.el6 Build Date: Fri PM BDT Install Date: Mon PM BDT Build Host: c6b8dev.Group : System Environment/Daemons Source RPM: vsftpd-2.2.2-11.el6rpm Size : 351932 License: GPLv2 with exceptions Signature : RSA/SHA1, Mon AM BDT, Key ID 0946fca2c105b9de Packager : Cent OS Build System You have download a package from the internet and want to know the information of a package before installing.

Yum is implemented as libraries in the Python programming language, with a small set of programs that provide a command-line interface. When a package is downloaded, installed and is removed there is a chance that the package may still be saved/stored in the yum's cache.

If you have any issues or questions you are always welcome to call, open a live chat or submit a ticket via the My Velocity panel for further assistance.

Like the Advanced Packaging Tool (APT) from Debian, yum works with software repositories (collections of packages), which can be accessed locally or over a network connection.

Under the hood, yum depends on RPM, which is a packaging standard for digital distribution of apps, which automatically uses hashes and “digisigs” to verify the authorship and integrity of such apps; unlike some app stores, which serve a similar function, yum nor RPM provide built-in support for proprietary restrictions on copying of packages by end-users.

The Yellowdog Updater, Modified (yum) is an open-source command-line package-management utility for Linux operating systems using the RPM Package Manager.

Yum allows automatic updates, package and dependency management, on RPM-based distributions.

]]

This is the same as install, except all other version(s) of the package are removed after the new package is installed.

Browse By Product From Downloads, browse to the product you are interested in and then select the 'Packages' tab. ########################################### [100%] 1:kernel ########################################### [100%] # rpm -ivh kernel-smp-2.4.21-15.0.3. ########################################### [100%] 1:kernel-smp ########################################### [100%] # rpm -q kernel; rpm -q kernel-smp kernel-2.4.21-4.0.1. I'm getting this on RHEL Atomic below error : Actually this is Mc Afee Agent [email protected] tmp]# ./-i space required to copy archive is 69382392 bytes space available at mfeq DMuq I is 936361984 bytes extracting archive to mfeq DMuq I...

For example, packages for RHEL 7 Server Note: An active product subscription that includes entitlements to the package are required to view or download packages. please wait 67522 1 records in 67522 1 records out 34571397 bytes (35 MB) copied, 0.0689421 s, 501 MB/s Archive: mfeq DMuq I/inflating: mfeq DMuq I/MFEma.x86_64inflating: mfeq DMuq I/MFErt.i686inflating: mfeq DMuq I/MFEma.i686inflating: mfeq DMuq I/MFEma.x86_64inflating: mfeq DMuq I/MFErt.i686inflating: mfeq DMuq I/MFEma.i686inflating: mfeq DMuq I/inflating: mfeq DMuq I/inflating: mfeq DMuq I/inflating: mfeq DMuq I/req2048inflating: mfeq DMuq I/sr2048inflating: mfeq DMuq I/agentfipsmode inflating: mfeq DMuq I/inflating: mfeq DMuq I/Repo error: can't create transaction lock on /var/lib/rpm/lock (No such file or directory) [[email protected] tmp]# I have installed Redhat linux package v6.7.

For example, the following option -qip (query info package) will print the information of a package sqlbuddy.

email protected# rpm -qdf /usr/bin/vmstat /usr/share/doc/procps-3.2.8/BUGS /usr/share/doc/procps-3.2.8/COPYING /usr/share/doc/procps-3.2.8/COPYING.

||

This is the same as install, except all other version(s) of the package are removed after the new package is installed. Browse By Product From Downloads, browse to the product you are interested in and then select the 'Packages' tab. ########################################### [100%] 1:kernel ########################################### [100%] # rpm -ivh kernel-smp-2.4.21-15.0.3. ########################################### [100%] 1:kernel-smp ########################################### [100%] # rpm -q kernel; rpm -q kernel-smp kernel-2.4.21-4.0.1. I'm getting this on RHEL Atomic below error : Actually this is Mc Afee Agent [email protected] tmp]# ./-i space required to copy archive is 69382392 bytes space available at mfeq DMuq I is 936361984 bytes extracting archive to mfeq DMuq I...For example, packages for RHEL 7 Server Note: An active product subscription that includes entitlements to the package are required to view or download packages. please wait 67522 1 records in 67522 1 records out 34571397 bytes (35 MB) copied, 0.0689421 s, 501 MB/s Archive: mfeq DMuq I/inflating: mfeq DMuq I/MFEma.x86_64inflating: mfeq DMuq I/MFErt.i686inflating: mfeq DMuq I/MFEma.i686inflating: mfeq DMuq I/MFEma.x86_64inflating: mfeq DMuq I/MFErt.i686inflating: mfeq DMuq I/MFEma.i686inflating: mfeq DMuq I/inflating: mfeq DMuq I/inflating: mfeq DMuq I/inflating: mfeq DMuq I/req2048inflating: mfeq DMuq I/sr2048inflating: mfeq DMuq I/agentfipsmode inflating: mfeq DMuq I/inflating: mfeq DMuq I/Repo error: can't create transaction lock on /var/lib/rpm/lock (No such file or directory) [[email protected] tmp]# I have installed Redhat linux package v6.7.For example, the following option -qip (query info package) will print the information of a package sqlbuddy. email protected# rpm -qip sqlbuddy-1.3.3-1.Name : sqlbuddy Relocations: (not relocatable) Version : 1.3.3 Vendor: (none) Release : 1 Build Date: Wed PM BDT Install Date: (not installed) Build Host: baz Group : Applications/Internet Source RPM: sqlbuddy-1.3.3-1rpm Size : 1155804 License: MIT Signature : (none) Packager : Erik M Jacobs URL : Summary : SQL Buddy â Web based My SQL administration Description : SQLBuddy is a PHP script that allows for web-based My SQL administration.email protected# rpm -qdf /usr/bin/vmstat /usr/share/doc/procps-3.2.8/BUGS /usr/share/doc/procps-3.2.8/COPYING /usr/share/doc/procps-3.2.8/COPYING.

]] updating the rpm database-41updating the rpm database-13updating the rpm database-77

Always check the PGP signature of packages before installing them on your Linux systems and make sure its integrity and origin is OK.