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 20/10/2013, à 14:23

Marcinx

Unknown configuration key `foreign-architecture' found in your `dpkg'

Bonjour,

J'ai fait la mise à niveau d'ubuntu 13.04 à 13.10. Il semble qu'il y ait eu quelques problèmes lors de la mise à niveau.
Lorsque je fais un

apt-get upgrade

, je reçois certaines erreurs telles que celles ci :

[...]

Paramétrage de libunity9:amd64 (7.1.2+13.10.20131010-0ubuntu2) ...
Paramétrage de libsystemd-journal0:amd64 (204-0ubuntu19) ...
Paramétrage de python3-distupgrade (1:0.205.1) ...
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Paramétrage de ubuntu-release-upgrader-core (1:0.205.1) ...
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Paramétrage de ubuntu-release-upgrader-gtk (1:0.205.1) ...
Paramétrage de gir1.2-gudev-1.0 (204-0ubuntu19) ...
Paramétrage de gir1.2-unity-5.0:amd64 (7.1.2+13.10.20131010-0ubuntu2) ...
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Paramétrage de libindicator7 (12.10.2+13.10.20130913-0ubuntu2) ...
Paramétrage de python3-software-properties (0.92.27.1) ...
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Paramétrage de software-properties-common (0.92.27.1) ...
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Paramétrage de software-properties-gtk (0.92.27.1) ...
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Paramétrage de unity-scopes-runner (7.1.2+13.10.20131010-0ubuntu2) ...
Traitement des actions différées (« triggers ») pour « initramfs-tools »...
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

update-initramfs: Generating /boot/initrd.img-3.11.0-12-generic
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Traitement des actions différées (« triggers ») pour « libc-bin »...

Je ne comprends pas à quoi correspond cette erreur

Unknown configuration key `foreign-architecture' found in your `dpkg'

Comment faire pour corriger cette erreur et être certain que ma version est stable ? D'avance merci.

Hors ligne

#2 Le 20/10/2013, à 14:29

f.x0

Re : Unknown configuration key `foreign-architecture' found in your `dpkg'

Bonjour Marcinx,

Essaies ceci :

sudo dpkg --add-architecture i386
sudo apt-get autoremove --purge
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade

SOPI

Hors ligne

#3 Le 20/10/2013, à 14:54

Marcinx

Re : Unknown configuration key `foreign-architecture' found in your `dpkg'

Bonjour, et merci pour ton aide.

Malheureusement l'erreur est là  dès la première commande : 

$ sudo dpkg --add-architecture i386
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Que faire ?

Dernière modification par Marcinx (Le 20/10/2013, à 14:55)

Hors ligne

#4 Le 20/10/2013, à 15:05

f.x0

Re : Unknown configuration key `foreign-architecture' found in your `dpkg'

Essaies

sudo apt-get install --reinstall -f dpkg

SOPI

Hors ligne

#5 Le 20/10/2013, à 15:08

Marcinx

Re : Unknown configuration key `foreign-architecture' found in your `dpkg'

Même problème :

$ sudo apt-get install --reinstall -f dpkg
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
0 mis à jour, 0 nouvellement installés, 1 réinstallés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 0 o/2 075 ko dans les archives.
Après cette opération, 0 o d'espace disque supplémentaires seront utilisés.
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

(Lecture de la base de données... 266146 fichiers et répertoires déjà installés.)
Préparation du remplacement de dpkg 1.16.12ubuntu1 (en utilisant .../dpkg_1.16.12ubuntu1_amd64.deb) ...
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Dépaquetage de la mise à jour de dpkg ...
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Traitement des actions différées (« triggers ») pour « man-db »...
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Paramétrage de dpkg (1.16.12ubuntu1) ...
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

NB : je suis sur un système de base 64 bits, est ce que cela peut venir de là ?

Dernière modification par Marcinx (Le 20/10/2013, à 15:09)

Hors ligne

#6 Le 20/10/2013, à 15:25

f.x0

Re : Unknown configuration key `foreign-architecture' found in your `dpkg'

Je ne pense pas, car en 13.04, tu étais déjà en 64bits.

le problème vient plus du fait de la mise à niveau 13.04→13.10.

Mais là désolé, je ne peux pas t'aider davantage,
il faudrait probablement modifier la config de dpkg, mais comment ???


J'espère qu'un Ubuntéro éclairé pour t'aider à trouver la solution.
Bonne chance tongue


SOPI

Hors ligne

#7 Le 20/10/2013, à 15:32

Marcinx

Re : Unknown configuration key `foreign-architecture' found in your `dpkg'

Merci tout de même pour ton aide. J'espère aussi trouver de l'aide.

A chaque fois, je suis enchanté qu'il y ait une mise à niveau, mais je le regrette souvent après l'installation en faisant face à de tels problèmes hmm .

Hors ligne

#8 Le 22/10/2013, à 19:10

Marcinx

Re : Unknown configuration key `foreign-architecture' found in your `dpkg'

(up)
Quelqu'un aurait il des pistes de solutions à me proposer  ?
D'avance merci.

Hors ligne

#9 Le 22/10/2013, à 19:25

f.x0

Re : Unknown configuration key `foreign-architecture' found in your `dpkg'

Marcinx,

si tu n'as pas de réponse tu peux :

Essayer ceci

sudo dpkg --add-architecture amd64
sudo apt-get autoremove --purge
sudo apt-get clean
sudo apt-get update
sudo apt-get dist-upgrade

en cas d'échec, il serait peut-être bon
de créer un nouveau post, cela le mettra en valeur, et tu auras plus de chance d'être aidé.

Encore une fois, bonne chance wink

Dernière modification par f.x0 (Le 22/10/2013, à 19:25)


SOPI

Hors ligne

#10 Le 22/10/2013, à 20:14

Marcinx

Re : Unknown configuration key `foreign-architecture' found in your `dpkg'

Même chose en essayant ce que tu m'as proposé :

$ sudo dpkg --add-architecture amd64
Unknown configuration key `foreign-architecture' found in your `dpkg'
configuration files.  This warning will become a hard error at a later
date, so please remove the offending configuration options and replace
them with `dpkg --add-architecture' invocations at the command line.

C'est vraiment incompréhensible... La mise à niveau semble effectuée, mais j'ai toujours ces erreurs d'unknown configuration. Je ne sais pas si du double post est autorisé sur ce forum ?

Hors ligne

#11 Le 23/10/2013, à 02:36

f.x0

Re : Unknown configuration key `foreign-architecture' found in your `dpkg'

Je te propose de supprimer tous nos messages.

Comme cela tu pourras en créer un tout neuf.

Dis-moi si tu es d'accord.


SOPI

Hors ligne