Results 1 to 10 of 10
Ok, so i installed something using "yum localinstall" I actually didn't want to. No biggy, just uninstall it right? Well, I tried the yum remove pkg and it just sat ...
- 09-30-2010 #1Just Joined!
- Join Date
- Sep 2010
- Posts
- 38
Yum/RPM Problem!
Ok, so i installed something using "yum localinstall" I actually didn't want to. No biggy, just uninstall it right? Well, I tried the yum remove pkg and it just sat there
forever without completing. I could not ctrl-c or ctrl-d out of it.....so I killed the process. After that, everytime I tried rpm it would hang. So I restarted the box.
rpm ok now, so I tried to yum localinstall on the correct package I want.
It's telling me:
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
How do I use the yum-complete-transaction?
Thanks,
Ray
- 09-30-2010 #2
Execute this and give output here
Code:yum-complete-transaction
ReadCode:man yum
- 09-30-2010 #3Just Joined!
- Join Date
- Sep 2010
- Posts
- 38
- 09-30-2010 #4
use this
Code:yum clean all
if possible reboot the system and again any error post hereCode:rpm --rebuilddb
- 09-30-2010 #5Just Joined!
- Join Date
- Sep 2010
- Posts
- 38
Ok had to install yum-util in order to do the yum-complete-transaction.
All seem well for now with that issue. Now for the next issue.
I need to install tk8.3 so i downloaded the rpm and tried this:
[root@sguil01.root vbarry]# yum localinstall tk-8.3.5-96.0.1.x86_64.rpm --installroot=/home/sguil/NTtcl8.3/
Loaded plugins: security
Setting up Local Package Process
Examining tk-8.3.5-96.0.1.x86_64.rpm: tk-8.3.5-96.0.1.x86_64
Marking tk-8.3.5-96.0.1.x86_64.rpm to be installed
http://xxxxxxxxxxxxxxxxx/yum/RHEL/%2...ta/repomd.xml: [Errno 14] HTTP Error 404: Not Found
Trying other mirror.
Error: Cannot retrieve repository metadata (repomd.xml) for repository: live. Please verify its path and try again
Why is this trying to go to a repo when I am doing a local install?
Thanks,
RayLast edited by RayAID; 09-30-2010 at 08:40 PM.
- 09-30-2010 #6
Is tk package not available in repo?
Use rpm command for installing single rpm
- 09-30-2010 #7Just Joined!
- Join Date
- Sep 2010
- Posts
- 38
- 09-30-2010 #8
probably something like
Code:rpm -Uvh --nodeps --prefix=/home/sguil/NTtcl8.3/ tk-8.3.5-96.0.1.x86_64.rpm
- 10-01-2010 #9Just Joined!
- Join Date
- Sep 2010
- Posts
- 38
- 10-02-2010 #10
I still don't know why you aren't using tk available in repo
lookup how to extract rpm manually, then you can put it where you want


Reply With Quote
