Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

My 12.04 LTS was working just fine and when i tried to upgrade to 12.10, I have 3 packages that failed to install gtk2-engines, libtool and python-gst0.10.

After the upgrade to 12.10 is completed I've tried to do a dist-upgrade but i get into the same problem at installing these updates:

alvas@ubi:~$ sudo apt-get dist-upgrade
[sudo] password for alvas: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt-get -f install' to correct these.
The following packages have unmet dependencies:
 gtk2-engines : Breaks: gtk2-engines:i386 (!= 1:2.20.2-1ubuntu1) but 1:2.20.2-2ubuntu1 is installed
 gtk2-engines:i386 : Breaks: gtk2-engines (!= 1:2.20.2-2ubuntu1) but 1:2.20.2-1ubuntu1 is installed
E: Unmet dependencies. Try using -f.


alvas@ubi:~$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  g++-4.6 gcc-4.6-base:i386 gccxml gcj-4.6-base gcj-4.6-jre-lib
  icedtea-6-plugin libbabl-0.0-0 libboost-chrono-dev libboost-chrono1.49-dev
  libboost-chrono1.49.0 libboost-date-time1.46.1 libboost-dev
  libboost-filesystem-dev libboost-filesystem1.46.1
  libboost-filesystem1.49-dev libboost-filesystem1.49.0
  libboost-graph-parallel1.46.1 libboost-graph-parallel1.49.0
  libboost-graph1.46.1 libboost-graph1.49.0 libboost-iostreams-dev
  libboost-iostreams1.46.1 libboost-iostreams1.49-dev libboost-iostreams1.49.0
  libboost-locale-dev libboost-locale1.49-dev libboost-locale1.49.0
  libboost-math-dev libboost-math1.46.1 libboost-math1.49-dev
  libboost-math1.49.0 libboost-mpi-python1.49.0 libboost-mpi1.46.1
  libboost-mpi1.49.0 libboost-program-options-dev
  libboost-program-options1.46.1 libboost-program-options1.49-dev
  libboost-program-options1.49.0 libboost-python-dev libboost-python1.46.1
  libboost-python1.49-dev libboost-python1.49.0 libboost-random-dev
  libboost-random1.49-dev libboost-random1.49.0 libboost-regex-dev
  libboost-regex1.46.1 libboost-regex1.49-dev libboost-regex1.49.0
  libboost-serialization1.49.0 libboost-signals-dev libboost-signals1.46.1
  libboost-signals1.49-dev libboost-signals1.49.0 libboost-system-dev
  libboost-system1.46.1 libboost-system1.49-dev libboost-system1.49.0
  libboost-test1.46.1 libboost-test1.49.0 libboost-thread1.46.1
  libboost-thread1.49.0 libboost-timer-dev libboost-timer1.49-dev
  libboost-timer1.49.0 libboost-wave1.46.1 libboost-wave1.49.0
  libboost1.49-dev libcdt4 libcelt0-0 libclutter-imcontext-0.1-0
  libclutter-imcontext-0.1-bin libcluttergesture-0.0.2-0 libcommons-el-java
  libdb4.8 libgcj12 libgegl-0.0-0 libgomp1:i386 libgraph4 libgvc5
  libibverbs-dev libibverbs1 libicu-dev libjasper-java libmagickcore4
  libmagickcore4-extra libmagickwand4 libmail-sendmail-perl libopenmpi-dev
  libopenmpi1.3 libpathplan4 libpg-java libservlet2.4-java libstdc++6-4.6-dev
  libsys-hostname-long-perl libtiff4:i386 libtokyocabinet8 libtorque2
  libx264-120 linux-headers-3.2.0-41 linux-headers-3.2.0-41-generic
  mpi-default-dev openmpi-common packagekit-backend-aptcc po-debconf
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  gtk2-engines
The following packages will be upgraded:
  gtk2-engines
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0 B/333 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 541636 files and directories currently installed.)
Preparing to replace gtk2-engines:amd64 1:2.20.2-1ubuntu1 (using .../gtk2-engines_1%3a2.20.2-2ubuntu1_amd64.deb) ...
Unpacking replacement gtk2-engines:amd64 ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/gtk2-engines_1%3a2.20.2-2ubuntu1_amd64.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb: error: subprocess paste returned error exit status 2
dpkg: error processing /var/cache/apt/archives/gtk2-engines_1%3a2.20.2-2ubuntu1_amd64.deb (--unpack):
 cannot copy extracted data for './usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so' to '/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so.dpkg-new': unexpected end of file or stream
No apport report written because MaxReports is reached already
                                                              Errors were encountered while processing:
 /var/cache/apt/archives/gtk2-engines_1%3a2.20.2-2ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Then i tried sudo apt-get install gtk2-engines and it still unsuccessful:

alvas@ubi:~$ sudo apt-get install gtk2-engines
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages were automatically installed and are no longer required:
  g++-4.6 gcc-4.6-base:i386 gccxml gcj-4.6-base gcj-4.6-jre-lib
  icedtea-6-plugin libbabl-0.0-0 libboost-chrono-dev libboost-chrono1.49-dev
  libboost-chrono1.49.0 libboost-date-time1.46.1 libboost-dev
  libboost-filesystem-dev libboost-filesystem1.46.1
  libboost-filesystem1.49-dev libboost-filesystem1.49.0
  libboost-graph-parallel1.46.1 libboost-graph-parallel1.49.0
  libboost-graph1.46.1 libboost-graph1.49.0 libboost-iostreams-dev
  libboost-iostreams1.46.1 libboost-iostreams1.49-dev libboost-iostreams1.49.0
  libboost-locale-dev libboost-locale1.49-dev libboost-locale1.49.0
  libboost-math-dev libboost-math1.46.1 libboost-math1.49-dev
  libboost-math1.49.0 libboost-mpi-python1.49.0 libboost-mpi1.46.1
  libboost-mpi1.49.0 libboost-program-options-dev
  libboost-program-options1.46.1 libboost-program-options1.49-dev
  libboost-program-options1.49.0 libboost-python-dev libboost-python1.46.1
  libboost-python1.49-dev libboost-python1.49.0 libboost-random-dev
  libboost-random1.49-dev libboost-random1.49.0 libboost-regex-dev
  libboost-regex1.46.1 libboost-regex1.49-dev libboost-regex1.49.0
  libboost-serialization1.49.0 libboost-signals-dev libboost-signals1.46.1
  libboost-signals1.49-dev libboost-signals1.49.0 libboost-system-dev
  libboost-system1.46.1 libboost-system1.49-dev libboost-system1.49.0
  libboost-test1.46.1 libboost-test1.49.0 libboost-thread1.46.1
  libboost-thread1.49.0 libboost-timer-dev libboost-timer1.49-dev
  libboost-timer1.49.0 libboost-wave1.46.1 libboost-wave1.49.0
  libboost1.49-dev libcdt4 libcelt0-0 libclutter-imcontext-0.1-0
  libclutter-imcontext-0.1-bin libcluttergesture-0.0.2-0 libcommons-el-java
  libdb4.8 libgcj12 libgegl-0.0-0 libgomp1:i386 libgraph4 libgvc5
  libibverbs-dev libibverbs1 libicu-dev libjasper-java libmagickcore4
  libmagickcore4-extra libmagickwand4 libmail-sendmail-perl libopenmpi-dev
  libopenmpi1.3 libpathplan4 libpg-java libservlet2.4-java libstdc++6-4.6-dev
  libsys-hostname-long-perl libtiff4:i386 libtokyocabinet8 libtorque2
  libx264-120 linux-headers-3.2.0-41 linux-headers-3.2.0-41-generic
  mpi-default-dev openmpi-common packagekit-backend-aptcc po-debconf
Use 'apt-get autoremove' to remove them.
The following packages will be upgraded:
  gtk2-engines
1 upgraded, 0 newly installed, 0 to remove and 2 not upgraded.
1 not fully installed or removed.
Need to get 0 B/333 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ... 541636 files and directories currently installed.)
Preparing to replace gtk2-engines:amd64 1:2.20.2-1ubuntu1 (using .../gtk2-engines_1%3a2.20.2-2ubuntu1_amd64.deb) ...
Unpacking replacement gtk2-engines:amd64 ...
dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/gtk2-engines_1%3a2.20.2-2ubuntu1_amd64.deb' to decompressor pipe: failed to read (Input/output error)
dpkg-deb: error: subprocess paste returned error exit status 2
dpkg: error processing /var/cache/apt/archives/gtk2-engines_1%3a2.20.2-2ubuntu1_amd64.deb (--unpack):
 cannot copy extracted data for './usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so' to '/usr/lib/x86_64-linux-gnu/gtk-2.0/2.10.0/engines/libmist.so.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
 /var/cache/apt/archives/gtk2-engines_1%3a2.20.2-2ubuntu1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
share|improve this question
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.