DebianThis forum is for the discussion of Debian Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Hi Hydrurga, thank you for your kind concern.
I was a bit puzzled when added the sources indeed but being Debian new for me just followed the hints got here:
Hi Hydrurga, thank you for your kind concern.
I was a bit puzzled when added the sources indeed but being Debian new for me just followed the hints got here:
I can't advise you on that latest source that you found, but suggest that if you don't actually find that you need it then you don't use it.
As for your sources.list, the following should do:
Code:
# deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21]/ stretch contrib main
deb http://ftp.lt.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.lt.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://ftp.lt.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.lt.debian.org/debian/ stretch-updates contrib main non-free
deb http://ftp.lt.debian.org/debian/ stretch-backports main contrib non-free
deb-src http://ftp.lt.debian.org/debian/ stretch-backports main contrib non-free
Note that I changed the last one from .it. (Italy) to .lt. (Lithuania) for consistency. However if you're really located in Gaborone then perhaps you should find a closer and better mirror.
Hi Hydrurga,
Thank you once again for your kind help, I have been changing the sources.list according with your suggestion, here it is:
Code:
dominum@HP-Debian:~$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 9.4.0 _Stretch_ - Official amd64 DVD Binary-1 20180310-11:21]/ stretch contrib main
deb http://ftp.lt.debian.org/debian/ stretch main contrib non-free
deb-src http://ftp.lt.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://ftp.lt.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.lt.debian.org/debian/ stretch-updates contrib main non-free
#deb http://ftp.lt.debian.org/debian/ stretch-backports main contrib non-free
#deb-src http://ftp.lt.debian.org/debian/ stretch-backports main contrib non-free
Quote:
Note that I changed the last one from .it. (Italy) to .lt. (Lithuania) for consistency. However if you're really located in Gaborone then perhaps you should find a closer and better mirror.
Yes, I am really located in Gaborone (Botswana), I selected Lituania mirror because my first choice was Italia and it was very slow, found the Lituania one having good speed.
The most close mirror to Gaborone is the South Africa one but I don't trust them because nothing works properly there, is the Debian Wiki itself warning that not always the most close mirror is the best one lol
Quote:
Note also that stretch-backports should normally be used with care. Why is it in particular that you have added this, out of interest?
I left the stretch-backports but commented them, I added when I was trying to solve a small issue with Dolphin, not really interested in them and I know that is better don't use.
I solved Dolphin's issue (I enjoy KDE as DE) as reported in this thread:
Jose, I'm no expert on Debian but I wouldn't recommend having a mix of stable and stretch. Either you want to stick with Stretch or stick with Stable (i.e. update when Stable changes to a new release), but not a mixture of both.
For example, as long as stable == stretch, then
Code:
deb http://ftp.us.debian.org/debian/ stable main contrib non-free
is the same as
Code:
deb http://deb.debian.org/debian/ stretch non-free contrib main
so you have effective duplication. When stable updates to a new release, these will clash with each other.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
Here's mine (/etc/apt/sources.list):
Code:
# deb cdrom:[Debian GNU/Linux 9.0.0 _Stretch_ - Official amd64 NETINST 20170617-13:06]/ stretch main
deb http://ftp.ca.debian.org/debian/ stretch main contrib non-free
# deb http://ftp.ca.debian.org/debian/ testing main
deb-src http://ftp.ca.debian.org/debian/ sid main contrib non-free
# deb-src http://ftp.ca.debian.org/debian/ testing main
deb http://security.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://security.debian.org/debian-security/ stretch/updates main contrib non-free
# stretch-updates, previously known as 'volatile'
deb http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free
deb-src http://ftp.ca.debian.org/debian/ stretch-updates main contrib non-free
# debian multimedia
# deb http://www.deb-multimedia.org/ stretch main contrib non-free
# stretch backports
#deb http://ftp.debian.org/debian stretch-backports main
And also, /etc/apt/sources.list.d/syncthing.list
Code:
deb https://apt.syncthing.net/ syncthing stable
And also, /etc/apt/sources.list.d/apertium-release.list
Code:
deb http://apertium.projectjj.com/apt/release/ stretch main
I think I installed apertium when I was looking for a translation tool. But, it didn't really live up to my expectations. Yet I've still got the repository listed for it -- what the purpose of the preference file for it is I haven't the faintest idea. SyncThing was when I was hoping to sync my calendar on the desktop with the calendar on my LineageOS phone, but that didn't work. Yet, I've still got the repository listed for it. I likely should get rid of the multimedia repository, since I doubt I'll ever use it. The backports repository I use once in a blue moon to update the package youtube-dl. If I need something newer, and it's not in backports, then I'll try to build it from Sid's sources.
Last edited by mark_alfred; 02-17-2019 at 02:57 AM.
mark_alfred: yes, if you no longer use the particular software then you can remove /etc/apt/sources.list.d/syncthing.list, /etc/apt/sources.list.d/apertium-release.list and /etc/apt/preferences.d/apertium.pref.
As for the main file, I'm not quite sure why you have the testing repos in there, albeit commented out, but the one thing that stands out is that you're pulling the main packages from stretch but the source packages from sid. If that's not intentional, for some reason, you might want to change the main source package repo to stretch.
Distribution: Ubuntu Linux 16.04, Debian 10, LineageOS 14.1
Posts: 1,572
Rep:
Quote:
Originally Posted by hydrurga
mark_alfred: [..] the one thing that stands out is that you're pulling the main packages from stretch but the source packages from sid. If that's not intentional, for some reason, you might want to change the main source package repo to stretch.
It is intentional. If I wish to get a newer version of a package that isn't in backports, then I will build it from the Sid source. From https://wiki.debian.org/BuildingTutorial ...
Quote:
Usually, it's a good idea to use unstable as the repository, since you'll be working with the latest version of the package.
[..]
If you use stable/testing/whatever as your running distribution, getting source from unstable won't affect it.
It is intentional. If I wish to get a newer version of a package that isn't in backports, then I will build it from the Sid source. From https://wiki.debian.org/BuildingTutorial ...
#
# deb cdrom:[Official Debian GNU/Linux Live 9.7.0 xfce 2019-01-23T19:58]/ stretch main
# deb cdrom:[Official Debian GNU/Linux Live 9.7.0 xfce 2019-01-23T19:58]/ stretch main
# Line commented out by installer because it failed to verify:
deb http://security.debian.org/debian-security stretch/updates main
# Line commented out by installer because it failed to verify:
deb-src http://security.debian.org/debian-security stretch/updates main
# stretch-updates, previously known as 'volatile'
# A network mirror was not selected during install. The following entries
# are provided as examples, but you should amend them as appropriate
# for your mirror of choice.
#
deb http://deb.debian.org/debian/ stretch-updates main
deb-src http://deb.debian.org/debian/ stretch-updates main
Distribution: Primarily Deb/Ubuntu, and some CentOS
Posts: 829
Rep:
mostly basic
Code:
root@enchilada:~# cat /etc/apt/sources.list
deb http://ftp.us.debian.org/debian/ stretch main contrib non-free
deb http://security.debian.org/debian-security stretch/updates main contrib non-free
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free
deb http://deb.debian.org/debian stretch-backports main
#------------------------------------------------------------------------------#
# OFFICIAL DEBIAN REPOS
#------------------------------------------------------------------------------#
###### Debian Main Repos
deb http://ftp.us.debian.org/debian/ buster main
deb-src http://ftp.us.debian.org/debian/ buster main
deb http://deb.debian.org/debian/ buster main contrib non-free
deb-src http://deb.debian.org/debian/ buster main contrib non-free
deb http://deb.debian.org/debian/ buster-updates main contrib non-free
deb-src http://deb.debian.org/debian/ buster-updates main contrib non-free
deb http://deb.debian.org/debian-security/ buster/updates main
deb-src http://deb.debian.org/debian-security/ buster/updates main
#deb http://ftp.debian.org/debian/ stretch-backports main
#deb-src http://ftp.debian.org/debian/ stretch-backports main
#------------------------------------------------------------------------------#
# UNOFFICIAL REPOS
#------------------------------------------------------------------------------#
###### 3rd Party Binary Repos
###Adapta GTK Theme
# deb http://ppa.launchpad.net/tista/adapta/ubuntu/ bionic main
# deb-src http://ppa.launchpad.net/tista/adapta/ubuntu/ bionic main
###Debian Multimedia
deb [arch=amd64,i386] https://www.deb-multimedia.org/ buster main non-free
###Icon Repo
# deb http://ppa.launchpad.net/noobslab/icons/ubuntu/ artful main
# deb-src http://ppa.launchpad.net/noobslab/icons/ubuntu/ artful main
# Liquorix kernel
# Unit193 - France
# deb http://mirror.unit193.net/liquorix buster main
# deb-src http://mirror.unit193.net/liquorix buster main
# Xanmod kernel
deb http://deb.xanmod.org releases main
deb http://deb.debian.org/debian/ buster main non-free contrib
deb http://security.debian.org/debian-security buster/updates main non-free contrib
deb http://deb.debian.org/debian/ buster-updates main non-free contrib
And for the Pale Moon web browser:
Code:
deb http://download.opensuse.org/repositories/home:/stevenpusser/Debian_10/ /
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.