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.canonical.com lucid Release.gpg                             
Ign http://archive.canonical.com/ubuntu/ lucid/partner Translation-en_IN       
Ign http://www.bchemnet.com/suldr/ debian/extra Translation-en_IN              
Ign http://ppa.launchpad.net/showard314/librecad/ubuntu/ lucid/main 
Translation-en_IN
Hit http://ppa.launchpad.net lucid Release.gpg                       
Ign http://ppa.launchpad.net/showard314/ppa/ubuntu/ lucid/main Translation-en_IN
Hit http://ppa.launchpad.net lucid Release.gpg                       
Ign http://ppa.launchpad.net/synapse-core/ppa/ubuntu/ lucid/main 
Translation-en_IN
Hit http://ppa.launchpad.net lucid Release                                     
Ign http://archive.ubuntu.com/ubuntu/ lucid-security/universe Translation-en_IN
Hit http://archive.ubuntu.com lucid Release                                    
Hit http://archive.ubuntu.com lucid-updates Release                            
Hit http://archive.canonical.com lucid Release                                 
Hit http://ppa.launchpad.net lucid Release                                     
Hit http://ppa.launchpad.net lucid Release                                     
Hit http://ppa.launchpad.net lucid Release                           
Hit http://www.bchemnet.com debian Release                           
Hit http://archive.ubuntu.com lucid-security Release                 
Hit http://ppa.launchpad.net lucid/main Packages                               
Hit http://archive.canonical.com lucid/partner Packages                        
Hit http://archive.ubuntu.com lucid/main Sources                               
Hit http://archive.ubuntu.com lucid/restricted Sources               
Hit http://archive.ubuntu.com lucid/main Packages                    
Hit http://archive.ubuntu.com lucid/restricted Packages              
Hit http://archive.ubuntu.com lucid/multiverse Packages              
Hit http://archive.ubuntu.com lucid/universe Sources
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://www.bchemnet.com debian/extra Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://ppa.launchpad.net lucid/main Packages
Hit http://archive.ubuntu.com lucid/universe Packages
Hit http://archive.ubuntu.com lucid-updates/main Packages
Hit http://archive.ubuntu.com lucid-updates/restricted Packages
Hit http://archive.ubuntu.com lucid-updates/multiverse Packages
Hit http://archive.ubuntu.com lucid-updates/restricted Sources
Hit http://archive.ubuntu.com lucid-updates/main Sources
Hit http://archive.ubuntu.com lucid-updates/universe Sources
Hit http://archive.ubuntu.com lucid-updates/universe Packages
Hit http://archive.ubuntu.com lucid-security/main Packages
Hit http://archive.ubuntu.com lucid-security/restricted Packages
Hit http://archive.ubuntu.com lucid-security/multiverse Packages
Hit http://archive.ubuntu.com lucid-security/restricted Sources
Hit http://archive.ubuntu.com lucid-security/main Sources
Hit http://archive.ubuntu.com lucid-security/universe Sources
Hit http://archive.ubuntu.com lucid-security/universe Packages
Reading package lists... Done
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 31.6MB of archives.
After this operation, 99.4MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://archive.ubuntu.com/ubuntu/ lucid-updates/main 
linux-image-2.6.32-40-generic 2.6.32-40.87 [31.6MB]
Fetched 31.6MB in 2min 50s (186kB/s)                                           
(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)


the only work around i found is the only option as of now and changed the 
status as confirmed

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

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to