Broken package list file (gb.archive.ubuntu.com_ubuntu_dists_natty-updates_universe_i18n_Translation-en)

Asked by Neil McLeish

Hi.

I have rcently had a new Virgin broadband connection installed and for some reason my package lists file now contains the html for the router start page.
This has rendered it useless and also update manager and synaptic package manager both no longer function.

Is there a way I can build a replacement file?

How has this happened anyway? It seems such a ridiculous event that the package manager would read from somehting that is not in the sources list.

Help and advice would be welcome, otherwise I have no update path and this version Ubuntu is therefore rendered as useless as 10.04 on my other laptop which refuses to do a version upgrade.

This is a test, Ubunutu folk. no one has answered that previosu question of mine yet and if no one can tell me how to fix this, I will be giving serious consideration to switching distros. Even Windows doesn't give me these kinds of fundamental issues.

Thanks (in hope!)

Neil.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu apt Edit question
Assignee:
No assignee Edit question
Solved by:
actionparsnip
Solved:
Last query:
Last reply:
Revision history for this message
Best actionparsnip (andrew-woodhead666) said :
#1

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*; sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists; sudo mkdir /var/lib/apt/lists/partial
sudo apt-get clean; sudo apt-get autoclean
sudo apt-get update
sudo dpkg --clear-avail; sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get dist-upgrade

Revision history for this message
Neil McLeish (nmcleish) said :
#2

Thanks actionparsnip.

I will give that a go.

Very best regards,

Neil.

Revision history for this message
Neil McLeish (nmcleish) said :
#3

That worked.
Many thanks.

The best kind of parsnip is an actionparsnip :)

Best regards,

Neil.

Revision history for this message
Neil McLeish (nmcleish) said :
#4

Thanks actionparsnip, that solved my question.