[SOLVED] Ubuntu 15.10- Trouble updating apt repositories

CodeLite installation/troubleshooting forum
jdhthegr8
CodeLite Curious
Posts: 2
Joined: Tue Jan 05, 2016 10:02 am
Genuine User: Yes
IDE Question: IDK
Contact:

[SOLVED] Ubuntu 15.10- Trouble updating apt repositories

Post by jdhthegr8 »

Hey guys, first post here. I'm trying to install wxWidgets as according to this guide (http://codelite.org/LiteEditor/WxWidgets30Binaries#toc2), but I ran into trouble trying to add the repository to apt. Firstly, I run Lubuntu with Wily Werewolf which was not a distro listed on the available repositories so I should first ask will one of the older versions like Utopic run on my system? Either way the error I'm getting seems to be unrelated to that. I added the line for utopic's repository into my sources.list and it wrote fine, but when I ran sudo apt-get update, it gave me an error at the end:

W: GPG error: http://repos.codelite.org utopic InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 6856E1DB1AC82609

What could be causing this? I made sure to enter
apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
before attempting the update. I'm still pretty noobish with Linux in general so any advice would be appreciated!
Last edited by jdhthegr8 on Wed Jan 13, 2016 10:55 am, edited 1 time in total.
DavidGH
CodeLite Plugin
Posts: 819
Joined: Wed Sep 03, 2008 7:26 pm
Contact:

Re: Ubuntu 15.10- Trouble updating apt repositories

Post by DavidGH »

Hi,
I made sure to enter
apt-key adv --fetch-keys http://repos.codelite.org/CodeLite.asc
On a sudo-using distro like the *buntus, that should have been: sudo apt-key....
...which was not a distro listed on the available repositories
That's because it's not necessary: with recent versions like wily, wx3.0.2 is in the official repo. All you need to do is to follow the instructions for installing CodeLite itself; the wxWidgets libraries should be installed as dependencies.

If you intend to develop programs that require wxWidgets, you will also need the corresponding wxWidgets dev packages.

Regards,

Dvid
jdhthegr8
CodeLite Curious
Posts: 2
Joined: Tue Jan 05, 2016 10:02 am
Genuine User: Yes
IDE Question: IDK
Contact:

Re: Ubuntu 15.10- Trouble updating apt repositories

Post by jdhthegr8 »

Didn't notice someone had replied, thanks for the prompt one! And this solved my problems, thanks a lot for pointing it out for me!
Post Reply