Tag Archives: sources.list

Linux Mint 16 Petra : sources.list (official-package-repositories.list)

The repository of Linux Mint 16 Petra is available (The release of Linux Mint 16 is expected around the end of November). You can find out what packages are in the repository here : http://packages.linuxmint.com/list.php?release=Petra

Also you can check the development progress of Linux Mint 16 Petra here : http://community.linuxmint.com/iso

Unless there is a significant change in Linux Mint 16, the sources.list of Linux Mint 16 (official-package-repositories.list) should looks like the following.

deb http://packages.linuxmint.com/ petra main upstream import
deb http://archive.ubuntu.com/ubuntu/ saucy main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ saucy-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ saucy-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ saucy partner

# deb http://archive.getdeb.net/ubuntu saucy-getdeb apps games

 

You probably already know that Linux Mint 16 will be shipped with Cinnamon 2.0. Since Cinnamon 2.0 is available at the time of writing, you could install it on Ubuntu 13.10 to experience new features.

Simply, add the following line in ‘/etc/apt/sources.list’

deb http://packages.linuxmint.com/ petra main upstream import

then install ‘cinnamon’

apt-get update ; apt-get install linuxmint-keyring ; apt-get install cinnamon

find more about Cinnamon 2.0 here : http://segfault.linuxmint.com/2013/10/cinnamon-2-0-released/

Here are few screenshots of Cinnamon 2.0 on Ubuntu 13.10

snapshot46

snapshot47

Linux Mint 15 Olivia : sources.list (official-package-repositories.list)

See the list of packages in Linux Mint 15 Olivia repositories

Also you can check the development progress of Linux Mint 15 Olivia here : http://community.linuxmint.com/iso

 

Here is the sources.list of Linux Mint 15 Olivia. At the time of writing, the Linux Mint 15 hasn’t been approved to release although its repository is available; so don’t rush to upgrade your system with the following sources.list (official-package-repositories.list)

 

deb http://packages.linuxmint.com/ olivia main upstream import
deb http://archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ raring partner

# deb http://archive.getdeb.net/ubuntu raring-getdeb apps
# deb http://archive.getdeb.net/ubuntu raring-getdeb games

Linux Mint 14 Nadia : sources.list

[Note] At the time of this writing, Linux Mint 14 Nadia hasn’t been released yet.

See the list of packages in Linux Mint 14 Nadia repositories

Also you can check the development progress of Linux Mint 14 Nadia here : http://community.linuxmint.com/iso

 

( main server )

/etc/apt/sources.list

deb http://packages.linuxmint.com/ nadia main upstream import
deb http://archive.ubuntu.com/ubuntu/ quantal main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ quantal-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ quantal-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ quantal partner
deb http://packages.medibuntu.org/ quantal free non-free

# deb http://archive.getdeb.net/ubuntu quantal-getdeb apps
# deb http://archive.getdeb.net/ubuntu quantal-getdeb games

My two other posts may help you to improve package download speed

[linux mint] improve package download speed

[linux mint] find the best server to improve package download speed with a simple bash script

 

Linux Mint 13 Maya : sources.list

Although I posted linux mint ‘sources.list’ for my own reference, it is the most viewed content on this site. So I will continue to post the ‘sources.list’. The upcoming Linux Mint 13 Maya ‘sources.list’ will probably look the following.

See the list of packages in Linux Mint 13 Maya repositories

 

( main server )

/etc/apt/sources.list

deb http://packages.linuxmint.com/ maya main upstream import
deb http://archive.ubuntu.com/ubuntu/ precise main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ precise-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ precise-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ precise partner
deb http://packages.medibuntu.org/ precise free non-free

# deb http://archive.getdeb.net/ubuntu precise-getdeb apps
# deb http://archive.getdeb.net/ubuntu precise-getdeb games

 

To improve package download speed, see my two other posts

[linux mint] improve package download speed

[linux mint] find the best server to improve package download speed with a simple bash script

[linux mint] find the best server to improve package download speed with a simple bash script

As I mentioned in a previous post ([linux mint] improve package download speed), the linux mint only changes a server for linux mint repositories and leaves the rest unchanged, when one chooses a server in linux mint version of Software Source. However most packages that linux mint uses are located at ubuntu repositories; this limited option makes updating package index files or downloading packages slow and annoying depending on one’s location. One could select a server from Official Archive Mirrors for Ubuntu manually but the location, bandwidth and status of the server can make the choice tricky.

The following bash script may help you to choose a server for ubuntu repositories. Basically what the script does is it pings servers that are listed in Official Archive Mirrors for Ubuntu with TCP packets, and records its result. You could ping every servers in the list (takes several minutes) or you could ping servers in a specific country (probably takes less than a minute except United States). This bash script requires ‘hping3′ to send TCP packets to ping, and has to be executed with sudo (root privilege). One thing you should be noted is the script only pings servers that are listed in Official Archive Mirrors for Ubuntu; so it doesn’t ping the main server which is ‘http://archive.ubuntu.com/ubuntu/’.

 

The bash script is at http://pastebin.com/DuYjw9pJ

 

< how to use >

Install ‘hping3′

Save the script (for example, the script is called ‘findserver’). You may not want to make this file executable because every servers in the list will be pinged if you double-click it in a file manager.

Unless you plan to ping every servers in the list, you need to know the country code for your choice of the country.

To generate the country code

sudo bash findserver 0

In the same directory that the script resides, there will be a newly created file called ‘country.list’. You can find country codes in this file. Or see the country code generated in April 27, 2012 (you probably want to generate a new list because there could be a new country added)

With country codes, if you want to find best servers in Canada (country code : 10), then enter

sudo bash findserver 10

in terminal. Or in Germany

sudo bash findserver 22

A report called ‘best_server.list’ will be generated in the same directory, and it will contain up to 20 best servers it finds. And in my previous post ([linux mint] improve package download speed), I describe how you can change ‘sources.list’

 

 

 Note, not every servers in Official Archive Mirrors for Ubuntu have repositories for every versions and architecture of ubunu. Hence you should check mirrored versions and architectures before make any change in ‘sources.list’.

 

< country code >

 


0  Generate Country Code
1  Argentina
2  Australia
3  Austria
4  Bangladesh
5  Belarus
6  Belgium
7  Bosnia and Herzegovina
8  Brazil
9  Bulgaria
10  Canada
11  Chile
12  China
13  Colombia
14  Costa Rica
15  Croatia
16  Czech Republic
17  Denmark
18  Finland
19  France
20  French Polynesia
21  Georgia
22  Germany
23  Greece
24  Greenland
25  Hungary
26  Iceland
27  India
28  Indonesia
29  Ireland
30  Israel
31  Italy
32  Japan
33  Kazakhstan
34  Korea, Republic of
35  Kuwait
36  Latvia
37  Lithuania
38  Luxembourg
39  Malaysia
40  Malta
41  Mexico
42  Mongolia
43  Namibia
44  Nepal
45  Netherlands
46  New Caledonia
47  New Zealand
48  Norway
49  Oman
50  Pakistan
51  Philippines
52  Poland
53  Portugal
54  Romania
55  Russian Federation
56  Saudi Arabia
57  Serbia
58  Singapore
59  Slovakia
60  Slovenia
61  South Africa
62  Spain
63  Sri Lanka
64  Sweden
65  Switzerland
66  Taiwan
67  Thailand
68  Tunisia
69  Turkey
70  Ukraine
71  United Kingdom
72  United States
73  Uzbekistan
74  Viet Nam

 

< example report >

 < the best servers in Canada are > 

1 th best server

http://ubuntu-archives.mirror.nexicom.net/

average round trip = 105 * 10^-4 sec

2 th best server

http://ubuntu.mirror.rafal.ca/ubuntu/

average round trip = 141 * 10^-4 sec

3 th best server

http://mirror.csclub.uwaterloo.ca/ubuntu/

average round trip = 153 * 10^-4 sec

4 th best server
ftp://mirror.csclub.uwaterloo.ca/ubuntu/
average round trip = 161 * 10^-4 sec

5 th best server

http://ubuntu.mirror.iweb.ca/

average round trip = 193 * 10^-4 sec

6 th best server
ftp://ubuntu.mirror.iweb.ca/
average round trip = 194 * 10^-4 sec

7 th best server

http://mirror.clibre.uqam.ca/ubuntu/

average round trip = 197 * 10^-4 sec

8 th best server
ftp://gpl.savoirfairelinux.net/pub/mirrors/ubuntu/
average round trip = 207 * 10^-4 sec

9 th best server
ftp://ubuntu.mirror.netelligent.ca/ubuntu/
average round trip = 224 * 10^-4 sec

10 th best server

http://mirror.its.dal.ca/ubuntu/

average round trip = 300 * 10^-4 sec

11 th best server
ftp://mirror.its.dal.ca/ubuntu/
average round trip = 320 * 10^-4 sec

12 th best server
ftp://ubuntu.arcticnetwork.ca/pub/ubuntu/ubuntu/
average round trip = 461 * 10^-4 sec

13 th best server

http://ubuntu.arcticnetwork.ca/

average round trip = 468 * 10^-4 sec

14 th best server

http://mirror.cpsc.ucalgary.ca/mirror/ubuntu.com/packages/

average round trip = 473 * 10^-4 sec

15 th best server
ftp://mirror.cpsc.ucalgary.ca/mirror/ubuntu.com/packages/
average round trip = 482 * 10^-4 sec

16 th best server
ftp://ftp.cs.mun.ca/pub/mirror/ubuntu/
average round trip = 563 * 10^-4 sec

17 th best server

http://mirror.its.sfu.ca/mirror/ubuntu/

average round trip = 588 * 10^-4 sec

18 th best server

http://mirror.peer1.net/ubuntu/

average round trip = 665 * 10^-4 sec

19 th best server

http://gpl.savoirfairelinux.net/pub/mirrors/ubuntu/

average round trip = 921 * 10^-4 sec

20 th best server

http://ubuntu.mirror.netelligent.ca/ubuntu/

average round trip = 1874 * 10^-4 sec

Linux Mint 12 Lisa : sources.list

In case anyone wonders about the upcoming Linux Mint 12 Lisa ‘sources.list’

See the list of packages in the Linux Mint 12 Lisa repository

 

 

sources.list (Lisa – mint 12)

/etc/apt/sources.list (Ontario Canada)

deb http://mirror.csclub.uwaterloo.ca/linuxmint-packages/ lisa main upstream import
deb http://mirror.csclub.uwaterloo.ca/ubuntu/ oneiric main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu/ oneiric-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ oneiric partner
deb http://packages.medibuntu.org/ oneiric free non-free

# deb http://archive.getdeb.net/ubuntu oneiric-getdeb apps
# deb http://archive.getdeb.net/ubuntu oneiric-getdeb games

 

/etc/apt/sources.list (main server)

deb http://packages.linuxmint.com/ lisa main upstream import
deb http://archive.ubuntu.com/ubuntu/ oneiric main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ oneiric-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ oneiric-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ oneiric partner
deb http://packages.medibuntu.org/ oneiric free non-free

# deb http://archive.getdeb.net/ubuntu oneiric-getdeb apps
# deb http://archive.getdeb.net/ubuntu oneiric-getdeb games

 

<more info>

Linux Mint 11 and 10 sources.list

[linux mint] improve package download speed

[linux mint] find the best server to improve package download speed with a simple bash script

[linux mint] improve package download speed

In Software Source (which can be found in Administration menu or in Software Manager or Synaptic Package Manager) as shown below, there is an option to choose which server LinuxMint software will be downloaded from.

Screenshot

As the name of the menu tap, LinuxMint Software, indicates, this will only change the repositories for linux mint packages not the repositories for ubuntu packages where most packages used by system are. By the default, linux mint pulls ubuntu packages from the ubuntu server, which is located in UK, and one can check it from ‘Other Software’ tap in Software Sources or ‘/etc/apt/sources.list’.

For example, ‘/etc/apt/sources.list’ for linux mint 11 (Katya) by the default looks like the one below

deb http://packages.linuxmint.com/ katya main upstream import
deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ natty partner
deb http://packages.medibuntu.org/ natty free non-free

# deb http://archive.getdeb.net/ubuntu natty-getdeb apps
# deb http://archive.getdeb.net/ubuntu natty-getdeb games

Downloading packages from the main ubuntu server, depending on the location you are at, is fairly slow. Beside that, there are lots of Linux Mint users who probably download packages from the main server. Thus, to improve the download speed, ubuntu repositories need to be chosen from the mirrors (servers) close to you. This means ‘/etc/apt/sources.list’ needs to be edited. The structure of the repository format is explained at https://help.ubuntu.com/community/Repositories/CommandLine.

So what one needs to edit in ‘/etc/apt/sources.list’ to boost the downloading speed are the urls of a linux mint mirror and an ubuntu mirror. Again use ‘/etc/apt/sources.list’ of linux mint 11 (Katya) as an example. In terminal, enter ‘gksu gedit /etc/apt/sources.list’ to edit the file, and save its backup for safety.

deb http://packages.linuxmint.com/ katya main upstream import
deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ natty partner
deb http://packages.medibuntu.org/ natty free non-free

# deb http://archive.getdeb.net/ubuntu natty-getdeb apps
# deb http://archive.getdeb.net/ubuntu natty-getdeb games

The first line is for linux mint repositories. Hence if there is a mirror closer than the linux mint main server in Chicago, change the green colored address, http://packages.linuxmint.com/, to the deb/deb-src address of the mirror that is close to your location. A list of mirrors can be found at http://www.linuxmint.com/mirrors.php and see ‘Mirrored repositories’.

The second to fourth lines are for ubuntu repositories. A list of official mirrors for ubuntu can be found at https://launchpad.net/ubuntu/+archivemirrors. From the list, you should choose one close to your location, or you can run the script ([linux mint] find the best server to improve package download speed with a simple bash script) I wrote to find the best server. Not all mirrors have every supported versions of ubuntu also some of mirrors are not up to date. The status and version of a mirror can be seen by clicking the name of the mirror. So make sure the mirror you choose has the version of ubuntu you’re running, and it is up to date. Once you finish checking, copy the address of the mirror and replace the red colored addresses, http://archive.ubuntu.com/ubuntu/ and http://security.ubuntu.com/ubuntu/, with it.

<Example>

So if you live in Germany then your sources.list (katya) may look like below

deb http://mirror.devnu11.net/linuxmint/ katya main upstream import
deb http://ftp.uni-kl.de/pub/linux/ubuntu/ natty main restricted universe multiverse
deb http://ftp.uni-kl.de/pub/linux/ubuntu/ natty-updates main restricted universe multiverse
deb http://ftp.uni-kl.de/pub/linux/ubuntu/ natty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ natty partner
deb http://packages.medibuntu.org/ natty free non-free

# deb http://archive.getdeb.net/ubuntu natty-getdeb apps
# deb http://archive.getdeb.net/ubuntu natty-getdeb games

Malaysia (katya)

deb http://repo.ukdw.ac.id/linuxmint/ katya main upstream import
deb http://ubuntu.mmu.edu.my/ubuntu/ natty main restricted universe multiverse
deb http://ubuntu.mmu.edu.my/ubuntu/ natty-updates main restricted universe multiverse
deb http://ubuntu.mmu.edu.my/ubuntu/ natty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ natty partner
deb http://packages.medibuntu.org/ natty free non-free

# deb http://archive.getdeb.net/ubuntu natty-getdeb apps
# deb http://archive.getdeb.net/ubuntu natty-getdeb games

An example for Linux Mint Julia (Mint 10). Linux Mint version name

Germany (Julia – mint 10)

deb http://mirror.devnu11.net/linuxmint/ Julia main upstream import
deb http://ftp.uni-kl.de/pub/linux/ubuntu/ Maverick main restricted universe multiverse
deb http://ftp.uni-kl.de/pub/linux/ubuntu/ Maverick-updates main restricted universe multiverse
deb http://ftp.uni-kl.de/pub/linux/ubuntu/ Maverick-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ Maverick partner
deb http://packages.medibuntu.org/ Maverick free non-free

# deb http://archive.getdeb.net/ubuntu Maverick-getdeb apps
# deb http://archive.getdeb.net/ubuntu Maverick-getdeb games

 

<Test>

location: Ontario Canada

‘sudo apt-get -d install octave3.2′ is used for speed test

from ‘http://mirror.csclub.uwaterloo.ca/ubuntu/’, Fetched 34.6 MB in 36s (951 kB/s)

from ‘http://archive.ubuntu.com/ubuntu/’, Fetched 34.6 MB in 56s (617 kB/s)

 

linux mint upgrade testing (sources.list)

The below lists are only used to test ‘do-releas-upgrade’ command, which doesn’t work, in Linux Mint.

DO NOT USE these lists to run ‘apt-get dist-upgrade’, that will break your system

see ‘How to upgrade to a newer release‘ for more information about upgrade, or alternatively you can make ubuntu just like linux mint so you can upgrade to newer release (see my other post)

Or see HowTo: Upgrading from Mint 10 to Mint 11 at linux mint forum

If you are looking for ‘sources.list’ other than the Canadian or main server, see ‘[linux mint] improve package download speed‘. the post explains how to change ‘sources.list’

 

change sources.list (Katya – mint 11)

/etc/apt/sources.list (Canada only)

deb http://mirror.csclub.uwaterloo.ca/linuxmint-packages/ katya main upstream import
deb http://mirror.csclub.uwaterloo.ca/ubuntu/ natty main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu/ natty-updates main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu/ natty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ natty partner
deb http://packages.medibuntu.org/ natty free non-free

# deb http://archive.getdeb.net/ubuntu natty-getdeb apps
# deb http://archive.getdeb.net/ubuntu natty-getdeb games

/etc/apt/sources.list (main server)

deb http://packages.linuxmint.com/ katya main upstream import
deb http://archive.ubuntu.com/ubuntu/ natty main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ natty-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ natty partner
deb http://packages.medibuntu.org/ natty free non-free

# deb http://archive.getdeb.net/ubuntu natty-getdeb apps
# deb http://archive.getdeb.net/ubuntu natty-getdeb games

 Note, you may want to keep the security repository from the main server ‘deb http://security.ubuntu.com/ubuntu/ natty-security main restricted universe multiverse’ if you don’t fully trust the security of the mirror you choose


/etc/apt/sources.list (Julia – mint 10)

original (Canada)

deb http://mirror.csclub.uwaterloo.ca/linuxmint-packages/ julia main upstream import
deb http://archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ maverick partner
deb http://packages.medibuntu.org/ maverick free non-free

# deb http://archive.getdeb.net/ubuntu maverick-getdeb apps
# deb http://archive.getdeb.net/ubuntu maverick-getdeb games

new (Canada)

deb http://mirror.csclub.uwaterloo.ca/linuxmint-packages/ julia main upstream import
deb http://mirror.csclub.uwaterloo.ca/ubuntu/ maverick main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu/ maverick-updates main restricted universe multiverse
deb http://mirror.csclub.uwaterloo.ca/ubuntu/ maverick-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ maverick partner
deb http://packages.medibuntu.org/ maverick free non-free

# deb http://archive.getdeb.net/ubuntu maverick-getdeb apps
# deb http://archive.getdeb.net/ubuntu maverick-getdeb games

original (main server)

deb http://packages.linuxmint.com/ julia main upstream import
deb http://archive.ubuntu.com/ubuntu/ maverick main restricted universe multiverse
deb http://archive.ubuntu.com/ubuntu/ maverick-updates main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse
deb http://archive.canonical.com/ubuntu/ maverick partner
deb http://packages.medibuntu.org/ maverick free non-free

# deb http://archive.getdeb.net/ubuntu maverick-getdeb apps
# deb http://archive.getdeb.net/ubuntu maverick-getdeb games

 Note, you may want to keep the security repository from the main server ‘deb http://security.ubuntu.com/ubuntu/ maverick-security main restricted universe multiverse’ if you don’t fully trust the security of the mirror you choose