diggle
Posts: 6
Joined: Wed Jul 02, 2014 4:49 pm

sources.list help

Wed Jul 02, 2014 5:01 pm

Hello,
I'll keep this short and sweet: when trying to echo the wheezy nginx repos to the sources.list file (to get the newer build) I did > in stead of >>...
:oops:
So if someone would be kind enough to post a default sources.list file, I'll be most greatful.
thanks.

User avatar
AndrewS
Posts: 3625
Joined: Sun Apr 22, 2012 4:50 pm
Location: Cambridge, UK
Contact: Website

Re: sources.list help

Thu Jul 03, 2014 12:52 am

From the 2014-06-20 version of Raspbian:

Code: Select all

deb http://mirrordirector.raspbian.org/raspbian/ wheezy main contrib non-free rpi
To prevent this problem in future, rather than editing sources.list directly you can instead create a separate file in the /etc/apt/sources.list.d/ directory, and apt will magically treat it as though it was part of the main sources.list :)

Don't forget to be careful that Raspbian uses a very non-typical Debian setup (armhf on an ARMv6) so unless the repo you're adding explicitly has Raspbian support, it's unlikely to work on the Raspberry Pi.

Return to “Beginners”