![]() ![]() check-rpms will switch to that user and run most of the script under that user id.Only the final "rpm -Fvh. Fur- thermore, the $RPMUSER variable should be set to a non-root user- name (see the -c option below). ![]() In the latter case check-rpms must be run as root. check-rpms lists packages of the distribution that are found to be newer than the installed packages or, if -update is specified, will update the packages using the "rpm -Fvh " command. If $RPMDIR is not set, the default directory "/mnt/redhat/Red- Hat/RPMS" is used.Ĭheck-rpms uses a lexical sort on the version string and the release string of the package in order to decide whether the installed package or the package form the distribution is newer. If -d directory is omitted as well, the $RPMDIR directory is used. If the -ftp is omitted, it is assumed that -d directory specifies a local directory that contains up-to-date rpm packages. If $RPMDIR variable is not set either, the default directory "/mnt/redhat/RedHat/RPMS" is used. The $RPMDIR variable that can be set in the configuration file. ![]() If that option is omitted the $RPMDIR directory is used. If run with the -ftp option, all rpm packages that need to be downloaded (see the -download, -recheck, and -update options) will be downloaded into the directory specified by the -d directory option. If either of the two is not set, the default server "" and the default directory "$RHversion/en/os" is used, where $RHversion is obtained from the /etc/redhat-release file. The $FTPSERVER and $FTPUPDATES variables can be set in the configuration file. If ftpserver/directory is not specified, $FTPSERVER/$FTPUPDATES is used. If the -ftp option is specified, check-rpms retrieves directory listings from the ftpserver's directory/ directories, where is set to noarch, i386, i586, i686, and athlon consecutively. That distribution may either reside in a local directory (possibly NFS mounted) or on a ftp server. Check-rpms - compare installed rpms with up-to-date distribution DESCRIPTIONĬheck-rpms compares installed RPM packages (listed by the command "rpm -qa") on a Linux system with an up-to-date distribution. ![]()
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |