Public bug reported: I attempted to upgrade 12.04lts to 12.10 as a stepping stone en route to 14lts. There were three 'error' messages during the upgrade to 12.10. This one has me foxed. I hope this information is of some help and apologise in advance for my lack of understanding. Thanks
This may be helpful: sprintexec@acer4810:~$ apt-get install -f E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? sprintexec@acer4810:~$ sudo apt-get install -f [sudo] password for sprintexec: 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: compiz-plugins-main-default freepats g++-4.6 gir1.2-dbusmenu-gtk-0.4 gir1.2-gtk-2.0 gir1.2-launchpad-integration-3.0 libattica0.3 libavahi-client-dev libavahi-common-dev libbabl-0.0-0 libboost-filesystem1.46.1 libboost-iostreams1.46.1 libboost-program-options1.46.1 libboost-python1.46.1 libboost-regex1.46.1 libboost-serialization1.46.1 libboost-signals1.46.1 libboost-system1.46.1 libboost-thread1.46.1 libcdaudio1 libcelt0-0 libcmis-0.2-0 libdconf-dbus-1-0 libdconf-qt0 libdconf0 libebackend-1.2-1 libecal-1.2-10 libedata-cal-1.2-13 libexif-dev libexiv2-11 libflite1 libgdata1.9-cil libgegl-0.0-0 libglew1.5 libglew1.6 libglewmx1.6 libgme0 libgnome-bluetooth8 libgnomekbd7 libgphoto2-2-dev libgstreamer-plugins-bad0.10-0 libgweather-3-0 libieee1284-3-dev libimobiledevice2 libjbig-dev libkdcraw20 libkexiv2-10 libkipi8 libkworkspace4abi1 liblastfm0 liblaunchpad-integration-3.0-1 libllvm3.0 liblocale-ruby1.8 liblzma-dev libmagick++4 libmagickcore4 libmagickcore4-extra libmagickwand4 libmarblewidget13 libmimic0 libmms0 libmusicbrainz3-6 libmusicbrainz4-3 libnepomukdatamanagement4 libnux-2.0-0 libnux-2.0-common libobjc3 libopenspc0 libpng12-dev libpoppler19 libqtbamf1 libqtdee2 libqtgconf1 librhythmbox-core5 libruby libslv2-9 libsox1b libspandsp2 libstdc++6-4.6-dev libtaglib2.0-cil libtiff4-dev libtiffxx0c2 libtiffxx5 libtommath0 libunity-2d-private0 libusb-dev libv4l-dev libwildmidi-config libwildmidi1 libx264-120 libyajl1 libzbar0 python-dateutil python-kde4 python-libproxy python-pyatspi2 unity-2d-common unity-2d-panel unity-2d-shell unity-2d-spread Use 'apt-get autoremove' to remove them. The following extra packages will be installed: gnome-session-bin The following packages will be upgraded: gnome-session-bin 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. Need to get 0 B/167 kB of archives. After this operation, 22.5 kB of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 453466 files and directories currently installed.) Preparing to replace gnome-session-bin 3.2.1-0ubuntu8 (using .../gnome-session-bin_3.6.0-0ubuntu1.1_i386.deb) ... Unpacking replacement gnome-session-bin ... dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/gnome-session-bin_3.6.0-0ubuntu1.1_i386.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/gnome-session-bin_3.6.0-0ubuntu1.1_i386.deb (--unpack): cannot copy extracted data for './usr/share/doc/gnome-session-bin/NEWS.gz' to '/usr/share/doc/gnome-session-bin/NEWS.gz.dpkg-new': unexpected end of file or stream No apport report written because MaxReports has already been reached Processing triggers for gconf2 ... Errors were encountered while processing: /var/cache/apt/archives/gnome-session-bin_3.6.0-0ubuntu1.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) sprintexec@acer4810:~$ ProblemType: Package DistroRelease: Ubuntu 12.10 Package: gnome-session-bin 3.2.1-0ubuntu8 ProcVersionSignature: Ubuntu 3.5.0-48.72-generic 3.5.7.31 Uname: Linux 3.5.0-48-generic i686 ApportVersion: 2.6.1-0ubuntu13 AptOrdering: gnome-session-bin: Install gnome-session-bin: Configure gnome-session: Configure gdm: Configure ubuntu-desktop: Configure Architecture: i386 Date: Fri Apr 18 15:49:34 2014 DuplicateSignature: package:gnome-session-bin:3.2.1-0ubuntu8:cannot copy extracted data for './usr/share/doc/gnome-session-bin/NEWS.gz' to '/usr/share/doc/gnome-session-bin/NEWS.gz.dpkg-new': unexpected end of file or stream ErrorMessage: cannot copy extracted data for './usr/share/doc/gnome-session-bin/NEWS.gz' to '/usr/share/doc/gnome-session-bin/NEWS.gz.dpkg-new': unexpected end of file or stream InstallationDate: Installed on 2011-11-25 (875 days ago) InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.1) MarkForUpload: True SourcePackage: gnome-session Title: package gnome-session-bin 3.2.1-0ubuntu8 failed to install/upgrade: cannot copy extracted data for './usr/share/doc/gnome-session-bin/NEWS.gz' to '/usr/share/doc/gnome-session-bin/NEWS.gz.dpkg-new': unexpected end of file or stream UpgradeStatus: Upgraded to quantal on 2014-04-18 (0 days ago) ** Affects: gnome-session (Ubuntu) Importance: Undecided Status: New ** Tags: apport-package i386 need-duplicate-check quantal -- You received this bug notification because you are a member of Desktop Packages, which is subscribed to gnome-session in Ubuntu. https://bugs.launchpad.net/bugs/1309513 Title: package gnome-session-bin 3.2.1-0ubuntu8 failed to install/upgrade: cannot copy extracted data for './usr/share/doc/gnome-session- bin/NEWS.gz' to '/usr/share/doc/gnome-session-bin/NEWS.gz.dpkg-new': unexpected end of file or stream Status in “gnome-session” package in Ubuntu: New Bug description: I attempted to upgrade 12.04lts to 12.10 as a stepping stone en route to 14lts. There were three 'error' messages during the upgrade to 12.10. This one has me foxed. I hope this information is of some help and apologise in advance for my lack of understanding. Thanks This may be helpful: sprintexec@acer4810:~$ apt-get install -f E: Could not open lock file /var/lib/dpkg/lock - open (13: Permission denied) E: Unable to lock the administration directory (/var/lib/dpkg/), are you root? sprintexec@acer4810:~$ sudo apt-get install -f [sudo] password for sprintexec: 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: compiz-plugins-main-default freepats g++-4.6 gir1.2-dbusmenu-gtk-0.4 gir1.2-gtk-2.0 gir1.2-launchpad-integration-3.0 libattica0.3 libavahi-client-dev libavahi-common-dev libbabl-0.0-0 libboost-filesystem1.46.1 libboost-iostreams1.46.1 libboost-program-options1.46.1 libboost-python1.46.1 libboost-regex1.46.1 libboost-serialization1.46.1 libboost-signals1.46.1 libboost-system1.46.1 libboost-thread1.46.1 libcdaudio1 libcelt0-0 libcmis-0.2-0 libdconf-dbus-1-0 libdconf-qt0 libdconf0 libebackend-1.2-1 libecal-1.2-10 libedata-cal-1.2-13 libexif-dev libexiv2-11 libflite1 libgdata1.9-cil libgegl-0.0-0 libglew1.5 libglew1.6 libglewmx1.6 libgme0 libgnome-bluetooth8 libgnomekbd7 libgphoto2-2-dev libgstreamer-plugins-bad0.10-0 libgweather-3-0 libieee1284-3-dev libimobiledevice2 libjbig-dev libkdcraw20 libkexiv2-10 libkipi8 libkworkspace4abi1 liblastfm0 liblaunchpad-integration-3.0-1 libllvm3.0 liblocale-ruby1.8 liblzma-dev libmagick++4 libmagickcore4 libmagickcore4-extra libmagickwand4 libmarblewidget13 libmimic0 libmms0 libmusicbrainz3-6 libmusicbrainz4-3 libnepomukdatamanagement4 libnux-2.0-0 libnux-2.0-common libobjc3 libopenspc0 libpng12-dev libpoppler19 libqtbamf1 libqtdee2 libqtgconf1 librhythmbox-core5 libruby libslv2-9 libsox1b libspandsp2 libstdc++6-4.6-dev libtaglib2.0-cil libtiff4-dev libtiffxx0c2 libtiffxx5 libtommath0 libunity-2d-private0 libusb-dev libv4l-dev libwildmidi-config libwildmidi1 libx264-120 libyajl1 libzbar0 python-dateutil python-kde4 python-libproxy python-pyatspi2 unity-2d-common unity-2d-panel unity-2d-shell unity-2d-spread Use 'apt-get autoremove' to remove them. The following extra packages will be installed: gnome-session-bin The following packages will be upgraded: gnome-session-bin 1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 3 not fully installed or removed. Need to get 0 B/167 kB of archives. After this operation, 22.5 kB of additional disk space will be used. Do you want to continue [Y/n]? y (Reading database ... 453466 files and directories currently installed.) Preparing to replace gnome-session-bin 3.2.1-0ubuntu8 (using .../gnome-session-bin_3.6.0-0ubuntu1.1_i386.deb) ... Unpacking replacement gnome-session-bin ... dpkg-deb (subprocess): cannot copy archive member from '/var/cache/apt/archives/gnome-session-bin_3.6.0-0ubuntu1.1_i386.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/gnome-session-bin_3.6.0-0ubuntu1.1_i386.deb (--unpack): cannot copy extracted data for './usr/share/doc/gnome-session-bin/NEWS.gz' to '/usr/share/doc/gnome-session-bin/NEWS.gz.dpkg-new': unexpected end of file or stream No apport report written because MaxReports has already been reached Processing triggers for gconf2 ... Errors were encountered while processing: /var/cache/apt/archives/gnome-session-bin_3.6.0-0ubuntu1.1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) sprintexec@acer4810:~$ ProblemType: Package DistroRelease: Ubuntu 12.10 Package: gnome-session-bin 3.2.1-0ubuntu8 ProcVersionSignature: Ubuntu 3.5.0-48.72-generic 3.5.7.31 Uname: Linux 3.5.0-48-generic i686 ApportVersion: 2.6.1-0ubuntu13 AptOrdering: gnome-session-bin: Install gnome-session-bin: Configure gnome-session: Configure gdm: Configure ubuntu-desktop: Configure Architecture: i386 Date: Fri Apr 18 15:49:34 2014 DuplicateSignature: package:gnome-session-bin:3.2.1-0ubuntu8:cannot copy extracted data for './usr/share/doc/gnome-session-bin/NEWS.gz' to '/usr/share/doc/gnome-session-bin/NEWS.gz.dpkg-new': unexpected end of file or stream ErrorMessage: cannot copy extracted data for './usr/share/doc/gnome-session-bin/NEWS.gz' to '/usr/share/doc/gnome-session-bin/NEWS.gz.dpkg-new': unexpected end of file or stream InstallationDate: Installed on 2011-11-25 (875 days ago) InstallationMedia: Ubuntu 10.04.3 LTS "Lucid Lynx" - Release i386 (20110720.1) MarkForUpload: True SourcePackage: gnome-session Title: package gnome-session-bin 3.2.1-0ubuntu8 failed to install/upgrade: cannot copy extracted data for './usr/share/doc/gnome-session-bin/NEWS.gz' to '/usr/share/doc/gnome-session-bin/NEWS.gz.dpkg-new': unexpected end of file or stream UpgradeStatus: Upgraded to quantal on 2014-04-18 (0 days ago) To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/gnome-session/+bug/1309513/+subscriptions -- Mailing list: https://launchpad.net/~desktop-packages Post to : desktop-packages@lists.launchpad.net Unsubscribe : https://launchpad.net/~desktop-packages More help : https://help.launchpad.net/ListHelp