Results 1 to 9 of 9

Thread: Yast hangs on rpm install

  1. #1
    wildmanmatt NNTP User

    Default Yast hangs on rpm install

    Hi,

    I'm having a problem that Yast hangs when trying to install an rpm (I'm trying to install 'meld').

    It sits there and does nothing after download (I've tried leaving it for a couple of hours). Checking ps -x gives me a 'D' in the stat column for the rpm -i command of the package yast is trying to install.

    I end up having to kill -9 the pid and then aborting within yast (I can't just abort in yast because I'm unable to click any of the buttons while it's waiting)

    I've tried rpm -qa which does provide a list of my installed packages and I've also tried rm -f /var/lib/rpm/__* ; rpm -vv --rebuilddb which does successfully rebuild my db.

    However, after these, I do run into the same problems.

    I've also tried db_verify Packages which doesn't give any errors.


    I know my first port of call should possibly have been to restart my computer, but I can't do that until later on this evening because I've had it doing things. I just wanted to see if anyone had any other thoughts?

    I'll restart when my computer is free from what it's doing and if that resolves I'll close this

    Thanks,

    Matt

    (btw, I'm running 11.1 in KDE)

  2. #2
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,734
    Blog Entries
    20

    Default Re: Yast hangs on rpm install

    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  3. #3
    wildmanmatt NNTP User

    Default Re: Yast hangs on rpm install

    I tried that when I first looked for meld...it stalls at 0% on "Installing meld-1.3.0-2.4.noarch.rpm"

  4. #4
    Join Date
    Nov 2008
    Location
    N. Wales
    Posts
    1,028

    Default Re: Yast hangs on rpm install

    wildmanmatt adjusted his/her AFDB on Friday 14 Aug 2009 21:56 to write:

    >
    > I tried that when I first looked for meld...it stalls at 0% on
    > "Installing meld-1.3.0-2.4.noarch.rpm"
    >
    >


    What happens if you use the command line instead of YaST?

    rpm -Ivh meld-1.3.0-2.4.noarch.rpm

    Or even put --force on the end to see what output you get and force the
    install but do beware there can be wyrms going that way but as it is only
    one rpm I doubt it will mess anything up.

    HTH
    --
    Mark
    Caveat emptor
    Nullus in verba
    Nil illegitimi carborundum

  5. #5
    Join Date
    Jun 2008
    Location
    The English Lake District. UK - GMT/BST
    Posts
    36,734
    Blog Entries
    20

    Default Re: Yast hangs on rpm install

    maybe you mean
    Code:
    rpm -ihv meld-1.3.0-2.4.noarch.rpm
    Leap 15.1_KDE
    My Articles Was I any help? If yes: Click the star below

  6. #6

    Default Re: Yast hangs on rpm install

    I will not use the force first. Try the first one and look for the error if it fails.
    Maybe there are dependencies blocking the way.
    People who do not break things first will never learn to create anything

  7. #7
    Join Date
    Nov 2008
    Location
    N. Wales
    Posts
    1,028

    Default Re: Yast hangs on rpm install

    caf4926 adjusted his/her AFDB on Saturday 15 Aug 2009 03:46 to write:

    >
    > maybe you mean
    >
    > Code:
    > --------------------
    > rpm -ihv meld-1.3.0-2.4.noarch.rpm
    > --------------------
    >
    >


    Thanks caf,

    Yep my bad, actually it would probably be better to use -Uvh instead.

    To the OP the U ( uppercase ) will update if already installed and/or
    install if it is not previously installed so is a better way of doing it.

    Also in you first post you did all sorts of wonderful things to update the
    db but to save time you only need to do:

    rpm --rebuilddb


    This has the same affect but is quicker to type

    :-)

    HTH

    --
    Mark
    Caveat emptor
    Nullus in verba
    Nil illegitimi carborundum

  8. #8
    wildmanmatt NNTP User

    Default Re: Yast hangs on rpm install

    Thanks for your help... The solutions posted didn't seem to resolve the problems, but something seems to have done...

    I said that I hadn't restarted, well, I did.

    However, that didn't resolve the problem. I decided to get on with it and just leave rpms (hey, I can live with ./configure, make, make install I guess), but then after a second restart, I tried to install with YaST again and for some reason it just worked.

    Maybe there was something stuck that just needed to be worked out?

    Strange...

  9. #9
    Join Date
    Nov 2008
    Location
    N. Wales
    Posts
    1,028

    Default Re: Yast hangs on rpm install

    wildmanmatt adjusted his/her AFDB on Saturday 22 Aug 2009 22:36 to write:

    >
    > However, that didn't resolve the problem. I decided to get on with it
    > and just leave rpms (hey, I can live with ./configure, make, make
    > install I guess), but then after a second restart, I tried to install
    > with YaST again and for some reason it just worked.
    >
    > Maybe there was something stuck that just needed to be worked out?
    >
    > Strange...
    >
    >


    Could have been caused by a stale lock file on Yast that made the system
    think that Yast was already running.

    This can be caused by a crash and the file not being deleted.

    HTH
    --
    Mark
    Caveat emptor
    Nullus in verba
    Nil illegitimi carborundum

Posting Permissions

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