package linux-image-extra-3.13.0-58-generic (not installed) failed to install/upgrade: cannot copy extracted data for './lib/modules/3.13.0-58-generic/kernel/drivers/gpu/drm/drm.ko' to '/lib/modules/3.13.0-58-generic/kernel/drivers/gpu/drm/drm.ko.dpkg-new': unexpected end of file or stream

Bug #1481896 reported by Nick W
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Confirmed
Low
Unassigned

Bug Description

Above package was suggested by updater but only partially installed. It barely functions. On login, I have to manually select 57-generic to get any useful funtionality but all attempts to update to 58-generic have been failures.

ProblemType: Package
DistroRelease: Ubuntu 14.04
Package: linux-image-extra-3.13.0-58-generic (not installed)
ProcVersionSignature: Ubuntu 3.13.0-57.95-generic 3.13.11-ckt21
Uname: Linux 3.13.0-57-generic i686
NonfreeKernelModules: wl
ApportVersion: 2.14.1-0ubuntu3.11
AptOrdering:
 linux-image-extra-3.13.0-58-generic: Install
 linux-image-extra-3.13.0-58-generic: Configure
 linux-image-generic: Configure
 linux-generic: Configure
Architecture: i386
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: nick 1948 F.... pulseaudio
Date: Wed Aug 5 20:36:46 2015
DpkgHistoryLog:
 Start-Date: 2015-08-05 20:36:30
 Commandline: aptdaemon role='role-fix-broken-depends' sender=':1.85'
 Install: linux-image-extra-3.13.0-58-generic:i386 (3.13.0-58.97, automatic)
DuplicateSignature: package:linux-image-extra-3.13.0-58-generic:(not installed):cannot copy extracted data for './lib/modules/3.13.0-58-generic/kernel/drivers/gpu/drm/drm.ko' to '/lib/modules/3.13.0-58-generic/kernel/drivers/gpu/drm/drm.ko.dpkg-new': unexpected end of file or stream
ErrorMessage: cannot copy extracted data for './lib/modules/3.13.0-58-generic/kernel/drivers/gpu/drm/drm.ko' to '/lib/modules/3.13.0-58-generic/kernel/drivers/gpu/drm/drm.ko.dpkg-new': unexpected end of file or stream
HibernationDevice: RESUME=UUID=817b046b-2e5c-4e7f-9d77-f068000e0357
MachineType: Hewlett-Packard HP Compaq 6910p
ProcFB: 0 inteldrmfb
ProcKernelCmdLine: BOOT_IMAGE=/boot/vmlinuz-3.13.0-57-generic root=UUID=435f95df-dcb2-4231-9790-6e23b46a2b85 ro quiet splash vt.handoff=7
PulseList: Error: command ['pacmd', 'list'] failed with exit code 1: No PulseAudio daemon running, or not running as session daemon.
RelatedPackageVersions: grub-pc 2.02~beta2-9ubuntu1.3
SourcePackage: linux
Title: package linux-image-extra-3.13.0-58-generic (not installed) failed to install/upgrade: cannot copy extracted data for './lib/modules/3.13.0-58-generic/kernel/drivers/gpu/drm/drm.ko' to '/lib/modules/3.13.0-58-generic/kernel/drivers/gpu/drm/drm.ko.dpkg-new': unexpected end of file or stream
UpgradeStatus: No upgrade log present (probably fresh install)
dmi.bios.date: 02/20/2008
dmi.bios.vendor: Hewlett-Packard
dmi.bios.version: 68MCU Ver. F.13
dmi.board.name: 30BE
dmi.board.vendor: Hewlett-Packard
dmi.board.version: KBC Version 68.35
dmi.chassis.type: 10
dmi.chassis.vendor: Hewlett-Packard
dmi.modalias: dmi:bvnHewlett-Packard:bvr68MCUVer.F.13:bd02/20/2008:svnHewlett-Packard:pnHPCompaq6910p:pvrF.13:rvnHewlett-Packard:rn30BE:rvrKBCVersion68.35:cvnHewlett-Packard:ct10:cvr:
dmi.product.name: HP Compaq 6910p
dmi.product.version: F.13
dmi.sys.vendor: Hewlett-Packard

Revision history for this message
Nick W (wattjnick) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Brad Figg (brad-figg) wrote : Status changed to Confirmed

This change was made by a bot.

Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

It appears the .deb file is corrupt.

You may need to run the following from a terminal:

sudo apt-get install -f
sudo apt-get clean
sudo apt-get update

Then re-install the package or updates.

If that does not resolve your issue, please mark the bug as "Confirmed"

Changed in linux (Ubuntu):
importance: Undecided → Low
status: Confirmed → Incomplete
Revision history for this message
Nick W (wattjnick) wrote :
Download full text (12.2 KiB)

Tried all the above - issue remains unresolved.

Results from terminal:

nick@nick-HP-Compaq-6910p:~$ sudo apt-get install -f
[sudo] password for nick:
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:
  linux-headers-3.13.0-32 linux-headers-3.13.0-32-generic
  linux-headers-3.13.0-35 linux-headers-3.13.0-35-generic
  linux-image-3.13.0-32-generic linux-image-3.13.0-35-generic
  linux-image-extra-3.13.0-32-generic linux-image-extra-3.13.0-35-generic
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-image-extra-3.13.0-58-generic
The following NEW packages will be installed
  linux-image-extra-3.13.0-58-generic
0 to upgrade, 1 to newly install, 0 to remove and 9 not to upgrade.
2 not fully installed or removed.
Need to get 0 B/37.1 MB of archives.
After this operation, 113 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 712159 files and directories currently installed.)
Preparing to unpack .../linux-image-extra-3.13.0-58-generic_3.13.0-58.97_i386.deb ...
Unpacking linux-image-extra-3.13.0-58-generic (3.13.0-58.97) ...
dpkg-deb (subprocess): decompressing archive member: internal bzip2 read error 'DATA_ERROR'
dpkg-deb: error: subprocess <decompress> returned error exit status 2
dpkg: error processing archive /var/cache/apt/archives/linux-image-extra-3.13.0-58-generic_3.13.0-58.97_i386.deb (--unpack):
 cannot copy extracted data for './lib/modules/3.13.0-58-generic/kernel/drivers/gpu/drm/drm.ko' to '/lib/modules/3.13.0-58-generic/kernel/drivers/gpu/drm/drm.ko.dpkg-new': unexpected end of file or stream
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-extra-3.13.0-58-generic_3.13.0-58.97_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
nick@nick-HP-Compaq-6910p:~$ sudo apt-get clean
nick@nick-HP-Compaq-6910p:~$ sudo apt-get
apt 1.0.1ubuntu2 for i386 compiled on Apr 29 2015 13:36:07
Usage: apt-get [options] command
       apt-get [options] install|remove pkg1 [pkg2 ...]
       apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
   update - Retrieve new lists of packages
   upgrade - Perform an upgrade
   install - Install new packages (pkg is libc6 not libc6.deb)
   remove - Remove packages
   autoremove - Remove automatically all unused packages
   purge - Remove packages and config files
   source - Download source archives
   build-dep - Configure build-dependencies for source packages
   dist-upgrade - Distribution upgrade, see apt-get(8)
   dselect-upgrade - Follow dselect selections
   clean - Erase downloaded archive files
   autoclean - Erase old downloaded archive files
   check - Verify that there are no broken dependencies
   changelog - Download and display the changelog for the given package
   download - Download the binary package into the current directory

Options:
  -h This help text.
  -q Log...

Changed in linux (Ubuntu):
status: Incomplete → Confirmed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.