Code:Blocks

Asked by AZtech

I'm running Ubuntu 10.04 and have a question regarding Code::Blocks. I recently posted "121471 package update problem " describing how when using the Synaptic Package Manager to delete an older version of C::B something went wrong. That problem has been resolved and I can use the SPM again however I tried reloading C::B and get the following error message

E: /var/cache/apt/archives/codeblocks-dbg_8.02-0ubuntu4_i386.deb: corrupted filesystem tarfile - corrupted package archive

I'm not sure what it means but I've tried removing the file from the directory and get an access denied reply. If anyone has suggestions on how I can get C::B back, I'd appreciate hearing from you.

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu codeblocks Edit question
Assignee:
No assignee Edit question
Solved by:
marcobra (Marco Braida)
Solved:
Last query:
Last reply:
Revision history for this message
Best marcobra (Marco Braida) (marcobra) said :
#1

Open a Terminal from the menu Applications->Accessories->Terminal

**Tip: right click with mouse on the top terminal windows title caption and select the menu item "Always on Top"
doing this you will force the terminal window to stay on top of the other windows and you will find very easy
to copy single row from this web page into the terminal...
Something more about using the terminal https://help.ubuntu.com/community/UsingTheTerminal

Then type or better copy and paste a row a time then press enter:
(Tip: select the single row to copy from this page then right click and select copy then click into the terminal window
and to quick paste click with middle button of mouse )

Copy and paste the rows below, copy and paste one row a time (see the **Tip) then press enter:

sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup
sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
sudo rm -rf /var/lib/dpkg/updates/*
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists/partial
sudo aptitude clean
sudo aptitude autoclean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo aptitude install -f
sudo aptitude update
sudo aptitude dist-upgrade

give your user password when requested, you don't see nothing when you type it, then press enter.

Then try to reinstall codeblocks

Hope this helps

Revision history for this message
AZtech (az-tech) said :
#2

Thank you very much...It works again

Revision history for this message
AZtech (az-tech) said :
#3

Thanks marcobra (Marco Braida), that solved my question.

Revision history for this message
Beto (sabroso) said :
#4

hola como cambio al español codeblocks