quando eu tento atualizar, então eu recebo algo como dado abaixo.que é isso? Eu sempre recebo a mensagem “/etc/host.conf: linha 3: comando ruim 'nospoof on'”

-2
$ sudo apt-get update
/etc/host.conf: line 3: bad command 'nospoof on'
/etc/host.conf: line 3: bad command 'nospoof on'
/etc/host.conf: line 3: bad command 'nospoof on'
/etc/host.conf: line 3: bad command 'nospoof on'
/etc/host.conf: line 3: bad command 'nospoof on'
/etc/host.conf: line 3: bad command 'nospoof on'
0% [Working]/etc/host.conf: line 3: bad command 'nospoof on'
Ign:1 http://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 http://dl.google.com/linux/chrome/deb stable Release                     
Hit:3 http://in.archive.ubuntu.com/ubuntu artful InRelease                     
Hit:4 http://ppa.launchpad.net/webupd8team/sublime-text-3/ubuntu artful InRelease

  Splitting up /var/lib/apt/lists/download.sublimetext.com_apt_stable_InRelease into data 
Fetched 229 kB in 3s (76.4 kB/s)                               
Reading package lists... Done
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Translations (main/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Translations (restricted/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:5 and /etc/apt/sources.list.d/official-package-repositories.list:5
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list.d/official-package-repositories.list:14
W: Target Packages (universe/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list.d/official-package-repositories.list:14
W: Target Packages (universe/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list.d/official-package-repositories.list:14
W: Target Translations (universe/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list.d/official-package-repositories.list:14
W: Target Translations (universe/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list.d/official-package-repositories.list:14
W: Target DEP-11 (universe/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list.d/official-package-repositories.list:14
W: Target DEP-11 (universe/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list.d/official-package-repositories.list:14
W: Target DEP-11-icons (universe/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:14 and /etc/apt/sources.list.d/official-package-repositories.list:14
W: Target Packages (multiverse/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list.d/official-package-repositories.list:22
W: Target Packages (multiverse/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list.d/official-package-repositories.list:22
W: Target Packages (multiverse/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list.d/official-package-repositories.list:22
W: Target Translations (multiverse/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list.d/official-package-repositories.list:22
W: Target Translations (multiverse/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list.d/official-package-repositories.list:22
W: Target DEP-11 (multiverse/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list.d/official-package-repositories.list:22
W: Target DEP-11 (multiverse/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list.d/official-package-repositories.list:22
W: Target DEP-11-icons (multiverse/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:22 and /etc/apt/sources.list.d/official-package-repositories.list:22
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: https://download.sublimetext.com apt/stable/ InRelease: Splitting up /var/lib/apt/lists/download.sublimetext.com_apt_stable_InRelease into data and signature failed
W: Target Packages (main/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target Packages (main/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target Packages (main/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target Translations (main/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target Translations (main/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target DEP-11 (main/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target DEP-11 (main/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target DEP-11-icons (main/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target Packages (restricted/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target Packages (restricted/binary-i386/Packages) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target Packages (restricted/binary-all/Packages) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target Translations (restricted/i18n/Translation-en_IN) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target Translations (restricted/i18n/Translation-en) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target DEP-11 (restricted/dep11/Components-amd64.yml) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target DEP-11 (restricted/dep11/Components-all.yml) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target DEP-11-icons (restricted/dep11/icons-64x64.tar) is configured multiple times in /etc/apt/sources.list:31 and /etc/apt/sources.list.d/official-package-repositories.list:31
W: Target Packages (universe/binary-amd64/Packages) is configured multiple times in /etc/apt/sources.list:32 and /etc/apt/sources.list.d/official-package-repositories.list:32
    
por Kushal Tripathi 04.01.2018 / 07:15

1 resposta

2

Isso deve ficar bem claro.

Em /etc/host.conf linha 3 você tem uma linha com conteúdo ilegal. Você provavelmente editou o arquivo em algum momento. Reverta a edição, marcando a linha como um comentário, inserindo um # como primeiro caractere na linha 3.

Após a instalação do 17.10, ele possui o seguinte conteúdo em /etc/host.conf :

# The "order" line is only used by old versions of the C library.
order hosts,bind
multi on

Você pode reverter sua configuração para esta.

Você tem muitas linhas definidas em /etc/apt/sources.list e em arquivos em /etc/apt/sources.list.d/official-package-repositories.list . Exclua as linhas em um dos arquivos ... e somente em um deles. Ou descubra se a sintaxe correta deve ser.

/etc/apt/sources.list e os arquivos em /etc/apt/sources.list.d configuram quais repositórios o Ubuntu instala e atualiza os pacotes.

    
por Soren A 04.01.2018 / 07:39