Re: a few dumb questions about apt sources.list file contents....

2007-01-31 Thread Chris Bannister
On Tue, Jan 30, 2007 at 12:01:45AM +, Michael Fothergill wrote:
 Dear Debianists,
 
 Here is my apt sources.list file;
 
 localhost:/etc/apt# more sources.list

less is better than more.

 #
 # deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 
 Binary-1 (20061110)]/ etch contrib main
 
 deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 
 Binary-3 (20061110)]/ etch contrib main
 deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 
 Binary-2 (20061110)]/ etch contrib main
 deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 
 Binary-1 (20061110)]/ etch contrib main

If you are now trying to install off internet then remove the cdrom
entries.

 # Line commented out by installer because it failed to verify:
 #deb http://security.debian.org/ etch/updates main contrib
 # Line commented out by installer because it failed to verify:
 #deb-src http://security.debian.org/ etch/updates main contrib

You *want* security updates.

 I could use  /ftp.uk.debian.org/debian/ for example as the mirror...

ok, although thats not a proper URI.

 What does the main contrib part do?

That is for the different repositories:
main - official Debian
contrib - packages which depend on non-free (not too sure on this.)
non-free - packages which can't go into main because they do not conform
to the DFSG

 Do I need the source files?

I'm guessing no.

 Could I add something like
 
 deb /ftp.uk.debian.org/debian/ testing main contrib

You should stay with etch. Thats not a proper URI

 to the file and it would work?

Ok start fresh - i.e. change it so it looks like this:

# Start of sources.lst
deb http://security.debian.org/ etch/updates main contrib non-free

deb http://ftp.uk.debian.org/debian/ etch main non-free contrib

# End of sources.lst

Then do an apt-get update or aptitude update (whichever you are used to)

You will probably get a message like:

following signatures couldn't be verified because the public key
is not available: NO_PUBKEY EA8E8B2116BA136C
W: You may want to run apt-get update to correct these problems.

Take note of the number after the NO_PUBKEY, then do:

gpg --keyserver subkeys.pgp.net --recv-key number-you-took-note-of ;
gpg --armor --export EA8E8B2116BA136C | apt-key add -

The above should all be on one line.

Hope that makes sense, please post back with any probs you have
preferrably with the contents of your /etc/apt/sources.lst file and the
exact error messages. I only read + post my mail daily so it would be at 
least 2 days before I could reply, but hopefully someone may have
responded by then. :-)

-- 
Chris.
==
 ... the official version cannot be abandoned because the implication of
rejecting it is far too disturbing: that we are subject to a government
conspiracy of `X-Files' proportions and insidiousness.
Letter to the LA Times Magazine, September 18, 2005.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: a few dumb questions about apt sources.list file contents....

2007-01-30 Thread Chris Lale

Michael Fothergill wrote:

Dear Debianists,

Here is my apt sources.list file;

[...]

I want to add a line to it to get it to get software updates for Etch 
from the web i.e. packages not security updates.


[...]



It looks like you have installed a snapshot of Etch from CDROM, but you 
now wish to follow Etch live. Comment out the deb cdrom  lines in 
/etc/apt/sources.list. (The package manager will no longer ask you to 
insert the discs each time.) For packages from main, non-free and 
contrib insert this line:


   deb http://ftp.uk.debian.org/debian/ etch main non-free contrib


Only the main repository contains software that complies with the 
Debian Free Software Guidelines. For unofficial multimedia packages 
insert this line:


   deb http://www.debian-multimedia.org/ etch main
For security updates insert this line:

   deb http://security.debian.org/ etch/updates main contrib non-free

Then update the repositories:

   # aptitude update

(Note: If you have not been using Aptitude exclusively, check that it 
does not want wrongly to remove packages (see 
http://newbiedoc.berlios.de/wiki/Aptitude_-_using_together_with_Synaptic_and_Apt-get). 
Run


   # aptitude install -sf

and if necessary fix with

   # aptitude keep-all
)


Then upgrade your system:

   # aptitude dist-upgrade

--
Chris.


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: a few dumb questions about apt sources.list file contents....

2007-01-30 Thread Andrew M.A. Cater
On Tue, Jan 30, 2007 at 12:01:45AM +, Michael Fothergill wrote:
 Dear Debianists,
 
 Here is my apt sources.list file;
 
 localhost:/etc/apt# more sources.list
 #
 # deb cdrom:[Debian GNU/Linux testing _Etch_ - Official Snapshot amd64 
 Binary-1 (20061110)]/ etch contrib main
 

Try using the following, which uses the above line as a template 
(plus the optional addition of non-free, which does not form part of 
Debian - remove the [] in the line below if non-free is required):

deb http://ftp.uk.debian.org/debian/ etch main contrib [non-free]

deb-src http://ftp.uk.debian.org/debian/ etch main contrib [non-free]
 
deb http://security.debian.org/ etch/updates main contrib

deb-src http://security.debian.org/ etch/updates main contrib

 
 What does the main contrib part do?

Specifies the main archive and the contrib archive.

 
 Do I need the source files?
 

That's up to you: you'll need corresponding deb-src lines as inserted 
above.

 Could I add something like
 
 deb /ftp.uk.debian.org/debian/ testing main contrib
 
 to the file and it would work?
 

See above for the sort of syntax: updates from the security update site
are useful so have been included above.

HTH,

Andy Cater

 
 MIchael Fothergill


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]