Jump to content

MCC removed - how do I get it back?


spinynorman
 Share

Recommended Posts

I've just used Mandrake Update to try to install some updates for 9.1 relating to glibc and coreutils.

 

Before I could install them, I was prompted to remove various items including drakconf before the update could take place. This was slightly worrying, but I went ahead. Once the items were removed, the process ended without installing the new stuff. I used the install button several times, but it just went through the motions of removing the afore-mentioned items.

 

I came out of MCC getting an error about not finding drakconf, and my MCC icon disappeared. :wall:

 

How do I get out of this mess? :help:

Edited by spinynorman
Link to comment
Share on other sites

Thanks for replying, anna. Did as you suggested and got the following messages:

[root@localhost root]# mcc
-bash: mcc: command not found
[root@localhost root]# urpmi drakconf
To satisfy dependencies, the following packages are going to be installed (15 MB):
drakconf-9.1-13.1mdk.i586
drakxtools-9.1-31.3mdk.i586
drakxtools-newt-9.1-31.3mdk.i586
harddrake-ui-9.1-31.3mdk.i586
Is this OK? (Y/n) y
   ftp://ftp.lip6.fr/.../updates/9.1/RPMS/drakconf-9.1-13.1mdk.i586.rpm
   ftp://ftp.lip6.fr/.../updates/9.1/RPMS/drakxtools-newt-9.1-31.3mdk.i586.rpm
   ftp://ftp.lip6.fr/.../updates/9.1/RPMS/drakxtools-9.1-31.3mdk.i586.rpm
   ftp://ftp.lip6.fr/.../updates/9.1/RPMS/harddrake-ui-9.1-31.3mdk.i586.rpm
installing /var/cache/urpmi/rpms/drakconf-9.1-13.1mdk.i586.rpm
/var/cache/urpmi/rpms/drakxtools-newt-9.1-31.3mdk.i586.rpm
/var/cache/urpmi/rpms/drakxtools-9.1-31.3mdk.i586.rpm
/var/cache/urpmi/rpms/harddrake-ui-9.1-31.3mdk.i586.rpm

Installation failed:
       drakcronat >= 0.1.3-1mdk is needed by drakconf-9.1-13.1mdk
       menudrake >= 0.7.2-1mdk is needed by drakconf-9.1-13.1mdk
       msec >= 0.38 is needed by drakxtools-newt-9.1-31.3mdk
[root@localhost root]# urpmi drakcronat
no package named drakcronat
[root@localhost root]# urpmi menudrake
no package named menudrake
[root@localhost root]# urpmi msec
no package named msec

Any ideas?

Link to comment
Share on other sites

Guest kuchwas

Use "urpmi drakconf --force"

 

I just downgraded perl and all dependencies after the new one in Cooker stopped about 10 other programs! :huh:

 

Oh, what fun! What can I break today?

 

:rolleyes:

 

Tim

Link to comment
Share on other sites

I am no professor at this but what I would do is either uninstall what you installed which led to this problem OR I would upgrade my urpmi database to 9.2 and then try.

Obviously, the version of Drakconf that you are trying to install is too old a version. So, try and get a 9.2 version.

Does that make any sense??

Link to comment
Share on other sites

see what version, if any, you have of the 3 deps

rpm -q drakcronat

rpm -q menudrake

rpm -q msec

 

You'll probably need to

rpm -e --nodeps drakcronat menudrake msec

 

then try

urpmi drakconf

 

so that it installs the three deps as well. Or,

urpmi drakconf drakcronat menudrake msec

 

If this doesn't work then you have conflicting sources, or not enough sources for urpmi to figure it out.

 

Unfortunately, sometimes the easiest solution is to manually download and install the deps.

drakcronat >= 0.1.3-1mdk

menudrake >= 0.7.2-1mdk

msec >= 0.38

 

You may find other deps along the way and start a long trip towards dep hell though. If you go this route, just;

download the 3 deps

rpm -e --nodeps drakcronat menudrake msec

cd /to/deps

rpm -ivh drakcronat-0.1.3-1mdk.i586.rpm menudrake-0.7.2-1mdk.i586.rpm msec-0.38-?mdk.i586.rpm

 

and you may need

rpm -ivh --nodeps drakcronat-0.1.3-1mdk.i586.rpm menudrake-0.7.2-1mdk.i586.rpm msec-0.38-?mdk.i586.rpm

 

then

urpmi drakconf

 

NOTE: If you attemp to get a drakconf for 9.2, that's basically what you'll have....a 9.2....you'll be upgrading over half your sys, so bkup!

Link to comment
Share on other sites

I have tried some of your suggestions with the following results:

 

[root@localhost root]# rpmdrake
-bash: rpmdrake: command not found

[root@localhost root]# rpm -q drakcronat
package drakcronat is not installed
[root@localhost root]# rpm -q menudrake
package menudrake is not installed
[root@localhost root]# rpm -q msec
package msec is not installed
[root@localhost root]# rpm -e --nodeps drakcronat menudrake msec
error: package drakcronat is not installed
error: package menudrake is not installed
error: package msec is not installed
[root@localhost root]# urpmi drakconf
To satisfy dependencies, the following packages are going to be installed (15 MB):
drakconf-9.1-13.1mdk.i586
drakxtools-9.1-31.3mdk.i586
drakxtools-newt-9.1-31.3mdk.i586
harddrake-ui-9.1-31.3mdk.i586
Is this OK? (Y/n) y
installing /var/cache/urpmi/rpms/drakconf-9.1-13.1mdk.i586.rpm /var/cache/urpmi/rpms/drakxtools-newt-9.1-31.3mdk.i586.rpm /var/cache/urpmi/rpms/drakxtools-9.1-31.3mdk.i586.rpm
/var/cache/urpmi/rpms/harddrake-ui-9.1-31.3mdk.i586.rpm

Installation failed:
       drakcronat >= 0.1.3-1mdk is needed by drakconf-9.1-13.1mdk
       menudrake >= 0.7.2-1mdk is needed by drakconf-9.1-13.1mdk
       msec >= 0.38 is needed by drakxtools-newt-9.1-31.3mdk

[root@localhost root]# urpmi drakconf drakcronat menudrake msec
no package named drakcronat
no package named menudrake
no package named msec

[root@localhost root]# cd /tmp
[root@localhost tmp]# rpm -ivh drakcronat-0.1.3-1mdk.i586.rpm menudrake-0.7.2-1mdk.i586.rpm msec-0.38-?mdk.i586.rpm
error: open of drakcronat-0.1.3-1mdk.i586.rpm failed: No such file or directory
error: open of menudrake-0.7.2-1mdk.i586.rpm failed: No such file or directory

I wasn't sure which directory to use, so tried /tmp.

 

Would it be helpful to find exactly which items Mandrake Update removed? The dialogue box listed perhaps 20 items. I've looked in /var/log but can't find anything. Would this be recorded somewhere? :unsure:

Link to comment
Share on other sites

I used slocate to find these.

[root@ml root]# slocate *.log
/var/log/urpmi.log
/usr/lib/rpm/rpm.log

Did you download drakcronat, menudrake, and msec? Download them to your home dir and install as root with

 

rpm -ivh --nodeps name_of_pkg-x.x.x-x.mdk.rpm name_of_pkg-x.x.x-x.mdk.rpm name_of_pkg-x.x.x-x.mdk.rpm

Link to comment
Share on other sites

Thanks, bvc. The urpmi.log just contains the stuff I've entered at the command line. The rpm.log has this -

/var/log/rpmpkgs {

    weekly

    notifempty

    missingok

}

Did you download drakcronat, menudrake, and msec?

Isn't that what I tried to do here? :unsure:

[root@localhost root]# urpmi drakconf drakcronat menudrake msec
no package named drakcronat
no package named menudrake
no package named msec

Link to comment
Share on other sites

Isn't that what I tried to do here?

 

[root@localhost root]# urpmi drakconf drakcronat menudrake msec

no package named drakcronat

no package named menudrake

no package named msec

no, I mean use a browser to find the rt pkgs/versions on a mirror>download them to a directory and manually install them with rpm, not urpmi. You could also try urpmi though. I've never had any luck with urpmi in a directory. Everyone else seems to do it though. Also you just need the 3 deps, so that drakconf will install.

 

drakcronat

menudrake

msec

Link to comment
Share on other sites

I had a similar problem as spineynorman. I am using MDK 9.1 and ran MandrakeUpdate (from the KDE Menus). One of the updates wanted to uninstall some programs. I figured that they would be reinstalled when they were done a certain update. I assumed too much there.

 

I tried to rebuild my menus, I found that in the forums here, but that seemed to only get as far as trying to rebuild the simplified Gnome menus and just sort of sat there.

 

After I got rpmdrake re-installed I tried Mandrakeupdate again. The update for coreutils is what wants to uninstall about 6 files/programs. I did not let it do that this time. I then tried urpmi but it wanted to do the same thing.

(I got the missing rpm's off of MDK CD1 and installed from the hardrive with Kpackage. I also downloaded some of the rpms from RPMPBone).

 

I then downloaded and used Kpackage for the coreutils rpm from RPMPBone. I was not prompted to uninstall anything. My menus seemed to be intact. I then ran Mandrakeupdate and I was up to date!

 

Hopefully this will help others resolve this problem quickly.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

×
×
  • Create New...