Paulkruger Posted July 23, 2009 Report Share Posted July 23, 2009 I am new to Linux so be gentle with me ! I was uninstalling a few games I don't want and when I clicked the "Apply" the package manger just vanished. It is also gone from my menu and the computer icon that was used to manage the system no longer functions. Says file not found. It seems the package manager has trashed itself and I don't know how to get it back short of reinstalling which I really don't want to do AGAIN. Any help is appreciated. :mellow: Link to comment Share on other sites More sharing options...
ianw1974 Posted July 24, 2009 Report Share Posted July 24, 2009 I would say you probably removed rpmdrake perhaps. You should still have your console tools for installing packages. Open a terminal or console window, and then type: su (enter root password when prompted) urpmi rpmdrake and then see if that gets you back to normal. Link to comment Share on other sites More sharing options...
jkerr82508 Posted July 24, 2009 Report Share Posted July 24, 2009 Open a console/terminal and become root by entering su and then, when asked, the root password. Then enter: urpmi drakconf rpmdrake Jim Link to comment Share on other sites More sharing options...
Paulkruger Posted July 24, 2009 Author Report Share Posted July 24, 2009 I get this: -bash: urpmi: command not found what next? Link to comment Share on other sites More sharing options...
dexter11 Posted July 24, 2009 Report Share Posted July 24, 2009 Just to make sure you did that after using the "su" command, didn't you? If that's the case then you have to download the urpmi package which mathches your distro release from a Mandriva mirror and install it with the "rpm" command. Which Mandriva release are you using? Link to comment Share on other sites More sharing options...
Paulkruger Posted July 24, 2009 Author Report Share Posted July 24, 2009 I did run as su. Mandriva 2009 64 bit. But if rpm is broken how do I install an rpm? Remember I am new to this. :unsure: I assume it is on the install disk if I had a clue what it is called and where to find it. Link to comment Share on other sites More sharing options...
scarecrow Posted July 24, 2009 Report Share Posted July 24, 2009 But if rpm is broken how do I install an rpm? # rpm -iF foo.rpm This will likely bring some dependency issues, but you can fix it afterwards. Or, # rpm -Uvh %PATH/TO/RPMS% to install all rpm packages inside a directory. Link to comment Share on other sites More sharing options...
Paulkruger Posted July 24, 2009 Author Report Share Posted July 24, 2009 Do I type that exactly as you show or do I need to figure out the path to the packages...which I have no clue where they are. Link to comment Share on other sites More sharing options...
dexter11 Posted July 24, 2009 Report Share Posted July 24, 2009 I did run as su. Mandriva 2009 64 bit. But if rpm is broken how do I install an rpm? Remember I am new to this. :unsure: I assume it is on the install disk if I had a clue what it is called and where to find it. Urpmi is broken. I assume rpm is still intact. Urpmi is using rpm. So you have the install DVD. In the x86_64/media/main directory there is urpmi. Install the package which just has urpmi in its name. Not urpmi-parallel or urpmi-ldap. Link to comment Share on other sites More sharing options...
scarecrow Posted July 24, 2009 Report Share Posted July 24, 2009 Do I type that exactly as you show or do I need to figure out the path to the packages...which I have no clue where they are. No, of course not. "foo" has to be replaced by the actual package name, and "%PATH/TO/RPMS%" with "/home/Paulkruger/rpms/" or whatever that bloody path is. Link to comment Share on other sites More sharing options...
Paulkruger Posted August 5, 2009 Author Report Share Posted August 5, 2009 (edited) After a total wipe and reinstall all was going rosy until I used the package manager to un-install gzine only to see it start to wipe out "drake" etc. Now I cannot even log in to the very different looking login screen. It does not say my login failed...it just does nothing then displays the login again. I have a backup this time but can't start drakebackup to restore it? This is becoming more trouble than it's worth and I am afraid I will remain stuck with Windows forever !!! Why in the %^$# would the package manager kill itself and two days of setting up when the only thing I marked for removal was gxine media player ? How do I restore my saved backup? I am lost and about to give up on Linux !!! HELP Edited August 5, 2009 by Paulkruger Link to comment Share on other sites More sharing options...
ianw1974 Posted August 5, 2009 Report Share Posted August 5, 2009 The simplest thing would not have been to remove the gxine package or whatever else it was you were removing. Since it obviously removed dependencies you would have seen a list of packages to remove before you actually clicked yes to accept it. I'm assuming that you didn't read these before clicking? So, install it and stop messing around removing packages you are unsure of and if you really must remove them, check the list of packages before you accept and start removing them. Because after that, it's too late which you've found out more than once now ;) The fault is not Linux or Mandriva. Link to comment Share on other sites More sharing options...
Paulkruger Posted August 5, 2009 Author Report Share Posted August 5, 2009 I saw the list but they were greek to me. I assumed that nothing unrelated to a media player would be removed, expecially such things as the package manager and Gnome itself? There was no warning of any kind telling me that anything being removed would destroy my system. I was trying to get a DVD player to function and had new packages with codecs for xine and was instructed to first remove the old version before installing the new...that is ALL I marked for renewal, gxine...? Why would it remove drake, my financial software and the package manager itself ??? That is just dumb ?? I can't put it back because I can't even log in...that was also destroyed. Link to comment Share on other sites More sharing options...
scarecrow Posted August 6, 2009 Report Share Posted August 6, 2009 (edited) gxine is not a dependency to ANY other package- that is for sure. Removing it should remove NO-OTHER-PACKAGE. Quite obviously you were trying to remove other things in parallel. BTW all that is also Greek to me... :P Anyway, packages named "gzine" and "drake" do not exist at all. If you want help, you must give accurate failure reports. Else, noone will be able (or care) to help. Edited August 6, 2009 by scarecrow Link to comment Share on other sites More sharing options...
Paulkruger Posted August 6, 2009 Author Report Share Posted August 6, 2009 It was impossible to create any kind of report after the system was wiped out...I just reinstalled and made a partition image with Clonezilla just in case. I just ment the generic set of "drake" utilities such as XFdrake, drakebackup etc were all wiped out when I uninstalled gzine packages. Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now