#1 Le 29/09/2020, à 17:50
- Henri56
eid archive bloque tout
Bonjour a tous , mon problème est que chaque fois que j'essaie de faire une mise a jour ou installer quelque chose en ligne de commande , j'ai des messages d'erreurs concernant ce foutu eid .
La je viens d'essayer d'installer build essential et voici ce qu'il me dit
sudo apt-get install build-essential
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
build-essential est déjà la version la plus récente (12.1ubuntu2).
Les paquets suivants ont été installés automatiquement et ne sont plus nécessaires :
libevent-core-2.0-5 linux-modules-4.4.0-186-generic snapd-login-service
Veuillez utiliser « sudo apt autoremove » pour les supprimer.
0 mis à jour, 0 nouvellement installés, 0 à enlever et 2 non mis à jour.
1 partiellement installés ou enlevés.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Souhaitez-vous continuer ? [O/n] o
Paramétrage de eid-archive (2020.1) ...
WARNING: Unsupported distribution found. Please see the website at
https://eid.belgium.be/en/faq/which-linux-distributions-are-supported#7406
for a list of supported distributions.
distribution too old, cannot continue. Please upgrade, or compile from source.
dpkg: erreur de traitement du paquet eid-archive (--configure) :
le sous-processus script post-installation installé a retourné une erreur de sortie d'état 1
Des erreurs ont été rencontrées pendant l'exécution :
eid-archive
E: Sub-process /usr/bin/dpkg returned an error code (1)
Quelqu'un a une idée de ce qui ne va pas ? moi je ne connais pas assez pour trouver l'erreur
Hors ligne
#2 Le 29/09/2020, à 18:16
- xubu1957
Re : eid archive bloque tout
Bonjour,
Vu > [Résolu] Changement de version de 16.04 à 20.04
Tu ne serais pas sur une version 16.04 ?
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] 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
#3 Le 29/09/2020, à 18:26
- Henri56
Re : eid archive bloque tout
si pourquoi çà change quoi ?
Hors ligne
#4 Le 29/09/2020, à 18:29
- nany
Re : eid archive bloque tout
Bonjour,
Donne, s’il te plaît, les retours de :
find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;
lsb_release -sd
cat /var/lib/dpkg/info/eid-archive.postinst
Hors ligne
#5 Le 29/09/2020, à 18:29
- xubu1957
Re : eid archive bloque tout
WARNING: Unsupported distribution found. Please see the website at
https://eid.belgium.be/en/faq/which-linux-distributions-are-supported#7406
for a list of supported distributions.
distribution too old, cannot continue. Please upgrade, or compile from source.
AVERTISSEMENT : Distribution non soutenue trouvée. Veuillez consulter le site web à l'adresse suivante
https://eid.belgium.be/en/faq/which-lin … orted#7406
pour obtenir une liste des distributions soutenues.
Distribution trop ancienne, ne peut pas continuer. Veuillez mettre à jour ou compiler à partir des sources.
Conseils pour les nouveaux demandeurs et pas qu'eux
Important : Pensez à passer vos sujets en [Réso|u] 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 29/09/2020, à 18:32
- nany
Re : eid archive bloque tout
si pourquoi çà change quoi ?
Ubuntu (la version la plus récente, tout comme les deux versions LTS les plus récentes)
Donc exit la 16.04.
Hors ligne
#7 Le 29/09/2020, à 18:52
- Henri56
Re : eid archive bloque tout
find /etc/apt -type f -name '*.list*' -exec bash -c 'echo -e "\n$1\n"; [[ $1 = *".list" ]] && cat -n "$1"' _ '{}' \;
/etc/apt/sources.list.save
/etc/apt/sources.list.d/noobslab-ubuntu-apps-xenial.list.save
/etc/apt/sources.list.d/eid.list.save
/etc/apt/sources.list.d/opera-stable.list
1 # This file makes sure that Opera Browser is kept up-to-date
2 # as part of regular system upgrades
3
4 deb https://deb.opera.com/opera-stable/ stable non-free #Opera Browser (final releases)
/etc/apt/sources.list.d/noobslab-ubuntu-apps-xenial.list
1 deb http://ppa.launchpad.net/noobslab/apps/ubuntu xenial main
2 # deb-src http://ppa.launchpad.net/noobslab/apps/ubuntu xenial main
/etc/apt/sources.list.d/teejee2008-ubuntu-ppa-xenial.list.save
/etc/apt/sources.list.d/opera-stable.list.save
/etc/apt/sources.list.d/iconnor-ubuntu-zoneminder-1_32-xenial.list.save
/etc/apt/sources.list.d/eid.list
1 # To enable the candidate repository, uncomment the below line, put "deb" in
2 # front of it, and run "dpkg-reconfigure eid-archive" to enable the archive
3 # key.
4 #
5 # The candidate repository contains unsupported prerelease packages. Use at
6 # your own risk.
7 #
8 # Note, however, that the candidate repository is usually empty; it is
9 # used when we're preparing (and testing) a new release. Therefore, it
10 # should be relatively safe.
11 #
12 # There is also another "continuous" repository, for which packages get
13 # recompiled for each and every change to the source. This isn't listed
14 # (so that it can't be accidentally enabled), but the configuration is
15 # the same as the below, with "candidate" replaced by "continuous".
16 #
17 # http://files.eid.belgium.be/debian candidate/xenial main
18 # NOTE: files2.eid.belgium.be is a mirror for the main repository ONLY.
19 # That is, it does not contain the continuous or candidate repositories.
20
21 # The regular repository with released packages. This is what you should
22 # use.
23 deb http://files.eid.belgium.be/debian xenial main
24 deb http://files2.eid.belgium.be/debian xenial main
/etc/apt/sources.list.d/ubuntu-audio-dev-ubuntu-ppa-xenial.list
/etc/apt/sources.list.d/ubuntu-audio-dev-ubuntu-ppa-xenial.list.save
/etc/apt/sources.list.d/vincent-c-ubuntu-conky-xenial.list.save
/etc/apt/sources.list.d/vincent-c-ubuntu-conky-xenial.list
1 deb http://ppa.launchpad.net/vincent-c/conky/ubuntu xenial main
2 # deb-src http://ppa.launchpad.net/vincent-c/conky/ubuntu xenial main
/etc/apt/sources.list.d/teejee2008-ubuntu-ppa-xenial.list
1 deb http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial main
2 # deb-src http://ppa.launchpad.net/teejee2008/ppa/ubuntu xenial main
/etc/apt/sources.list.d/iconnor-ubuntu-zoneminder-1_32-xenial.list
1 deb http://ppa.launchpad.net/iconnor/zoneminder-1.32/ubuntu xenial main
2 # deb-src http://ppa.launchpad.net/iconnor/zoneminder-1.32/ubuntu xenial main
/etc/apt/sources.list
1 # deb cdrom:[Ubuntu 16.04.1 LTS _Xenial Xerus_ - Release amd64 (20160719)]/ 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://be.archive.ubuntu.com/ubuntu/ xenial main restricted
6 # deb-src http://be.archive.ubuntu.com/ubuntu/ xenial main restricted
7
8 ## Major bug fix updates produced after the final release of the
9 ## distribution.
10 deb http://be.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
11 # deb-src http://be.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
12
13 ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu
14 ## team, and may not be under a free licence. Please satisfy yourself as to
15 ## your rights to use the software. Also, please note that software in
16 ## universe WILL NOT receive any review or updates from the Ubuntu security
17 ## team.
18 deb http://be.archive.ubuntu.com/ubuntu/ xenial universe
19 # deb-src http://be.archive.ubuntu.com/ubuntu/ xenial universe
20 deb http://be.archive.ubuntu.com/ubuntu/ xenial-updates universe
21 # deb-src http://be.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://be.archive.ubuntu.com/ubuntu/ xenial multiverse
29 # deb-src http://be.archive.ubuntu.com/ubuntu/ xenial multiverse
30 deb http://be.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
31 # deb-src http://be.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://be.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
39 # deb-src http://be.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
40
41 ## Uncomment the following two lines to add software from Canonical's
42 ## 'partner' repository.
43 ## This software is not part of Ubuntu, but is offered by Canonical and the
44 ## respective vendors as a service to Ubuntu users.
45 deb http://archive.canonical.com/ubuntu xenial partner
46 deb-src http://archive.canonical.com/ubuntu xenial partner
47
48 deb http://security.ubuntu.com/ubuntu xenial-security main restricted
49 # deb-src http://security.ubuntu.com/ubuntu xenial-security main restricted
50 deb http://security.ubuntu.com/ubuntu xenial-security universe
51 # deb-src http://security.ubuntu.com/ubuntu xenial-security universe
52 deb http://security.ubuntu.com/ubuntu xenial-security multiverse
53 # deb-src http://security.ubuntu.com/ubuntu xenial-security multiverse
Hors ligne
#8 Le 29/09/2020, à 18:56
- Henri56
Re : eid archive bloque tout
avant de poursuivre je me fout de l'eid c'est pas ça qui me gène , en plus il fonctionne très bien.
lsb_release -sd
Ubuntu 16.04.7 LTS
cat /var/lib/dpkg/info/eid-archive.postinst
#!/bin/bash
set -e
CODE=$(lsb_release -c -s)
DIST=$(lsb_release -i -s)
REL=$(lsb_release -r -s)
DIR=$(mktemp -d)
too_old() {
echo "distribution too old, cannot continue. Please upgrade, or compile from source."
exit 1
}
case "$CODE" in
serena|sonya|sylvia)
CODE=sarah
;;
tessa|tina|tricia)
CODE=tara
;;
buster|sarah|tara|stretch|bionic|focal)
:
;;
*)
echo -e "WARNING: Unsupported distribution found. Please see the website at\nhttps://eid.belgium.be/en/faq/which-linux-distributions-are-supported#7406\nfor a list of supported distributions."
case "$DIST" in
LinuxMint)
if dpkg --compare-versions 18 le $REL
then
CODE=sarah
else
too_old
fi
echo "Found Linux Mint $REL, using $CODE"
;;
Ubuntu)
if dpkg --compare-versions 18.04 le $REL
then
CODE=bionic
else
too_old
fi
echo "Found Ubuntu $REL, using $CODE"
;;
Debian)
CODE=stretch
if [ "$REL" = "unstable" -o "$REL" = "testing" ]; then
CODE=buster
fi
echo "Found Debian $REL, using $CODE"
;;
*)
CODE=xenial
echo "Unknown distribution found. Using $CODE as fallback."
;;
esac
;;
esac
sed -e "s/@DIST@/${CODE}/g" /usr/share/eid-archive/eid.list > $DIR/eid.list
ucf $DIR/eid.list /etc/apt/sources.list.d/eid.list
ln -sf /usr/share/eid-archive/keys/6773d225.gpg /etc/apt/trusted.gpg.d/eid-archive-released-builds.gpg
if grep -E '^[[:space:]]*deb.*(continuous|candidate)' /etc/apt/sources.list.d/eid.list >/dev/null 2>&1
then
ln -sf /usr/share/eid-archive/keys/10a04d46.gpg /etc/apt/trusted.gpg.d/eid-archive-test-builds.gpg
else
rm -f /etc/apt/trusted.gpg.d/eid-archive-test-builds.gpg
fi
if [ -x /usr/sbin/update-software-center ]; then
update-software-center --triggered=TRIGGERED
fi
echo -e "Repository enabled, keys installed. Please run \"apt-get update\" followed by\n\"apt-get install eid-mw eid-viewer\" to install the middleware and the viewer, respectively."
Hors ligne
#9 Le 29/09/2020, à 19:36
- Henri56
Re : eid archive bloque tout
en résumer , si vous regardez mon premier message , j'essaie d'installer build essential , je ne vois pas ce que l'eid viens faire dans l'installation d'un autre programme ou alors essayez de m'expliquer . En tout cas merci d'essayer de m'aider
Hors ligne
#10 Le 29/09/2020, à 20:27
- nany
Re : eid archive bloque tout
en résumer , si vous regardez mon premier message , j'essaie d'installer build essential ,
sudo apt-get install build-essential Lecture des listes de paquets... Fait Construction de l'arbre des dépendances Lecture des informations d'état... Fait build-essential est déjà la version la plus récente (12.1ubuntu2).
Donc build-essential est déjà installé.
Mais apt continue en cherchant à finaliser l’installation de paquets partiellement installés s’il en trouve.
je ne vois pas ce que l'eid viens faire dans l'installation d'un autre programme ou alors essayez de m'expliquer .
1 partiellement installés ou enlevés. … Paramétrage de eid-archive (2020.1) ... … Des erreurs ont été rencontrées pendant l'exécution : eid-archive E: Sub-process /usr/bin/dpkg returned an error code (1)
C’est bien eid-archive qui met le bazar car il est partiellement installé.
On va essayer de le gruger.
Donne le retour de :
sudo sed -i 's/too_old$/CODE=xenial/' /var/lib/dpkg/info/eid-archive.postinst && cat /var/lib/dpkg/info/eid-archive.postinst
Hors ligne
#11 Le 30/09/2020, à 07:55
- Henri56
Re : eid archive bloque tout
voila la réponse
sudo sed -i 's/too_old$/CODE=xenial/' /var/lib/dpkg/info/eid-archive.postinst && cat /var/lib/dpkg/info/eid-archive.postinst
[sudo] Mot de passe de henri :
#!/bin/bash
set -e
CODE=$(lsb_release -c -s)
DIST=$(lsb_release -i -s)
REL=$(lsb_release -r -s)
DIR=$(mktemp -d)
too_old() {
echo "distribution too old, cannot continue. Please upgrade, or compile from source."
exit 1
}
case "$CODE" in
serena|sonya|sylvia)
CODE=sarah
;;
tessa|tina|tricia)
CODE=tara
;;
buster|sarah|tara|stretch|bionic|focal)
:
;;
*)
echo -e "WARNING: Unsupported distribution found. Please see the website at\nhttps://eid.belgium.be/en/faq/which-linux-distributions-are-supported#7406\nfor a list of supported distributions."
case "$DIST" in
LinuxMint)
if dpkg --compare-versions 18 le $REL
then
CODE=sarah
else
CODE=xenial
fi
echo "Found Linux Mint $REL, using $CODE"
;;
Ubuntu)
if dpkg --compare-versions 18.04 le $REL
then
CODE=bionic
else
CODE=xenial
fi
echo "Found Ubuntu $REL, using $CODE"
;;
Debian)
CODE=stretch
if [ "$REL" = "unstable" -o "$REL" = "testing" ]; then
CODE=buster
fi
echo "Found Debian $REL, using $CODE"
;;
*)
CODE=xenial
echo "Unknown distribution found. Using $CODE as fallback."
;;
esac
;;
esac
sed -e "s/@DIST@/${CODE}/g" /usr/share/eid-archive/eid.list > $DIR/eid.list
ucf $DIR/eid.list /etc/apt/sources.list.d/eid.list
ln -sf /usr/share/eid-archive/keys/6773d225.gpg /etc/apt/trusted.gpg.d/eid-archive-released-builds.gpg
if grep -E '^[[:space:]]*deb.*(continuous|candidate)' /etc/apt/sources.list.d/eid.list >/dev/null 2>&1
then
ln -sf /usr/share/eid-archive/keys/10a04d46.gpg /etc/apt/trusted.gpg.d/eid-archive-test-builds.gpg
else
rm -f /etc/apt/trusted.gpg.d/eid-archive-test-builds.gpg
fi
if [ -x /usr/sbin/update-software-center ]; then
update-software-center --triggered=TRIGGERED
fi
echo -e "Repository enabled, keys installed. Please run \"apt-get update\" followed by\n\"apt-get install eid-mw eid-viewer\" to install the middleware and the viewer, respectively."
Hors ligne
#12 Le 30/09/2020, à 10:36
- nany
Re : eid archive bloque tout
Bien, je pense que ça devrait suffire. Donne le retour de :
sudo apt install -fy
Hors ligne