Sources.list MEPIS 8.5
From MEPIS Documentation Wiki
Step 1: Edit your Repositories
As root, edit the /etc/apt/sources.list and use copy and paste to replace all the contents of the file so it looks just like the list shown below. Note that the sign "#", as in front of the top directions below, serves to comment out a line of code so it is not read.
For more information how to edit your sources.list, see Editing sources.list
--Last updated Feb. 13, 2013--
# See sources.list(5) for more information # This file should be edited through synaptic # MEPIS improvements, overrides and updates--the MEPIS magic # deb ftp://mepis.mirrorcatalogs.com/mepis/packages/mepis/ mepis-8.5 main # deb ftp://mepis.mirrorcatalogs.com/mepis/packages/mepis/ mepis-8.0 main # Alternate HTTP URL of mepis.org mirror for those that can't use FTP deb http://mepis.mirrorcatalogs.com/packages/mepis/ mepis-8.5 main deb http://mepis.mirrorcatalogs.com/packages/mepis/ mepis-8.0 main # MEPIS master pools, please use only if mirror is slow or down # deb ftp://ftp.mepis.com/mepis/ mepis-8.5 main # deb ftp://ftp.mepis.com/mepis/ mepis-8.0 main # Debian Lenny Repos (archived - will receive no further updates) deb http://archive.debian.org/debian/ lenny main contrib non-free # deb-src http://archive.debian.org/debian/ lenny main contrib non-free # Debian Lenny Security & Volatile Repos (archived - will receive no further updates) deb http://archive.debian.org/debian-security/ lenny/updates main contrib non-free deb http://archive.debian.org/debian-volatile/ lenny/volatile main contrib non-free # The following repo entry is for reference only. Do not enable, it no longer exists. # Some Debian Multimedia software might be illegal in some jurisdictions # Also, many of the packages in this repository have even newer versions in the # restricted community repositories below. (Same legal issues apply) It is # recommended to try enabling only the community repositories first before # resorting to debian-multimedia. # deb http://www.deb-multimedia.org lenny main non-free # MEPIS Community Main and Test deb http://main.mepis-deb.org/mepiscr/repo/ mepis85cr main non-free # deb http://main.mepis-deb.org/mepiscr/testrepo/ mepis85cr test # MEPIS Community Restricted, Restricted-non-free and Test-Restricted # note: Keep the restricted repos disabled, they're not currently hosted on any server. # # deb http://restricted.mepis-deb.org/mepiscr/repo/ mepis85cr restricted restricted-non-free # deb http://restricted.mepis-deb.org/mepiscr/testrepo/ mepis85cr test-restricted
Step 2: Edit your Apt Preferences
As root, edit the /etc/apt/preferences file and add the three lines in red bold below. Do not make any other changes to any other lines in that file.
Detailed step-by step instructions how to do this are:
- <alt> + <F2> - to start krunner
- kdesu kwrite /etc/apt/preferences - put this in the dialogue box and hit enter
- You'll be prompted for your root password
- Kwrite will open your etc/apt/preferences file
- Look for these two entries:
Package: * Pin: release o=MEPIS Pin-Priority: 901 Package: * Pin: release o=Debian Pin-Priority: 800
6. Between those two entries, insert (copy/paste) the section in red bold below:
Package: * Pin: release o=MEPIS Pin-Priority: 901 Package: * Pin: release a=mepis Pin-Priority: 901 Package: * Pin: release o=Debian Pin-Priority: 800
7. Click save and close kwrite
8. Make sure the preference is set to prefer highest version: Open Synaptic >>> Settings >>> Preferences >>> Distribution Tab >>> Select "Always prefer the highest version"
Step 3: Reload Synaptic
To effect changes made in Steps 1 and 2, open Synaptic and hit the Reload button.
Step 4: Read these notes
- By following the above steps, the Testing Repositories are disabled for safety. Before you enable them, please see the notes at the Community Repository page.
- The debian-multimedia repository is also disabled for safety because the Community Repository has many of the correct packages needed for your system to work as intended. If you do need some packages from the debian-multimedia repository that are not in the Community Repository (for example libdvdcss2 or Abobe Acrobat Reader) is to OK install them by temporarily using the debian-multimedia repository by following these steps:
- Enable debian-multimedia repository: Synaptic >>> Settings >>> Repositories and check the box next to debian-multimedia.
- Hit Reload button in Synaptic
- Use Synaptic to install only the software you need -- but do not "Mark All Upgrades" or otherwise upgrade any other packages as the ones from debian-multimedia may conflict with the packages used by the Community Repository.
- Disable debian-multimedia repository: Synaptic >>> Settings >>> Repositories and uncheck the box next to debian-multimedia.
- Hit Reload button in Synaptic
- If you see a public key error, read this