YUM HANGS AT RUNNING TRANSACTION TEST


 
Thread Tools Search this Thread
Operating Systems Linux YUM HANGS AT RUNNING TRANSACTION TEST
# 1  
Old 06-17-2011
YUM HANGS AT RUNNING TRANSACTION TEST

Hi
When i trying to update using yum, hangs at Running transaction test.
Code:
[root@bugz01 ~]# yum update yum
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * addons: ftp.oss.eznetsols.org
 * extras: ftp.oss.eznetsols.org
 * base: ftp.oss.eznetsols.org
 * updates: ftp.oss.eznetsols.org
Setting up Update Process
Resolving Dependencies
--> Running transaction check
---> Package yum.noarch 0:3.2.22-33.el5.centos set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

========================================================================================================================================
 Package                    Arch                          Version                                     Repository                   Size
========================================================================================================================================
Updating:
 yum                        noarch                        3.2.22-33.el5.centos                        base                        1.0 M

Transaction Summary
========================================================================================================================================
Install      0 Package(s)         
Update       1 Package(s)         
Remove       0 Package(s)         

Total size: 1.0 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test


Pls give me some solution
I tried by doing
Code:
> rm -f /var/lib/rpm/__db*
> rpm -vv --rebuilddb
> yum upgrade yum
> yum upgrade

but not succeeded,
Looking for a solution

Great day
Anil.G

Last edited by pludi; 06-17-2011 at 05:01 AM..
# 2  
Old 06-17-2011
Are you running NFS? Stale NFS mounts are known to cause this.

You can use strace to determine where the problem is, i.e.
Code:
# strace yum -y update yum

This User Gave Thanks to fpmurphy For This Post:
# 3  
Old 06-20-2011
Hi Murphy
Yup was running NFS, It was problem with mount.
Now its working. Thanks for your solution

Great day
Anil.G
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

Installation of virt-manager while yum update and yum install rhvm does not work

I have downloaded RHEV-H 4.2 Red Hat Virtualization - Red Hat Customer Portal (RHVirtualization 4.2 Host and Manager iso). I uploaded the image and installed on an HP G9 server baremetal. I found I dont have a WAN/net connectivity later on HPG9 server. How can I still install virt-manager on... (1 Reply)
Discussion started by: Paras Pandey
1 Replies

2. Programming

Difference between BEGIN TRANSACTION & START TRANSACTION?

What's the difference between BEGIN TRANSACTION vs START TRANSACTION? Also goes for COMMIT TRANSACTION vs COMMIT? (0 Replies)
Discussion started by: dan139
0 Replies

3. Red Hat

Questions about running local YUM server

Im building a local yum server to update a handful of RHEL6 and RHEL7 servers, I'll be sharing out these updates via a local http webserver but I have a few questions. 1) it seem I am only able to download RHEL6 patches from a RHEL6 box and 7 patches from a 7 box which would mean I would have to... (1 Reply)
Discussion started by: dendenyc
1 Replies

4. Shell Programming and Scripting

While loop hangs in function running in background

Hello Everyone, I am writing a shell script to fetch log files from remote servers within a time range. It copies log files to local server, grep for date and then compares the time stamp of each log entry with the once specified. Below is the code. # Get log and Parsing function ... (1 Reply)
Discussion started by: kanagalamurali
1 Replies

5. UNIX for Dummies Questions & Answers

Yum error :You could try using --skip-broken to work around the problem , You could try running:

Hi Guys, I got below error while trying to install yum localinstall libstdc++-4.4.7-3.el6.i686.rpm Loaded plugins: product-id, refresh-packagekit, security, subscription-manager This system is not registered to Red Hat Subscription Management. You can use subscription-manager to... (1 Reply)
Discussion started by: heman96
1 Replies

6. Shell Programming and Scripting

Find hangs with automountd daemon running

Hi, I am trying to find files with specific name using find / -name core -print.. this command is hanging and never completes as it is searching for all the automount filesystems ..i cant eliminate using "! -fstype nfs" as this is not a nfs filesystem pls let me know if anyone know how to... (2 Replies)
Discussion started by: to_bsr
2 Replies

7. UNIX for Dummies Questions & Answers

Refurbished Netra 240 servers hangs after POST test

Hello everyone, I'm extremely new when it comes to SUN servers so bear with me and hopefully I can describe the issue I have accurately. At work we just received a refurbished SUN Netra 240 server. I was told to change some of the EEprom settings, and to do that I was to use a... (0 Replies)
Discussion started by: afferbwt
0 Replies

8. Shell Programming and Scripting

Append transaction header lines to same transaction's detail lines

Hi guys, I was wondering if someone can give me a hand in helping me append transaction header line in a file at the end of the transaction detail lines. Basically, I have a file that looks like this: FHEAD File1 THEAD TRANS1-blah TDETL HI1 TDETL HI2 TDETL HI3 TTAIL TRANS1-blah THEAD... (3 Replies)
Discussion started by: rookie12
3 Replies

9. UNIX for Dummies Questions & Answers

Centos commands: Yum Upgrade versus Yum update

Hi, I would like to know the difference between YUM UPDATE and YUM UPGRADE. The man pages say upgrade is same as update with the obsolete option. And by default it says the obsolete option is turned on, which would make them equivalent. Does not say what obsolete does. Can someone please... (3 Replies)
Discussion started by: mojoman
3 Replies

10. Linux

running test

-------------------------------------------------------------------------------- I am running a test command and if the user is not found you have to type exit and it wiil exit. Ok I did that. But if the user is found it is supposed to finger them. But my problem is it makes you type exit first... (2 Replies)
Discussion started by: skooly5
2 Replies
Login or Register to Ask a Question