Find the answer to your Linux question:
Results 1 to 5 of 5
hi.. i am trying to install mysql on mandriva using urpmi package.but it gives following message. [root@unknown00e04c106014 comp1]# urpmi.update -a urpmi database locked [root@unknown00e04c106014 comp1]# [root@unknown00e04c106014 comp1]# urpmi mysql urpmi ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Nov 2008
    Posts
    39

    problems installing mysql


    hi..
    i am trying to install mysql on mandriva using urpmi package.but it gives following message.

    [root@unknown00e04c106014 comp1]# urpmi.update -a
    urpmi database locked
    [root@unknown00e04c106014 comp1]#

    [root@unknown00e04c106014 comp1]# urpmi mysql
    urpmi database locked
    [root@unknown00e04c106014 comp1]#


    pls reply.. i am fed up.

  2. #2
    Linux Enthusiast L4Linux's Avatar
    Join Date
    Sep 2008
    Location
    Greece
    Posts
    583
    You must have another package manager already running, like update manager, add/remove program, etc...So close anything that might be open.
    Linux doesn't let 2 package managers to work at once, in order to prevent system damage.

  3. #3
    Just Joined!
    Join Date
    Nov 2008
    Posts
    39
    i have checked that out. no other package manager is running simultaneously.
    what shall be the problem?
    is there any way i can find these packages on internet?
    pls reply..
    thanx again.

  4. #4
    Blackfooted Penguin daark.child's Avatar
    Join Date
    Apr 2006
    Location
    West Yorks
    Posts
    4,393
    If you are sure that you do not have another package management process running, try
    Code:
    #rm /var/lib/urpmi/.LOCK /var/lib/rpm/RPMLOCK
    After that try to use urpmi again.

  5. #5
    Just Joined!
    Join Date
    Nov 2008
    Posts
    39
    it gives following lines.

    [root@unknown00e04c106014 comp1]# rm /var/lib/urpmi/.LOCK /var/lib/rpm/RPMLOCK
    rm: cannot lstat `/var/lib/urpmi/.LOCK': No such file or directory
    rm: cannot lstat `/var/lib/rpm/RPMLOCK': No such file or directory
    [root@unknown00e04c106014 comp1]#

    how shall i disable cd/dvd rom media for installation?
    thanx again.

Posting Permissions

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