Are these error critical?

New to Debian (Or Linux in general)? Ask your questions here!

Re: Are these error critical?

Postby dilberts_left_nut » 2019-07-08 08:10

It tells you which lines in the output. ... :7 and such.
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5016
Joined: 2009-10-05 07:54
Location: enzed

Re: Are these error critical?

Postby hack3rcon » 2019-07-08 09:14

I can't understand:
Code: Select all
$ sort source.list | uniq -c
      8
      1 # Contrib non-free
      1 deb http://deb.debian.org/debian-security/ stretch/updates main
      1 deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
      1 deb http://deb.debian.org/debian stretch-backports main contrib non-free
      1 deb http://deb.debian.org/debian stretch main
      1 deb http://deb.debian.org/debian stretch main contrib non-free
      1 deb http://deb.debian.org/debian stretch-updates main
      1 deb http://deb.debian.org/debian stretch-updates main contrib non-free
      1 deb-src http://deb.debian.org/debian-security/ stretch/updates main
      1 deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
      1 deb-src http://deb.debian.org/debian stretch-backports main contrib non-free
      1 deb-src http://deb.debian.org/debian stretch main
      1 deb-src http://deb.debian.org/debian stretch main contrib non-free
      1 deb-src http://deb.debian.org/debian stretch-updates main
      1 deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
      1 # Stretch-backports

I can't see any "2"!!!
hack3rcon
 
Posts: 297
Joined: 2015-02-16 09:54

Re: Are these error critical?

Postby dilberts_left_nut » 2019-07-08 09:23

hack3rcon wrote:W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:16
AdrianTM wrote:There's no hacker in my grandma...
User avatar
dilberts_left_nut
 
Posts: 5016
Joined: 2009-10-05 07:54
Location: enzed

Re: Are these error critical?

Postby hack3rcon » 2019-07-08 09:52

dilberts_left_nut wrote:
hack3rcon wrote:W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:16

In your opinion, below line are same?
Code: Select all
deb-src http://deb.debian.org/debian-security/ stretch/updates main
deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
hack3rcon
 
Posts: 297
Joined: 2015-02-16 09:54

Re: Are these error critical?

Postby theblueplll » 2019-07-08 15:03

GarryRicketson wrote:Yea, but if you looked at the link, you would have seen it also includes options for stetch, and stretch-backports , in the upper right, the OP can select which one they want.
Image
Still the same link, but with "stretch" in the url just in case the OP can't figure it out. https://packages.debian.org/stretch/firmware-realtek


Yes you are correct sorry about that.

I should have actually looked before I ran my lips.
theblueplll
 
Posts: 154
Joined: 2019-04-29 01:17

Re: Are these error critical?

Postby hack3rcon » 2019-07-09 04:28

theblueplll wrote:
GarryRicketson wrote:Yea, but if you looked at the link, you would have seen it also includes options for stetch, and stretch-backports , in the upper right, the OP can select which one they want.
Image
Still the same link, but with "stretch" in the url just in case the OP can't figure it out. https://packages.debian.org/stretch/firmware-realtek


Yes you are correct sorry about that.

I should have actually looked before I ran my lips.

Thus, Why I got below error:
Code: Select all
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:16
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:13
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:2 and /etc/apt/sources.list:13
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list:1 and /etc/apt/sources.list:12
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list:16
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list:4 and /etc/apt/sources.list:15
W: Target Sources (main/source/Sources) is configured multiple times in /etc/apt/sources.list:8 and /etc/apt/sources.list:19
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Translations (main/i18n/Translation-en_US) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18
W: Target Translations (main/i18n/Translation-en_US.UTF-8) is configured multiple times in /etc/apt/sources.list:7 and /etc/apt/sources.list:18

?
hack3rcon
 
Posts: 297
Joined: 2015-02-16 09:54

Re: Are these error critical?

Postby GarryRicketson » 2019-07-09 05:05

Probably your sources.list file is a mess, see:
https://wiki.debian.org/SourcesList
There are examples, the first example:
Example sources.list
Below is an example of a sources.list for Debian 9/Stretch.
Code: Select all
 deb http://deb.debian.org/debian stretch main
deb-src http://deb.debian.org/debian stretch main

deb http://deb.debian.org/debian-security/ stretch/updates main
deb-src http://deb.debian.org/debian-security/ stretch/updates main

deb http://deb.debian.org/debian stretch-updates main
deb-src http://deb.debian.org/debian stretch-updates main

The second example:
If you also need the contrib and non-free components, add contrib non-free after main. For example, for Debian 9/Stretch:
Code: Select all
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free

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

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

You DO NOT use both examples, in 1 sources.list file, if you need the "contrib" and "non-free" , use that example.
Code: Select all
deb http://deb.debian.org/debian stretch main

And
Code: Select all
deb http://deb.debian.org/debian stretch main contrib non-free

Are the same because in the first , you all ready point toward "main",
In the second , you point toward "main", again, and also the "contrib non-free"
Either one is ok , but not both, I avoid the "contrib non-free" my self, I guess you need it, ? I don't really know on that.
You probably do not need the "src" lines either, if you don't know what they are for, just remove them, you don't need them.

Probably something like this, is best for you:
Code: Select all
deb http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
 

But read the wiki, first, that is what it is for...
User avatar
GarryRicketson
 
Posts: 5877
Joined: 2015-01-20 22:16
Location: Durango, Mexico

Re: Are these error critical?

Postby hack3rcon » 2019-07-09 06:19

Thank you for your useful information.
When I select below sources:
Code: Select all
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free

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

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

Then all standard Debian programs existed + non-free programs? Or it just a repository for "non-free" programs?
hack3rcon
 
Posts: 297
Joined: 2015-02-16 09:54

Re: Are these error critical?

Postby hack3rcon » 2019-07-09 10:53

Any idea?
hack3rcon
 
Posts: 297
Joined: 2015-02-16 09:54

Re: Are these error critical?

Postby sunrat » 2019-07-09 12:55

Learn to search. The wiki is your friend:
https://wiki.debian.org/DebianSoftware
“ computer users can be divided into 2 categories:
Those who have lost data
...and those who have not lost data YET ”
Remember to BACKUP!
User avatar
sunrat
 
Posts: 2875
Joined: 2006-08-29 09:12
Location: Melbourne, Australia

Re: Are these error critical?

Postby hack3rcon » 2019-07-09 14:47

sunrat wrote:Learn to search. The wiki is your friend:
https://wiki.debian.org/DebianSoftware

The link don't address my question :(
hack3rcon
 
Posts: 297
Joined: 2015-02-16 09:54

Re: Are these error critical?

Postby Head_on_a_Stick » 2019-07-09 17:16

Don't break DebianHow to report bugs

SharpBang GNU/Linux — a pre-configured Openbox/Tint2 desktop running on Debian stable
User avatar
Head_on_a_Stick
 
Posts: 10600
Joined: 2014-06-01 17:46
Location: /dev/chair

Re: Are these error critical?

Postby hack3rcon » 2019-07-09 19:32

Thank you, but I want to know if my source.list file is like below:
Code: Select all
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-security/ buster/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ buster/updates 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

Then I can't install any program in "contrib" category? If yes, then I must add all components!!!
hack3rcon
 
Posts: 297
Joined: 2015-02-16 09:54

Re: Are these error critical?

Postby Wheelerof4te » 2019-07-10 10:05

hack3rcon wrote: If yes, then I must add all components!!!

No, because you should just install Ubuntuuu!!!!
And on their forums, they love people who don't read manuals and wikis!!!
Us, not so much.
!!!
Wheelerof4te
 
Posts: 1423
Joined: 2015-08-30 20:14

Re: Are these error critical?

Postby hack3rcon » 2019-07-10 10:13

Wheelerof4te wrote:
hack3rcon wrote: If yes, then I must add all components!!!

No, because you should just install Ubuntuuu!!!!
And on their forums, they love people who don't read manuals and wikis!!!
Us, not so much.
!!!

I read manual but it said "If you also need the contrib and non-free components, add contrib non-free after main.", What does it mean?
hack3rcon
 
Posts: 297
Joined: 2015-02-16 09:54

PreviousNext

Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 6 guests

fashionable