Page 1 of 1

[SOLVED] Ubuntu 15.10- Trouble updating apt repositories

Posted: Tue Jan 05, 2016 10:09 am
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!

Re: Ubuntu 15.10- Trouble updating apt repositories

Posted: Tue Jan 05, 2016 1:52 pm
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

Re: Ubuntu 15.10- Trouble updating apt repositories

Posted: Wed Jan 13, 2016 10:54 am
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!