Jump to content

Reinstall urpmi in console


Guest ladykrimson
 Share

Recommended Posts

Guest ladykrimson

How does one uninstall and install urpmi?

 

 

Edited: from a console screen. I do not have a workstation, therefore I have no MCC.

 

Re-edited: Actually, I am trying to urpmi.addmedia --distrib --mirrorlist. I received an error that stated "retrieval of [ftp://mirror...] failed (md5sum mismatch) problem reading synthesis file of medium "Main""

 

I have tried many other mirror sites, but I receive the same error. I have also attempted urpmi.removemedia but it says that there is no media.

 

Again, I have no workstation. I am working strictly on a console.

 

 

[moved from Installing Mandriva by spinynorman - welcome aboard :)]

Link to comment
Share on other sites

Removing all media is done with:

 

urpmi.removemedia -a

 

then you can try adding the sources again as you were attempting before. If still failing, when adding the sources, add the extra parameter for wget:

 

urpmi --wget

 

that might help get you sorted out.

Link to comment
Share on other sites

Guest ladykrimson

When I did the urpmi.removemedia -a, it said: "nothing to remove"

 

Thank you for the wget, though.

 

It still will not let me add any media, no matter what the source. And when I remove media, it says there is nothing there.

Link to comment
Share on other sites

Using the easyurpmi link, you can switch to manual mirror selection. Maybe try this, and select a mirror closer to you and see if it makes a difference. Something should work eventually.

Link to comment
Share on other sites

Guest ladykrimson

After a ton of research, I found out that it is a bad sector on the hard disk drive. :cry::wall:

 

 

Looks like I need a new hard drive...

Link to comment
Share on other sites

You can use the badblocks command to check the disk for problems, it will probably take a while, but can give you an idea of what shape your disk is in. Sometimes you can reformat the disk with a new filesystem and partition layout and the problem might go away, but not forever.

 

I'd make a copy of any data on there, and get a replacement as soon as you can or just use the disk for the time being but for nothing important in the event it does go down that you don't lose anything important. Chances are though it won't be long if the problems start to get worse.

Link to comment
Share on other sites

Most drives log any errors so if you run smartctl on the drive you'll be able tell how many errors there are and when they happened.

 

Ken

Edited by K Bergen
Link to comment
Share on other sites

smartctl (package: smartmontools) is a useful tool but doesn't work with SATA drives. Is there a similar tool for SATA drives?

Have you tried it

smartctl -a /dev/sda

gives me about three pages of output.

 

Ken

Link to comment
Share on other sites

  • 2 weeks later...

Most of my computers use PATA drives. Today I was able to try smartctl on a desktop with a SATA drive, it worked. Previously I had tried to use smartctl on a laptop with a SATA drive, it didn't work then but that may have been due to some incompatible drive controller.

Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...