yum always fails to install the packages after the download
Linux - ServerThis forum is for the discussion of Linux Software used in a server related context.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
yum always fails to install the packages after the download
I have server with Cent 6.3 and yum is configured with default settings. When i perform yum install "package", it always fails after downloading the packages. Proxy setting also fine, but not sure it fails to install the packages. Please help me to solve this issue. Below is the output of "yum install pam.i686".
=============================================================
#yum install pam.i686
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* base: centos-hcm.viettelidc.com.vn
* extras: centos-hcm.viettelidc.com.vn
* updates: centos-hcm.viettelidc.com.vn
base | 3.7 kB 00:00
base/primary_db | 4.5 MB 00:10
extras | 3.0 kB 00:00
extras/primary_db | 6.3 kB 00:00
updates | 3.5 kB 00:00
updates/primary_db | 3.0 MB 00:00
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package pam.i686 0:1.1.1-10.el6_2.1 will be installed
--> Processing Dependency: libutil.so.1(GLIBC_2.0) for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libutil.so.1 for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libselinux.so.1 for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libnsl.so.1(GLIBC_2.0) for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libnsl.so.1 for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libdb-4.7.so for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libcrack.so.2 for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libc.so.6(GLIBC_2.8) for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libc.so.6(GLIBC_2.7) for package: pam-1.1.1-10.el6_2.1.i686
--> Processing Dependency: libaudit.so.1 for package: pam-1.1.1-10.el6_2.1.i686
--> Running transaction check
---> Package audit-libs.i686 0:2.2-2.el6 will be installed
---> Package cracklib.i686 0:2.8.16-4.el6 will be installed
---> Package db4.i686 0:4.7.25-17.el6 will be installed
---> Package glibc.i686 0:2.12-1.80.el6_3.5 will be installed
--> Processing Dependency: libfreebl3.so(NSSRAWHASH_3.12.3) for package: glibc-2.12-1.80.el6_3.5.i686
--> Processing Dependency: libfreebl3.so for package: glibc-2.12-1.80.el6_3.5.i686
---> Package libselinux.i686 0:2.0.94-5.3.el6 will be installed
--> Running transaction check
---> Package nss-softokn-freebl.i686 0:3.12.9-11.el6 will be installed
--> Finished Dependency Resolution
Dependencies Resolved
==================================================================================================== =========================================================
Package Arch Version Repository Size
==================================================================================================== =========================================================
Installing:
pam i686 1.1.1-10.el6_2.1 base 656 k
Installing for dependencies:
audit-libs i686 2.2-2.el6 base 60 k
cracklib i686 2.8.16-4.el6 base 70 k
db4 i686 4.7.25-17.el6 base 580 k
glibc i686 2.12-1.80.el6_3.5 updates 4.3 M
libselinux i686 2.0.94-5.3.el6 base 108 k
nss-softokn-freebl i686 3.12.9-11.el6 base 116 k
Total download size: 5.9 M
Installed size: 18 M
Is this ok [y/N]: y
Downloading Packages:
(1/7): audit-libs-2.2-2.el6.i686.rpm | 60 kB 00:00
(2/7): cracklib-2.8.16-4.el6.i686.rpm | 70 kB 00:00
(3/7): db4-4.7.25-17.el6.i686.rpm | 580 kB 00:02
(4/7): glibc-2.12-1.80.el6_3.5.i686.rpm | 4.3 MB 00:13
(5/7): libselinux-2.0.94-5.3.el6.i686.rpm | 108 kB 00:00
(6/7): nss-softokn-freebl-3.12.9-11.el6.i686.rpm | 116 kB 00:00
(7/7): pam-1.1.1-10.el6_2.1.i686.rpm | 656 kB 00:01
-------------------------------------------------------------------------------------------------------------------------------------------------------------
Total 282 kB/s | 5.9 MB 00:21
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
audit-libs-2.2-2.el6.i686 was supposed to be installed but is not!
Verifying : audit-libs-2.2-2.el6.i686 1/7
glibc-2.12-1.80.el6_3.5.i686 was supposed to be installed but is not!
Verifying : glibc-2.12-1.80.el6_3.5.i686 2/7
cracklib-2.8.16-4.el6.i686 was supposed to be installed but is not!
Verifying : cracklib-2.8.16-4.el6.i686 3/7
db4-4.7.25-17.el6.i686 was supposed to be installed but is not!
Verifying : db4-4.7.25-17.el6.i686 4/7
libselinux-2.0.94-5.3.el6.i686 was supposed to be installed but is not!
Verifying : libselinux-2.0.94-5.3.el6.i686 5/7
pam-1.1.1-10.el6_2.1.i686 was supposed to be installed but is not!
Verifying : pam-1.1.1-10.el6_2.1.i686 6/7
nss-softokn-freebl-3.12.9-11.el6.i686 was supposed to be installed but is not!
Verifying : nss-softokn-freebl-3.12.9-11.el6.i686 7/7
Verifying : audit-libs-2.2-2.el6.i686 8/7
Verifying : glibc-2.12-1.80.el6_3.5.i686 9/7
Verifying : cracklib-2.8.16-4.el6.i686 1/7
Verifying : db4-4.7.25-17.el6.i686 1/7
Verifying : libselinux-2.0.94-5.3.el6.i686 1/7
Verifying : pam-1.1.1-10.el6_2.1.i686 1/7
Verifying : nss-softokn-freebl-3.12.9-11.el6.i686 1/7
Hi
I have pasted the yum.conf file below. Also i have tried with "gpgcheck=0" but still no luck.
==================================================================================================== ===========================
[main]
cachedir=/var/cache/yum/$basearch/$releasever
keepcache=0
debuglevel=2
logfile=/var/log/yum.log
exactarch=1
obsoletes=1
gpgcheck=1
plugins=1
installonly_limit=5
bugtracker_url=http://bugs.centos.org/set_project.php?project_id=16&ref=http://bugs.centos.org/bug_report_page.php?category=yum
distroverpkg=centos-release
# This is the default, if you make this bigger yum won't see if the metadata
# is newer on the remote and so you'll "gain" the bandwidth of not having to
# download the new metadata and "pay" for it by yum not having correct
# information.
# It is esp. important, to have correct metadata, for distributions like
# Fedora which don't keep old packages around. If you don't like this checking
# interupting your command line usage, it's much better to have something
# manually check the metadata once an hour (yum-updatesd will do this).
# metadata_expire=90m
# PUT YOUR REPOS HERE OR IN separate files named file.repo
# in /etc/yum.repos.d
==================================================================================================== ======================
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.