upgrade manager wont work

Asked by Jenette Palmer

I have had Ubuntu on a Dell Inspiron for 2 days. Have worked a lot of it out but! The upgrade manager indicates 15 updates but then it wont do it. It says the name of the file where the problem is in the archives which I have located but says 'files list file' for package 'libxcbshape0' is missing final new line. It recommends installing linux-Ipia meta package. What's that about I am lost!! How do I find my missing line. Have looked on Ipia meta package website on my desktop and I am now more confused than ever. Can anybody help me please? Have only used Windows before am mega stuck!

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu linux-lpia Edit question
Assignee:
No assignee Edit question
Solved by:
Mark Rijckenberg
Solved:
Last query:
Last reply:
Revision history for this message
Mark Rijckenberg (markrijckenberg) said :
#1

Hi,

First please make sure to close all open programs, including all package managers like Synaptic, Add/remove programs, etc ...

Then please try this procedure:

Step 1: Open Terminal from "Applications->Accessories->
Terminal"

Step 2: Run the following commands (copy-paste each line below to the Terminal then hit <enter> after each line)

cd /var/lib/dpkg/info
sudo rm libxcb-shape0.list
sudo apt-get update
sudo apt-get --reinstall install libxcb-shape0
sudo rm /var/lib/apt/lists/*
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade

Step 3: Please post results (copy/paste terminal output from each command) on this thread

Hope it helps,

Regards,

Mark

Revision history for this message
Jenette Palmer (jenette-palmer) said :
#2

I am still trying Mark - first it says file not found then it says command not found. Dont give up on me I am going to try it all again.

Jenette

Revision history for this message
Jenette Palmer (jenette-palmer) said :
#3

I have only got as far as the first line now - it says bash: cd/var/lib/dpkg/info No such file or directory

I get what you are trying to do but its not quite working-if you are feeling like it do you have any other ideas?

Jenette

Revision history for this message
Best Mark Rijckenberg (markrijckenberg) said :
#4

Hi Jenette,

You did not enter the command correctly. Please copy-paste the lines I sent you into the Terminal.

 If you simply copy-paste - as I had instructed - you will avoid typing mistakes.

Regards,

Mark

Revision history for this message
pablitofuerte (pablitofuerte) said :
#5

Don't forget the slash, First line should be:

 cd /var/lib/dpkg/info/

It's a directory ;-))

Revision history for this message
Jenette Palmer (jenette-palmer) said :
#6

Sorry Mark! You are obviously psychic aswell as a genius! Its worked perfectly when I did as instructed! Thank you.

Jenette( I am saving your answer for posterity)

Revision history for this message
Jenette Palmer (jenette-palmer) said :
#7

Thanks Mark Rijckenberg, that solved my question.

Revision history for this message
Steve (stephenneilgordon) said :
#8

You guys are legends, this has fixed my ongoing complaint with Ubuntu too!