Help please. What ever i'm trying to download, it won't let me, it gives me this (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) Is there anything that can help me and fix this please, thanks
Help please. What ever i'm trying to download, it won't let me, it gives me this (E: /var/cache/
Question information
- Language:
- French Edit question
- Status:
- Solved
- Assignee:
- No assignee Edit question
- Solved by:
- Mark Rijckenberg
- Solved:
- Last query:
- Last reply:
Related FAQ:
None Link to a FAQ
This question was reopened
- by 123ms
Revision history for this message
|
#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-
Terminal"
Step 2: Run the following commands (copy-paste each line below to the Terminal then hit <enter> after each line)
sudo aptitude clean
sudo aptitude autoclean
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/
sudo mkdir /var/lib/
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
|
#2 |
Hi, thanks for the advice but when i enter the info it asks for password
for example if i put this ( sudo aptitude clean) it asks for password each of them i put in the terminal
how do you put the password ?
can you please tell me
Thanks,
Mustafa
Revision history for this message
|
#3 |
You type your user password. The line will remain blank as a security
measure, type it in and hit enter anyway.
Revision history for this message
|
#4 |
this is what it says brother
Firefox-3.0 has been upgraded (or reinstalled) and must be restarted. Please quit and restart your web browser now.
i think you did it buddy
thank you (Mark Rijckenberg)
i think you resolved the problem
Revision history for this message
|
#5 |
Thanks Mark Rijckenberg, that solved my question.
Revision history for this message
|
#6 |
Thanks Steven Susbauer for trying to help me
first time i just randomly did what you said lol and it worked
regards,
mustafa
Revision history for this message
|
#7 |
Thanks Mark Rijckenberg, that solved my question.
Revision history for this message
|
#8 |
Thanks Mark, I was also suffering from the same problem on a new DELL Inspiron Mini 10. I'd logged a call with DELL support, but they were pretty much useless. However, your instructions solved the problem perfectly.
I'm a newbie to Ubuntu ... but reasonably technically minded ... can you explain what your instructions are doing at a high level, and what caused the problem (ie, was it DELL ... or the package?). Also, will that cure the problem in the future, or will I need to go through the same steps each time?
Revision history for this message
|
#9 |
Hi angusmec,
See the bugreport here for details on the problem:
https:/
As you can see in the bugreport, it is likely not solved yet.
Not sure who is to blame, but at least we have a working workaround procedure...
What the commands above do, is thoroughly clean up the packages and configuration files used by the aptitude command-line package-manager. It also reinstalls the package libxcb-shape0.
Regards,
Mark
Revision history for this message
|
#10 |
Everything seemed to work except these two commands:
sudo rm /var/lib/
sudo mkdir /var/lib/
I wanted to copy and paste the response, but it asked me to restart my system. I got a response after the first command that it could not remove because it is a directory, and after the second command said the directory already existed.
When I tried running updates again, it gave me three errors after checking, but I forgot to copy the errors. Right now it is downloading package files (196 of them) and I am waiting to see if it is successful, or if I get more errors.
Revision history for this message
|
#11 |
That seems to have solved the problem! I was able to update, add a program, and check for new updates with no errors. Thank you!
Revision history for this message
|
#12 |
I found a solution on another forum that seems to be much less intensive. from (http://
cd /var/lib/dpkg/info
sudo rm libxcb-shape0.list
sudo apt-get --reinstall install libxcb-shape0
what do you think?
Revision history for this message
|
#13 |
Did not work:
Copy pasted as requested -->
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Err http://
503 Service Unavailable
Fetched 9,951B in 1s (8,917B/s)
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
W: Failed to fetch http://
E: Some index files failed to download, they have been ignored, or old ones used instead.
andy@HellForGe:
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
libxcb-shape0
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
Need to get 9,732B of archives.
After this operation, 65.5kB of additional disk space will be used.
WARNING: The following packages cannot be authenticated!
libxcb-shape0
Install these packages without verification [y/N]? y
Get:1 http://
Fetched 9,732B in 0s (9,811B/s)
Selecting previously deselected package libxcb-shape0.
(Reading database ... 144490 files and directories currently installed.)
Unpacking libxcb-shape0 (from .../libxcb-
Setting up libavutil49 (4:0.5+
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing libavutil49 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libavcodec52:
libavcodec52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavcodec52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavcodec52 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libavformat52:
libavformat52 depends on libavcodec52 (>= 4:0.5+svn20090706) | libavcodec-extra-52 (>= 4:0.5+svn20090706); however:
Package libavcodec52 is not coNo apport report written because the error message indicates its a followup error from a previous failure.
nfigured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on libavcodec52 (<< 4:0.5+svn200907
Package libavcodec52 is not configured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavformat52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavformat52 (--configure):
dependency problems - leaving unconfigured
Setting up libxcb-shape0 (1.4-1) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
/sbin/ldconfig.
/sbin/ldconfig.
/sbin/ldconfig.
/sbin/ldconfig.
/sbin/ldconfig.
/sbin/ldconfig.
/sbin/ldconfig.
/sbin/ldconfig.
/sbin/ldconfig.
/sbin/ldconfig.
Errors were encountered while processing:
libavutil49
libavcodec52
libavformat52
E: Sub-process /usr/bin/dpkg returned an error code (1)
andy@HellForGe:
rm: cannot remove `/var/lib/
andy@HellForGe:
mkdir: cannot create directory `/var/lib/
andy@HellForGe:
andy@HellForGe:
Setting up libavutil49 (4:0.5+
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing libavutil49 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libavcodec52:
libavcodec52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavcodec52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavcodec52 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libavformat52:
libavformat52 depends on libavcodec52 (>= 4:0.5+svn20090706) | libavcodec-extra-52 (>= 4:0.5+svn20090706); however:
Package libavcodec52 is not configured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on libavcodec52 (<< 4:0.5+svn200907
Package libavcodec52 is not configured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavformat52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavformat52 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libavutil49
libavcodec52
libavformat52
andy@HellForGe:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Writing extended state information... Done
The following partially installed packages will be configured:
libavcodec52 libavformat52 libavutil49
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Writing extended state information... Done
Setting up libavutil49 (4:0.5+
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing libavutil49 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libavcodec52:
libavcodec52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavcodec52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavcodec52 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libavformat52:
libavformat52 depends on libavcodec52 (>= 4:0.5+svn20090706) | libavcodec-extra-52 (>= 4:0.5+svn20090706); however:
Package libavcodec52 is not configured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on liNo apport report written because the error message indicates its a followup error from a previous failure.
bavcodec52 (<< 4:0.5+svn200907
Package libavcodec52 is not configured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavformat52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavformat52 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libavutil49
libavcodec52
libavformat52
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up libavutil49 (4:0.5+
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing libavutil49 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libavcodec52:
libavcodec52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavcodec52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavcodec52 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libavformat52:
libavformat52 depends on libavcodec52 (>= 4:0.5+svn20090706) | libavcodec-extra-52 (>= 4:0.5+svn20090706); however:
Package libavcodec52 is not configured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on libavcodec52 (<< 4:0.5+svn200907
Package libavcodec52 is not configured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavformat52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavformat52 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libavutil49
libavcodec52
libavformat52
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
andy@HellForGe:
Get:1 http://
Get:2 http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:3 http://
Ign http://
Ign http://
Ign http://
Ign http://
Get:4 http://
Ign http://
Ign http://
Get:5 http://
Ign http://
Get:6 http://
Get:7 http://
Err http://
Get:8 http://
Get:9 http://
Get:10 http://
Get:11 http://
Get:12 http://
Get:13 http://
Get:14 http://
Get:15 http://
Get:16 http://
Get:17 http://
Get:18 http://
Get:19 http://
Get:20 http://
Get:21 http://
Get:22 http://
Fetched 10.5MB in 21s (486kB/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://
Current status: 27434 new [+27434].
andy@HellForGe:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
The following partially installed packages will be configured:
libavcodec52 libavformat52 libavutil49
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B of archives. After unpacking 0B will be used.
Setting up libavutil49 (4:0.5+
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing libavutil49 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libavcodec52:
libavcodec52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavcodec52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavcodec52 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libavformat52:
libavformat52 depends on libavcodec52 (>= 4:0.5+svn20090706) | libavcodec-extra-52 (>= 4:0.5+svn20090706); however:
Package libavcodec52 is not coNo apport report written because the error message indicates its a followup error from a previous failure.
nfigured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on libavcodec52 (<< 4:0.5+svn200907
Package libavcodec52 is not configured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavformat52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavformat52 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libavutil49
libavcodec52
libavformat52
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
Setting up libavutil49 (4:0.5+
dpkg (subprocess): unable to execute installed post-installation script: Exec format error
dpkg: error processing libavutil49 (--configure):
subprocess installed post-installation script returned error exit status 2
dpkg: dependency problems prevent configuration of libavcodec52:
libavcodec52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavcodec52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavcodec52 (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of libavformat52:
libavformat52 depends on libavcodec52 (>= 4:0.5+svn20090706) | libavcodec-extra-52 (>= 4:0.5+svn20090706); however:
Package libavcodec52 is not configured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on libavcodec52 (<< 4:0.5+svn200907
Package libavcodec52 is not configured yet.
Package libavcodec-extra-52 is not installed.
libavformat52 depends on libavutil49 (>= 4:0.5+svn20090706) | libavutil-extra-49 (>= 4:0.5+svn20090706); however:
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
libavformat52 depends on libavutil49 (<< 4:0.5+svn200907
Package libavutil49 is not configured yet.
Package libavutil-extra-49 is not installed.
dpkg: error processing libavformat52 (--configure):
dependency problems - leaving unconfigured
Errors were encountered while processing:
libavutil49
libavcodec52
libavformat52
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading extended state information
Initializing package states... Done
Kind regards,
Andy