LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 10-02-2009, 01:49 PM   #1
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Rep: Reputation: 38
Need help with sources.list and importing keys


I got the following sources.list from:
Debian Sources List Generator
http://debgen.simplylinux.ch/#

Quote:
#############################################################
################### OFFICIAL DEBIAN REPOS ###################
#############################################################

###### Debian Main Repos
deb http://ftp.ca.debian.org/debian/ lenny main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ lenny main contrib non-free

###### Debian Update Repos
deb http://security.debian.org/ lenny/updates main contrib non-free
deb http://ftp.ca.debian.org/debian/ lenny-proposed-updates main contrib non-free
deb http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free
deb-src http://security.debian.org/ lenny/updates main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ lenny-proposed-updates main contrib non-free
deb-src http://volatile.debian.org/debian-volatile lenny/volatile main contrib non-free

##############################################################
##################### UNOFFICIAL REPOS ######################
##############################################################

###### 3rd Party Binary Repos

#### Debian Backports - http://www.backports.org
## Run this command: gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16BA136C && gpg --export 16BA136C | apt-key add -
deb http://www.backports.org/debian lenny-backports main contrib non-free

#### Debian Multimedia - http://www.debian-multimedia.org/
## Run this command: apt-get update && apt-get install debian-multimedia-keyring && apt-get update
deb http://www.debian-multimedia.org/ lenny main

#### Debian Unofficial - http://debian-unofficial.org/
## Run this command: apt-get install debian-unofficial-archive-keyring
deb http://ftp.debian-unofficial.org/debian lenny main contrib non-free restricted

#### Lenny and a Half - http://wiki.debian.org/LennyAndAHalf
deb ftp://ftp.debian.org/debian lenny-proposed-updates main

#### Wine - http://www.winehq.org/
## Run this command: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | apt-key add -
deb http://www.lamaresh.net/apt lenny main


####### 3rd Party Source Repos

#### Wine (Source) - http://www.winehq.org/
## Run this command: wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | apt-key add -
deb-src http://www.lamaresh.net/apt lenny main


#Getting the GPG keys:
#gpg --keyserver hkp://subkeys.pgp.net --recv-keys 16BA136C && gpg --export 16BA136C | apt-key add -
#apt-get update && apt-get install debian-multimedia-keyring && apt-get update
# apt-get install debian-unofficial-archive-keyring
#
#wget -q http://wine.budgetdedicated.com/apt/387EE263.gpg -O- | apt-key add -
I updated the package list and got some errors:
sorry for all the information. I didn't know what to include.
Quote:
debian:~# aptitude update
E: Invalid record in the preferences file, no Package header
E: Invalid record in the preferences file, no Package header
Hit http://ftp.ca.debian.org lenny Release.gpg
Ign http://ftp.ca.debian.org lenny/main Translation-en_CA
Ign http://ftp.ca.debian.org lenny/contrib Translation-en_CA
Ign http://ftp.ca.debian.org lenny/non-free Translation-en_CA
Hit http://ftp.ca.debian.org lenny-proposed-updates Release.gpg
Ign http://ftp.ca.debian.org lenny-proposed-updates/main Translation-en_CA
Ign http://ftp.ca.debian.org lenny-proposed-updates/contrib Translation-en_CA
Ign http://ftp.ca.debian.org lenny-proposed-updates/non-free Translation-en_CA
Hit http://ftp.ca.debian.org lenny Release
Hit http://www.backports.org lenny-backports Release.gpg
Ign http://www.backports.org lenny-backports/main Translation-en_CA
Ign http://ftp.debian-unofficial.org lenny Release.gpg
Ign http://ftp.debian-unofficial.org lenny/main Translation-en_CA
Hit http://ftp.ca.debian.org lenny-proposed-updates Release
Get:1 http://www.lamaresh.net lenny Release.gpg [197B]
Ign http://www.lamaresh.net lenny/main Translation-en_CA
Hit http://www.debian-multimedia.org lenny Release.gpg
Hit http://www.debian-multimedia.org lenny/main Translation-en_CA
Ign http://ftp.ca.debian.org lenny/main Packages/DiffIndex
Hit http://volatile.debian.org lenny/volatile Release.gpg
Ign http://volatile.debian.org lenny/volatile/main Translation-en_CA
Ign http://volatile.debian.org lenny/volatile/contrib Translation-en_CA
Ign http://www.backports.org lenny-backports/contrib Translation-en_CA
Ign http://www.backports.org lenny-backports/non-free Translation-en_CA
Ign http://ftp.debian-unofficial.org lenny/contrib Translation-en_CA
Ign http://ftp.debian-unofficial.org lenny/non-free Translation-en_CA
Ign http://ftp.debian-unofficial.org lenny/restricted Translation-en_CA
Hit http://www.backports.org lenny-backports Release
Ign http://ftp.debian-unofficial.org lenny Release
Hit http://security.debian.org lenny/updates Release.gpg
Ign http://security.debian.org lenny/updates/main Translation-en_CA
Ign http://volatile.debian.org lenny/volatile/non-free Translation-en_CA
Hit http://volatile.debian.org lenny/volatile Release
Hit http://www.lamaresh.net lenny Release
Err http://www.lamaresh.net lenny Release

Ign http://ftp.ca.debian.org lenny/contrib Packages/DiffIndex
Ign http://ftp.ca.debian.org lenny/non-free Packages/DiffIndex
Ign http://ftp.ca.debian.org lenny/main Sources/DiffIndex
Ign http://ftp.ca.debian.org lenny/contrib Sources/DiffIndex
Ign http://ftp.ca.debian.org lenny/non-free Sources/DiffIndex
Hit http://ftp.ca.debian.org lenny-proposed-updates/main Packages/DiffIndex
Hit http://ftp.ca.debian.org lenny-proposed-updates/contrib Packages/DiffIndex
Hit http://www.debian-multimedia.org lenny Release
Ign http://security.debian.org lenny/updates/contrib Translation-en_CA
Ign http://security.debian.org lenny/updates/non-free Translation-en_CA
Hit http://security.debian.org lenny/updates Release
Ign http://www.backports.org lenny-backports/main Packages/DiffIndex
Ign http://ftp.debian-unofficial.org lenny/main Packages
Hit http://ftp.ca.debian.org lenny-proposed-updates/non-free Packages/DiffIndex
Hit http://ftp.ca.debian.org lenny-proposed-updates/main Sources/DiffIndex
Hit http://ftp.ca.debian.org lenny-proposed-updates/contrib Sources/DiffIndex
Hit http://ftp.ca.debian.org lenny-proposed-updates/non-free Sources/DiffIndex
Hit http://ftp.ca.debian.org lenny/main Packages
Ign http://volatile.debian.org lenny/volatile/main Packages/DiffIndex
Hit http://ftp.ca.debian.org lenny/contrib Packages
Hit http://ftp.ca.debian.org lenny/non-free Packages
Hit http://ftp.ca.debian.org lenny/main Sources
Hit http://ftp.ca.debian.org lenny/contrib Sources
Hit http://ftp.ca.debian.org lenny/non-free Sources
Get:2 http://www.lamaresh.net lenny Release [1558B]
Ign http://www.lamaresh.net lenny Release
Ign http://security.debian.org lenny/updates/main Packages/DiffIndex
Ign http://ftp.debian-unofficial.org lenny/contrib Packages
Ign http://ftp.debian-unofficial.org lenny/non-free Packages
Ign http://ftp.debian-unofficial.org lenny/restricted Packages
Ign http://www.backports.org lenny-backports/contrib Packages/DiffIndex
Ign http://www.backports.org lenny-backports/non-free Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/contrib Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/non-free Packages/DiffIndex
Hit http://www.debian-multimedia.org lenny/main Packages/DiffIndex
Ign http://security.debian.org lenny/updates/contrib Packages/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Packages/DiffIndex
Ign http://security.debian.org lenny/updates/main Sources/DiffIndex
Hit ftp://ftp.debian.org lenny-proposed-updates Release.gpg
Ign http://ftp.debian-unofficial.org lenny/main Packages
Ign http://ftp.debian-unofficial.org lenny/contrib Packages
Ign http://ftp.debian-unofficial.org lenny/non-free Packages
Hit http://www.backports.org lenny-backports/main Packages
Hit http://www.backports.org lenny-backports/contrib Packages
Ign http://www.lamaresh.net lenny/main Packages/DiffIndex
Ign http://volatile.debian.org lenny/volatile/main Sources/DiffIndex
Ign http://volatile.debian.org lenny/volatile/contrib Sources/DiffIndex
Ign http://volatile.debian.org lenny/volatile/non-free Sources/DiffIndex
Hit http://volatile.debian.org lenny/volatile/main Packages
Ign http://security.debian.org lenny/updates/contrib Sources/DiffIndex
Ign http://security.debian.org lenny/updates/non-free Sources/DiffIndex
Hit http://security.debian.org lenny/updates/main Packages
Hit http://volatile.debian.org lenny/volatile/contrib Packages
Hit http://volatile.debian.org lenny/volatile/non-free Packages
Hit http://volatile.debian.org lenny/volatile/main Sources
Hit http://volatile.debian.org lenny/volatile/contrib Sources
Hit http://volatile.debian.org lenny/volatile/non-free Sources
Hit http://www.backports.org lenny-backports/non-free Packages
Ign http://ftp.debian-unofficial.org lenny/restricted Packages
Err http://ftp.debian-unofficial.org lenny/main Packages
404 Not Found
Hit http://security.debian.org lenny/updates/contrib Packages
Hit http://security.debian.org lenny/updates/non-free Packages
Hit http://security.debian.org lenny/updates/main Sources
Hit http://security.debian.org lenny/updates/contrib Sources
Ign http://www.lamaresh.net lenny/main Sources
Get:3 ftp://ftp.debian.org lenny-proposed-updates/main Translation-en_CA
Hit http://security.debian.org lenny/updates/non-free Sources
Err http://ftp.debian-unofficial.org lenny/contrib Packages
404 Not Found
Ign http://www.lamaresh.net lenny/main Packages
Err http://ftp.debian-unofficial.org lenny/non-free Packages
404 Not Found
Err http://ftp.debian-unofficial.org lenny/restricted Packages
404 Not Found
Ign http://www.lamaresh.net lenny/main Sources
Ign ftp://ftp.debian.org lenny-proposed-updates/main Translation-en_CA
Hit http://www.lamaresh.net lenny/main Packages
Hit ftp://ftp.debian.org lenny-proposed-updates Release
Err http://www.lamaresh.net lenny/main Sources
404 Not Found
Hit ftp://ftp.debian.org lenny-proposed-updates/main Packages/DiffIndex
Fetched 1755B in 2s (639B/s)
Reading package lists... Done
W: GPG error: http://www.lamaresh.net lenny Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 905C75258D4B24D2
W: You may want to run apt-get update to correct these problems
E: Invalid record in the preferences file, no Package header

E: Invalid record in the preferences file, no Package header
I think I might need some different addresses for the repositories.
would appreciate some advice.

I also tried to import some keys into apt and received these errors:
Code:
apt-get install debian-multimedia-keyring
Reading package lists... Done
E: Invalid record in the preferences file, no Package header

debian:~# apt-get install debian-unofficial-archive-keyring
Reading package lists... Done
E: Invalid record in the preferences file, no Package header

Last edited by JosephS; 10-02-2009 at 03:34 PM.
 
Old 10-02-2009, 02:25 PM   #2
repo
LQ 5k Club
 
Registered: May 2001
Location: Belgium
Distribution: Arch
Posts: 8,529

Rep: Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899Reputation: 899
In a terminal, as root
Code:
gpg --keyserver subkeys.pgp.net --recv-keys 905C75258D4B24D2
gpg --armor --export  905C75258D4B24D2 | apt-key add -
apt-get update
subkeys.pgp.net seems slow though, if it doesn't work, press CTRL-C and try again
 
1 members found this post helpful.
Old 10-02-2009, 03:37 PM   #3
craigevil
Senior Member
 
Registered: Apr 2005
Location: OZ
Distribution: Debian Sid/RPIOS
Posts: 4,884
Blog Entries: 28

Rep: Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533Reputation: 533
Is debian -unofficial even being maintained these days?
Also you have wine and proposed-updates twice.
 
  


Reply



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
disabling cd sources in apt/sources.list revod_neb Linux - Newbie 4 05-25-2013 12:03 PM
KGpg setting for importing public keys linuxbeliever Debian 2 06-12-2007 12:17 PM
Need Recommendation for Debian Etch sources.list ( /etc/apt/sources.list ) forgox Debian 6 05-05-2007 01:57 PM
smart error importing gpg keys emg SUSE / openSUSE 2 08-21-2006 04:23 PM
Ubuntu Sources List! I need some great sources lists! Jengo Linux - Newbie 1 06-24-2005 04:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 09:46 AM.

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