PDA

View Full Version : [ubuntu] Adding Main Repositories



MartianTek3
October 2nd, 2013, 03:29 PM
Hello,
I recently just upgrade to 13.04 64bit (from 12.10) but ever since then installing PPAs have become a nightmare.

After
sudo apt-get update

I received this:

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_raring_main_binary-amd64_Packages Hash Sum mismatch

W: Failed to fetch bzip2:/var/lib/apt/lists/partial/extras.ubuntu.com_ubuntu_dists_raring_main_binary-i386_Packages Hash Sum mismatch


W: Failed to fetch bzip2:/var/lib/apt/lists/partial/ppa.launchpad.net_linrunner_tlp_ubuntu_dists_rarin g_main_binary-amd64_Packages Hash Sum mismatch


E: Some index files failed to download. They have been ignored, or old ones used instead.




Also in Synaptic this message:


E: The value 'stable' is invalid for APT::Default-Release as such a release is not available in the sourcesE: _cache->open() failed, please report.

I believe the problem is that I deleted the MAIN repository (Canonical) for 13.04 246679

Goal: To find answers to restoring the PPA so that I can install TLP(power manager) and other software

-MartianTek3

grahammechanical
October 2nd, 2013, 08:05 PM
My guess is that your link to the repository of the PPA is incorrect. It is always best to remove any PPAs before Upgrading to avoid issues like this. From the Launchpad page ofr this PPA i see this


deb http://ppa.launchpad.net/linrunner/thinkpad-extras/ubuntu raring main
deb-src http://ppa.launchpad.net/linrunner/thinkpad-extras/ubuntu raring main

https://launchpad.net/~linrunner/+archive/thinkpad-extras

If you open the Ubuntu Software tab in that utility you may see that the Main repository is still there. See, the tick mark against Canonical-supported free and open source software (main).

Regards.

MartianTek3
October 6th, 2013, 01:12 PM
Ok I did that, the main was checked. Perhaps I have to reset the APT?

How can i edit the repository text file?