D&C GLug - Home Page

[ Date Index ] [ Thread Index ] [ <= Previous by date / thread ] [ Next by date / thread => ]

Re: [LUG] Debian apt

 

On 28/03/14 18:39, bad apple wrote:
> On 28/03/14 18:15, Philip Hudson wrote:
>> What's wrong with this sources.list? It's been 404'ing just about
>> everything over the last week.
>>
>> deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
>> deb-src http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
>> deb http://ftp.uk.debian.org/debian/ testing main contrib non-free
>> deb-src http://ftp.uk.debian.org/debian/ testing main contrib
>>
>> deb http://www.deb-multimedia.org squeeze main non-free
>> deb http://www.deb-multimedia.org squeeze-backports main
>>
>>
>> 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://security.debian.org/ testing/updates main contrib non-free
>> deb-src http://security.debian.org/ testing/updates main contrib
> 
> 
> Not supported by the main repos any more chief, it's "old stable" now:
> 
> https://wiki.debian.org/DebianOldStable
> 
> Hang on a sec whilst I boot my Squeeze VM and I'll copy out my (working)
> repos for you... Ok, here we go:
> 
> ghost@pessimist:~$ cat /etc/apt/sources.list
> deb http://ftp.uk.debian.org/debian/ squeeze main contrib non-free
> deb-src http://ftp.uk.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
> 
> # squeeze-updates, previously known as 'volatile'
> deb http://ftp.uk.debian.org/debian/ squeeze-updates main contrib non-free
> deb http://ftp.uk.debian.org/debian/ squeeze-proposed-updates main
> contrib non-free
> deb-src http://ftp.uk.debian.org/debian/ squeeze-proposed-updates main
> contrib non-free
> deb-src http://ftp.uk.debian.org/debian/ squeeze-updates main contrib
> non-free
> 
> Umm... actually, looking at our two sources.list entries they actually
> pretty much look the same to me so something else must be wrong? I just
> ran apt-get update and everything worked fine for me.
> 
> *shrugs*
> 
> Regards
> 

Wait a second, apparently I'm really bad at reading comprehension: our
sources.list's are obviously different, ignoring the weird inclusion of
Testing in yours (you may of course be using apt pinning or something to
only pull in very select packages, so it might not actually be as
strange as I first thought).

The difference is related to old-stable and it's the bottom stanza that
differs. You have:

>> deb http://security.debian.org/ squeeze/updates main contrib non-free
>> deb-src http://security.debian.org/ squeeze/updates main contrib non-free

Which is wrong. You should have:

> deb http://ftp.uk.debian.org/debian/ squeeze-updates main contrib non-free
> deb http://ftp.uk.debian.org/debian/ squeeze-proposed-updates main
> contrib non-free
> deb-src http://ftp.uk.debian.org/debian/ squeeze-proposed-updates main
> contrib non-free
> deb-src http://ftp.uk.debian.org/debian/ squeeze-updates main contrib
> non-free

Which is correct. Change that and you'll be good to go. Excellent, only
took me three emails to spot that...

Regards

-- 
The Mailing List for the Devon & Cornwall LUG
http://mailman.dclug.org.uk/listinfo/list
FAQ: http://www.dcglug.org.uk/listfaq