Contenu | Rechercher | Menus

Annonce

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 21/10/2020, à 14:27

linux-93

Problème /etc/apt/sources.list Résolu

Bonjour à tous et toutes

En parcourant pas mal ce forum et d'autres j'ai eu quelques réponses à mes questions

Mais malgré ça je n'arrive pas à solutionner mon, mes problème

J'ai ouvert le fichier /etc/apt/sources.list avec un sudo nano /etc/apt/sources.list

Voici les résultats

# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
# deb http://ftp.oleane.net/ubuntu/ bionic main restricted # désactivé pour la mise à niveau vers bionic
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
## Major bug fix updates produced after the final release of the
## distribution.
# deb http://ftp.oleane.net/ubuntu/ bionic-updates main restricted # désactivé pour la mise à niveau vers bionic
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
## team. Also, please note that software in universe WILL NOT receive any
## review or updates from the Ubuntu security team.
# deb http://ftp.oleane.net/ubuntu/ bionic universe # désactivé pour la mise à niveau vers bionic
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
# deb http://ftp.oleane.net/ubuntu/ bionic-updates universe # désactivé pour la mise à niveau vers bionic
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
## team, and may not be under a free licence. Please satisfy yourself as to 
## your rights to use the software. Also, please note that software in 
## multiverse WILL NOT receive any review or updates from the Ubuntu
## security team.
# deb http://ftp.oleane.net/ubuntu/ bionic multiverse # désactivé pour la mise à niveau vers bionic
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
# deb http://ftp.oleane.net/ubuntu/ bionic-updates multiverse # désactivé pour la mise à niveau vers bionic
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
## N.B. software from this repository may not have been tested as
## extensively as that contained in the main release, although it includes
## newer versions of some applications which may provide useful features.
## Also, please note that software in backports WILL NOT receive any review
## or updates from the Ubuntu security team.
# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
## Uncomment the following two lines to add software from Canonical's
## 'partner' repository.
## This software is not part of Ubuntu, but is offered by Canonical and the
## respective vendors as a service to Ubuntu users.
# deb http://archive.canonical.com/ubuntu xenial partner
deb-src http://archive.canonical.com/ubuntu focal partner
# deb http://ftp.oleane.net/ubuntu/ bionic-security main restricted # désactivé pour la mise à niveau vers bionic
# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
# deb http://ftp.oleane.net/ubuntu/ bionic-security universe # désactivé pour la mise à niveau vers bionic
# deb-src http://security.ubuntu.com/ubuntu xenial-security universe

Comme vous le constatez il y a pas mal de doublons

Si j'ai bien compris je dois supprimer les lignes en double c'est ça ?

La ou je n'ai pas bien compris et c'est la ou je bloque,comment faire au juste ?

Comme vous le savez en bas de tableau ce trouve ceci


^G Aide         ^O Écrire       ^W Chercher     ^K Couper       ^J Justifier    ^C Pos. cur.    M-U Annuler     M-A Marquer     M-] -> Crochet  M-Q Précédent
^X Quitter      ^R Lire fich.   ^\ Remplacer    ^U Coller       ^T Orthograp.   ^_ Aller ligne  M-E Refaire     M-6 Copier      ^Q Retrouver    M-W Suivant

Mais j'avoue ne pas comprendre le fonctionnement ni comment faire pour l'utiliser correctement afin de ne pas faire d'erreurs

Merci d'avance à tout le monde pour vos retours qui me permettrons j'espère de solutionner mon problème

PS: Ma version actuelle Ubuntu 20.04.1 LTS

Dernière modification par linux-93 (Le 21/10/2020, à 19:26)

Hors ligne

#2 Le 21/10/2020, à 14:37

cqfd93

Re : Problème /etc/apt/sources.list Résolu

Bonjour,

Ton sources.list est particulièrement illisible, tellement il est compact. Ce qui saute aux yeux pourtant, c'est que quasiment tous les dépôts sont désactivés, ce qui n'est pas normal et il semble y avoir un mélange de versions.

Plutôt que de te dire maintenant comment le corriger, je préfère vérifier sur quelle version tu tournes et voir l'intégralité de tes sources.

Donne les retours complets de :

cat /etc/issue
uname -a
echo "${XDG_CURRENT_DESKTOP}"

Et :

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

cqfd93

Hors ligne

#3 Le 21/10/2020, à 16:41

linux-93

Re : Problème /etc/apt/sources.list Résolu

cqfd93 a écrit :

Bonjour,

Ton sources.list est particulièrement illisible, tellement il est compact. Ce qui saute aux yeux pourtant, c'est que quasiment tous les dépôts sont désactivés, ce qui n'est pas normal et il semble y avoir un mélange de versions.

Plutôt que de te dire maintenant comment le corriger, je préfère vérifier sur quelle version tu tournes et voir l'intégralité de tes sources.

Donne les retours complets de :

cat /etc/issue
uname -a
echo "${XDG_CURRENT_DESKTOP}"

Et :

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

Bonjour et merci de ton aide

Alors pour le premier

hakim@anonymous:~$ cat /etc/issue
Ubuntu 20.04.1 LTS \n \l

hakim@anonymous:~$ uname -a
Linux anonymous 5.4.0-52-generic #57-Ubuntu SMP Thu Oct 15 10:57:00 UTC 2020 x86_64 x86_64 x86_64 GNU/Linux
hakim@anonymous:~$ echo "${XDG_CURRENT_DESKTOP}"
ubuntu:GNOME

Et pour le deuxième

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

/etc/apt/sources.list.d/ring-nightly-main.list

     1	# deb https://dl.ring.cx/ring-nightly/ubuntu_16.04/ ring main # désactivé pour la mise à niveau vers bionic

/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 main [stable]  - make all TeamViewer packages available (default)
    15	###       teamviewer repo tv13 [stable]  - make TeamViewer 13 packages available
    16	###                             stable     omit preview and beta releases
    17	
    18	
    19	### Choose stable main to receive updates for TeamViewer 13 and upcoming major releases
    20	### Choose preview main to receive early updates for TeamViewer 13 and to receive major beta releases
    21	
    22	### Choose stable tv13 to receive updates for TeamViewer 13
    23	### Choose preview tv13 to receive early updates for TeamViewer 13
    24	
    25	# deb http://linux.teamviewer.com/deb stable main # désactivé pour la mise à niveau vers bionic
    26	# deb http://linux.teamviewer.com/deb preview main # désactivé pour la mise à niveau vers bionic
    27	
    28	# deb http://linux.teamviewer.com/deb stable tv13
    29	# deb http://linux.teamviewer.com/deb preview tv13

/etc/apt/sources.list.d/deadsnakes-ubuntu-ppa-bionic.list

     1	# deb http://ppa.launchpad.net/deadsnakes/ppa/ubuntu focal main # désactivé pour la mise à niveau vers focal
     2	# deb-src http://ppa.launchpad.net/deadsnakes/ppa/ubuntu bionic main

/etc/apt/sources.list.d/plushuang-tw-ubuntu-uget-stable-bionic.list

     1	# deb http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu focal main # désactivé pour la mise à niveau vers focal
     2	# deb-src http://ppa.launchpad.net/plushuang-tw/uget-stable/ubuntu bionic main

/etc/apt/sources.list.d/nilarimogard-ubuntu-webupd8-bionic.list

     1	# deb http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu focal main # désactivé pour la mise à niveau vers focal
     2	# deb-src http://ppa.launchpad.net/nilarimogard/webupd8/ubuntu bionic main

/etc/apt/sources.list.d/deluge-team-ubuntu-ppa-bionic.list

     1	# deb http://ppa.launchpad.net/deluge-team/ppa/ubuntu focal main # désactivé pour la mise à niveau vers focal
     2	# deb-src http://ppa.launchpad.net/deluge-team/ppa/ubuntu bionic main

/etc/apt/sources.list

     1	# deb cdrom:[Ubuntu 16.04.3 LTS _Xenial Xerus_ - Release amd64 (20170801)]/ xenial main restricted
     2	
     3	# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
     4	# newer versions of the distribution.
     5	# deb http://ftp.oleane.net/ubuntu/ bionic main restricted # désactivé pour la mise à niveau vers bionic
     6	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial main restricted
     7	## Major bug fix updates produced after the final release of the
     8	## distribution.
     9	# deb http://ftp.oleane.net/ubuntu/ bionic-updates main restricted # désactivé pour la mise à niveau vers bionic
    10	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
    11	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
    12	## team. Also, please note that software in universe WILL NOT receive any
    13	## review or updates from the Ubuntu security team.
    14	# deb http://ftp.oleane.net/ubuntu/ bionic universe # désactivé pour la mise à niveau vers bionic
    15	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial universe
    16	# deb http://ftp.oleane.net/ubuntu/ bionic-updates universe # désactivé pour la mise à niveau vers bionic
    17	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates universe
    18	## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu 
    19	## team, and may not be under a free licence. Please satisfy yourself as to 
    20	## your rights to use the software. Also, please note that software in 
    21	## multiverse WILL NOT receive any review or updates from the Ubuntu
    22	## security team.
    23	# deb http://ftp.oleane.net/ubuntu/ bionic multiverse # désactivé pour la mise à niveau vers bionic
    24	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial multiverse
    25	# deb http://ftp.oleane.net/ubuntu/ bionic-updates multiverse # désactivé pour la mise à niveau vers bionic
    26	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
    27	## N.B. software from this repository may not have been tested as
    28	## extensively as that contained in the main release, although it includes
    29	## newer versions of some applications which may provide useful features.
    30	## Also, please note that software in backports WILL NOT receive any review
    31	## or updates from the Ubuntu security team.
    32	# deb-src http://fr.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
    33	## Uncomment the following two lines to add software from Canonical's
    34	## 'partner' repository.
    35	## This software is not part of Ubuntu, but is offered by Canonical and the
    36	## respective vendors as a service to Ubuntu users.
    37	# deb http://archive.canonical.com/ubuntu xenial partner
    38	deb-src http://archive.canonical.com/ubuntu focal partner
    39	# deb http://ftp.oleane.net/ubuntu/ bionic-security main restricted # désactivé pour la mise à niveau vers bionic
    40	# deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
    41	# deb http://ftp.oleane.net/ubuntu/ bionic-security universe # désactivé pour la mise à niveau vers bionic
    42	# deb-src http://security.ubuntu.com/ubuntu xenial-security universe
    43	# deb http://ftp.oleane.net/ubuntu/ bionic-security multiverse # désactivé pour la mise à niveau vers bionic
    44	# deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
    45	deb http://archive.ubuntu.com/ubuntu focal main
    46	deb http://archive.ubuntu.com/ubuntu focal main universe # auto generated by ubuntu-release-upgrader
    47	deb http://archive.ubuntu.com/ubuntu focal-updates main universe # auto generated by ubuntu-release-upgrader
    48	deb http://archive.ubuntu.com/ubuntu focal-security main universe # auto generated by ubuntu-release-upgrader
hakim@anonymous:~$

Merci encore à toi du temps que tu prendras à m'aider

Hors ligne

#4 Le 21/10/2020, à 17:08

cqfd93

Re : Problème /etc/apt/sources.list Résolu

Bon, à priori, ça devrait se régler rapidement.

Les fichiers de ppa ne contenant que des dépôts désactivés, on peut faire du vide dans ces dossiers et si un jour tu en as besoin, tu pourras toujours les réinstaller proprement.
Pour faire ce vide :

cd /etc/apt/sources.list.d
sudo rm -v *.list*

Pour sources.list, le mieux est de remplacer l'existant par un truc complet mais épuré de tout commentaire. Copie / colle ce bloc en une seule fois dans le terminal (et termine avec Entrée) :

sudo tee /etc/apt/sources.list <<EOF

deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse 

deb http://fr.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse 
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse 
deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse 

deb http://archive.canonical.com/ubuntu focal partner
EOF

Et après tout ça, tu peux faire les mises à jour :

sudo apt update
sudo apt full-upgrade

cqfd93

Hors ligne

#5 Le 21/10/2020, à 18:09

linux-93

Re : Problème /etc/apt/sources.list Résolu

cqfd93 a écrit :

Bon, à priori, ça devrait se régler rapidement.

Les fichiers de ppa ne contenant que des dépôts désactivés, on peut faire du vide dans ces dossiers et si un jour tu en as besoin, tu pourras toujours les réinstaller proprement.
Pour faire ce vide :

cd /etc/apt/sources.list.d
sudo rm -v *.list*

Pour sources.list, le mieux est de remplacer l'existant par un truc complet mais épuré de tout commentaire. Copie / colle ce bloc en une seule fois dans le terminal (et termine avec Entrée) :

sudo tee /etc/apt/sources.list <<EOF

deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse 

deb http://fr.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse 
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse 
deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse 

deb http://archive.canonical.com/ubuntu focal partner
EOF

Et après tout ça, tu peux faire les mises à jour :

sudo apt update
sudo apt full-upgrade

Merci de ta réponse je fait tout ce que tu m'as demander et je te fait par des résultats

Hors ligne

#6 Le 21/10/2020, à 18:10

cqfd93

Re : Problème /etc/apt/sources.list Résolu

C'est inutile de citer intégralement mon message, ça ne fait qu'alourdir la discussion.


cqfd93

Hors ligne

#7 Le 21/10/2020, à 18:18

linux-93

Re : Problème /etc/apt/sources.list Résolu

cqfd93 a écrit :

Bon, à priori, ça devrait se régler rapidement.

Les fichiers de ppa ne contenant que des dépôts désactivés, on peut faire du vide dans ces dossiers et si un jour tu en as besoin, tu pourras toujours les réinstaller proprement.
Pour faire ce vide :

cd /etc/apt/sources.list.d
sudo rm -v *.list*

Pour sources.list, le mieux est de remplacer l'existant par un truc complet mais épuré de tout commentaire. Copie / colle ce bloc en une seule fois dans le terminal (et termine avec Entrée) :

sudo tee /etc/apt/sources.list <<EOF

deb http://fr.archive.ubuntu.com/ubuntu/ focal main restricted universe multiverse 

deb http://fr.archive.ubuntu.com/ubuntu/ focal-security main restricted universe multiverse 
deb http://fr.archive.ubuntu.com/ubuntu/ focal-updates main restricted universe multiverse 
deb http://fr.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse 

deb http://archive.canonical.com/ubuntu focal partner
EOF

Et après tout ça, tu peux faire les mises à jour :

sudo apt update
sudo apt full-upgrade

J'ai fait tout ce que tu ma demander, visiblement tout c'est bien passer

Par contre après j'ai fait ça

hakim@anonymous:~$ sudo /etc/apt/sources.list
sudo: impossible de résoudre l'hôte anonymous: Nom ou service inconnu
[sudo] Mot de passe de hakim : 
sudo: /etc/apt/sources.list : commande introuvable
hakim@anonymous:~$ 

Ma question est le retour de la commande est t'elle normal ?

Hors ligne

#8 Le 21/10/2020, à 18:27

linux-93

Re : Problème /etc/apt/sources.list Résolu

cqfd93 a écrit :

C'est inutile de citer intégralement mon message, ça ne fait qu'alourdir la discussion.

Tu as raison désolé

Hors ligne

#9 Le 21/10/2020, à 18:27

cqfd93

Re : Problème /etc/apt/sources.list Résolu

Supprime les deux citations de mon long message (dans tes messages 5 et 7) qui alourdissent inutilement la discussion.

linux-93 a écrit :

J'ai fait tout ce que tu ma demander, visiblement tout c'est bien passer

C'était le but smile

Par contre après j'ai fait ça

hakim@anonymous:~$ sudo /etc/apt/sources.list…

Je ne t'ai pas demandé ça et en plus ça n'est pas une commande valide donc c'est normal que tu obtiennes un message d'erreur.


cqfd93

Hors ligne

#10 Le 21/10/2020, à 18:35

linux-93

Re : Problème /etc/apt/sources.list Résolu

cqfd93 a écrit :

Je ne t'ai pas demandé ça et en plus ça n'est pas une commande valide donc c'est normal que tu obtiennes un message d'erreur.

Réflexion faite oui c'est logique si c'est une commande non valide

Question,

hakim@anonymous:~$ sudo ls -al
sudo: impossible de résoudre l'hôte anonymous: Nom ou service inconnu
[sudo] Mot de passe de hakim : 
total 6392
drwxr-xr-x 45 hakim hakim    4096 oct.  21 18:15  .
drwxr-xr-x  3 root  root     4096 févr. 16  2018  ..
-rw-------  1 hakim hakim   53764 oct.  21 18:15  .bash_history
-rw-------  1 hakim hakim       0 sept. 18  2019  .bash_history-03373.tmp
-rw-r--r--  1 hakim hakim     220 févr. 16  2018  .bash_logout
-rw-r--r--  1 hakim hakim    3771 févr. 16  2018  .bashrc
drwxr-xr-x  2 hakim hakim    4096 sept.  9 22:25  Bureau
drwx------ 18 hakim hakim    4096 oct.  20 18:30  .cache
-rw-rw-r--  1 hakim hakim      15 oct.  14  2018  clé-eset
drwx------  3 hakim hakim    4096 févr. 16  2018  .compiz
drwx------ 45 hakim hakim    4096 oct.  18 20:11  .config
drwx------  2 hakim hakim    4096 déc.  20  2018  .cups
drwx------  3 root  root     4096 févr. 21  2018  .dbus
drwxr-xr-x  2 hakim hakim    4096 mai   30 21:17  Desktop
-rw-r--r--  1 hakim hakim      25 avril 29  2018  .dmrc
drwxr-xr-x  4 hakim hakim    4096 sept. 21 19:12  Documents
drwxr-xr-x  3 hakim hakim    4096 oct.  17 23:09  Downloads
-rwxr-----  1 hakim hakim 3276317 nov.  14  2018 'Eau infiltration.jpg'
drwx------  2 hakim hakim    4096 oct.  21 11:55  .esets
-rw-r--r--  1 hakim hakim    8980 févr. 16  2018  examples.desktop
drwx------  3 hakim hakim    4096 oct.  22  2019  .gconf
-rw-r-----  1 hakim hakim       0 mars  17  2018  .gksu.lock
drwx------  3 hakim hakim    4096 mai   13  2018  .gnome2
drwx------  2 hakim hakim    4096 mai   13  2018  .gnome2_private
drwx------  5 hakim hakim    4096 oct.  21 18:05  .gnupg
drwx------  2 root  root     4096 janv. 21  2019  .gvfs
drwxr-xr-x  6 hakim hakim    4096 avril  5  2020  help
-rw-------  1 hakim hakim  103140 sept. 27 16:10  .ICEauthority
drwxr-xr-x  3 hakim hakim   12288 oct.  21 18:05  Images
-rwxr-----  1 hakim hakim 2847870 nov.  14  2018 'Infiltration eau.jpg'
-rw-r--r--  1 hakim hakim       0 févr.  2  2020  .lightworks.thereCanBeOnlyOne
drwxr-xr-x  6 hakim hakim    4096 avril  5  2020  list
drwx------  5 hakim hakim    4096 janv.  1  2020  .local
drwxr-xr-x  2 hakim hakim    4096 févr.  2  2020  .MCTranscodingSDK
drwxr-xr-x  2 hakim hakim    4096 févr. 16  2018  Modèles
drwx------  6 hakim hakim    4096 avril 11  2020  .mozilla
drwxr-xr-x  2 hakim hakim    4096 févr. 17  2018  Music
drwxr-xr-x  3 hakim hakim    4096 sept.  6  2019  Musique
drwxrwxr-x  2 hakim hakim    4096 août   9  2019 'New Folder'
drwxrwxr-x 26 hakim hakim    4096 oct.  17 22:34  openssl
drwxr-xr-x  2 hakim hakim    4096 févr. 17  2018  Pictures
-rw-r--r--  1 hakim hakim     655 févr. 16  2018  .profile
drwxr-xr-x  2 hakim hakim    4096 déc.  30  2018  Public
drwx------  7 hakim hakim    4096 févr. 28  2020  .purple
drwxrwxr-x  8 hakim hakim    4096 oct.  17 22:36  PyGithub
drwxrwxr-x  2 hakim hakim    4096 févr. 20  2018  .pypar2
-rw-------  1 hakim hakim       0 nov.  26  2018  .python_history
drwxr-xr-x 15 hakim hakim    4096 mars  31  2020  snap
drwxrwxr-x 11 hakim hakim    4096 oct.  18 19:54  sqlmap
drwx------  2 hakim hakim    4096 août  16  2018  .ssh
drwxrwxr-x  5 hakim hakim    4096 mars  28  2020  .ssr
-rw-r--r--  1 hakim hakim       0 févr. 16  2018  .sudo_as_admin_successful
drwxr-xr-x 11 hakim hakim   12288 oct.  18 17:05  Téléchargements
drwxr-xr-x  2 hakim hakim    4096 févr. 17  2018  Templates
drwx------  5 hakim hakim    4096 oct.  26  2018  .thunderbird
drwxr-xr-x  4 hakim hakim    4096 août   9  2019  Videos
drwxr-xr-x  3 hakim hakim    4096 août   9  2019  Vidéos
drwxrwxr-x  2 hakim hakim    4096 nov.   9  2018 'VirtualBox VMs'
drwxr-xr-x  6 hakim hakim    4096 avril  5  2018  vpn
-rw-r--r--  1 hakim hakim     248 oct.  13 15:15  .wget-hsts
drwxrwxr-x 35 hakim hakim    4096 oct.  18 17:23  wireshark
-rw-------  1 hakim hakim      56 août  14  2018  .Xauthority
-rw-------  1 hakim hakim    1807 août  16  2018  .xsession-errors
-rw-------  1 hakim hakim    1566 août  13  2018  .xsession-errors.old
hakim@anonymous:~$ 

Tout est normal ?

Hors ligne

#11 Le 21/10/2020, à 18:50

cqfd93

Re : Problème /etc/apt/sources.list Résolu

Cette question est hors-sujet ici puisque ton problème avec sources.list est résolu (d'ailleurs tu pourras marquer ton sujet comme résolu en modifiant le titre depuis le premier message). Je vais quand même y répondre.

Pourquoi lancer la commande ls -al avec sudo ? C'est parfaitement inutile et il faut perdre l'habitude de balancer du sudo, surtout avec ton dossier personnel.

Problème : On voit 2 dossier qui appartiennent à root alors qu'ils devraient appartenir à hakim :

drwx------  3 root  root     4096 févr. 21  2018  .dbus
drwx------  2 root  root     4096 janv. 21  2019  .gvfs

Pour réparer, tu peux passer (en respectant bien les majuscules) :

sudo chown -Rc $USER:$USER /home/$USER

Et contrôle avec (sans sudo) :

ls -al

cqfd93

Hors ligne

#12 Le 21/10/2020, à 19:16

linux-93

Re : Problème /etc/apt/sources.list Résolu

Merci de ta réponse et après ta confirmation je mettrais mon sujet en résolu

cqfd93 a écrit :

Pour réparer, tu peux passer (en respectant bien les majuscules)

Je fais donc juste ça

sudo chown -Rc $USER:$USER /home/$USER

ou

sudo chown -Rc $USER:$USER /home/$USER.dbus

et l'autre avec .gvfs ?

Hors ligne

#13 Le 21/10/2020, à 19:21

cqfd93

Re : Problème /etc/apt/sources.list Résolu

Tu fais ce que j'ai donné, textuellement !


cqfd93

Hors ligne

#14 Le 21/10/2020, à 19:25

linux-93

Re : Problème /etc/apt/sources.list Résolu

cqfd93 a écrit :

Tu fais ce que j'ai donné, textuellement !

Merci milles fois par ta patience et ton aide

Bonne soirée à toi

Hors ligne

#15 Le 21/10/2020, à 19:30

cqfd93

Re : Problème /etc/apt/sources.list Résolu

Contente d'avoir pu t'aider.

Bonne soirée !


cqfd93

Hors ligne