← Back to team overview

kernel-packages team mailing list archive

[Bug 1481896] Re: 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

 

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  Loggable output - no progress indicator
  -qq No output except for errors
  -d  Download only - do NOT install or unpack archives
  -s  No-act. Perform ordering simulation
  -y  Assume Yes to all queries and do not prompt
  -f  Attempt to correct a system with broken dependencies in place
  -m  Attempt to continue if archives are unlocatable
  -u  Show a list of upgraded packages as well
  -b  Build the source package after fetching it
  -V  Show verbose version numbers
  -c=? Read this configuration file
  -o=? Set an arbitrary configuration option, e.g. -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.
                       This APT has Super Cow Powers.
nick@nick-HP-Compaq-6910p:~$ update
No command 'update' found, did you mean:
 Command 'xupdate' from package 'libxml-xupdate-libxml-perl' (universe)
 Command 'pupdate' from package 'pbuilder-scripts' (universe)
 Command 'lupdate' from package 'qtchooser' (main)
 Command 'uupdate' from package 'devscripts' (main)
update: command not found
nick@nick-HP-Compaq-6910p:~$ sudo apt-get update
Ign cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2) trusty InRelease
Err cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2) trusty/main i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Err cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2) trusty/restricted i386 Packages
  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
Ign cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2) trusty/main Translation-en_GB
Ign cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2) trusty/main Translation-en
Ign cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2) trusty/restricted Translation-en_GB
Ign cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2) trusty/restricted Translation-en
Ign http://gb.archive.ubuntu.com trusty InRelease                              
Ign http://gb.archive.ubuntu.com trusty-updates InRelease                      
Ign http://gb.archive.ubuntu.com trusty-backports InRelease                    
Hit http://gb.archive.ubuntu.com trusty Release.gpg                            
Ign http://security.ubuntu.com trusty-security InRelease                       
Get:1 http://gb.archive.ubuntu.com trusty-updates Release.gpg [933 B]          
Hit http://gb.archive.ubuntu.com trusty-backports Release.gpg                  
Hit http://gb.archive.ubuntu.com trusty Release                                
Get:2 http://security.ubuntu.com trusty-security Release.gpg [933 B]           
Get:3 http://gb.archive.ubuntu.com trusty-updates Release [63.5 kB]            
Get:4 http://security.ubuntu.com trusty-security Release [63.5 kB]             
Hit http://gb.archive.ubuntu.com trusty-backports Release                      
Hit http://gb.archive.ubuntu.com trusty/main Sources                           
Ign https://private-ppa.launchpad.net trusty InRelease                         
Hit http://gb.archive.ubuntu.com trusty/restricted Sources                     
Hit http://gb.archive.ubuntu.com trusty/universe Sources                       
Hit https://private-ppa.launchpad.net trusty Release                           
Hit http://gb.archive.ubuntu.com trusty/multiverse Sources                     
Hit https://private-ppa.launchpad.net trusty/main i386 Packages                
Hit http://gb.archive.ubuntu.com trusty/main i386 Packages                     
Hit http://gb.archive.ubuntu.com trusty/restricted i386 Packages               
Get:5 http://security.ubuntu.com trusty-security/main Sources [91.1 kB]        
Hit http://gb.archive.ubuntu.com trusty/universe i386 Packages                 
Hit http://gb.archive.ubuntu.com trusty/multiverse i386 Packages               
Hit http://gb.archive.ubuntu.com trusty/main Translation-en_GB                 
Hit http://gb.archive.ubuntu.com trusty/main Translation-en                    
Ign https://private-ppa.launchpad.net trusty/main Translation-en_GB            
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en_GB           
Get:6 http://security.ubuntu.com trusty-security/restricted Sources [2,061 B]  
Ign https://private-ppa.launchpad.net trusty/main Translation-en               
Hit http://gb.archive.ubuntu.com trusty/multiverse Translation-en              
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en_GB           
Get:7 http://security.ubuntu.com trusty-security/universe Sources [28.5 kB]    
Hit http://gb.archive.ubuntu.com trusty/restricted Translation-en              
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en_GB             
Hit http://gb.archive.ubuntu.com trusty/universe Translation-en                
Get:8 http://security.ubuntu.com trusty-security/multiverse Sources [2,334 B]  
Get:9 http://gb.archive.ubuntu.com trusty-updates/main Sources [228 kB]        
Get:10 http://security.ubuntu.com trusty-security/main i386 Packages [312 kB]  
Get:11 http://gb.archive.ubuntu.com trusty-updates/restricted Sources [4,717 B]
Get:12 http://gb.archive.ubuntu.com trusty-updates/universe Sources [130 kB]   
Get:13 http://security.ubuntu.com trusty-security/restricted i386 Packages [8,846 B]
Get:14 http://gb.archive.ubuntu.com trusty-updates/multiverse Sources [5,138 B]
Get:15 http://gb.archive.ubuntu.com trusty-updates/main i386 Packages [579 kB] 
Get:16 http://security.ubuntu.com trusty-security/universe i386 Packages [112 kB]
Get:17 http://security.ubuntu.com trusty-security/multiverse i386 Packages [3,838 B]
Get:18 http://security.ubuntu.com trusty-security/main Translation-en [178 kB] 
Hit http://security.ubuntu.com trusty-security/multiverse Translation-en       
Ign http://extras.ubuntu.com trusty InRelease                                  
Get:19 http://gb.archive.ubuntu.com trusty-updates/restricted i386 Packages [15.2 kB]
Ign http://ppa.launchpad.net trusty InRelease                                  
Hit http://security.ubuntu.com trusty-security/restricted Translation-en       
Hit http://extras.ubuntu.com trusty Release.gpg                                
Get:20 http://ppa.launchpad.net trusty Release.gpg [316 B]                     
Hit http://extras.ubuntu.com trusty Release                                    
Get:21 http://gb.archive.ubuntu.com trusty-updates/universe i386 Packages [303 kB]
Get:22 http://ppa.launchpad.net trusty Release [15.1 kB]                       
Get:23 http://security.ubuntu.com trusty-security/universe Translation-en [65.6 kB]
Hit http://extras.ubuntu.com trusty/main Sources                               
Hit http://extras.ubuntu.com trusty/main i386 Packages                         
Get:24 http://ppa.launchpad.net trusty/main Sources [9,429 B]                  
Get:25 http://ppa.launchpad.net trusty/main i386 Packages [4,973 B]            
Get:26 http://gb.archive.ubuntu.com trusty-updates/multiverse i386 Packages [12.1 kB]
Get:27 http://ppa.launchpad.net trusty/main Translation-en [1,436 B]           
Get:28 http://gb.archive.ubuntu.com trusty-updates/main Translation-en [288 kB]
Ign http://extras.ubuntu.com trusty/main Translation-en_GB                     
Hit http://gb.archive.ubuntu.com trusty-updates/multiverse Translation-en      
Ign http://extras.ubuntu.com trusty/main Translation-en                        
Get:29 http://gb.archive.ubuntu.com trusty-updates/restricted Translation-en [3,560 B]
Get:30 http://gb.archive.ubuntu.com trusty-updates/universe Translation-en [160 kB]
Hit http://gb.archive.ubuntu.com trusty-backports/main Sources                 
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Sources           
Hit http://gb.archive.ubuntu.com trusty-backports/universe Sources             
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Sources           
Hit http://gb.archive.ubuntu.com trusty-backports/main i386 Packages           
Hit http://gb.archive.ubuntu.com trusty-backports/restricted i386 Packages     
Hit http://gb.archive.ubuntu.com trusty-backports/universe i386 Packages       
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse i386 Packages     
Hit http://gb.archive.ubuntu.com trusty-backports/main Translation-en          
Hit http://gb.archive.ubuntu.com trusty-backports/multiverse Translation-en    
Hit http://gb.archive.ubuntu.com trusty-backports/restricted Translation-en    
Hit http://gb.archive.ubuntu.com trusty-backports/universe Translation-en      
Fetched 2,694 kB in 7s (338 kB/s)                                              
W: Failed to fetch cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release i386 (20140722.2)/dists/trusty/main/binary-i386/Packages  Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs

W: Failed to fetch cdrom://Ubuntu 14.04.1 LTS _Trusty Tahr_ - Release
i386 (20140722.2)/dists/trusty/restricted/binary-i386/Packages  Please
use apt-cdrom to make this CD-ROM recognized by APT. apt-get update
cannot be used to add new CD-ROMs

E: Some index files failed to download. They have been ignored, or old ones used instead.
nick@nick-HP-Compaq-6910p:~$ 


** Changed in: linux (Ubuntu)
       Status: Incomplete => Confirmed

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to linux in Ubuntu.
https://bugs.launchpad.net/bugs/1481896

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

Status in linux package in Ubuntu:
  Confirmed

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

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/linux/+bug/1481896/+subscriptions


References