-1

so i was trying to fix some dependency problems with my repositories and stuff and i ran

sudo apt-get -o Debug::pkgProblemResolver=yes dist-upgrade

and this is what happened (some log from the start isnt shown cause that's all i could copy from my terminal)

http://paste.ubuntu.com/10156566/

i killed apt-get cause i just panicked as i saw network manager being removed, so now i just want to reinstall what i removed and would be happy if someone could explain what that command was going to do

UPDATE i suppose reinstalling a new version would be more logical, thanks for your help anyways

and i would still be happy to understand what was that command going to do if i hadnt killed it :D

Oli
  • 299,380

1 Answers1

2

I was optimistic about recovering this but having seen your apt-get update output, I can see serious issues. You have messed up the system at this point and it's uneconomical to do anything but start again.

  • You're using 12.10. This has been dead for almost a year. No more updates, repos moved. That's why you're getting so many 404s and so many packages can't be found.

  • You've added the Debian Squeeze main repo. While Ubuntu is based on Debian, they aren't directly compatible. Adding an incompatible repository is like injecting the wrong blood type. This is probably the cause of your dependency-related meltdown.

At this point, I'm not sure what's best, you could remove the Debian repo but you'd also need to track down anything you've installed from it (as it'll be conflicting with current Ubuntu's packages). You'll also need to switch from the other 404-repos to the old-releases server. Even after all that, you'll still need to upgrade to 13.04, then 13.10 and then 14.04 before you're back on a supported system with live repos.

So again, I don't think it's economical to rescue. I would struggle to rescue a system like this if I was on site. Instead I would:

  1. Create a 14.04 live USB on another computer
  2. Reboot into that on this computer
  3. Rescue my documents, etc to an external drive
  4. Do a fresh install of 14.04
  5. Read when Apt asks me if I want to continue in the future.

That'll take you about 40 minutes. Rescuing will take hours, if it is indeed possible at all.

Oli
  • 299,380