apt-get update error: E: /var/cache/apt/archives/linux-image-2.6.24-22-lpia_2.6.24-22.45netbook9_lpia.deb: files list file for package `libxcb-shape0' is missing final newline
I have a brand new netbook running Ubunto 8.04(?)... at the top I have a notification that there are 15 updates to download, but every time I try to download them I get an error message, and it seems none of them will download and install-
quote:
E: /var/cache/
Any help?
Thanks,
Tom
Question information
- Language:
- English Edit question
- Status:
- Answered
- Assignee:
- No assignee Edit question
- Last query:
- 2009-10-17
- Last reply:
- 2009-10-18
Duane Hinnen (duanedesign) said : | #1 |
Open a terminal (Applications > Accesories > Terminal) and run the following commands one at a time:
cd /var/lib/dpkg/info
sudo rm libxcb-shape0.list
sudo apt-get --reinstall install libxcb-shape0
We can try this (i'm not sure of the path of the file libxcb-shape0 to remove, but we can try):
Open a Terminal from the menu Applications → Accessories → Terminal and type or better copy and paste:
sudo rm /var/lib/
press enter, if the system ask you a password give your user password, you will not see nothing when you type it, then press enter
Then copy and paste the row below time into terminal, and after paste the row press enter.
sudo dpkg --configure -a
then to update and upgrade and also check pending or missing packages, still using terminal type:
sudo apt-get -f install
sudo apt-get --fix-missing install
sudo apt-get clean
sudo apt-get update
sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get clean
sudo apt-get autoremove
Hope this helps
Please try this solution:
https:/
Can you help with this problem?
Provide an answer of your own, or ask TomN for more information if necessary.