package linux-image-2.6.32-39-generic 2.6.32-39.86 failed to install/upgrade: unable to securely remove '/boot/vmlinuz-2.6.32-39-generic.dpkg-new': Read-only file system

Bug #952697 reported by Ahamed Rasheed C K
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

The new linux-kernal packages could not be installed since, the /boot FS will be in the read only mode and the the work around which I found to over come this is first mount the /boot in rw mode and then install this and then remount in /boot in readonly mode back.

Rasheed

ProblemType: Package
DistroRelease: Ubuntu 10.04
Package: linux-image-2.6.32-39-generic 2.6.32-39.86
Regression: Yes
Reproducible: Yes
ProcVersionSignature: Ubuntu 2.6.32-39.86-generic 2.6.32.56+drm33.22
Uname: Linux 2.6.32-39-generic i686
AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
AplayDevices:
 **** List of PLAYBACK Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
Architecture: i386
ArecordDevices:
 **** List of CAPTURE Hardware Devices ****
 card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
   Subdevices: 1/1
   Subdevice #0: subdevice #0
AudioDevicesInUse:
 USER PID ACCESS COMMAND
 /dev/snd/controlC0: ahamed 1516 F.... pulseaudio
 /dev/snd/seq: timidity 1938 F.... timidity
CRDA: Error: [Errno 2] No such file or directory
Card0.Amixer.info:
 Card hw:0 'Intel'/'HDA Intel at 0xf0500000 irq 22'
   Mixer name : 'Realtek ALC272'
   Components : 'HDA:10ec0272,1028041a,00100001'
   Controls : 14
   Simple ctrls : 8
Date: Sun Mar 11 22:24:07 2012
ErrorMessage: unable to securely remove '/boot/vmlinuz-2.6.32-39-generic.dpkg-new': Read-only file system
HibernationDevice: RESUME=UUID=8dd08760-6339-4cd4-829c-e6690a1c5459
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
MachineType: Dell Inc. Inspiron 1012
ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-39-generic root=UUID=a0f9d388-f73d-4dd3-8731-527195eacd66 ro quiet splash
RelatedPackageVersions: linux-firmware 1.34.7
SourcePackage: linux
Title: package linux-image-2.6.32-39-generic 2.6.32-39.86 failed to install/upgrade: unable to securely remove '/boot/vmlinuz-2.6.32-39-generic.dpkg-new': Read-only file system
dmi.bios.date: 12/06/2009
dmi.bios.vendor: Dell Inc.
dmi.bios.version: A04
dmi.board.name: 0P9MDV
dmi.board.vendor: Dell Inc.
dmi.board.version: A04
dmi.chassis.type: 8
dmi.chassis.vendor: Dell Inc.
dmi.chassis.version: A04
dmi.modalias: dmi:bvnDellInc.:bvrA04:bd12/06/2009:svnDellInc.:pnInspiron1012:pvrA04:rvnDellInc.:rn0P9MDV:rvrA04:cvnDellInc.:ct8:cvrA04:
dmi.product.name: Inspiron 1012
dmi.product.version: A04
dmi.sys.vendor: Dell Inc.

Revision history for this message
Ahamed Rasheed C K (ahamedckmgm) wrote :
Brad Figg (brad-figg)
Changed in linux (Ubuntu):
status: New → Confirmed
Revision history for this message
Joseph Salisbury (jsalisbury) wrote :

You may need to run the following from a terminal window:

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

Then re-install the package.

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

Changed in linux (Ubuntu):
status: Confirmed → Invalid
Revision history for this message
Ahamed Rasheed C K (ahamedckmgm) wrote : Re: [Bug 952697] Re: package linux-image-2.6.32-39-generic 2.6.32-39.86 failed to install/upgrade: unable to securely remove '/boot/vmlinuz-2.6.32-39-generic.dpkg-new': Read-only file system
Download full text (3.9 KiB)

Hi Joseph,
Thank u 4 ur response. But as I already mentioned, the work around I used is described earlier and I have installed the new kernel now accordingly. When new kernel images come I shall try ur suggestion and let u know the outcome....

Rasheed

________________________________
 From: Joseph Salisbury <email address hidden>
To: <email address hidden>
Sent: Monday, March 12, 2012 8:48 PM
Subject: [Bug 952697] Re: package linux-image-2.6.32-39-generic 2.6.32-39.86 failed to install/upgrade: unable to securely remove '/boot/vmlinuz-2.6.32-39-generic.dpkg-new': Read-only file system

You may need to run the following from a terminal window:

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

Then re-install the package.

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

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

--
You received this bug notification because you are subscribed to the bug
report.
https://bugs.launchpad.net/bugs/952697

Title:
  package linux-image-2.6.32-39-generic 2.6.32-39.86 failed to
  install/upgrade: unable to securely remove
  '/boot/vmlinuz-2.6.32-39-generic.dpkg-new': Read-only file system

Status in “linux” package in Ubuntu:
  Invalid

Bug description:
  The new linux-kernal packages could not be installed since, the /boot
  FS will be in the read only  mode and the the work around which I
  found to over come this is first mount the /boot in rw mode and then
  install this and then remount in /boot in readonly mode back.

  Rasheed

  ProblemType: Package
  DistroRelease: Ubuntu 10.04
  Package: linux-image-2.6.32-39-generic 2.6.32-39.86
  Regression: Yes
  Reproducible: Yes
  ProcVersionSignature: Ubuntu 2.6.32-39.86-generic 2.6.32.56+drm33.22
  Uname: Linux 2.6.32-39-generic i686
  AlsaVersion: Advanced Linux Sound Architecture Driver Version 1.0.21.
  AplayDevices:
   **** List of PLAYBACK Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  Architecture: i386
  ArecordDevices:
   **** List of CAPTURE Hardware Devices ****
   card 0: Intel [HDA Intel], device 0: ALC272 Analog [ALC272 Analog]
     Subdevices: 1/1
     Subdevice #0: subdevice #0
  AudioDevicesInUse:
   USER        PID ACCESS COMMAND
   /dev/snd/controlC0:  ahamed    1516 F.... pulseaudio
   /dev/snd/seq:        timidity  1938 F.... timidity
  CRDA: Error: [Errno 2] No such file or directory
  Card0.Amixer.info:
   Card hw:0 'Intel'/'HDA Intel at 0xf0500000 irq 22'
     Mixer name    : 'Realtek ALC272'
     Components    : 'HDA:10ec0272,1028041a,00100001'
     Controls      : 14
     Simple ctrls  : 8
  Date: Sun Mar 11 22:24:07 2012
  ErrorMessage: unable to securely remove '/boot/vmlinuz-2.6.32-39-generic.dpkg-new': Read-only file system
  HibernationDevice: RESUME=UUID=8dd08760-6339-4cd4-829c-e6690a1c5459
  InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release i386 (20100429)
  MachineType: Dell Inc. Inspiron 1012
  ProcCmdLine: BOOT_IMAGE=/vmlinuz-2.6.32-39-generic root=UUID=a0f9d388-f73d-4dd3-8731-527195eacd66 ro quiet splash
  RelatedPackageVersions: linux-firmware 1.3...

Read more...

Revision history for this message
Ahamed Rasheed C K (ahamedckmgm) wrote :
Download full text (8.0 KiB)

I had just now done what u have suggested and the output is as follows:

ahamed@ahamed-laptop:~$ sudo apt-get install -f
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:
  libvpx0 apport-hooks-medibuntu
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  linux-image-2.6.32-40-generic
Suggested packages:
  fdutils linux-doc-2.6.32 linux-source-2.6.32 linux-tools
The following NEW packages will be installed:
  linux-image-2.6.32-40-generic
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
2 not fully installed or removed.
Need to get 0B/31.6MB of archives.
After this operation, 99.4MB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 772062 files and directories currently installed.)
Unpacking linux-image-2.6.32-40-generic (from .../linux-image-2.6.32-40-generic_2.6.32-40.87_i386.deb) ...
Done.
dpkg: error processing /var/cache/apt/archives/linux-image-2.6.32-40-generic_2.6.32-40.87_i386.deb (--unpack):
 unable to securely remove '/boot/vmlinuz-2.6.32-40-generic.dpkg-new': Read-only file system
dpkg-deb: subprocess paste killed by signal (Broken pipe)
Running postrm hook script /usr/sbin/update-grub.
rm: cannot remove `/boot/grub/grub.cfg.new': Read-only file system
User postrm hook script [/usr/sbin/update-grub] exited with value 1
Errors were encountered while processing:
 /var/cache/apt/archives/linux-image-2.6.32-40-generic_2.6.32-40.87_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
ahamed@ahamed-laptop:~$ sudo apt-get clean
ahamed@ahamed-laptop:~$ sudo apt-get update
Hit http://archive.ubuntu.com lucid Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ lucid/main Translation-en_IN
Ign http://archive.ubuntu.com/ubuntu/ lucid/restricted Translation-en_IN
Ign http://archive.ubuntu.com/ubuntu/ lucid/multiverse Translation-en_IN
Hit http://www.bchemnet.com debian Release.gpg
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://ppa.launchpad.net/michael-gruz/canon/ubuntu/ lucid/main Translation-en_IN
Hit http://ppa.launchpad.net lucid Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ lucid/universe Translation-en_IN
Hit http://archive.ubuntu.com lucid-updates Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/main Translation-en_IN
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/restricted Translation-en_IN
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/multiverse Translation-en_IN
Ign http://archive.ubuntu.com/ubuntu/ lucid-updates/universe Translation-en_IN
Hit http://archive.ubuntu.com lucid-security Release.gpg
Ign http://archive.ubuntu.com/ubuntu/ lucid-security/main Translation-en_IN
Ign http://archive.ubuntu.com/ubuntu/ lucid-security/restricted Translation-en_IN
Ign http://archive.ubuntu.com/ubuntu/ lucid-security/multiverse Translation-en_IN
Hit http://archive.c...

Read more...

Changed in linux (Ubuntu):
status: Invalid → Confirmed
Revision history for this message
dino99 (9d9) wrote :

That version is no more supported; and no expecting backport as it only concern 'security' problem.

Changed in linux (Ubuntu):
status: Confirmed → Invalid
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.