LinuxQuestions.org
View the Most Wanted LQ Wiki articles.
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, 12:55 AM   #1
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Rep: Reputation: Disabled
System Failed to fetch an apt-get update


I executed these 2 commands today to remove these packages as they are experimental and unstable.
Code:
apt-get purge xulrunner-15.0 
apt-get purge libmoxjs15d
The only other thing I performed on my system was using Synaptic Package Manager I installed " chkrootkit"

Did I remove packages that I should not have when I executed the above commands?

The terminal results from my attempt to update my packages is most alarming and I am upset. Please advise-
Code:
root@mock:/home/ztcoracat# apt-get update
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34] squeeze Release.gpg
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34]/ squeeze/contrib Translation-en
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34]/ squeeze/contrib Translation-en_US
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34]/ squeeze/main Translation-en
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34]/ squeeze/main Translation-en_US
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34] squeeze Release
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34] squeeze/contrib amd64 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34] squeeze/main amd64 Packages/DiffIndex
Get:1 http://securuty.debian.org squeeze/updates Release.gpg                   
Get:2 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          
Hit http://security.debian.org squeeze/updates Release.gpg                     
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en         
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en_US      
Hit http://ftp.us.debian.org squeeze Release.gpg                               
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        
Hit http://ftp.us.debian.org squeeze-proposed-updates Release.gpg              
Hit http://ftp.us.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en_US
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           
Hit http://backports.debian.org squeeze-backports Release.gpg                  
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
Get:3 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
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     
Hit http://security.debian.org squeeze/updates Release                         
Get:4 http://ftp.us.debian.org/debian/ squeeze-proposed-updates/main Translation-en [58.6 kB]
Get:5 http://www.deb-multimedia.org squeeze Release [24.1 kB]                  
Ign http://www.deb-multimedia.org squeeze Release                              
Hit http://http.us.debian.org squeeze Release                                  
Hit http://backports.debian.org squeeze-backports Release                      
Get:6 http://mozilla.debian.net squeeze-backports Release [15.3 kB]            
Ign http://mozilla.debian.net squeeze-backports Release                        
Hit http://security.debian.org squeeze/updates/main Sources                    
Hit http://http.us.debian.org squeeze/contrib Sources                          
Hit http://www.deb-multimedia.org squeeze/main amd64 Packages/DiffIndex        
Hit http://backports.debian.org squeeze-backports/main amd64 Packages/DiffIndex
Ign http://mozilla.debian.net squeeze-backports/iceweasel-release amd64 Packages/DiffIndex
Hit http://security.debian.org squeeze/updates/contrib Sources                 
Hit http://security.debian.org squeeze/updates/non-free Sources                
Hit http://security.debian.org squeeze/updates/main amd64 Packages             
Hit http://security.debian.org squeeze/updates/contrib amd64 Packages          
Hit http://security.debian.org squeeze/updates/non-free amd64 Packages         
Hit http://http.us.debian.org squeeze/main Sources                             
Hit http://http.us.debian.org squeeze/contrib amd64 Packages                   
Hit http://http.us.debian.org squeeze/main amd64 Packages                      
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/main Translation-en_US
Hit http://ftp.us.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en_US
Get:7 http://ftp.us.debian.org squeeze-proposed-updates Release.gpg [836 B]    
Hit http://ftp.us.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en_US
Get:8 http://ftp.us.debian.org/debian/ squeeze-proposed-updates/main Translation-en [58.6 kB]
63% [4 Translation-en bzip2 0 B] [8 Translation-en 842 B/58.6 kB 1%] [Waiting f
bzip2: Compressed file ends unexpectedly;
	perhaps it is corrupted?  *Possible* reason follows.
bzip2: Inappropriate ioctl for device
	Input file = (stdin), output file = (stdout)

It is possible that the compressed file(s) have become corrupted.
You can use the -tvv option to test integrity of such files.

You can use the `bzip2recover' program to attempt to recover
data from undamaged sections of corrupted files.

Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/main Translation-en
Hit http://www.deb-multimedia.org squeeze/non-free amd64 Packages/DiffIndex    
Hit http://backports.debian.org squeeze-backports/main amd64 Packages          
Ign http://mozilla.debian.net squeeze-backports/iceweasel-release amd64 Packages
Hit http://mozilla.debian.net squeeze-backports/iceweasel-release amd64 Packages
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/main Translation-en_US
Hit http://ftp.us.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en
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://ftp.us.debian.org squeeze-proposed-updates Release                  
Hit http://ftp.us.debian.org squeeze-proposed-updates Release                  
Hit http://ftp.us.debian.org squeeze/main Sources                              
Hit http://ftp.us.debian.org squeeze/contrib Sources                        
Hit http://ftp.us.debian.org squeeze/non-free Sources 
Hit http://ftp.us.debian.org squeeze/main amd64 Packages
Hit http://ftp.us.debian.org squeeze/contrib 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
Err http://securuty.debian.org/ squeeze/updates/contrib Translation-en      
  Could not connect to localhost:80 (127.0.0.1). - connect (111: Connection refused) [IP: 69.16.143.75 80]
Err http://securuty.debian.org/ squeeze/updates/contrib Translation-en_US
  Unable to connect to localhost:http: [IP: 69.16.143.75 80]
Err http://securuty.debian.org/ squeeze/updates/main Translation-en
  Unable to connect to localhost:http: [IP: 69.16.143.75 80]
Err http://securuty.debian.org/ squeeze/updates/main Translation-en_US
  Unable to connect to localhost:http: [IP: 69.16.143.75 80]
Err http://securuty.debian.org/ squeeze/updates/non-free Translation-en
  Unable to connect to localhost:http: [IP: 69.16.143.75 80]
Err http://securuty.debian.org/ squeeze/updates/non-free Translation-en_US
  Unable to connect to localhost:http: [IP: 69.16.143.75 80]
Get:9 http://securuty.debian.org squeeze/updates Release
Ign http://securuty.debian.org squeeze/updates Release
Ign http://securuty.debian.org squeeze/updates/main amd64 Packages
Ign http://securuty.debian.org squeeze/updates/contrib amd64 Packages
Ign http://securuty.debian.org squeeze/updates/non-free amd64 Packages
Err http://securuty.debian.org squeeze/updates/main amd64 Packages
  Unable to connect to localhost:http: [IP: 69.16.143.75 80]
Err http://securuty.debian.org squeeze/updates/contrib amd64 Packages
  Unable to connect to localhost:http: [IP: 69.16.143.75 80]
Err http://securuty.debian.org squeeze/updates/non-free amd64 Packages
  Unable to connect to localhost:http: [IP: 69.16.143.75 80]
Fetched 120 kB in 6s (19.6 kB/s)                                               
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
W: GPG error: http://securuty.debian.org squeeze/updates Release: The following signatures were invalid: NODATA 1 NODATA 2
W: Failed to fetch http://securuty.debian.org/dists/squeeze/updates/contrib/i18n/Translation-en.bz2  Could not connect to localhost:80 (127.0.0.1). - connect (111: Connection refused) [IP: 69.16.143.75 80]

W: Failed to fetch http://securuty.debian.org/dists/squeeze/updates/contrib/i18n/Translation-en_US.bz2  Unable to connect to localhost:http: [IP: 69.16.143.75 80]

W: Failed to fetch http://securuty.debian.org/dists/squeeze/updates/main/i18n/Translation-en.bz2  Unable to connect to localhost:http: [IP: 69.16.143.75 80]

W: Failed to fetch http://securuty.debian.org/dists/squeeze/updates/main/i18n/Translation-en_US.bz2  Unable to connect to localhost:http: [IP: 69.16.143.75 80]

W: Failed to fetch http://securuty.debian.org/dists/squeeze/updates/non-free/i18n/Translation-en.bz2  Unable to connect to localhost:http: [IP: 69.16.143.75 80]

W: Failed to fetch http://securuty.debian.org/dists/squeeze/updates/non-free/i18n/Translation-en_US.bz2  Unable to connect to localhost:http: [IP: 69.16.143.75 80]

W: Failed to fetch http://securuty.debian.org/dists/squeeze/updates/main/binary-amd64/Packages.gz  Unable to connect to localhost:http: [IP: 69.16.143.75 80]

W: Failed to fetch http://securuty.debian.org/dists/squeeze/updates/contrib/binary-amd64/Packages.gz  Unable to connect to localhost:http: [IP: 69.16.143.75 80]

W: Failed to fetch http://securuty.debian.org/dists/squeeze/updates/non-free/binary-amd64/Packages.gz  Unable to connect to localhost:http: [IP: 69.16.143.75 80]

E: Some index files failed to download, they have been ignored, or old ones used instead.
I'm a little worried
 
Old 09-11-2012, 01:15 AM   #2
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,202

Rep: Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120
Hi,

there appears to be at least one typo in your /etc/apt/sources.list. Please open that file in a text editor and replace each instance of "securuty" with "security" and then try to run "apt-get update" again. I think this may solve your problem.

Evo2.
 
Old 09-11-2012, 01:37 AM   #3
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Hi Evo:

I opened the terminal used nano to edit my sources.list and fixed the mispelled 'security' word-
Closed the terminal and tried to execute:
Code:
apt-get update
I got the same error again and the word security went back to the mispell that it was before I fixed it.

Before I closed the terminal after I edited my sources list I typed and held down Ctrl + O to save the changes-

What am I doing wrong?

Last edited by Ztcoracat; 09-11-2012 at 01:38 AM. Reason: Edit thread
 
Old 09-11-2012, 01:54 AM   #4
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,202

Rep: Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120
Hi,

were you root when you edited the file? Another possibility is that you saved the file to a different location.

Evo2.
 
Old 09-11-2012, 02:03 AM   #5
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Yes I performed the task in the terminal as 'root'

Code:
deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120$

deb cdrom:[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120$

deb http://security.debian.org/ squeeze/updates main contrib
deb http://http.us.debian.org/debian/ squeeze contrib main
deb-src http://http.us.debian.org/debian/ squeeze contrib main
deb-src http://security.debian.org/ squeeze/updates main contrib
deb http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb-src http://ftp.us.debian.org/debian/ squeeze main contrib non-free
deb http://security.debian.org/ squeeze/updates main contrib non-free
deb-src http://security.debian.org/ squeeze/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates contrib non-free $
deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates contrib non-free
deb http://www.deb-multimedia.org squeeze main non-free
deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates contrib non-free $
deb http://ftp.us.debian.org/debian/ squeeze-proposed-updates contrib non-free $
                               [ Read 25 lines ]
Code:
root@mock:/home/ztcoracat# apt-get update
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34] squeeze Release.gpg
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34]/ squeeze/contrib Translation-en
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34]/ squeeze/contrib Translation-en_US
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34]/ squeeze/main Translation-en
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34]/ squeeze/main Translation-en_US
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34] squeeze Release
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34] squeeze/contrib amd64 Packages/DiffIndex
Ign cdrom://[Debian GNU/Linux 6.0.5 _Squeeze_ - Official amd64 DVD Binary-1 20120512-14:34] squeeze/main amd64 Packages/DiffIndex
Hit http://security.debian.org squeeze/updates Release.gpg                     
Ign http://security.debian.org/ squeeze/updates/contrib Translation-en         
Ign http://security.debian.org/ squeeze/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     
Hit http://security.debian.org squeeze/updates Release                         
Hit http://security.debian.org squeeze/updates/main Sources                    
Hit http://security.debian.org squeeze/updates/contrib Sources                 
Hit http://security.debian.org squeeze/updates/non-free Sources                
Hit http://security.debian.org squeeze/updates/main amd64 Packages             
Hit http://security.debian.org squeeze/updates/contrib amd64 Packages          
Hit http://security.debian.org squeeze/updates/non-free amd64 Packages         
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        
Hit http://ftp.us.debian.org squeeze Release.gpg                               
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://http.us.debian.org/debian/ squeeze/main Translation-en              
Ign http://http.us.debian.org/debian/ squeeze/main Translation-en_US           
Hit http://http.us.debian.org squeeze Release                                  
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        
Hit http://ftp.us.debian.org squeeze-proposed-updates Release.gpg              
Hit http://ftp.us.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en_US
Hit http://ftp.us.debian.org/debian/ squeeze-proposed-updates/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/main Translation-en_US
Hit http://ftp.us.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en_US
Get:1 http://ftp.us.debian.org squeeze-proposed-updates Release.gpg [836 B]    
Hit http://ftp.us.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en
Hit http://http.us.debian.org squeeze/contrib Sources                          
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/contrib Translation-en_US
Hit http://ftp.us.debian.org/debian/ squeeze-proposed-updates/main Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/main Translation-en_US
Hit http://ftp.us.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en
Ign http://ftp.us.debian.org/debian/ squeeze-proposed-updates/non-free Translation-en_US
Hit http://http.us.debian.org squeeze/main Sources                             
Hit http://http.us.debian.org squeeze/contrib amd64 Packages                   
Hit http://http.us.debian.org squeeze/main amd64 Packages                      
Hit http://ftp.us.debian.org squeeze Release                                   
Hit http://ftp.us.debian.org squeeze-proposed-updates Release                  
Hit http://ftp.us.debian.org squeeze-proposed-updates Release                  
Hit http://ftp.us.debian.org squeeze/main Sources                              
Hit http://ftp.us.debian.org squeeze/contrib Sources                           
Hit http://ftp.us.debian.org squeeze/non-free Sources                          
Hit http://ftp.us.debian.org squeeze/main amd64 Packages                       
Hit http://ftp.us.debian.org squeeze/contrib 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
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
Get:3 http://mozilla.debian.net squeeze-backports Release [15.3 kB]            
Ign http://mozilla.debian.net squeeze-backports Release                        
Ign http://mozilla.debian.net squeeze-backports/iceweasel-release amd64 Packages/DiffIndex
Ign http://mozilla.debian.net squeeze-backports/iceweasel-release amd64 Packages
Hit http://mozilla.debian.net squeeze-backports/iceweasel-release amd64 Packages
Hit http://backports.debian.org squeeze-backports Release.gpg                  
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
Hit http://backports.debian.org squeeze-backports Release
Hit http://backports.debian.org squeeze-backports/main amd64 Packages/DiffIndex
Hit http://backports.debian.org squeeze-backports/main amd64 Packages
Get:4 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:5 http://www.deb-multimedia.org squeeze Release [24.1 kB]                  
Ign http://www.deb-multimedia.org squeeze Release                              
Hit http://www.deb-multimedia.org squeeze/main amd64 Packages/DiffIndex        
Hit http://www.deb-multimedia.org squeeze/non-free amd64 Packages/DiffIndex    
Fetched 1,864 B in 6s (286 B/s)                                                
Reading package lists... Done
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
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
Tried again after correcting the word security.

What does signatures couldn't be verified because the public key is not available mean??

Last edited by Ztcoracat; 09-11-2012 at 02:04 AM.
 
Old 09-11-2012, 02:18 AM   #6
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,202

Rep: Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120
Hi,
Quote:
Originally Posted by Ztcoracat View Post
Tried again after correcting the word security.
Ahh, perhaps there were two typos.

Quote:
What does signatures couldn't be verified because the public key is not available??
This is apt-key stuff, which is used to authenticate packages. Generally you need a different key for each repository.

You can download a key from a key server and export to a file as follows:
Code:
gpg --keyserver subkeys.pgp.net --recv 85A3D26506C4AE2A
gpg --export --armor 85A3D26506C4AE2A tmp.key
Then you need to feed the key into apt. As root:
Code:
apt-key add tmp.key
Then you can delete the tmp.key file.
You will need to do the above for both the deb-multimedia and the mozilla keys (the example above is for the mozilla key)

Evo2.

PS. there are other ways to do this, but the above is basically the method I use.
 
Old 09-11-2012, 02:29 AM   #7
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Evo:
I want to make sure that I understand you.
I should copy and paste both:
gpg --keyserver subkeys.pgp.net --recv 85A3D26506C4AE2A
gpg --export --armor 85A3D26506C4AE2A tmp.key

And run in the terminal or one gpg at a time?

And by export to a file; Do you mean make a new file and paste the output from the terminal in it?
 
Old 09-11-2012, 03:11 AM   #8
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
I'm trying to do the right thing here but it's a little confusing for me-

Code:
m:~$ gpg --keyserver subkeys.pgp.net --recv 85A3D26506C4AE2A
gpg: requesting key 06C4AE2A from hkp server subkeys.pgp.net
gpg: key 06C4AE2A: "Debian Mozilla team APT archive <pkg-mozilla-maintainers@lists.alioth.debian.org>" not changed
gpg: Total number processed: 1
gpg:              unchanged: 1
ztcoracat@mock:~$ gpg --export --armor 85A3D26506C4AE2A tmp.key
-----BEGIN PGP PUBLIC KEY BLOCK-----
Version: GnuPG v1.4.10 (GNU/Linux)

mQINBEznsdMBEACfcYngEYj3ybsPxPuuzujmYs1oWFLSm9lm1dAHw0bBMhBxgBwf
HaSxh/Z43oX0+i0Qz37gU/rY+zW5nMMvBtF+0L0ZmX43SqxxX7vK4mPxN5h6KvUC
FrLeQo5OS+qB/wEj/7s5Sj0Q3g6/A5AUpkufrxUyhArKaHOuj96wlp3wH9Bupy0H
TrWvEQ8K4x4UXQozBvj0BKcr5okly0dSTggnKuwJ18kZuCCKvHohQNmaWn1jtuA2
kosHm5PKNnTKcQCePaW6dnmE/L7aq3QkBGfH6PhvcYAbuDxUKeGc/6VFFOTbULhr
AQ2aXkbkiamuExtDW0XDN4GugxPkhmhAZgo5TXQj9S1NR1IYFKbFsdK3XtqFfc9x
CVJx8T/Urj+qQ4VkQKPzlAtVGC3EqD77afyjLfAHPVcnzhZqcwwiKUmZBI+jgZC/
497HiadH219OqIJo5R6zB5WMwdakHQO9NEi1bbVcYBt0vdAjYVLBF6bQ9mRFuqsC
4CzLPHqwhgrXk5bqY6DAWrEWQ1ncfmM9aosDrxFDhr1Vynt2f+UAkcjF+QPZGGJu
edeO2ZYamOL83b7RDjUxNGqxQLbzgTER/CqJp4FcdAwRQZ4kkjOZ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ldP8WpGucG4
owRiybbudnmr2Gyx/yvj8WDmshxRAj6s4BLomeBFtsrnNNarHRXXURy0XwB7qOM0
ARksgmqKDF99zGsnal4CxeqLRfwi8bb1RwwGNJiYelV8B99jt5LfJZxaMeP4LqPy
STn2QPAsyL48tLauSb+Owqxt+JoZ9qfKO69t0mCskp6KEe8jcD7iA5iZKZJW8qzm
f9dS21JjYmZqq2oGDnNo7/rmLQAJe7q0wUjf5Pol7+tYne9I/SAevmB9qBik+tLW
KRKeypOdvjV91sliCx2rm+YfTIfsyzqaAvWh4xA1YNjC39m7JIfcmCcy5achiihK
nRqBd/hokNDPAyV/+fCyO/7PxSbvdCMVM8I+hTkIjk4NmHw0uKMxYkKoBM9XSzpC
5dEKsTdQ0vU/+HHrC19wtWAFLln9juSSKw==
=JOhH
-----END PGP PUBLIC KEY BLOCK-----
ztcoracat@mock:~$ su
Password: 
root@mock:/home/ztcoracat# apt-key add tmp.key
gpg: can't open `tmp.key': No such file or directory
root@mock:/home/ztcoracat#
 
Old 09-11-2012, 02:57 PM   #9
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
My sources.list is a mess and I didn't know until I was told that I should not have used the install disc even tho the terminal and Synaptic prompted me for it. This (I think) is why my sources list is a mess.

Another Member advised me to rename it and use the source list he (Widget)edited.
http://www.linuxquestions.org/questi...el-4175426598/

BTW, I did not indent on these 2 threads to be about the same thing.
I have 2 problems going on at the same time.

This public key problem and it's solution has me baffeled on how to solve it-
You said; I can download a key from a key server and Export to a file-
I did that in the terminal up above but do not know which portion to export in a file and which file for that matter. Should I create a new file and put that output in it?

How do I rename my sources list?
Just open the terminal; use nano and type in the new name of the list?

Last edited by Ztcoracat; 09-11-2012 at 03:06 PM.
 
Old 09-11-2012, 06:16 PM   #10
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,202

Rep: Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120
Hi,

hmm it seems there is a package called gui-apt-key. You might find it easier to use that.

But anyway to answer your questions. It seems I made a typo, missing a redirect.

In my post I put:
Code:
gpg --export --armor 85A3D26506C4AE2A tmp.key
but it should have been
Code:
gpg --export --armor 85A3D26506C4AE2A > tmp.key
This typo meant that instead of the key being exported into the file it was just dumped into you terminal.

Anyway instead of doing it this way it is probably better for you to install gui-apt-key and use it for managing the apt keys.

Regarding renaming files, please investigate the mv and cp commands.

Evo2.
 
Old 09-11-2012, 06:51 PM   #11
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
I opened my Synaptic Package Mgr. and found gui-apt-key.
It wasn't installed so I marked it for installation and watched Synaptic installed it.

Hope everything is correct now.
 
Old 09-11-2012, 06:54 PM   #12
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,202

Rep: Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120
Hi,

what do you mean "hope"? Did you run gui-apt-key? Did you import the keys?

Evo2.
 
Old 09-11-2012, 07:03 PM   #13
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
By run gui key; do you mean did I run it in the terminal?

If I should be running that long command gpg --export --armor 85A3D26506C4AE2A.....etc.
than please make it clear that I should do exactly that.

And I do not know how to import the keys; in honesty-

Last edited by Ztcoracat; 09-11-2012 at 07:06 PM.
 
Old 09-11-2012, 07:54 PM   #14
Ztcoracat
Senior Member
 
Registered: Dec 2011
Distribution: Slackware & CentOS
Posts: 2,964
Blog Entries: 1

Original Poster
Rep: Reputation: Disabled
Open the terminal and run:
Code:
gui-apt-key?
And than run:
Code:
gpg -- export -- armor 85A3D26506C4AE2A > tmp.key ?
Like that Evo?
 
Old 09-11-2012, 08:19 PM   #15
evo2
Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Debian, SL
Posts: 5,202

Rep: Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120Reputation: 1120
Hi,

Quote:
Originally Posted by Ztcoracat View Post
Open the terminal and run:
Code:
gui-apt-key?
And than run:
Code:
gpg -- export -- armor 85A3D26506C4AE2A > tmp.key ?
Like that Evo?
No. If you use gui-apt-key then I think you should not need to do anything with gpg or apt-key.
It is an alternative.

Evo2.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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


All times are GMT -5. The time now is 11:30 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration