How to change sources in your sources.list
Requirements
OpenMediaVault 0.5 or higher
Description
This little tutorial describes how to change your sources in your sources.list file.
Attn: You usually should not need to edit this file! Please only edit them if a mod / well known user says that you should do it!
ATTENTION: Debian 8 (codename Jessie) was release on the 25th of April 2015. This release is the current stable cycle. The sources generator hasn't moved Wheezy to oldstable. So a sources.list with stable value can push your server to Debian 8. OMV DOESN'T WORK WITH DEBIAN JESSIE YET. SO PLEASE EDIT THE VALUE OF stable TO wheezy WHEN COPYING THE sources.list to your server.
How to start
Go to Debian Sources List Generator and
- Select your country
- Select Wheezy in "Select your release"
- Select your architecture depending in your OMV-Installation: 32- or 64-bit
Select:
- Main
- Contrib
- Non-free
- Security
- Updates
Optional: Include source files
Don't select any 3rd Party Repos!
Click Generate sources.list
In the new opened window, select the new sources.list and copy it to the clipboard. Then login to OMV via SSH and do
cp /etc/apt/sources.list /etc/apt/sources.list.bak to make a backup of your current sources.list
nano /etc/apt/sources.list to edit
Shift+Insert to insert the copied sources.list from the Debian Sources Generator
Ctrl+O to save
Ctrl+X to exit nano
omv-update to update sources.list and check for updates
Edit: This is how a sources.list should look for Debian Wheezy (oldstable)
deb http://ftp.au.debian.org/debian wheezy main contrib non-free
deb http://ftp.debian.org/debian/ wheezy-updates main contrib non-free
deb http://security.debian.org/ wheezy/updates main contrib non-free
Questions / Problems / Diskussions
Feel free to create a thread.
version 0.1