https://github.com/pandermusubi/apt-sources
APT sources.list configurations for Ubuntu and Raspbian
https://github.com/pandermusubi/apt-sources
Last synced: 11 months ago
JSON representation
APT sources.list configurations for Ubuntu and Raspbian
- Host: GitHub
- URL: https://github.com/pandermusubi/apt-sources
- Owner: PanderMusubi
- Created: 2012-04-26T09:23:17.000Z (about 14 years ago)
- Default Branch: master
- Last Pushed: 2016-10-31T15:17:44.000Z (over 9 years ago)
- Last Synced: 2025-03-29T06:21:58.460Z (about 1 year ago)
- Language: Shell
- Homepage:
- Size: 405 KB
- Stars: 4
- Watchers: 2
- Forks: 3
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
apt-sources
===========
This project offers practical APT configurations which enable software repositories with Ubuntu, Debian or Raspbian installed. Special configurations are offered for systems based in the Netherlands.
The configurations are in for form of sources.list files. Choose the one that suites your needs the best and copy it to /etc/apt/sources.list and run the commands that can be found in the comments.
The following configurations can be found:
* **ubuntu-amd64-minimal** containing only official Ubuntu repositories for AMD 64-bit architecture
* **ubuntu-amd64-minimal-nl** containing only official Ubuntu mirror repositories for AMD 64-bit architecture in the Netherlands
* **ubuntu-amd64-extended** containing many repositories for Ubuntu for AMD 64-bit architecture
* **ubuntu-amd64-extended-nl** containing many repositories for Ubuntu for AMD 64-bit architecture in the Netherlands
* **ubuntu-armhf-minimal** containing only official Ubuntu repositories for ARM hard float architecture
* **debian-amd64-minimal** containing only official Debian repositories for AMD 64-bit architecture
* **raspbian-armhf-minimal** containing only official Raspbian mirror repositories for ARM hard float architecture
* **raspbian-armhf-extended** containing many repositories for Raspbian for ARM hard float architecture
Note that this might require to delete files in /etc/apt/sources.list.d/ which cover the same repositories.



For rolling upgrades, a system can use a command such as the following:
curl -sO https://raw.githubusercontent.com/PanderMusubi/apt-sources/master/ubuntu-amd64-minimal-nl/sources.list
To limit the number of packages that are being pulled in while installing, the following can be set. Add the following lines to the file /etc/apt/apt.conf to prevent installation of recommended and suggested packages:
APT::Install-Recommends "false";
APT::Install-Suggests "false";
This is best done directly after the initial installation of a system. Note that the depending packages are installed as is intended.
Installing the package `unattended-upgrades` is also practical to do at that moment. By default, it will only install security upgrades. Do this with the command:
sudo apt-get install unattended-upgrades
Fine-tuning can be done by editing the following file:
/etc/apt/apt.conf.d/50unattended-upgrades