Erro de atualização do Ubuntu vscode

0

Quando executo sudo apt-get update no terminal, as seguintes mensagens de erro são exibidas:

N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'https://packages.microsoft.com/repos/vscode stable InRelease' doesn't support architecture 'i386'
W: http://ppa.launchpad.net/thefanclub/grive-tools/ubuntu/dists/vivid/Release.gpg: Signature by key 2E6D496CA5456A53F8FEC636DF5F82DA7E2426D0 uses weak digest algorithm (SHA1)
E: Failed to stat /var/lib/apt/lists/partial/packages.microsoft.com_repos_vscode_dists_stable_InRelease - pkgAcqTransactionItem::TransactionState-stat (2: No such file or directory)
E: Failed to stat /var/lib/apt/lists/partial/packages.microsoft.com_repos_vscode_dists_stable_main_binary-amd64_Packages - pkgAcqTransactionItem::TransactionState-stat (2: No such file or directory)
W: Duplicate sources.list entry http://packages.microsoft.com/repos/vscode stable Release

Eu tentei seguir Scott Stensland assim:

  1. cd /etc/apt/sources.list.d
  2. ls dá:

    google-chrome.list                            
    nilarimogard-ubuntu- webupd8-xenial.list
    google-chrome.list.save                       
    nilarimogard-ubuntu-webupd8-xenial.list.save
    graphics-drivers-ubuntu-ppa-xenial.list       
    vscode.list
    vscode.list.save
    graphics-drivers-ubuntu-ppa-xenial.list.save  
    linuxuprising-ubuntu-java-xenial.list         
    webupd8team-ubuntu-java-xenial.list
    linuxuprising-ubuntu-java-xenial.list.save    
    webupd8team-ubuntu-java-xenial.list.save
    
  3. cat vscode.list dá:

### THIS FILE IS AUTOMATICALLY CONFIGURED ###

## You may comment out this entry, but any other modifications may be lost.##

deb [arch=amd64] http://packages.microsoft.com/repos/vscode stable main

Parece que o vscode já está limitado a 64 bits. O que posso fazer nesta situação?

    
por Robur_131 03.06.2018 / 13:06

0 respostas