PDA

View Full Version : I can't upgrade and ubuntu software center don't open.



dianavelo13
September 9th, 2013, 02:49 AM
I have this message when I try to upgrade
'E: encountered a section with no package: header, E: problem with mergelist/var/lib/apt/list/extras.ubuntu.com_ubuntu_dists_precise_main_binary-i386_packages, E: the package list or status file could not be parsed or opened.'
And when I try do upgrade with terminal I get the same error :( help please!!

Bashing-om
September 9th, 2013, 03:10 AM
dianavelo13;
Let's say the index files are "bad" as per:


the package list or status file could not be parsed or opened.'

Remove the index files, will be restored in the latter command; Terminal codes:


sudo rm -fr /var/lib/apt/lists
sudo mkdir -pv /var/lib/apt/lists/partial
sudo apt-get update
sudo apt-get upgrade


Edit ! .. My welcome to the forum .. enjoy and learn much !



should do ya good

Bucky Ball
September 9th, 2013, 03:12 AM
Welcome to the forums.

Just a note: ALWAYS run:


sudo apt-get update

BEFORE you run:


sudo apt-get upgrade

This is reflected in the last part of bashing-om's instructions. Cheers.