From 17dac3c524b997f259622035f01dae1711a57fb5 Mon Sep 17 00:00:00 2001 From: Bob Mottram Date: Sun, 24 Aug 2014 10:23:27 +0100 Subject: [PATCH] Remove proprietary repositories --- beaglebone.txt | 46 ++++++++++++++++++++++++++++------------------ 1 file changed, 28 insertions(+), 18 deletions(-) diff --git a/beaglebone.txt b/beaglebone.txt index 88be1aa5..b5fb1c31 100644 --- a/beaglebone.txt +++ b/beaglebone.txt @@ -382,6 +382,15 @@ Some basic Emacs keys which will be useful to new users are: If you need an example Emacs configuration file to get you going then one can be [[Emacs setup][found here]]. +** Remove proprietary repositories + +By default the Debian operating system includes references to a repository which can be used to install some proprietary software. Because the source code of proprietary software cannot be independently audited or patched it could contain malicious backdoors or malware, or more likely because it's unmaintainable it's just old and out of date and so contains security vulnerabilities which the Surveillance State can make use of via its [[https://en.wikipedia.org/wiki/FOXACID][automated exploit delivery system]]. It's a good idea to remove those repositories as follows: + +#+BEGIN_SRC: bash +editor /etc/apt/sources.list +#+END_SRC + +Then remove any references to *non-free*, save and exit. With that done you can be sure that all the software on your system is [[https://en.wikipedia.org/wiki/Free_and_open_source_software][FOSS]], and so can be checked, updated or customized as necessary. ** Enable backports To enable some newer packages add backports to the repositories. @@ -395,6 +404,8 @@ apt-get install ca-certificates ** Configure your location/language +Not everybody lives in the US or Europe. You may want to change your location and language settings accordingly. + #+BEGIN_SRC: bash dpkg-reconfigure locales apt-get install keyboard-configuration @@ -7496,34 +7507,33 @@ If you get errors when running *apt-get update* then you may need to check your **** Beaglebone Black #+BEGIN_SRC: bash -deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free -deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free +deb http://ftp.us.debian.org/debian/ jessie main contrib +deb-src http://ftp.us.debian.org/debian/ jessie main contrib -deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free -deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free +deb http://ftp.us.debian.org/debian/ jessie-updates main contrib +deb-src http://ftp.us.debian.org/debian/ jessie-updates main contrib -deb http://security.debian.org/ wheezy/updates main contrib non-free -deb-src http://security.debian.org/ wheezy/updates main contrib non-free - -deb http://ftp.us.debian.org/debian wheezy-backports main contrib non-free +#Kernel source: https://github.com/RobertCNelson/linux-stable-rcn-ee +deb [arch=armhf] http://repos.rcn-ee.net/debian/ jessie main +deb http://ftp.us.debian.org/debian jessie-backports main #+END_SRC **** Cubieboard #+BEGIN_SRC: bash -deb http://ftp.us.debian.org/debian/ wheezy main contrib non-free -deb-src http://ftp.us.debian.org/debian/ wheezy main contrib non-free +deb http://ftp.us.debian.org/debian/ wheezy main contrib +deb-src http://ftp.us.debian.org/debian/ wheezy main contrib -deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free -deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib non-free +deb http://ftp.us.debian.org/debian/ wheezy-updates main contrib +deb-src http://ftp.us.debian.org/debian/ wheezy-updates main contrib -deb http://security.debian.org/ wheezy/updates main contrib non-free -deb-src http://security.debian.org/ wheezy/updates main contrib non-free +deb http://security.debian.org/ wheezy/updates main contrib +deb-src http://security.debian.org/ wheezy/updates main contrib -deb http://ftp.us.debian.org/debian wheezy-backports main contrib non-free +deb http://ftp.us.debian.org/debian wheezy-backports main contrib -deb http://mirrors.sohu.com/debian/ wheezy main contrib non-free -deb-src http://mirrors.sohu.com/debian/ wheezy main contrib non-free +deb http://mirrors.sohu.com/debian/ wheezy main contrib +deb-src http://mirrors.sohu.com/debian/ wheezy main contrib -deb http://packages.cubian.org/ wheezy main non-free +deb http://packages.cubian.org/ wheezy main deb http://repo.ajenti.org/debian main main debian #+END_SRC