← Back to team overview

kernel-packages team mailing list archive

[Bug 1452184] Re: package linux-image-3.16.0-37-generic (not installed) failed to install/upgrade: cannot copy extracted data for './boot/vmlinuz-3.16.0-37-generic' to '/boot/vmlinuz-3.16.0-37-generic.dpkg-new': unexpected end of file or stream

 

I was getting this, and solved when df told me that /boot was full.

I tried to apt-get purge my old kernels but that didnt' work, apt said
not enough disk space... um, yeah, that's why i wanted to remove stuff.

apparently apt-get tries to do some sorta boot config before removing,
probably keeping things safe, but at the expense of being able to
continue if /boot is full.

Solution was to go into /boot and delete the old kernel files as root

you can find out your current kernel by running uname -r

hope it helps!

-- 
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/1452184

Title:
  package linux-image-3.16.0-37-generic (not installed) failed to
  install/upgrade: cannot copy extracted data for
  './boot/vmlinuz-3.16.0-37-generic' to '/boot/vmlinuz-3.16.0-37-generic
  .dpkg-new': unexpected end of file or stream

Status in linux package in Ubuntu:
  Confirmed

Bug description:
  Error while upgrading the linux-
  image-3.16.0-37-generic_3.16.0-37.49.....

  ProblemType: Package
  DistroRelease: Ubuntu 14.10
  Package: linux-image-3.16.0-37-generic (not installed)
  ProcVersionSignature: Ubuntu 3.16.0-34.47-generic 3.16.7-ckt8
  Uname: Linux 3.16.0-34-generic x86_64
  ApportVersion: 2.14.7-0ubuntu8.4
  Architecture: amd64
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/pcmC0D0p:   manish     2970 F...m pulseaudio
   /dev/snd/controlC0:  manish     2970 F.... pulseaudio
  Date: Wed May  6 11:53:29 2015
  DpkgTerminalLog:
   Preparing to unpack .../linux-image-3.16.0-37-generic_3.16.0-37.49_amd64.deb ...
   Done.
   Unpacking linux-image-3.16.0-37-generic (3.16.0-37.49) ...
   dpkg: error processing archive /var/cache/apt/archives/linux-image-3.16.0-37-generic_3.16.0-37.49_amd64.deb (--unpack):
    cannot copy extracted data for './boot/vmlinuz-3.16.0-37-generic' to '/boot/vmlinuz-3.16.0-37-generic.dpkg-new': unexpected end of file or stream
  DuplicateSignature: package:linux-image-3.16.0-37-generic:(not installed):cannot copy extracted data for './boot/vmlinuz-3.16.0-37-generic' to '/boot/vmlinuz-3.16.0-37-generic.dpkg-new': unexpected end of file or stream
  ErrorMessage: cannot copy extracted data for './boot/vmlinuz-3.16.0-37-generic' to '/boot/vmlinuz-3.16.0-37-generic.dpkg-new': unexpected end of file or stream
  HibernationDevice: RESUME=UUID=f08d1729-dd77-4729-a024-17241163b3ac
  InstallationDate: Installed on 2015-01-22 (103 days ago)
  InstallationMedia: Ubuntu 14.10 "Utopic Unicorn" - Release amd64 (20141022.1)
  IwConfig:
   eth0      no wireless extensions.
   
   lo        no wireless extensions.
  ProcFB: 0 inteldrmfb
  ProcKernelCmdLine: BOOT_IMAGE=/vmlinuz-3.16.0-34-generic root=/dev/mapper/ubuntu--vg-root 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 N/A
  RfKill:
   
  SourcePackage: linux
  Title: package linux-image-3.16.0-37-generic (not installed) failed to install/upgrade: cannot copy extracted data for './boot/vmlinuz-3.16.0-37-generic' to '/boot/vmlinuz-3.16.0-37-generic.dpkg-new': unexpected end of file or stream
  UpgradeStatus: No upgrade log present (probably fresh install)
  WifiSyslog:
   May  6 11:46:42 STZ_plasticity kernel: [607541.345468] systemd-hostnamed[11955]: Warning: nss-myhostname is not installed. Changing the local hostname might make it unresolveable. Please install nss-myhostname!
   May  6 11:53:29 STZ_plasticity NetworkManager[1386]: <info> kernel firmware directory '/lib/firmware' changed
  dmi.bios.date: 12/28/2012
  dmi.bios.vendor: Intel Corp.
  dmi.bios.version: BHZ7710H.86A.0097.2012.1228.1346
  dmi.board.name: DZ77BH-55K
  dmi.board.vendor: Intel Corporation
  dmi.board.version: AAG39008-400
  dmi.chassis.type: 3
  dmi.modalias: dmi:bvnIntelCorp.:bvrBHZ7710H.86A.0097.2012.1228.1346:bd12/28/2012:svn:pn:pvr:rvnIntelCorporation:rnDZ77BH-55K:rvrAAG39008-400:cvn:ct3:cvr:

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


References