Find the answer to your Linux question:
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 ...
  1. #1
    Just 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

  2. #2
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309
    Execute this and give output here
    Code:
    yum-complete-transaction

    Read
    Code:
    man yum

  3. #3
    Just Joined!
    Join Date
    Sep 2010
    Posts
    38
    Quote Originally Posted by ved View Post
    Execute this and give output here
    Code:
    yum-complete-transaction

    Read
    Code:
    man yum
    [rayj]# yum-complete-transaction
    -bash: yum-complete-transaction: command not found

  4. #4
    ved
    ved is offline
    Linux User ved's Avatar
    Join Date
    Jan 2008
    Location
    New Delhi
    Posts
    309

    Smile

    use this
    Code:
    yum clean all
    Code:
    rpm --rebuilddb
    if possible reboot the system and again any error post here

  5. #5
    Just Joined!
    Join Date
    Sep 2010
    Posts
    38
    Quote Originally Posted by ved View Post
    use this
    Code:
    yum clean all
    Code:
    rpm --rebuilddb
    if possible reboot the system and again any error post here
    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,

    Ray
    Last edited by RayAID; 09-30-2010 at 08:40 PM.

  6. #6
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    Is tk package not available in repo?

    Use rpm command for installing single rpm

  7. #7
    Just Joined!
    Join Date
    Sep 2010
    Posts
    38
    Quote Originally Posted by coopstah13 View Post
    Is tk package not available in repo?

    Use rpm command for installing single rpm
    What is the rpm equivalent to "yum localinstall tk-8.3.5-96.0.1.x86_64.rpm --installroot=/home/sguil/NTtcl8.3/" ?

    Thanks

  8. #8
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    probably something like
    Code:
    rpm -Uvh --nodeps --prefix=/home/sguil/NTtcl8.3/  tk-8.3.5-96.0.1.x86_64.rpm

  9. #9
    Just Joined!
    Join Date
    Sep 2010
    Posts
    38
    Quote Originally Posted by coopstah13 View Post
    probably something like
    Code:
    rpm -Uvh --nodeps --prefix=/home/sguil/NTtcl8.3/  tk-8.3.5-96.0.1.x86_64.rpm
    I am getting this error:

    [rayj]# rpm -Uvh --nodeps --prefix=/home/sguil/NTtcl8.3/ tk-8.3.5-96.0.1.x86_64.rpm
    warning: tk-8.3.5-96.0.1.x86_64.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
    error: package tk is not relocatable
    [rayj]#

    ??

    Ray

  10. #10
    Linux Guru coopstah13's Avatar
    Join Date
    Nov 2007
    Location
    NH, USA
    Posts
    3,149
    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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
...