Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I was annoyed when I found out that Ubuntu 11.10 Oneric Ocelot didn't allow installation of Gnome 2, so I decided to get the closest thing that still has support: Mint 12 Lisa's MATE interface. I added Lisa repositories and installed MATE based on the instructions here: http://www.addictivetips.com/ubuntu-linux-tips/install-linux-mint-mate-desktop-in-ubuntu-11-10/.

When it refused to run on my computer, I uninstalled it. But then I realized that my system was confused by the addition of the Lisa repos (it even thinks it is Lisa). Strange glitches started happening, so I removed the repositories. Now I'm finding that when I try to force the versions of packages back to Oneric, Synaptic thinks I'm trying to uninstall them, and keeps recommending packages for i386 (I'm using AMD64).

Does anyone know how to restore my system without re-installing the OS or risking actual damage? Right now most of it works at least well enough for me to tolerate, but some less-important parts are completely unusable.

share|improve this question
add comment

1 Answer

Please backup your current sources.list file by

 sudo cp /etc/apt/sources.list /etc/apt/sources.list.backup
 sudo cp /etc/apt/sources.list.d /etc/apt/sources.list.d.backup

Do a fresh addition of Ubuntu 11.10 (Oneiric Ocelot) Repository to Sources.list by generating it from here .

Copy the contents of above generated list to sources.list by replacing it's former contents.

sudo gedit /etc/apt/sources.list

save and close it .

Then do sudo apt-get update && sudo apt-get upgrade.

P.S. : I can't confirm if it works , but as stated above if it worked for LISA it could work here.

share|improve this answer
    
I never removed the original repos, I just added and removed a foreign one. –  Wegko Aug 8 '12 at 19:19
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.