#1 Le 20/05/2017, à 19:28
- JPSteff
[Résolu] Problème avec Ubuntu Software vide.
Bonjour,
Problème "Ubuntu Software est vide" et quand je lance
sudo apt-get update
j'obtiens l'erreur suivante
Fetched 306 kB in 2s (146 kB/s)
Reading package lists... Error!
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
W: The repository 'cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
E: Failed to fetch cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)/dists/xenial/main/binary-amd64/Packages Please use apt-cdrom to make this CD-ROM recognized by APT. apt-get update cannot be used to add new CD-ROMs
E: Some index files failed to download. They have been ignored, or old ones used instead.
E: flAbsPath on /var/lib/dpkg/status failed - realpath (2: No such file or directory)
E: Could not open file - open (2: No such file or directory)
E: Problem opening
E: The package lists or status file could not be parsed or opened.
Je suis novice sur Ubuntu et j'aimerais m'en sortir sans avoir à réinstaller ...
Merci de votre aide
Dernière modification par JPSteff (Le 21/05/2017, à 14:31)
Hors ligne
#2 Le 20/05/2017, à 23:00
- Ayral
Re : [Résolu] Problème avec Ubuntu Software vide.
Ton message a été scindé de la discussion que tu as prise en route, ce qui n'est pas recommandé. Un problème, une discussion.
Pourrais tu nous donner le retour de cette commande, pour que l'on voie quelles sont tes sources :
find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
Merci.
Dernière modification par Ayral (Le 20/05/2017, à 23:01)
Pour mettre les retours de commande entre deux balises code, les explications sont là : https://forum.ubuntu-fr.org/viewtopic.php?id=1614731
Blog d'un retraité
Site de graphisme du fiston Loïc
Ubuntu 22.04 LTS sur un Thinkpad W540
Hors ligne
#3 Le 20/05/2017, à 23:07
- JPSteff
Re : [Résolu] Problème avec Ubuntu Software vide.
Désolé, je ne connaissais pas cet usage, je ferais attention la prochaine fois.
Voici la commande est son retour
$ find /etc/apt -name '*.list' -exec bash -c 'echo -e "\n$1\n"; nl -ba "$1"' _ '{}' \;
/etc/apt/sources.list
1 deb cdrom:[Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2)]/ 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://archive.ubuntu.com/ubuntu xenial main restricted
6 deb-src http://archive.ubuntu.com/ubuntu xenial restricted main multiverse universe #Added by software-properties
7 # deb-src http://bg.archive.ubuntu.com/ubuntu/ xenial main restricted
8
9 ## Major bug fix updates produced after the final release of the
10 ## distribution.
11 deb http://archive.ubuntu.com/ubuntu xenial-updates main restricted
12 deb-src http://archive.ubuntu.com/ubuntu xenial-updates restricted main multiverse universe #Added by software-properties
13 # deb-src http://bg.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
14
15 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
16 ## team. Also, please note that software in universe WILL NOT receive any
17 ## review or updates from the Ubuntu security team.
18 deb http://archive.ubuntu.com/ubuntu xenial universe
19 # deb-src http://bg.archive.ubuntu.com/ubuntu/ xenial universe
20 deb http://archive.ubuntu.com/ubuntu xenial-updates universe
21 # deb-src http://bg.archive.ubuntu.com/ubuntu/ xenial-updates universe
22
23 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
24 ## team, and may not be under a free licence. Please satisfy yourself as to
25 ## your rights to use the software. Also, please note that software in
26 ## multiverse WILL NOT receive any review or updates from the Ubuntu
27 ## security team.
28 deb http://archive.ubuntu.com/ubuntu xenial multiverse
29 # deb-src http://bg.archive.ubuntu.com/ubuntu/ xenial multiverse
30 deb http://archive.ubuntu.com/ubuntu xenial-updates multiverse
31 # deb-src http://bg.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
32
33 ## N.B. software from this repository may not have been tested as
34 ## extensively as that contained in the main release, although it includes
35 ## newer versions of some applications which may provide useful features.
36 ## Also, please note that software in backports WILL NOT receive any review
37 ## or updates from the Ubuntu security team.
38 deb http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse
39 deb-src http://archive.ubuntu.com/ubuntu xenial-backports main restricted universe multiverse #Added by software-properties
40 # deb-src http://bg.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
41
42 ## Uncomment the following two lines to add software from Canonical's
43 ## 'partner' repository.
44 ## This software is not part of Ubuntu, but is offered by Canonical and the
45 ## respective vendors as a service to Ubuntu users.
46 deb http://archive.canonical.com/ubuntu xenial partner
47 deb-src http://archive.canonical.com/ubuntu xenial partner
48
49 deb http://archive.ubuntu.com/ubuntu xenial-security main restricted
50 deb-src http://archive.ubuntu.com/ubuntu xenial-security restricted main multiverse universe #Added by software-properties
51 # deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
52 deb http://archive.ubuntu.com/ubuntu xenial-security universe
53 # deb-src http://security.ubuntu.com/ubuntu xenial-security universe
54 deb http://archive.ubuntu.com/ubuntu xenial-security multiverse
55 # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
/etc/apt/sources.list.d/google-earth.list
1 ### THIS FILE IS AUTOMATICALLY CONFIGURED ###
2 # You may comment out this entry, but any other modifications may be lost.
3 deb http://dl.google.com/linux/earth/deb/ stable main
Hors ligne
#4 Le 21/05/2017, à 09:43
- JPSteff
Re : [Résolu] Problème avec Ubuntu Software vide.
Bonjour
En plus du problème sus-cité, ce matin au démarrage de mon ordinateur, j'ai un message d'erreur qui apparaît dans la barre d'état, avec le message suivant
Désolé, je n'ai pas trouver le moyen d'inclure cette image dans le message
Hors ligne
#5 Le 21/05/2017, à 09:54
- xubu1957
Re : [Résolu] Problème avec Ubuntu Software vide.
Bonjour,
Fournis :
lsb_release -a
printenv XDG_CURRENT_DESKTOP
printenv GDMSESSION
uname -r
Conseils pour les nouveaux demandeurs et pas qu'eux
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. Membre de Linux-Azur
Hors ligne
#6 Le 21/05/2017, à 10:29
- JPSteff
Re : [Résolu] Problème avec Ubuntu Software vide.
Bonjour
à la commande :
lsb_release -a
voici la réponse du système :
LSB Version: core-9.20160110ubuntu0.2-amd64:core-9.20160110ubuntu0.2-noarch:security-9.20160110ubuntu0.2-amd64:security-9.20160110ubuntu0.2-noarch
Distributor ID: Ubuntu
Description: Ubuntu 16.04.2 LTS
Release: 16.04
Codename: xenial
à la commande :
printenv XDG_CURRENT_DESKTOP
voici la réponse du système :
Unity
à la commande :
printenv GDMSESSION
voici la réponse du système :
ubuntu
à la commande :
uname -r
voici la réponse du sytème :
4.8.0-52-generic
Hors ligne
#7 Le 21/05/2017, à 10:42
- xubu1957
Re : [Résolu] Problème avec Ubuntu Software vide.
Pour cette partie de ton message d'erreur :
W: The repository 'cdrom://Ubuntu 16.04.2 LTS _Xenial Xerus_ - Release amd64 (20170215.2) xenial Release' does not have a Release file.
J'ai trouvé cette réponse :
Ton problème vient du fait qu'il y a le CD-Rom d'installation déclaré comme source de logiciels dans ta liste de dépôts, et il n'est probablement pas dans le lecteur. Va dans les préférences système → Logiciels & Mises à jour → onglet "Autres logiciels" et tu devrais voir un dépôt qui correspond au CD-Rom. Désactive-le.
> [RESOLU] Ubuntu 16.04 Échec de mise a jour et téléchargement du dépôt
Cette opération réalisée tu referas :
sudo apt update
Dernière modification par xubu1957 (Le 21/05/2017, à 10:44)
Conseils pour les nouveaux demandeurs et pas qu'eux
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. Membre de Linux-Azur
Hors ligne
#8 Le 21/05/2017, à 11:10
- JPSteff
Re : [Résolu] Problème avec Ubuntu Software vide.
Merci , il semblerait effectivement que cela va mieux, le message d'erreur dans la barre d'état a disparu.
Lorsque j'ai lancé la commande
sudo apt update
la réponse du système a été
Ign:1 http://dl.google.com/linux/earth/deb stable InRelease
Hit:2 http://archive.canonical.com/ubuntu xenial InRelease
Hit:3 http://dl.google.com/linux/earth/deb stable Release
Hit:4 http://archive.ubuntu.com/ubuntu xenial InRelease
Hit:6 http://archive.ubuntu.com/ubuntu xenial-updates InRelease
Hit:7 http://archive.ubuntu.com/ubuntu xenial-backports InRelease
Hit:8 http://archive.ubuntu.com/ubuntu xenial-security InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
Il y a toujours une erreur, et mon Ubuntu Software est toujours vide ...
Hors ligne
#9 Le 21/05/2017, à 11:13
- xubu1957
Re : [Résolu] Problème avec Ubuntu Software vide.
Tentes :
sudo apt full-upgrade
Conseils pour les nouveaux demandeurs et pas qu'eux
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. Membre de Linux-Azur
Hors ligne
#10 Le 21/05/2017, à 11:15
- xubu1957
Re : [Résolu] Problème avec Ubuntu Software vide.
Tu pourras essayer :
sudo rm -rf /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist
Conseils pour les nouveaux demandeurs et pas qu'eux
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. Membre de Linux-Azur
Hors ligne
#11 Le 21/05/2017, à 11:32
- JPSteff
Re : [Résolu] Problème avec Ubuntu Software vide.
Tentes :
sudo apt full-upgrade
Je viens de le faire, réponse système :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages were automatically installed and are no longer required:
kde-l10n-bg kde-l10n-engb kde-l10n-fr libgles1-mesa linux-headers-4.8.0-36
linux-headers-4.8.0-36-generic linux-headers-4.8.0-46
linux-headers-4.8.0-46-generic linux-headers-4.8.0-49
linux-headers-4.8.0-49-generic linux-image-4.8.0-36-generic
linux-image-4.8.0-46-generic linux-image-4.8.0-49-generic
linux-image-extra-4.8.0-36-generic linux-image-extra-4.8.0-46-generic
linux-image-extra-4.8.0-49-generic snap-confine
Use 'sudo apt autoremove' to remove them.
The following packages will be upgraded:
gnome-software gnome-software-common ubuntu-software
3 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 2 499 kB of archives.
After this operation, 9 216 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 ubuntu-software amd64 3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1 [11,7 kB]
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gnome-software amd64 3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1 [231 kB]
Get:3 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 gnome-software-common all 3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1 [2 257 kB]
Fetched 2 499 kB in 3s (831 kB/s)
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
(Reading database ... 359080 files and directories currently installed.)
Preparing to unpack .../ubuntu-software_3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1_amd64.deb ...
Unpacking ubuntu-software (3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1) over (3.20.1+git20170208.0.a34b091-0ubuntu1~xenial1) ...
Preparing to unpack .../gnome-software_3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1_amd64.deb ...
Unpacking gnome-software (3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1) over (3.20.1+git20170208.0.a34b091-0ubuntu1~xenial1) ...
Preparing to unpack .../gnome-software-common_3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1_all.deb ...
Unpacking gnome-software-common (3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1) over (3.20.1+git20170208.0.a34b091-0ubuntu1~xenial1) ...
Processing triggers for hicolor-icon-theme (0.15-0ubuntu1) ...
Processing triggers for libglib2.0-0:i386 (2.48.2-0ubuntu1) ...
Processing triggers for libglib2.0-0:amd64 (2.48.2-0ubuntu1) ...
Processing triggers for desktop-file-utils (0.22-1ubuntu5.1) ...
Processing triggers for gnome-menus (3.13.3-6ubuntu3.1) ...
Processing triggers for bamfdaemon (0.5.3~bzr0+16.04.20160824-0ubuntu1) ...
Rebuilding /usr/share/applications/bamf-2.index...
Processing triggers for mime-support (3.59ubuntu1) ...
Processing triggers for man-db (2.7.5-1) ...
Setting up gnome-software-common (3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1) ...
Setting up gnome-software (3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1) ...
Setting up ubuntu-software (3.20.1+git20170427.0.3d09239-0ubuntu1~xenial1) ...
N: Ignoring file '20auto-upgrades.ucf-dist' in directory '/etc/apt/apt.conf.d/' as it has an invalid filename extension
donc toujours la même erreur ...
Hors ligne
#12 Le 21/05/2017, à 11:34
- JPSteff
Re : [Résolu] Problème avec Ubuntu Software vide.
Tu pourras essayer :
sudo rm -rf /etc/apt/apt.conf.d/20auto-upgrades.ucf-dist
Après cette dernière commande, impecable, tout est rentré dans l'ordre et de plus mon Ubuntu Software est à nouveau comme avant, merci beaucoup !
Hors ligne
#13 Le 21/05/2017, à 12:18
- xubu1957
Re : [Résolu] Problème avec Ubuntu Software vide.
Il faut rajouter [Résolu] au début du titre de ta discussion, en cliquant sur Modifier depuis ton premier message.
Merci.
Conseils pour les nouveaux demandeurs et pas qu'eux
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. Membre de Linux-Azur
Hors ligne
#14 Le 21/05/2017, à 14:30
- JPSteff
Re : [Résolu] Problème avec Ubuntu Software vide.
OK, je ne connaissais pas cet usage, je m'en occupe de suite.
Encore mille merci !
Hors ligne
#15 Le 21/05/2017, à 14:39
- xubu1957
Re : [Résolu] Problème avec Ubuntu Software vide.
7. Pensez à passer vos sujets en [Résolu] lorsque ceux-ci le sont. Cette manipulation s'effectue en modifiant le titre de votre premier message. Si vous n'étiez pas inscrit à ce moment, signalez votre message.
Conseils pour les nouveaux demandeurs et pas qu'eux
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. Membre de Linux-Azur
Hors ligne