404 error for CodeBlocks repository when I update my system [duplicate]
This question already has an answer here:
How can I fix a 404 Error when using a PPA or updating my package lists?
8 answers
I installed Code:Blocks on my Ubuntu 18.04 LTS. It works fine for now and I don't have any problem with it. But when I update my system using
sudo apt-get update && sudo apt-get upgrade -y
I get an error saying
Err:7 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Now, when I delete http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic
in the Software Center, Code:Blocks doesn't run the programs I've written. Having this error doesn't seem to harm anything but it is annoying.
How to solve this? I'm taking C courses in school, so I need some compiler in order to do my homeworks, but I am open to use something different. Thanks
package-management ppa code-blocks
marked as duplicate by karel, Fabby, Charles Green, Eric Carvalho, N0rbert Dec 22 '18 at 9:29
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
add a comment |
This question already has an answer here:
How can I fix a 404 Error when using a PPA or updating my package lists?
8 answers
I installed Code:Blocks on my Ubuntu 18.04 LTS. It works fine for now and I don't have any problem with it. But when I update my system using
sudo apt-get update && sudo apt-get upgrade -y
I get an error saying
Err:7 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Now, when I delete http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic
in the Software Center, Code:Blocks doesn't run the programs I've written. Having this error doesn't seem to harm anything but it is annoying.
How to solve this? I'm taking C courses in school, so I need some compiler in order to do my homeworks, but I am open to use something different. Thanks
package-management ppa code-blocks
marked as duplicate by karel, Fabby, Charles Green, Eric Carvalho, N0rbert Dec 22 '18 at 9:29
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Please add output ofapt-cache policy codeblocks
to the question. What version of CodeBlock do you want to install?
– N0rbert
Dec 21 '18 at 9:01
Codeblocks
package available on Universe repository see this or at thepasgui
's ppa like mentioned @Norbert answered!!!
– abu-ahmed al-khatiri
Dec 21 '18 at 10:03
add a comment |
This question already has an answer here:
How can I fix a 404 Error when using a PPA or updating my package lists?
8 answers
I installed Code:Blocks on my Ubuntu 18.04 LTS. It works fine for now and I don't have any problem with it. But when I update my system using
sudo apt-get update && sudo apt-get upgrade -y
I get an error saying
Err:7 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Now, when I delete http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic
in the Software Center, Code:Blocks doesn't run the programs I've written. Having this error doesn't seem to harm anything but it is annoying.
How to solve this? I'm taking C courses in school, so I need some compiler in order to do my homeworks, but I am open to use something different. Thanks
package-management ppa code-blocks
This question already has an answer here:
How can I fix a 404 Error when using a PPA or updating my package lists?
8 answers
I installed Code:Blocks on my Ubuntu 18.04 LTS. It works fine for now and I don't have any problem with it. But when I update my system using
sudo apt-get update && sudo apt-get upgrade -y
I get an error saying
Err:7 http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic Release
404 Not Found [IP: 91.189.95.83 80]
Reading package lists... Done
E: The repository 'http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Now, when I delete http://ppa.launchpad.net/damien-moore/codeblocks-stable/ubuntu bionic
in the Software Center, Code:Blocks doesn't run the programs I've written. Having this error doesn't seem to harm anything but it is annoying.
How to solve this? I'm taking C courses in school, so I need some compiler in order to do my homeworks, but I am open to use something different. Thanks
This question already has an answer here:
How can I fix a 404 Error when using a PPA or updating my package lists?
8 answers
package-management ppa code-blocks
package-management ppa code-blocks
edited Dec 21 '18 at 15:28
Zanna
50.3k13133241
50.3k13133241
asked Dec 21 '18 at 8:22
sarpsarp
3016
3016
marked as duplicate by karel, Fabby, Charles Green, Eric Carvalho, N0rbert Dec 22 '18 at 9:29
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
marked as duplicate by karel, Fabby, Charles Green, Eric Carvalho, N0rbert Dec 22 '18 at 9:29
This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.
Please add output ofapt-cache policy codeblocks
to the question. What version of CodeBlock do you want to install?
– N0rbert
Dec 21 '18 at 9:01
Codeblocks
package available on Universe repository see this or at thepasgui
's ppa like mentioned @Norbert answered!!!
– abu-ahmed al-khatiri
Dec 21 '18 at 10:03
add a comment |
Please add output ofapt-cache policy codeblocks
to the question. What version of CodeBlock do you want to install?
– N0rbert
Dec 21 '18 at 9:01
Codeblocks
package available on Universe repository see this or at thepasgui
's ppa like mentioned @Norbert answered!!!
– abu-ahmed al-khatiri
Dec 21 '18 at 10:03
Please add output of
apt-cache policy codeblocks
to the question. What version of CodeBlock do you want to install?– N0rbert
Dec 21 '18 at 9:01
Please add output of
apt-cache policy codeblocks
to the question. What version of CodeBlock do you want to install?– N0rbert
Dec 21 '18 at 9:01
Codeblocks
package available on Universe repository see this or at the pasgui
's ppa like mentioned @Norbert answered!!!– abu-ahmed al-khatiri
Dec 21 '18 at 10:03
Codeblocks
package available on Universe repository see this or at the pasgui
's ppa like mentioned @Norbert answered!!!– abu-ahmed al-khatiri
Dec 21 '18 at 10:03
add a comment |
2 Answers
2
active
oldest
votes
That PPA appears to be for older versions of Ubuntu that don't include a modern version of the codeblocks
package:
- https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-stable
Notice it's for 16.04 versions of Ubuntu, which is why your modern (18.04 bionic) version cannot find files on that PPA. It doesn't make a difference though because Ubuntu Bionic contains Version: 16.01+dfsg-2.1
of codeblocks
anyhow.
If you want to compile C code on Ubuntu the easiest way to make sure you have the compiler and it's associated files is to install the build-essential
package:
sudo apt install build-essential
You should now have the gcc
and g++
commands for building C/C++ and other languages supported by it. Save this as hello.c
#include <stdio.h>
int main() { printf("hellon"); }
Then compile it:
gcc hello.c
Then run it:
./a.out
add a comment |
As was mentioned - the ppa:damien-moore/codeblocks-stable
do not have packages for 18.04.
But search on Launchpad for Code::Blocks related PPAs results in other PPA named ppa:pasgui/ppa
.
You can add it with
sudo add-apt-repository ppa:pasgui/ppa
sudo apt-get install codeblocks
and you will get CodeBlocks 17.12.
Optionally you can install contrib plugins with
sudo apt-get install codeblocks-contrib
and enjoy the plugins.
add a comment |
2 Answers
2
active
oldest
votes
2 Answers
2
active
oldest
votes
active
oldest
votes
active
oldest
votes
That PPA appears to be for older versions of Ubuntu that don't include a modern version of the codeblocks
package:
- https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-stable
Notice it's for 16.04 versions of Ubuntu, which is why your modern (18.04 bionic) version cannot find files on that PPA. It doesn't make a difference though because Ubuntu Bionic contains Version: 16.01+dfsg-2.1
of codeblocks
anyhow.
If you want to compile C code on Ubuntu the easiest way to make sure you have the compiler and it's associated files is to install the build-essential
package:
sudo apt install build-essential
You should now have the gcc
and g++
commands for building C/C++ and other languages supported by it. Save this as hello.c
#include <stdio.h>
int main() { printf("hellon"); }
Then compile it:
gcc hello.c
Then run it:
./a.out
add a comment |
That PPA appears to be for older versions of Ubuntu that don't include a modern version of the codeblocks
package:
- https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-stable
Notice it's for 16.04 versions of Ubuntu, which is why your modern (18.04 bionic) version cannot find files on that PPA. It doesn't make a difference though because Ubuntu Bionic contains Version: 16.01+dfsg-2.1
of codeblocks
anyhow.
If you want to compile C code on Ubuntu the easiest way to make sure you have the compiler and it's associated files is to install the build-essential
package:
sudo apt install build-essential
You should now have the gcc
and g++
commands for building C/C++ and other languages supported by it. Save this as hello.c
#include <stdio.h>
int main() { printf("hellon"); }
Then compile it:
gcc hello.c
Then run it:
./a.out
add a comment |
That PPA appears to be for older versions of Ubuntu that don't include a modern version of the codeblocks
package:
- https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-stable
Notice it's for 16.04 versions of Ubuntu, which is why your modern (18.04 bionic) version cannot find files on that PPA. It doesn't make a difference though because Ubuntu Bionic contains Version: 16.01+dfsg-2.1
of codeblocks
anyhow.
If you want to compile C code on Ubuntu the easiest way to make sure you have the compiler and it's associated files is to install the build-essential
package:
sudo apt install build-essential
You should now have the gcc
and g++
commands for building C/C++ and other languages supported by it. Save this as hello.c
#include <stdio.h>
int main() { printf("hellon"); }
Then compile it:
gcc hello.c
Then run it:
./a.out
That PPA appears to be for older versions of Ubuntu that don't include a modern version of the codeblocks
package:
- https://launchpad.net/~damien-moore/+archive/ubuntu/codeblocks-stable
Notice it's for 16.04 versions of Ubuntu, which is why your modern (18.04 bionic) version cannot find files on that PPA. It doesn't make a difference though because Ubuntu Bionic contains Version: 16.01+dfsg-2.1
of codeblocks
anyhow.
If you want to compile C code on Ubuntu the easiest way to make sure you have the compiler and it's associated files is to install the build-essential
package:
sudo apt install build-essential
You should now have the gcc
and g++
commands for building C/C++ and other languages supported by it. Save this as hello.c
#include <stdio.h>
int main() { printf("hellon"); }
Then compile it:
gcc hello.c
Then run it:
./a.out
answered Dec 21 '18 at 9:38
Kristopher IvesKristopher Ives
1,88011016
1,88011016
add a comment |
add a comment |
As was mentioned - the ppa:damien-moore/codeblocks-stable
do not have packages for 18.04.
But search on Launchpad for Code::Blocks related PPAs results in other PPA named ppa:pasgui/ppa
.
You can add it with
sudo add-apt-repository ppa:pasgui/ppa
sudo apt-get install codeblocks
and you will get CodeBlocks 17.12.
Optionally you can install contrib plugins with
sudo apt-get install codeblocks-contrib
and enjoy the plugins.
add a comment |
As was mentioned - the ppa:damien-moore/codeblocks-stable
do not have packages for 18.04.
But search on Launchpad for Code::Blocks related PPAs results in other PPA named ppa:pasgui/ppa
.
You can add it with
sudo add-apt-repository ppa:pasgui/ppa
sudo apt-get install codeblocks
and you will get CodeBlocks 17.12.
Optionally you can install contrib plugins with
sudo apt-get install codeblocks-contrib
and enjoy the plugins.
add a comment |
As was mentioned - the ppa:damien-moore/codeblocks-stable
do not have packages for 18.04.
But search on Launchpad for Code::Blocks related PPAs results in other PPA named ppa:pasgui/ppa
.
You can add it with
sudo add-apt-repository ppa:pasgui/ppa
sudo apt-get install codeblocks
and you will get CodeBlocks 17.12.
Optionally you can install contrib plugins with
sudo apt-get install codeblocks-contrib
and enjoy the plugins.
As was mentioned - the ppa:damien-moore/codeblocks-stable
do not have packages for 18.04.
But search on Launchpad for Code::Blocks related PPAs results in other PPA named ppa:pasgui/ppa
.
You can add it with
sudo add-apt-repository ppa:pasgui/ppa
sudo apt-get install codeblocks
and you will get CodeBlocks 17.12.
Optionally you can install contrib plugins with
sudo apt-get install codeblocks-contrib
and enjoy the plugins.
edited Dec 21 '18 at 9:53
answered Dec 21 '18 at 9:48
N0rbertN0rbert
21.6k547101
21.6k547101
add a comment |
add a comment |
Please add output of
apt-cache policy codeblocks
to the question. What version of CodeBlock do you want to install?– N0rbert
Dec 21 '18 at 9:01
Codeblocks
package available on Universe repository see this or at thepasgui
's ppa like mentioned @Norbert answered!!!– abu-ahmed al-khatiri
Dec 21 '18 at 10:03