I have a problem in installing codeblocks20.03 on my ubuntu 20.04LTS

Asked by Lin Guanhua

I input this code on the terminal to get codeblocks:

sudo add-apt-repository ppa:codeblocks-devs/release

but have a error:

error:16 http://ppa.launchpad.net/codeblocks-devs/release/ubuntu focal Release
  404 Not Found [IP: 91.189.95.83 80]
error:17 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu focal Release
  404 Not Found [IP: 91.189.95.83 80]

E: Warehouse "http://ppa.launchpad.net/codeblocks-devs/release/ubuntu focal Release" does not have a Release file.
N: It is not safe to update with the source, so the source is disabled by default.
N: See the apt-secure (8) manual for details on warehouse creation and user configuration.
E: Warehouse "http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu focal Release" does not have a Release file.
N: It is not safe to update with the source, so the source is disabled by default.
N: See the apt-secure (8) manual for details on warehouse creation and user configuration.

I try to use synaptic and "sudo apt update" to solve it, but both come out the same error.

I can`t find a solution that can work out on the Internet, and this problem has bothered me for 3 days....I hope someone can work it out!!!

Question information

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

Hello Lin Guanhua

The PPA "http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu" does not support focal.
See: http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu/dists/ that the last supported release is xenial.

Will have to await the PPA maintainer(s) to "work it out".

-hope this helps-

Revision history for this message
Lin Guanhua (karllin) said :
#2

Sinerely thanks for replying me! It really inspires me!
But since I am a new man of ubuntu..( just installed it also a few days ago)
I still wondering that do I have to await thePPA maintainer(s) to solve it? Or I can try to install the old version of codeblocks?

I try to install the simple version of codeblocks before, but it can`t bulid the code,
when I try the update that error come out.

So what can I do next to get the codeblocks??
-Hoping for reply-

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#3

You could find an alternative PPA or contact the PPA maintainer(s) to see if they are interested in supporting the newer release

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#4

https://launchpad.net/ubuntu/+ppas?name_filter=codeblocks

Remember to filter the PPA for Focal to see which PPAs support your release of Ubuntu.

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#5

It'd in the default repositories
https://packages.ubuntu.com/search?keywords=codeblocks&searchon=names&suite=focal&section=all

Why do you need a PPA at all?

Revision history for this message
Lin Guanhua (karllin) said :
#6

Cause I see that PPA is the officially recommended way to install it....
Now if I don`t use the PPA, is there any other way for me to get the codeblocks?

I have downloaded all the package on the website:
https://packages.ubuntu.com/search?keywords=codeblocks&searchon=names&suite=focal&section=all
But it still can`t build the code, alarming "it seems that this file has not been built yet".
I suppose that I have a mistaken codeblocks?

Revision history for this message
Lin Guanhua (karllin) said :
#7

And my codeblocks also mention that

Running startup script
Script plugin registered: Find Broken Files plugin
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
SpellChecker: Thesaurus files '/usr/share/mythes/th_en_US.idx' not found!
SpellChecker: Loading '/usr/share/mythes/th_en_US_v2.idx' instead...
NativeParser::DoFullParsing took: 0.118 seconds.
NativeParser::CreateParser: Finish creating a new parser for project '*NONE*'
NativeParser::OnParserEnd: Project '*NONE*' parsing stage done!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#8

It's in the official repository of Ubuntu so no additional PPA is required.

This should fix your missing files issue
https://amp.reddit.com/r/Codeblocksbeginners/comments/8mm3d9/th_en_usidx_not_found/

Revision history for this message
Lin Guanhua (karllin) said :
#9

I am so happy that you can fix my missing files issue!!!
Since I am a idiot of using ubuntu.....can you tell me how can I use this site?
THXTHXTHXTHXTHXTHX YOU!!!!!

Revision history for this message
actionparsnip (andrew-woodhead666) said :
#10

Just use the OS and learn just how you learned how to use Windows....

Revision history for this message
Lin Guanhua (karllin) said :
#11

I fix the missing files issues!

Running startup script
Script plugin registered: Find Broken Files plugin
Script/function 'edit_startup_script.script' registered under menu '&Settings/-Edit startup script'
NativeParser::DoFullParsing took: 0.057 seconds.
NativeParser::CreateParser: Finish creating a new parser for project '*NONE*'
NativeParser::OnParserEnd: Project '*NONE*' parsing stage done!

but my codeblocks still can`t build....

Revision history for this message
Lin Guanhua (karllin) said :
#12

Thanks Bashing-om, that solved my question.