Contenu | Rechercher | Menus

Annonce

DVD, clés USB et t-shirts Ubuntu-fr disponibles sur la boutique En Vente Libre

Si vous avez des soucis pour rester connecté, déconnectez-vous puis reconnectez-vous depuis ce lien en cochant la case
Me connecter automatiquement lors de mes prochaines visites.

À propos de l'équipe du forum.

#1 Le 16/04/2021, à 10:19

wallace27

Erreur lors du sudo apt update

Bonjour,

Je tombe sur cette erreur lorsque je tente un sudo apt update :

lubuntu@lubuntu-allseries:~$ sudo apt update
[sudo] password for lubuntu: 
Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Hit:2 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease              
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease                                    
Hit:4 http://security.ubuntu.com/ubuntu focal-security InRelease    
Err:5 https://linux.teamviewer.com/deb stable InRelease
  403  Forbidden [IP: 2600:9000:2190:3a00:1c:3aaa:b100:93a1 443]
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
E: Failed to fetch https://linux.teamviewer.com/deb/dists/stable/InRelease  403  Forbidden [IP: 2600:9000:2190:3a00:1c:3aaa:b100:93a1 443]
E: The repository 'https://linux.teamviewer.com/deb stable InRelease' is no longer signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
lubuntu@lubuntu-allseries:~$ 

J'ai pourtant désinstallé Teamviewer via sudo apt autoremove teamviewer. Comment faire ? Cela signifie que la commande sudo apt autoremove teamviewer ne désinstalle pas complètement mon Teamviewer ?

Merci pour votre aide.

Dernière modification par wallace27 (Le 16/04/2021, à 10:21)

Hors ligne

#2 Le 16/04/2021, à 11:31

marcodel

Re : Erreur lors du sudo apt update

salut

wallace27 a écrit :

J'ai pourtant désinstallé Teamviewer

il faut aussi supprimer le depot Teamviewer dans tes sources de depots
a+

Hors ligne

#3 Le 16/04/2021, à 12:10

wallace27

Re : Erreur lors du sudo apt update

marcodel a écrit :

salut

wallace27 a écrit :

J'ai pourtant désinstallé Teamviewer

il faut aussi supprimer le depot Teamviewer dans tes sources de depots
a+

Comment procéder pour supprimer le dépôt Teamviewer dans mes sources de dépôts please ?  roll

Hors ligne

#4 Le 16/04/2021, à 12:14

marcodel

Re : Erreur lors du sudo apt update

sur gnome dans    logiciels et mise a jour
a toi de voir sur ta distrib
a+

Hors ligne

#5 Le 16/04/2021, à 15:44

wallace27

Re : Erreur lors du sudo apt update

rien compris sad

Hors ligne

#6 Le 16/04/2021, à 15:49

xubu1957

Re : Erreur lors du sudo apt update

Bonjour,

Tu as une fenêtre de ce genre > software-properties ?


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#7 Le 16/04/2021, à 15:51

wallace27

Re : Erreur lors du sudo apt update

S'agit-il de ceci ?

https://i.imgur.com/NGEryl7.png

Hors ligne

#8 Le 16/04/2021, à 15:53

xubu1957

Re : Erreur lors du sudo apt update

Montre le sources.list :

find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
cqfd93 a écrit :

Astuce pour copier / coller sans erreur :

  • triple clic gauche pour sélectionner et copier une ligne entière

  • clic molette pour coller dans le terminal


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#9 Le 16/04/2021, à 15:54

wallace27

Re : Erreur lors du sudo apt update

lubuntu@lubuntu-allseries:~$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;

/etc/apt/sources.list

     1  # Automatically generated by Calamares on 2020-12-20.
     2  # Lines starting with "deb" are mandatory, while lines starting with "deb-src"
     3  # are for more detailed package information.
     4
     5  ## See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     6  ## newer versions of Lubuntu.
     7  deb http://archive.ubuntu.com/ubuntu/ focal main restricted
     8  # deb-src http://archive.ubuntu.com/ubuntu/ focal main restricted
     9
    10  ## Major bug fix updates produced after the final release of Lubuntu.
    11  ## Have you noticed a regression? Please report it!
    12  ## https://wiki.ubuntu.com/StableReleaseUpdates#Regressions
    13  deb http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
    14  # deb-src http://archive.ubuntu.com/ubuntu/ focal-updates main restricted
    15
    16  ## Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team.
    17  ## Also, please note that software in Universe WILL NOT receive any review or
    18  ## updates from the Ubuntu security team directly. Updates in this repository
    19  ## are provided by volunteers, but most come from Debian.
    20  deb http://archive.ubuntu.com/ubuntu/ focal universe
    21  # deb-src http://archive.ubuntu.com/ubuntu/ focal universe
    22  deb http://archive.ubuntu.com/ubuntu/ focal-updates universe
    23  # deb-src http://archive.ubuntu.com/ubuntu/ focal-updates universe
    24
    25  ## Software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu team,
    26  ## and may not be under a free licence. Please satisfy yourself as your rights
    27  ## to use the software. Also, please note that software in Multiverse WILL NOT
    28  ## receive any review or updates from the Ubuntu security team directly.
    29  deb http://archive.ubuntu.com/ubuntu/ focal multiverse
    30  # deb-src http://archive.ubuntu.com/ubuntu/ focal multiverse
    31  deb http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
    32  # deb-src http://archive.ubuntu.com/ubuntu/ focal-updates multiverse
    33
    34  ## Software from this repository contains tested security updates from the
    35  ## Ubuntu security team.
    36  deb http://security.ubuntu.com/ubuntu focal-security main restricted
    37  # deb-src http://security.ubuntu.com/ubuntu focal-security main restricted
    38  deb http://security.ubuntu.com/ubuntu focal-security universe
    39  # deb-src http://security.ubuntu.com/ubuntu focal-security universe
    40  deb http://security.ubuntu.com/ubuntu focal-security multiverse
    41  # deb-src http://security.ubuntu.com/ubuntu focal-security multiverse
    42
    43  ## Software from this repository may not have been tested as extensively as
    44  ## software contained in the main release, although it includes newer versions
    45  ## of some applications which may provide useful features. Also, please note
    46  ## that software in Backports WILL NOT receive any review or updates from the
    47  ## Ubuntu security team.
    48  deb http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    49  # deb-src http://archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse
    50
    51  ## Uncomment the following two lines to add software from Canonical's
    52  ## "partner" repository.
    53  ## This software is not part of Ubuntu, but is offered by Canonical and the
    54  ## respective vendors as a service to Ubuntu users.
    55  # deb http://archive.canonical.com/ubuntu focal partner
    56  # deb-src http://archive.canonical.com/ubuntu focal partner
    57  deb [arch=amd64] https://download.docker.com/linux/ubuntu focal stable
    58  # deb-src [arch=amd64] https://download.docker.com/linux/ubuntu focal stable

/etc/apt/sources.list.d/teamviewer.list

     1  ###   TeamViewer DEB repository list
     2
     3  ### NOTE: Manual changes to this file
     4  ###        - prevent it from being updated by TeamViewer package updates
     5  ###        - will be lost after using the 'teamviewer repo' command
     6  ###       The original file can be restored with this command:
     7  ###       cp /opt/teamviewer/tv_bin/script/teamviewer.list /etc/apt/sources.list.d/teamviewer.list
     8  ###       which has the same effect as 'teamviewer repo default'
     9
    10  ### NOTE: It is preferred to use the following commands to edit this file:
    11  ###       teamviewer repo                - show current repository configuration
    12  ###       teamviewer repo default        - restore default configuration
    13  ###       teamviewer repo disable        - disable the repository
    14  ###       teamviewer repo stable         - make all regular TeamViewer packages available (default)
    15  ###       teamviewer repo preview        - additionally, make feature preview packages available
    16  ###       teamviewer repo development    - additionally, make the latest development packages available
    17
    18
    19  deb https://linux.teamviewer.com/deb stable main
    20
    21  # deb https://linux.teamviewer.com/deb preview main
    22  # deb https://linux.teamviewer.com/deb development main

/etc/apt/sources.list.d/yannubuntu-ubuntu-boot-repair-focal.list

     1  deb http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
     2  # deb-src http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal main
lubuntu@lubuntu-allseries:~$ 

Hors ligne

#10 Le 16/04/2021, à 16:03

xubu1957

Re : Erreur lors du sudo apt update

/etc/apt/sources.list.d/teamviewer.list

 
    19  deb https://linux.teamviewer.com/deb stable main

Je ne sais pas l'enlever, il faut des aidants habitués.


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#11 Le 16/04/2021, à 16:06

wallace27

Re : Erreur lors du sudo apt update

tant pis l'erreur a disparu quand je tape le update... j'ai donc réinstallé teamviewer via sudo apt install teamviewer et voici ce que j'ai lors du sudo apt update :

lubuntu@lubuntu-allseries:~$ sudo apt update
[sudo] password for lubuntu: 
Hit:1 https://download.docker.com/linux/ubuntu focal InRelease
Hit:2 https://linux.teamviewer.com/deb stable InRelease                                                                                         
Hit:3 http://ppa.launchpad.net/yannubuntu/boot-repair/ubuntu focal InRelease                                                                    
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease              
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:6 http://archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu focal-backports InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
All packages are up-to-date.
lubuntu@lubuntu-allseries:~$ 

sans trop comprendre comment ni pourquoi... l'erreur n'est plus là...

Dernière modification par wallace27 (Le 16/04/2021, à 16:07)

Hors ligne

#12 Le 16/04/2021, à 16:08

xubu1957

Re : Erreur lors du sudo apt update

Il y a eu ce fil > Dépots teamviwer hs [Résolu]


Important : Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont, au début du titre en cliquant sur Modifier sous le premier message, et un bref récapitulatif de la solution à la fin de celui-ci. Merci.

Xubuntu 20.04 LTS - Lenovo T410 -18.04.1 LTS Toshiba Satellite A300  Membre de Linux-Azur

En ligne

#13 Le 16/04/2021, à 17:06

ylag

Re : Erreur lors du sudo apt update

Bonjour,

Pour retirer le dépôt Teamviewer des sources :

sudo rm -v /etc/apt/sources.list.d/teamviewer.list

Attention avec la commande rm; il faut la lancer telle quelle sans ajouter d'espaces, sinon on risquerait de supprimer la racine du système.

A+

Dernière modification par ylag (Le 16/04/2021, à 17:06)

Hors ligne