Unix Technical Forum

rpm does not work

This is a discussion on rpm does not work within the Linux Operating System forums, part of the Unix Operating Systems category; --> Hello, I am trying to rpm a file and it doesn't work. When I type rpm -i MySQL-server-4.1.9-0.i386.rpm, it ...


Go Back   Unix Technical Forum > Unix Operating Systems > Linux Operating System

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 01-18-2008, 07:47 AM
webtekie@gmail.com
 
Posts: n/a
Default rpm does not work

Hello,

I am trying to rpm a file and it doesn't work. When I type rpm -i
MySQL-server-4.1.9-0.i386.rpm, it just sits there and that's it. Any
ideas?

thanks,
webtekie

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 01-18-2008, 07:47 AM
David Dorward
 
Posts: n/a
Default Re: rpm does not work

webtekie@gmail.com wrote:

> I am trying to rpm a file and it doesn't work. When I type rpm -i
> MySQL-server-4.1.9-0.i386.rpm, it just sits there and that's it. Any
> ideas?


-v Print verbose information - normally routine progress messages
will be displayed.

--
David Dorward <http://blog.dorward.me.uk/> <http://dorward.me.uk/>
Home is where the ~/.bashrc is
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 01-18-2008, 07:47 AM
Jeff Krimmel
 
Posts: n/a
Default Re: rpm does not work

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

webtekie@gmail.com wrote:
| Hello,
|
| I am trying to rpm a file and it doesn't work. When I type rpm -i
| MySQL-server-4.1.9-0.i386.rpm, it just sits there and that's it. Any
| ideas?

You can try rebuilding the rpm database (rpm --rebuilddb), though that
may have absolutely nothing to do with your problem. I would take the
previous poster's suggestion of turning verbose mode on to see where the
process is hanging.

Sometimes removing the __db files from /var/lib/rpm helps too.

Jeff

- --
Add an underscore between 'd' and 's' and remove the first three
letters of the alphabet for email.



-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQFCC7cxlRbyBxB9qBwRAvFuAJ9ZcOR4b0SZK8T8tDKLxK fkF+Jb0ACfRrKg
oXrBmJ5INSnXRKzsn0Y4gtc=
=2/1x
-----END PGP SIGNATURE-----
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4 (permalink)  
Old 01-18-2008, 07:47 AM
Villy Kruse
 
Posts: n/a
Default Re: rpm does not work

On Thu, 10 Feb 2005 11:34:09 -0800,
Jeff Krimmel <madscientist03abc@hotmail.com> wrote:


>
> webtekie@gmail.com wrote:
>| Hello,
>|
>| I am trying to rpm a file and it doesn't work. When I type rpm -i
>| MySQL-server-4.1.9-0.i386.rpm, it just sits there and that's it. Any
>| ideas?
>
> You can try rebuilding the rpm database (rpm --rebuilddb), though that
> may have absolutely nothing to do with your problem. I would take the
> previous poster's suggestion of turning verbose mode on to see where the
> process is hanging.
>
> Sometimes removing the __db files from /var/lib/rpm helps too.
>


That would help because some Berkely DB implementations makes locks
persistent by storing the lock in one of the __db files.

Villy
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5 (permalink)  
Old 01-18-2008, 07:49 AM
Nico Kadel-Garcia
 
Posts: n/a
Default Re: rpm does not work


"David Dorward" <dorward@yahoo.com> wrote in message
news:cug9tp$hcs$2$8302bc10@news.demon.co.uk...
> webtekie@gmail.com wrote:
>
>> I am trying to rpm a file and it doesn't work. When I type rpm -i
>> MySQL-server-4.1.9-0.i386.rpm, it just sits there and that's it. Any
>> ideas?

>
> -v Print verbose information - normally routine progress messages
> will be displayed.


This can happen when the RPM database is locked. Check if any other RPM
processes are running with "ps auxwww", make sure they're all dead, and try
again with "-v -v" added. If it's still hanging, you need to delete the lock
files at /var/lib/rpm/_*, maybe use "rpm --rebuilddb" to clean up any
debris, then try again.

Your system could also be overwhelmed and swapping like crazy....


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 02:34 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com