LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-18-2009, 09:13 PM   #1
tomorrow
LQ Newbie
 
Registered: May 2009
Posts: 5

Rep: Reputation: 0
apt-get; E: Type 'GPG' is not known on line 20 in source list /etc/apt/sources.list


Ok, so I'm running a kinda old version of Ubuntu - Edgy Eft (6.10).

A friend of mine installed it a couple of years ago and I've never updated anything with apt-get until now.

So, now, it looks like it doesn't have / know how to use GPG.
I enter:
Code:
apt-get update
And I get:
Code:
E: Type 'GPG' is not known on line 20 in source list /etc/apt/sources.list
???

I'd appreciate any help. Thanks
 
Old 05-19-2009, 01:57 PM   #2
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Look at your /etc/apt/sources.list. My guess is something got uncommented by mistake.
 
Old 05-19-2009, 05:47 PM   #3
tomorrow
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Thanks Matir. Unfortunately, I don't think the problem is in /etc/apt/sources.list. I compared it line-for-line with a couple of sources.list samples posted on the web. It is exactly the same.
I considered simply commenting out the GPG lines, but wouldn't that compromise the security of the download?
 
Old 05-19-2009, 07:13 PM   #4
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
What do your GPG lines look like? None of my sources.list files contain any lines beginning with GPG (and it does verify signed packages).
 
Old 05-21-2009, 07:23 AM   #5
tomorrow
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Here is what lines 20 onward say:

Quote:
GPG Key Information

wget http://www.kubuntu.org/announcements...iddell-key.gpg | sudo apt-key add
 
Old 05-21-2009, 07:31 AM   #6
farslayer
LQ Guru
 
Registered: Oct 2005
Location: Northeast Ohio
Distribution: linuxdebian
Posts: 7,249
Blog Entries: 5

Rep: Reputation: 191Reputation: 191
that is a command you would manually type in a terminal to download and install a key..
it should not be in your sources list.
 
Old 05-21-2009, 08:12 AM   #7
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
Agreed with what farslayer said. For example, my sources.list looks like:
Code:
#deb cdrom:[Ubuntu 9.04 _Jaunty Jackalope_ - Alpha amd64 (20090207)]/ jaunty main restricted
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.

deb http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted
deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates main restricted

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ jaunty universe
deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty universe
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe
deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates universe

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
deb http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty multiverse
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-updates multiverse

## Uncomment the following two lines to add software from the 'backports'
## repository.
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
deb http://us.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse
deb-src http://us.archive.ubuntu.com/ubuntu/ jaunty-backports main restricted universe multiverse

## Uncomment the following two lines to add software from Canonical's
## 'partner' repository. This software is not part of Ubuntu, but is
## offered by Canonical and the respective vendors as a service to Ubuntu
## users.
# deb http://archive.canonical.com/ubuntu jaunty partner
# deb-src http://archive.canonical.com/ubuntu jaunty partner

deb http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb-src http://security.ubuntu.com/ubuntu jaunty-security main restricted
deb http://security.ubuntu.com/ubuntu jaunty-security universe
deb-src http://security.ubuntu.com/ubuntu jaunty-security universe
deb http://security.ubuntu.com/ubuntu jaunty-security multiverse
deb-src http://security.ubuntu.com/ubuntu jaunty-security multiverse
Where did you see samples with that line in it?
 
Old 05-21-2009, 08:22 AM   #8
tomorrow
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Keeping in mind, I'm running a pretty out-dated version (Edgy Eft) ...

Here's the link. This matched my list line-for-line:

http://www.ubuntugeek.com/ubuntu-edg...list-file.html
 
Old 05-21-2009, 08:33 AM   #9
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
That is the worst formatting for a source.list that I've ever seen.

Those lines are intended as comments within his text, I believe. The format for Edgy Eft's sources.list is no different from even Jaunty Jackalope. If you replace all instances of "jaunty" with "edgy" in what I posted, that should get you started with the base distro.

To be honest, though, you'll get a much better user experience if you reinstall with a newer version of Ubuntu. Newer and more software, fewer bugs, all the goodies. It doesn't seem like you have much invested in your current install, so you'd probably just need to back up the files in your home directory.
 
Old 05-21-2009, 08:42 AM   #10
tomorrow
LQ Newbie
 
Registered: May 2009
Posts: 5

Original Poster
Rep: Reputation: 0
Ok. Thanks guys. I'll do a backup and reinstall with the latest version.
 
  


Reply

Tags
apt, apt-get, gpg, sources, sourceslist



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
apt-get update errors since Debian released ( bad /etc/apt/sources.list ?) forgox Debian 10 06-13-2005 12:28 PM
apt-get sources.list utw-mephisto Debian 5 05-17-2005 11:36 PM
apt-get sources list davnetuk Fedora 1 08-26-2004 10:39 PM
total newbie type question-where do i find the good links for /etc/apt/sources.list? petkov Debian 2 03-28-2004 12:44 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 02:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration