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 07-21-2009, 02:13 PM   #1
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
"failed to verify" lines in /etc/apt/sources.list:


Hello

On an Ubuntu 8.04.2 (Hardy) system, /etc/apt/sources.list has these lines at the end
Code:
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu hardy-security main restricted
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu hardy-security main restricted
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu hardy-security universe
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu hardy-security universe
# Line commented out by installer because it failed to verify:
# deb http://security.ubuntu.com/ubuntu hardy-security multiverse
# Line commented out by installer because it failed to verify:
# deb-src http://security.ubuntu.com/ubuntu hardy-security multiverse
Netsearching for Line commented out by installer because it failed to verify didn't find anything helpful; most hits were about Debian Lenny and proxy problems. Weird, too that there are so many of these lines; I am not aware of any mechanism that would have uncommented the lines, requiring the installer to coment them out again. Any ideas?

Best

Charles
 
Old 07-22-2009, 02:59 PM   #2
Samotnik
Member
 
Registered: Jun 2006
Location: Belarus
Distribution: Debian GNU/Linux testing/unstable
Posts: 471

Rep: Reputation: 40
On the installation time system was unable to connect to this servers, so it commented them to prevent further probes. If you are sure they are available, you should uncomment them by removing trailing sharp signs # from the lines starting with deb.
 
Old 07-23-2009, 02:14 AM   #3
catkin
LQ 5k Club
 
Registered: Dec 2008
Location: Tamil Nadu, India
Distribution: Debian
Posts: 8,578

Original Poster
Blog Entries: 31

Rep: Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208Reputation: 1208
Thanks Samotnik
Quote:
Originally Posted by Samotnik View Post
On the installation time system was unable to connect to this servers, so it commented them to prevent further probes. If you are sure they are available, you should uncomment them by removing trailing sharp signs # from the lines starting with deb.
Soloution! Tried your suggestion and ran aptitude update:
Code:
root@CW8:~# aptitude update
[snip]
Get:2 http://security.ubuntu.com hardy-security Release 
[snip]
Get:3 http://security.ubuntu.com hardy-security/main Packages [183kB]
Get:4 http://security.ubuntu.com hardy-security/restricted Packages [8437B]           
Get:5 http://security.ubuntu.com hardy-security/main Sources [29.6kB]                 
Get:6 http://security.ubuntu.com hardy-security/restricted Sources [901B]                  
Get:7 http://security.ubuntu.com hardy-security/universe Packages [snip]                                                                                                                                    
Get:8 http://security.ubuntu.com hardy-security/universe Sources [13.7kB]                                                                                                           
[snip]                                                                                                                          
Get:9 http://security.ubuntu.com hardy-security/multiverse Packages [12.2kB]                                                                                                        
Get:10 http://security.ubuntu.com hardy-security/multiverse Sources [1105B]                                                                                                         
[snip]
Presumably those repositories were down during installation and so the system never did get any security updates. Slightly scary?

Best

Charles
 
  


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
how can I "cat" or "grep" a file to ignore lines starting with "#" ??? callagga Linux - Newbie 7 08-16-2013 06:58 AM
"Dynamic MMap ran out of room" error when adding new apt source list hasanito Debian 25 05-27-2013 03:56 AM
Is there an "apt-get" equivalent of "yum list available"? geeeeky.girl Linux - General 3 07-20-2008 08:40 PM
command gedit "/etc/apt/sources.list" not working secret_force Linux - Newbie 4 08-02-2006 04:28 PM

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

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