Page 1 of 1

are any of these "improvments" fixable?

Posted: Sat Jun 06, 2009 6:20 pm
by on0bi
so, i'm an avid user of ubuntu. i've been using it for quite some time but i find more and more that i don't know as much as i think i do about ubuntu and linux in general, so when i found out linux mint is a derivative of ubuntu, i had to check it out. to be honest, it impressed me. they really put it together well and it's user friendly, just like it's core. but i do have some questions i'd like answered.

firstly, in regards to software sources, ubuntu has an app literally called "software sources" where you can just input the APT line into a GUI and add third party repositories with two clicks. with linux mint, there is no such app. you must go into terminal and type out the command

Code: Select all

wget deb jaunty main
to add the APT line. now ok, that's no problem. it's basically the same amount of time needed to add a repo, you just have to remember the wget. But what if you need to authenticate the repo? I first encountered this problem when trying to install wine. i downloaded Scott Ritchie's key

Code: Select all

Version: GnuPG v1.4.2.2 (GNU/Linux)

as advised on and saved it as key.gpg. this is all normally what i do on ubuntu. If i don't, i get an error saying the repos are being ignored or whatever till i import this key file. then the repos for wine aren't ignored anymore. I posted a thread, and i got a good responce from kansasnoob
kansasnoob wrote:Follow this guide: ... positories

Do this instead:
Adding the keys in the terminal

If you're used to adding keys to your personal keyring, you'll still want to read this section as we're going to add the PPA's key to apt's keyring.

First up, visit the PPA's overview page. Let's go back to the AWN Testing team's PPA that we were looking at earlier.

Here you can see the fingerprint of the PPA's key. It'll look something like this: B0BE17C2A0C914F086B7B8327D2C7A23BF810CD5. Copy it and then open a terminal.

To add the AWN key, you'd enter this:

sudo apt-key adv --recv-keys --keyserver B0BE17C2A0C914F086B7B8327D2C7A23BF810CD5

Replace B0BE17C2A0C914F086B7B8327D2C7A23BF810CD5 with the fingerprint of the PPA key you're dealing with.

this is all good and well, but do i have to type out

Code: Select all

sudo apt-key adv --recv-keys --keyserver
each time i want to add key? you'd think there would just be an app to do that. but the thing is, i'm having doubts as to whether or not i'm going about this correctly. is there an app that does this already but i'm just too blind to see it?

secondly, adding and removing software. again, in ubuntu, there is an app that does this called "add/remove applications". in mint there is a program to that effect as well. I've used it to add some software, but i couldn't figure out how to remove it, other than using "synaptic package manager" and searching for it. But i think it would be more convenient to be able to remove software in the same application as adding it, don't you think? Is there a way to remove applications in the software manager as well as adding new ones?

if you read all of this, thank you for your concern. if you can help me out at all, i would be extremely grateful.


Re: are any of these "improvments" fixable?

Posted: Sat Jun 06, 2009 6:56 pm
by Carl
Mint Menu --> Package Manager --> Settings --> Repositories

If you want to do it via a GUI although you will still need to add the gpg key via terminal

The Easy Way

I add sources by typing:

Code: Select all

sudo gedit /etc/apt/sources.list

This brings up a text document where you just paste your source repo's at the bottom and then save it

after which you type:

Code: Select all

Sudo apt-get update
you will then get an error saying that the packages are being ignored because they couldnt be authenticated or something along those lines, it will also include a 16 digit code which you use as such below

Code: Select all

sudo apt-key adv --recv-keys --keyserver <INSERT 16 DIGIT CODE HERE> 
So as an example it would look like:

Code: Select all

sudo apt-key adv --recv-keys --keyserver B530D6DCB5140445
I hope that helps, also most of these can just be Copy & Pasted in :wink:

Re: are any of these "improvments" fixable?

Posted: Sun Jun 07, 2009 12:01 am
by Lantesh
To get the "add/remove" program that Ubuntu has run this in terminal.

Code: Select all

sudo apt-get install gnome-app-install
For adding keys there is a great script you can grab on this web page. ... A_GPG_Keys

Re: are any of these "improvments" fixable?

Posted: Sun Jun 07, 2009 2:07 am
by on0bi
thanks for your replies guys, they really helped out

Re: are any of these "improvments" fixable?

Posted: Sun Jun 07, 2009 2:55 am
by Lantesh
You're welcome. 8)