Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I am a novice in world of ubuntu termial. I downloaded codeblocks and then 'build-essentials', but the 2nd package stopped in b/w due to internet connection failure, so i closed the terminal. thereafter, i am not able to install/remove any package.

it@it:~$ sudo apt-get install codeblocks

Reading package lists... Done Building dependency tree
Reading state information... Done codeblocks is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 232 not upgraded. 1 not fully installed or removed. After this operation, 0 B of additional disk space will be used. Setting up initramfs-tools (0.103ubuntu1) ... update-initramfs: deferring update (trigger activated) cp: cannot create regular file ‘/cdrom/casper/’: No such file or directory dpkg: error processing initramfs-tools (--configure): subprocess installed post-installation script returned error exit status 1 Errors were encountered while processing: initramfs-tools E: Sub-process /usr/bin/dpkg returned an error code (1)


kindly help me.

My system have :- Intel i7 processor 4 GB RAM I am using xubuntu (64-bit-amd)(13.10)(saucy salamander) from my usb(bootable USB created using YUMI multiboot installer)

share|improve this question
Try a sudo apt-get dist-upgrade – Nattgew Apr 9 '14 at 22:24

You could try to use a package manager to remove the package, and if you wamt to remove the whole software, maby you can remove it from software center!

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.