LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 09-11-2012, 08:45 PM   #16
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176

Thank you for telling me no. I'm glad I waited for you to advise or I would have ran that-

I'm on my way to fix my sources list. Than I will try to execute:
Code:
apt-get update
I'll post back and let you know if all is well or not.
 
Old 09-11-2012, 09:48 PM   #17
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I fixed my sources list however I am still getting errors with apt-get update-
I don't understand.
Code:
Password: 
root@mock:/home/ztcoracat# apt-get update
Hit http://ftp.us.debian.org squeeze Release.gpg
Hit http://http.us.debian.org squeeze Release.gpg                              
Ign http://http.us.debian.org/debian/ squeeze/contrib Translation-en           
Ign http://http.us.debian.org/debian/ squeeze/contrib Translation-en_US        
Ign http://http.us.debian.org/debian/ squeeze/main Translation-en              
Ign http://http.us.debian.org/debian/ squeeze/main Translation-en_US           
Get:1 http://www.deb-multimedia.org squeeze Release.gpg [198 B]                
Ign http://www.deb-multimedia.org/ squeeze/main Translation-en                 
Ign http://www.deb-multimedia.org/ squeeze/main Translation-en_US              
Ign http://www.deb-multimedia.org/ squeeze/non-free Translation-en             
Ign http://www.deb-multimedia.org/ squeeze/non-free Translation-en_US          
Get:2 http://mozilla.debian.net squeeze-backports Release.gpg [828 B]          
Ign http://mozilla.debian.net/ squeeze-backports/iceweasel-release Translation-en
Ign http://mozilla.debian.net/ squeeze-backports/iceweasel-release Translation-en_US
Hit http://http.us.debian.org squeeze Release                                  
Get:3 http://security.debian.org squeeze/updates Release.gpg [836 B]           
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en         
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_US      
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en            
Ign http://ftp.us.debian.org/debian/ squeeze/contrib Translation-en_US         
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en               
Ign http://ftp.us.debian.org/debian/ squeeze/main Translation-en_US            
Ign http://ftp.us.debian.org/debian/ squeeze/non-free Translation-en           
Ign http://ftp.us.debian.org/debian/ squeeze/non-free Translation-en_US        
Get:4 http://ftp.us.debian.org squeeze-proposed-updates Release.gpg [836 B]    
Get:5 http://backports.debian.org squeeze-backports Release.gpg [836 B]        
Ign http://backports.debian.org/debian-backports/ squeeze-backports/contrib Translation-en
Ign http://backports.debian.org/debian-backports/ squeeze-backports/contrib Translation-en_US
Get:6 http://www.deb-multimedia.org squeeze Release [24.1 kB]                  
Ign http://www.deb-multimedia.org squeeze Release                              
Get:7 http://ftp.us.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en [364 B]
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en_US
Ign http://security.debian.org/ squeeze/updates/main Translation-en            
Ign http://security.debian.org/ squeeze/updates/main Translation-en_US         
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en        
Ign http://security.debian.org/ squeeze/updates/non-free Translation-en_US     
Get:8 http://security.debian.org squeeze/updates Release [86.9 kB]             
Get:9 http://mozilla.debian.net squeeze-backports Release [15.3 kB]            
Ign http://mozilla.debian.net squeeze-backports Release                        
Hit http://http.us.debian.org squeeze/contrib amd64 Packages                   
Hit http://ftp.us.debian.org/debian/ squeeze-proposed-updates/main Translation-en
Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en
Ign http://backports.debian.org/debian-backports/ squeeze-backports/main Translation-en_US
Ign http://backports.debian.org/debian-backports/ squeeze-backports/non-free Translation-en
Ign http://backports.debian.org/debian-backports/ squeeze-backports/non-free Translation-en_US
Get:10 http://backports.debian.org squeeze-backports Release [77.6 kB]         
Hit http://www.deb-multimedia.org squeeze/main amd64 Packages/DiffIndex        
Hit http://http.us.debian.org squeeze/main amd64 Packages                      
Ign http://mozilla.debian.net squeeze-backports/iceweasel-release amd64 Packages/DiffIndex
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/main Translation-en_US
Get:11 http://ftp.us.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en [3,989 B]
Hit http://www.deb-multimedia.org squeeze/non-free amd64 Packages/DiffIndex    
Ign http://mozilla.debian.net squeeze-backports/iceweasel-release amd64 Packages
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en_US
Hit http://ftp.us.debian.org squeeze Release                                   
Hit http://mozilla.debian.net squeeze-backports/iceweasel-release amd64 Packages
Get:12 http://ftp.us.debian.org squeeze-proposed-updates Release [137 kB]      
Get:13 http://security.debian.org squeeze/updates/main amd64 Packages [263 kB] 
Hit http://backports.debian.org squeeze-backports/main amd64 Packages/DiffIndex
Get:14 http://backports.debian.org squeeze-backports/contrib amd64 Packages [4,618 B]
Get:15 http://backports.debian.org squeeze-backports/non-free amd64 Packages [19.2 kB]
Get:16 http://security.debian.org squeeze/updates/contrib amd64 Packages [677 B]
Get:17 http://security.debian.org squeeze/updates/non-free amd64 Packages [14 B]
Hit http://ftp.us.debian.org squeeze/main amd64 Packages                       
Hit http://ftp.us.debian.org squeeze/contrib amd64 Packages
Hit http://backports.debian.org squeeze-backports/main amd64 Packages
Hit http://ftp.us.debian.org squeeze/non-free amd64 Packages
Hit http://ftp.us.debian.org squeeze-proposed-updates/contrib amd64 Packages/DiffIndex
Hit http://ftp.us.debian.org squeeze-proposed-updates/non-free amd64 Packages/DiffIndex
Hit http://ftp.us.debian.org squeeze-proposed-updates/main amd64 Packages/DiffIndex
Fetched 597 kB in 4s (141 kB/s)
Reading package lists... Done
W: GPG error: http://www.deb-multimedia.org squeeze Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 07DC563D1F41B907
W: GPG error: http://mozilla.debian.net squeeze-backports Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 85A3D26506C4AE2A
Very confused-
 
Old 09-11-2012, 09:52 PM   #18
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

these are the exact same errors you were getting before. It is because you have not yet imported the keys of the deb-multimedia.org or mozilla.debian.net repositories.

Evo2.
 
1 members found this post helpful.
Old 09-11-2012, 10:09 PM   #19
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I'm trying to get it right-
Code:
root@mock:/home/ztcoracat# gpg --export --armor 85A3D26506C4AE2A > tmp.key
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: WARNING: nothing exported
gpg: can't open `85A3D26506C4AE2A': No such file or directory
gpg: Total number processed: 0

I'm reading these article's to try to understand:
http://www.debuntu.org/how-to-import...t-gpg-key-pair
http://www.gnupg.org/documentation/m...ting-Keys.html

Last edited by Ztcoracat; 09-11-2012 at 10:16 PM. Reason: Website for self help
 
Old 09-11-2012, 10:31 PM   #20
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

ok, once more (as in post #6 with correction from post #10). As your normal user, please run the following:
Code:
gpg --keyserver subkeys.pgp.net --recv 85A3D26506C4AE2A
gpg --export --armor 85A3D26506C4AE2A > tmp.key
The two commands above do the following.
1. Download the mozilla key from the subkeys server and store in your gpg keyring.
2. Export the mozilla key from your keyring into a file called tmp.key

Next, as the root user do:
Code:
apt-key add tmp.key
This imports the mozilla key from the file tmp.key into apt. Here tmp.key is the same file that you created as your nomal user so you need to either be in the same directory (using cd) or specify the full path.

You need to repeat all three steps for each key you want to add. The above procedure is for the mozilla key, you will need to do it again for the deb-multimedia key, 07DC563D1F41B907

Evo2.
 
1 members found this post helpful.
Old 09-11-2012, 11:09 PM   #21
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
Craig helped me with Mozilla-
Code:
ztcoracat# apt-get install pkg-mozilla-archive-keyring
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following package was automatically installed and is no longer required:
  libxcb-render-util0
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
  pkg-mozilla-archive-keyring
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
Need to get 3,492 B of archives.
After this operation, 4,096 B of additional disk space will be used.
Get:1 http://backports.debian.org/debian-backports/ squeeze-backports/main pkg-mozilla-archive-keyring all 1.0~bpo60+1 [3,492 B]
Fetched 3,492 B in 0s (8,568 B/s)                      
Selecting previously deselected package pkg-mozilla-archive-keyring.
(Reading database ... 122725 files and directories currently installed.)
Unpacking pkg-mozilla-archive-keyring (from .../pkg-mozilla-archive-keyring_1.0~bpo60+1_all.deb) ...
Setting up pkg-mozilla-archive-keyring (1.0~bpo60+1) ...
[ Rootkit Hunter version 1.3.6 ]
File updated: searched for 162 files, found 130


If I understand you I do this with the commands and their arguments.
For the deb-mutimedia
Code:
gpg --keyserver subkeys.pgp.net --recv 07DC563D1F41B907
gpg --export --armor 07DC563D1F41B907 > tmp.key
And than execute:as root:
Code:
apt-key add tmp.key
 
Old 09-12-2012, 01:51 AM   #22
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484

Original Poster
Blog Entries: 15

Rep: Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176Reputation: 1176
I looked at the command:
<#apt-get install pkg-mozilla-archive-keyring> and really studied it and compared it to deb-multimedia.
So I tried typing in the terminal:
<#apt-get install pkg-deb-mulimedia-archive-keyring> the terminal returned:
Unable to locate pkg -deb-multimedia-archive-keyring
So I tried again only this time I eliminated the words pkg and archive and it worked.

I ran <#apt-get install deb-multimedia-keyring> it worked and afterwords I was able to run apt-get update!
What really helped me was this page:
http://deb-multimedia.org/

Eairlier in the thread you advised me to look up mv and cp.
mv file1 file2, mv -i file1 file2, and mv dir1 dir2 and cp file1 file2, cp -i and cp -R dir1 dir2
I found the rule for all 3 ways to use move and all 3 ways to copy and wrote them down.
Once I use these methods a few times I'm pretty certain I will have the gest of it.

This was helpful Evo thank you

I've also learned from you that there is more than one way to communicate with the terminal.
 
  


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
failed to fetch dyeadon Linux - Newbie 2 07-26-2011 07:52 AM
Apt Security Update Failed carlosinfl Debian 2 04-24-2011 07:33 PM
Failed to update system: Authorisation could not be obtained exuroo Linux - Newbie 1 01-05-2009 06:40 AM
apt-get Failed to fetch...Size mismatch noeffort Linux - Software 2 03-24-2007 02:55 PM
Failed system update blindcyde Fedora 2 04-22-2004 03:50 AM

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

All times are GMT -5. The time now is 01:07 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