Jump to content
Guest ladykrimson

Reinstall urpmi in console

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 :)]

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
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.

Share this post


Link to post
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...

Share this post


Link to post
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.

Share this post


Link to post
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

Share this post


Link to post
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

Share this post


Link to post
Share on other sites

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.

Share this post


Link to post
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...

×
×
  • Create New...