LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian
User Name
Password
Debian This forum is for the discussion of Debian Linux.

Notices


Reply
  Search this Thread
Old 09-20-2018, 04:15 PM   #286
Bourbon
Member
 
Registered: Dec 2011
Location: Gaborone Botswana
Distribution: Linux-Mint 18.3 amd64 Cinnamon
Posts: 108

Rep: Reputation: Disabled

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:
Names are different and I don't understand which are the redundant ones; please, can you tell me which ones I have to remove?

After that, I found another page suggesting to add another source but I am not sure needing it, what do you think?
Code:
https://linuxconfig.org/amp-up-your-multimedia-experience-on-debian-9-stretch-linux
Ciao
 
Click here to see the post LQ members have rated as the most helpful post in this thread.
Old 09-20-2018, 04:33 PM   #287
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,012
Blog Entries: 5

Rep: Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856
Quote:
Originally Posted by Bourbon View Post
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:
Names are different and I don't understand which are the redundant ones; please, can you tell me which ones I have to remove?

After that, I found another page suggesting to add another source but I am not sure needing it, what do you think?
Code:
https://linuxconfig.org/amp-up-your-multimedia-experience-on-debian-9-stretch-linux
Ciao
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.

See here for more info:

https://wiki.debian.org/SourcesList

Note also that stretch-backports should normally be used with care. Why is it in particular that you have added this, out of interest?
 
1 members found this post helpful.
Old 09-21-2018, 06:31 AM   #288
Bourbon
Member
 
Registered: Dec 2011
Location: Gaborone Botswana
Distribution: Linux-Mint 18.3 amd64 Cinnamon
Posts: 108

Rep: Reputation: Disabled
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:
Code:
https://www.linuxquestions.org/questions/debian-26/debian-9-stretch-kde-no-video-preview-4175638588/
apparently is a bug on "libgs9".

Thank you once again Hydrurga Ciao

EDIT
Apparently everything is fine now:
Code:
dominum@HP-Debian:~$ su
Password: 
root@HP-Debian:/home/dominum#  apt-get update
Trovato:1 https://download.sublimetext.com apt/stable/ InRelease                     
Trovato:2 http://security.debian.org/debian-security stretch/updates InRelease       
Ign:3 http://ftp.lt.debian.org/debian stretch InRelease                              
Trovato:4 http://ftp.lt.debian.org/debian stretch-updates InRelease
Trovato:5 https://repo.skype.com/deb stable InRelease 
Trovato:6 http://ftp.lt.debian.org/debian stretch Release
Lettura elenco dei pacchetti... Fatto
root@HP-Debian:/home/dominum#   apt-get dist-upgrade
Lettura elenco dei pacchetti... Fatto
Generazione albero delle dipendenze       
Lettura informazioni sullo stato... Fatto
Calcolo dell'aggiornamento... Fatto
0 aggiornati, 0 installati, 0 da rimuovere e 0 non aggiornati.
root@HP-Debian:/home/dominum#

Last edited by Bourbon; 09-21-2018 at 06:38 AM. Reason: Adding data
 
Old 09-21-2018, 06:37 AM   #289
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,012
Blog Entries: 5

Rep: Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856
No problem Bourbon. Yes, the closest mirror doesn't necessarily mean the fastest, or indeed best one.

I used to have a friend who lived in Gaborone (I think he also lived in Serowe). I hope that you're enjoying life down there.

Cheers.
 
1 members found this post helpful.
Old 02-06-2019, 07:25 AM   #290
josemarciosa
LQ Newbie
 
Registered: Jun 2018
Posts: 3

Rep: Reputation: Disabled
here's mine:

Debian GNU/Linux 9 (stretch)

deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free

deb http://security.debian.org/debian-security stable/updates main contrib non-free
deb-src http://security.debian.org/debian-security stable/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free

# acrescentado para melhoria e outros software
deb http://download.virtualbox.org/virtualbox/debian/ stretch contrib
deb http://www.deb-multimedia.org/ stretch main non-free
deb http://deb.debian.org/debian/ stretch non-free contrib main
deb http://security.debian.org/ stretch/updates contrib non-free main

Jose Marcio
Brasilia - DF - Brazil
 
Old 02-06-2019, 09:26 AM   #291
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,012
Blog Entries: 5

Rep: Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856
Quote:
Originally Posted by josemarciosa View Post
here's mine:

Debian GNU/Linux 9 (stretch)

deb http://ftp.us.debian.org/debian/ stable main contrib non-free
deb-src http://ftp.us.debian.org/debian/ stable main contrib non-free

deb http://security.debian.org/debian-security stable/updates main contrib non-free
deb-src http://security.debian.org/debian-security stable/updates main contrib non-free

# stretch-updates, previously known as 'volatile'
deb http://ftp.us.debian.org/debian/ stretch-updates main contrib non-free

# acrescentado para melhoria e outros software
deb http://download.virtualbox.org/virtualbox/debian/ stretch contrib
deb http://www.deb-multimedia.org/ stretch main non-free
deb http://deb.debian.org/debian/ stretch non-free contrib main
deb http://security.debian.org/ stretch/updates contrib non-free main

Jose Marcio
Brasilia - DF - Brazil
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.

I would suggest sticking with stretch.

See here: https://wiki.debian.org/SourcesList for more info.
 
Old 02-17-2019, 02:01 AM   #292
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9, LineageOS 13
Posts: 1,454

Rep: Reputation: 182Reputation: 182
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
And also, /etc/apt/preferences.d/apertium.pref
Code:
Package: *
Pin: origin apertium.projectjj.com
Pin-Priority: 1001
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.
 
Old 02-17-2019, 04:10 PM   #293
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,012
Blog Entries: 5

Rep: Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856
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.
 
Old 02-22-2019, 06:05 PM   #294
mark_alfred
Senior Member
 
Registered: Jul 2003
Location: Toronto, Ontario, Canada
Distribution: Ubuntu Linux 16.04, Debian 9, LineageOS 13
Posts: 1,454

Rep: Reputation: 182Reputation: 182
Quote:
Originally Posted by hydrurga View Post
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.
 
1 members found this post helpful.
Old 02-22-2019, 06:29 PM   #295
hydrurga
LQ Guru
 
Registered: Nov 2008
Location: Pictland
Distribution: Linux Mint 19.1 MATE
Posts: 8,012
Blog Entries: 5

Rep: Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856Reputation: 2856
Quote:
Originally Posted by mark_alfred View Post
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 ...
Aha, that explains it. Thanks.
 
Old 02-24-2019, 06:20 PM   #296
qorg11
LQ Newbie
 
Registered: Jun 2018
Location: Spain
Distribution: Debian
Posts: 16

Rep: Reputation: Disabled
very purist

Code:
# 

# 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
 
Old 02-27-2019, 01:59 PM   #297
erik2282
Member
 
Registered: May 2011
Location: TX
Distribution: Debian
Posts: 758

Rep: Reputation: 210Reputation: 210Reputation: 210
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
 
Old 05-31-2019, 01:55 PM   #298
linus72
LQ Guru
 
Registered: Jan 2009
Location: Gordonsville-AKA Mayberry-Virginia
Distribution: Slack14.2/Many
Posts: 5,559

Rep: Reputation: 461Reputation: 461Reputation: 461Reputation: 461Reputation: 461
here's mine for RoninOS

Code:
#------------------------------------------------------------------------------#
#                   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
 
  


Reply

Tags
apt, aptitude, aptpinning, debian, debiansid, repositories, sid, sourceslist, synaptic


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
First Post! Unable to compile source code J--Lew Linux - Newbie 5 08-16-2005 03:17 PM
2005 LE Post-install todo list Steel Shepherd Mandriva 7 05-02-2005 01:44 AM
what is the best source to put on apt-get source list j.vilon Debian 3 09-28-2004 08:49 PM
can you post your WORKING contrib source for 9.2 JadeWolf324 Mandriva 1 12-11-2003 10:33 AM
How to post a thread in mailing list? Xiangbuilder General 0 09-06-2003 09:26 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Debian

All times are GMT -5. The time now is 08:13 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration