You are not logged in.

#1 2016-11-25 09:45

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Problem with Duplicate sources list entry

Hi.  I have the problem that after finishing the apt-get update and dist-upgrade I appear at the end:

W: Duplicate sources.list entry http://www.deb-multimedia.org/ jessie / main i386 Packages (/var/lib/apt/lists/www.deb-multimedia.org_dists_jessie_main_binary-i386_Packages)
W: Duplicate sources.list entry http://www.deb-multimedia.org/ jessie / non-free i386 Packages (/var/lib/apt/lists/www.deb-multimedia.org_dists_jessie_non-free_binary-i386_Packages)
W: Maybe you should run apt-get update to correct these problems.

I run apt-get update And everything stays the same...

Thanks-

Offline

#2 2016-11-25 09:54

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Problem with Duplicate sources list entry

This warning is not serious and you could safely perform 'update && dist-upgrade', don't worry about it. Please follow the next steps for a fix. First, run in terminal and post printed result here:
$ qrepolist
$ ls /etc/apt/sources.list.d/
we will check it and advice you the best way to fix it.

You could try to remove redundant repository this way too:
$ sudo qreporm deb-multimedia
$ sudo apt-get update

If the warning persists you will have to manually edit a source file in '/etc/apt/sources.list.d/' and comment out 'deb-multimedia' line.

Offline

#3 2016-11-26 13:52

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Problem with Duplicate sources list entry

You could try to remove redundant repository this way too:
$ sudo qreporm deb-multimedia
$ sudo apt-get update "

I have done this and it seems to have been solved.
THANKS!

-------------------------------------------------------------------------------------------------------------
I take this situation to take away some doubts, for quite some time after doing sudo apt-update
I get this in the terminal :

 W: Fallo al obtener [url]http://dl.google.com/linux/chrome/deb/dists/stable/Release[/url]  No se pudo encontrar la entrada esperada «main/binary-i386/Packages» en el archivo «Release» (entrada incorrecta en «sources.list» o fichero mal formado)[/ins]

[ins]W: Fallo al obtener [url]http://ppa.launchpad.net/jd-team/jdownloader/ubuntu/dists/jessie/main/binary-i386/Packages[/url]  404  Not Found[/ins]

[ins]W: Fallo al obtener [url]http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu/dists/jessie/main/binary-i386/Packages[/url]  404  Not Found[/ins]

[ins]W: Fallo al obtener [url]http://ppa.launchpad.net/shkn/xnoise/ubuntu/dists/jessie/main/binary-i386/Packages[/url]  404  Not Found[/ins]

[ins]W: Fallo al obtener [url]http://ftp.debian.org/debian/dists/jessie-backports/main/source/SourcesIndex[/url]  La suma hash difiere[/ins]

[ins]W: Fallo al obtener [url]http://ftp.debian.org/debian/dists/jessie-backports/main/i18n/Translation-enIndex[/url]  La suma hash difiere

Last edited by mrflavius (2016-11-26 13:58)

Offline

#4 2016-11-26 16:45

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Problem with Duplicate sources list entry

We can see, you have messed your sources.list a bit. Please, run in terminal and post printed result here for us to be able to check it:
$ qrepolist
$ cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list
$ ls /etc/apt/sources.list.d/*.list
we will check it out and advice you the best way to fix it.

Offline

#5 2016-11-26 17:02

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: Problem with Duplicate sources list entry

Using Ubuntu ppa's will almost inevitably cause problems with a non-Ubuntu system!

Offline

#6 2016-11-27 10:00

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Problem with Duplicate sources list entry

$ qrepolist

 deb http://q4os.org/q4repo q4os-1-0-cn main
deb http://q4os.org/qtderepo jessie main
deb http://ftp.debian.org/debian/ jessie main contrib non-free
deb http://security.debian.org/ jessie/updates contrib non-free main
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free
deb http://www.deb-multimedia.org jessie main non-free
deb http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu jessie main
deb http://mozilla.debian.net/ jessie-backports firefox-release
deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu jessie main
deb http://packages.siduction.org/lxqt jessie-backports main contrib non-free
deb http://ppa.launchpad.net/shkn/xnoise/ubuntu jessie main 

-----------------------------------------------------------------------------------------------------------------
$  cat /etc/apt/sources.list /etc/apt/sources.list.d/*.list

# Q4OS essential repository
# **** !!! NEVER touch this CRITICAL system file **** !!!

deb http://q4os.org/q4repo q4os-1-0-cn main
# deb-src http://q4os.org/q4repo q4os-1-0-cn main
# Q4OS essential repository
# **** !!! NEVER touch this CRITICAL system file **** !!!

# Trinity R14 - Q4OS mirror
deb http://q4os.org/qtderepo jessie main
# deb-src http://q4os.org/qtderepo jessie main
# Q4OS essential repository
# **** !!! NEVER touch this CRITICAL system file **** !!!

deb http://ftp.debian.org/debian/ jessie main contrib non-free
# deb-src http://ftp.debian.org/debian/ jessie main contrib non-free

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

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

# deb http://ftp.debian.org/debian/ jessie-proposed-updates contrib non-free main
# deb-src http://ftp.debian.org/debian/ jessie-proposed-updates contrib non-free main
# Q4OS essential repository
# **** !!! NEVER touch this CRITICAL system file **** !!!

# jessie-backports, previously on backports.debian.org
deb http://ftp.debian.org/debian/ jessie-backports main contrib non-free
deb-src http://ftp.debian.org/debian/ jessie-backports main contrib non-free
deb http://www.deb-multimedia.org jessie main non-free
## deb http://www.deb-multimedia.org the_repo-backports main non-free
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb http://dl.google.com/linux/chrome/deb/ stable main
deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu jessie main
# deb-src http://ppa.launchpad.net/jd-team/jdownloader/ubuntu jessie main
# deb-src http://ppa.launchpad.net/jd-team/jdownloader/ubuntu jessie main
# deb-src http://ppa.launchpad.net/jd-team/jdownloader/ubuntu jessie main
#Release channel
deb http://mozilla.debian.net/ jessie-backports firefox-release
deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu jessie main
# deb-src http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu jessie main
# deb-src http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu jessie main
#!q4p: repo_name: siduction
#!q4p: date_adde: 20150815010146
deb http://packages.siduction.org/lxqt jessie-backports main contrib non-free
deb http://ppa.launchpad.net/shkn/xnoise/ubuntu jessie main
# deb-src http://ppa.launchpad.net/shkn/xnoise/ubuntu jessie main 

-----------------------------------------------------------------------------------------------------------------------------------------------------
$  ls /etc/apt/sources.list.d/*.list

/etc/apt/sources.list.d/10_q4os.list
/etc/apt/sources.list.d/12_qtde.list
/etc/apt/sources.list.d/20_debian_jessie.list
/etc/apt/sources.list.d/30_jessie_backports.list
/etc/apt/sources.list.d/deb-multimedia-ipc.list
/etc/apt/sources.list.d/google-chrome.list
/etc/apt/sources.list.d/jd-team-jdownloader-jessie.list
/etc/apt/sources.list.d/mozilla-debian.list
/etc/apt/sources.list.d/mscore-ubuntu-mscore-stable-jessie.list
/etc/apt/sources.list.d/q4p-siduction-20150815010146-c5Z.list
/etc/apt/sources.list.d/shkn-xnoise-jessie.list 

Offline

#7 2016-11-27 14:21

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Problem with Duplicate sources list entry

You need to remove following repositories, as they are not Debian compatible:

deb http://ppa.launchpad.net/jd-team/jdownloader/ubuntu jessie main
deb http://ppa.launchpad.net/mscore-ubuntu/mscore-stable/ubuntu jessie main
deb http://ppa.launchpad.net/shkn/xnoise/ubuntu jessie main 

In addition you need to disable Google Chrome repository too, as it is not available for i386 architecture:

deb http://dl.google.com/linux/chrome/deb/ stable main

Simply edit related files in '/etc/apt/sources.list.d' and comment out all lines beginning 'deb '. As it is finished run in terminal:
$ qrepolist
$ sudo apt-get update
and post output here to analyze.

Offline

#8 2016-11-28 09:47

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Problem with Duplicate sources list entry

You need to remove following repositories, as they are not Debian compatible

In addition you need to disable Google Chrome repository too

I have no idea how to do this ...


Simply edit related files in '/etc/apt/sources.list.d' and comment out all lines beginning 'deb '.

What do you mean "comment out all lines...."

Sorry guys is my first experience using Linux...I do not know most of the things they ask me to do

Offline

#9 2016-11-28 10:43

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Problem with Duplicate sources list entry

You need to navigate following files in a superuser file-manager - Start Menu -> Programs -> Accessories -> System -> SuperUser -> File Manager - superuser mode:

/etc/apt/sources.list.d/google-chrome.list
/etc/apt/sources.list.d/jd-team-jdownloader-jessie.list
/etc/apt/sources.list.d/mscore-ubuntu-mscore-stable-jessie.list
/etc/apt/sources.list.d/shkn-xnoise-jessie.list 

and edit them - right mouse click -> open with -> kwrite. Now prefix each line beginning 'deb' with the '#' character , so the line will look like this, for example:

#deb http://ppa.launchpad.net/shkn/xnoise/ubuntu jessie main

Offline

#10 2016-11-28 13:43

Dai_trying
Member
From: UK
Registered: 2015-12-14
Posts: 2,992

Re: Problem with Duplicate sources list entry

I have to say that I am quite surprised a "new user" would have made such changes to their system, have you been following some advice for installing packages to your system? If so you should not follow guides for Ubuntu (or derivatives) as this will cause you many problems, and this is just the easiest of them to resolve. I would recommend you to re-install q4os to ensure that you do not have problems in the future which can be extremely hard to diagnose and correct if your system contains alien code (by alien I mean not q4os/debian)
If you want/need advice on getting any particular software working with q4os please ask, I'm sure there will be someone who could help find a good and proper solution.

Offline

#11 2016-11-28 13:50

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Problem with Duplicate sources list entry

Ok.The previous warnings no longer appear but these are still :

W: Fallo al obtener http://ftp.debian.org/debian/dists/jessie-backports/main/source/SourcesIndex  La suma hash difiere

W: Fallo al obtener http://ftp.debian.org/debian/dists/jessie-backports/main/i18n/Translation-enIndex  La suma hash difiere

Offline

#12 2016-11-28 21:52

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Problem with Duplicate sources list entry

Please run filemanager in root mode, see http://www.q4os.org/forum/viewtopic.php?pid=5817#p5817 , navigate to '/var/lib/apt/lists/' directory and remove all files except 'lock' file. Then run in terminal:
$ sudo apt-get update
Post output here to be checked.

Anyway, we would recommend you to make a fresh Q4OS installation, as suggested by Dai_trying http://www.q4os.org/forum/viewtopic.php?pid=5818#p5818

Offline

#13 2016-11-29 09:53

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Problem with Duplicate sources list entry

Des:1 http://packages.siduction.org jessie-backports InRelease [17,7 kB]
Des:2 http://security.debian.org jessie/updates InRelease [63,1 kB]
Ign http://ftp.debian.org jessie InRelease
Des:3 http://q4os.org q4os-1-0-cn InRelease [3.931 B]
Ign http://mozilla.debian.net jessie-backports InRelease
Des:4 http://ftp.debian.org jessie-updates InRelease [145 kB]
Des:5 http://q4os.org jessie InRelease [3.940 B]
Des:6 http://mozilla.debian.net jessie-backports Release.gpg [833 B]
Des:7 http://mozilla.debian.net jessie-backports Release [10,4 kB]
Des:8 http://packages.siduction.org jessie-backports/main i386 Packages [24,9 kB]
Des:9 http://q4os.org q4os-1-0-cn/main i386 Packages [4.737 B]
Des:10 http://www.deb-multimedia.org jessie InRelease [38,2 kB]
Des:11 http://ftp.debian.org jessie-backports InRelease [166 kB]
Des:12 http://packages.siduction.org jessie-backports/contrib i386 Packages [14 B]
Des:13 http://security.debian.org jessie/updates/contrib i386 Packages [2.526 B]
Des:14 http://mozilla.debian.net jessie-backports/firefox-release i386 Packages [13,5 kB]
Des:15 http://packages.siduction.org jessie-backports/non-free i386 Packages [14 B]
Des:16 http://security.debian.org jessie/updates/non-free i386 Packages [14 B]
Des:17 http://ftp.debian.org jessie Release.gpg [2.373 B]
Des:18 http://security.debian.org jessie/updates/main i386 Packages [328 kB]
Des:19 http://www.deb-multimedia.org jessie/main i386 Packages [119 kB]
Des:20 http://q4os.org jessie/main i386 Packages [240 kB]
Des:21 http://ftp.debian.org jessie-updates/contrib i386 Packages [32 B]
Des:22 http://www.deb-multimedia.org jessie/non-free i386 Packages [4.808 B]
Des:23 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]
Des:24 http://www.deb-multimedia.org jessie/main Translation-en [46,7 kB]
Des:25 http://security.debian.org jessie/updates/contrib Translation-en [1.211 B]
Des:26 http://ftp.debian.org jessie-updates/main Translation-en [12,6 kB]
Des:27 http://www.deb-multimedia.org jessie/non-free Translation-en [338 B]
Des:28 http://security.debian.org jessie/updates/main Translation-en [173 kB]
Des:29 http://ftp.debian.org jessie-updates/non-free Translation-en [496 B]
Des:30 http://security.debian.org jessie/updates/non-free Translation-en [14 B]
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-es_AR
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-es
Ign http://mozilla.debian.net jessie-backports/firefox-release Translation-en
Des:31 http://ftp.debian.org jessie-backports/contrib Translation-en [7.064 B]
Des:32 http://ftp.debian.org jessie-backports/main Translation-en [520 kB]
Des:33 http://ftp.debian.org jessie-backports/non-free Translation-en [28,2 kB]
Des:34 http://ftp.debian.org jessie Release [148 kB]
Des:35 http://ftp.debian.org jessie-updates/main i386 Packages [15,9 kB]
Des:36 http://ftp.debian.org jessie-updates/non-free i386 Packages [516 B]
Des:37 http://ftp.debian.org jessie-backports/main Sources [666 kB]
Des:38 http://ftp.debian.org jessie-backports/contrib Sources [6.524 B]
Des:39 http://ftp.debian.org jessie-backports/non-free Sources [9.280 B]
Ign http://q4os.org q4os-1-0-cn/main Translation-es_AR
Des:40 http://ftp.debian.org jessie-backports/main i386 Packages [760 kB]
Ign http://q4os.org q4os-1-0-cn/main Translation-es
Ign http://q4os.org q4os-1-0-cn/main Translation-en
Ign http://q4os.org jessie/main Translation-es_AR
Ign http://q4os.org jessie/main Translation-es
Ign http://q4os.org jessie/main Translation-en
Des:41 http://ftp.debian.org jessie-backports/contrib i386 Packages [9.764 B]
Des:42 http://ftp.debian.org jessie-backports/non-free i386 Packages [25,2 kB]
Ign http://packages.siduction.org jessie-backports/contrib Translation-es_AR
Des:43 http://ftp.debian.org jessie/main i386 Packages [6.789 kB]
Ign http://packages.siduction.org jessie-backports/contrib Translation-es
Ign http://packages.siduction.org jessie-backports/contrib Translation-en
Ign http://packages.siduction.org jessie-backports/main Translation-es_AR
Ign http://packages.siduction.org jessie-backports/main Translation-es
Ign http://packages.siduction.org jessie-backports/main Translation-en
Ign http://packages.siduction.org jessie-backports/non-free Translation-es_AR
Ign http://packages.siduction.org jessie-backports/non-free Translation-es
Ign http://packages.siduction.org jessie-backports/non-free Translation-en
Des:44 http://ftp.debian.org jessie/contrib i386 Packages [49,5 kB]
Des:45 http://ftp.debian.org jessie/non-free i386 Packages [80,4 kB]
Des:46 http://ftp.debian.org jessie/contrib Translation-en [38,5 kB]
Des:47 http://ftp.debian.org jessie/main Translation-es [314 kB]
Des:48 http://ftp.debian.org jessie/main Translation-en [4.583 kB]
Des:49 http://ftp.debian.org jessie/non-free Translation-en [72,3 kB]
Descargados 15,5 MB en 30s (506 kB/s)

Offline

#14 2016-11-29 10:09

q4osteam
Q4OS Team
Registered: 2015-12-06
Posts: 4,501
Website

Re: Problem with Duplicate sources list entry

Yes, looks fine now.

Offline

#15 2016-11-29 13:38

mrflavius
Member
Registered: 2016-11-25
Posts: 22

Re: Problem with Duplicate sources list entry

Q4OS Team, Many thanks for the help !!
smile

Offline

Board footer

Powered by FluxBB