problème passage Lenny ==> Squeeze

Tu ne risque pas grand chose (du moment ou tu as ton status-old de côté…)

Ben toujours pas mais, il ne donne plus de raison de l’échec, maintenant :

Extraction des modèles depuis les paquets : 100% Préconfiguration des paquets... E: Sub-process /usr/bin/dpkg returned an error code (2)
Allez, on va faire un tour dehors, y’a du soleil :006

La liste des paquets de psmisc est le fichier /var/lib/dpkg/info/psmisc.list
Il aurait fallu le mettre en ligne. Ça n’était pas une erreur de la base de dpkg.

Il doit y avoir une erreur dans /var/lib/dpkg/info/psmisc.list

Oui, surement.
J’y avais pensé :

Mais je suppose que Ricardo a déjà essayé ?

Sinon pour les erreur (2) en principe un petit apt-get clean suffit…

Ben je l’ai bien regardé ce sript mais il ne m’a pas "causé"
le voic, s’il est plus locace pour vous :

[code]#! /bin/sh

Call the appropriate C compiler with options to accept ANSI/ISO C

The following options are the same (as of gcc-3.3):

-std=c99

-std=c9x

-std=iso9899:1999

-std=iso9899:199x

extra_flag=-std=c99

for i; do
case “$i” in
-std=c9[9x]|-std=iso9899:199[9x])
extra_flag=
;;
-std=*)
echo >&2 "basename $0 called with non ANSI/ISO C option $i"
exit 1
;;
esac
done

exec gcc $extra_flag ${1+"$@"}
[/code]

Normalement c’est quelque chose comme ça :

cat /var/lib/dpkg/info/psmisc.list /. /bin /bin/fuser /usr /usr/bin /usr/bin/killall /usr/bin/peekfd /usr/bin/prtstat /usr/bin/pstree /usr/share /usr/share/man /usr/share/man/man1 /usr/share/man/man1/pstree.1.gz /usr/share/man/man1/killall.1.gz /usr/share/man/man1/peekfd.1.gz /usr/share/man/man1/prtstat.1.gz /usr/share/man/man1/fuser.1.gz /usr/share/locale /usr/share/locale/zh_TW /usr/share/locale/zh_TW/LC_MESSAGES /usr/share/locale/zh_TW/LC_MESSAGES/psmisc.mo /usr/share/locale/it /usr/share/locale/it/LC_MESSAGES /usr/share/locale/it/LC_MESSAGES/psmisc.mo /usr/share/locale/fi /usr/share/locale/fi/LC_MESSAGES /usr/share/locale/fi/LC_MESSAGES/psmisc.mo /usr/share/locale/cs /usr/share/locale/cs/LC_MESSAGES /usr/share/locale/cs/LC_MESSAGES/psmisc.mo /usr/share/locale/fr /usr/share/locale/fr/LC_MESSAGES /usr/share/locale/fr/LC_MESSAGES/psmisc.mo /usr/share/locale/pt /usr/share/locale/pt/LC_MESSAGES /usr/share/locale/pt/LC_MESSAGES/psmisc.mo /usr/share/locale/ca /usr/share/locale/ca/LC_MESSAGES /usr/share/locale/ca/LC_MESSAGES/psmisc.mo /usr/share/locale/ro /usr/share/locale/ro/LC_MESSAGES /usr/share/locale/ro/LC_MESSAGES/psmisc.mo /usr/share/locale/el /usr/share/locale/el/LC_MESSAGES /usr/share/locale/el/LC_MESSAGES/psmisc.mo /usr/share/locale/vi /usr/share/locale/vi/LC_MESSAGES /usr/share/locale/vi/LC_MESSAGES/psmisc.mo /usr/share/locale/id /usr/share/locale/id/LC_MESSAGES /usr/share/locale/id/LC_MESSAGES/psmisc.mo /usr/share/locale/de /usr/share/locale/de/LC_MESSAGES /usr/share/locale/de/LC_MESSAGES/psmisc.mo /usr/share/locale/pl /usr/share/locale/pl/LC_MESSAGES /usr/share/locale/pl/LC_MESSAGES/psmisc.mo /usr/share/locale/nl /usr/share/locale/nl/LC_MESSAGES /usr/share/locale/nl/LC_MESSAGES/psmisc.mo /usr/share/locale/hu /usr/share/locale/hu/LC_MESSAGES /usr/share/locale/hu/LC_MESSAGES/psmisc.mo /usr/share/locale/ja /usr/share/locale/ja/LC_MESSAGES /usr/share/locale/ja/LC_MESSAGES/psmisc.mo /usr/share/locale/sv /usr/share/locale/sv/LC_MESSAGES /usr/share/locale/sv/LC_MESSAGES/psmisc.mo /usr/share/locale/eu /usr/share/locale/eu/LC_MESSAGES /usr/share/locale/eu/LC_MESSAGES/psmisc.mo /usr/share/locale/zh_CN /usr/share/locale/zh_CN/LC_MESSAGES /usr/share/locale/zh_CN/LC_MESSAGES/psmisc.mo /usr/share/locale/nb /usr/share/locale/nb/LC_MESSAGES /usr/share/locale/nb/LC_MESSAGES/psmisc.mo /usr/share/locale/ru /usr/share/locale/ru/LC_MESSAGES /usr/share/locale/ru/LC_MESSAGES/psmisc.mo /usr/share/locale/bg /usr/share/locale/bg/LC_MESSAGES /usr/share/locale/bg/LC_MESSAGES/psmisc.mo /usr/share/doc /usr/share/doc/psmisc /usr/share/doc/psmisc/README.Debian /usr/share/doc/psmisc/README /usr/share/doc/psmisc/changelog.gz /usr/share/doc/psmisc/changelog.Debian.gz /usr/share/doc/psmisc/copyright /usr/share/pixmaps /usr/share/pixmaps/pstree32.xpm /usr/share/pixmaps/pstree16.xpm /usr/share/menu /usr/share/menu/psmisc /usr/bin/pstree.x11 /usr/share/man/man1/pstree.x11.1.gz

J’ai remis les sources lenny seulement, même après un clean, toujours la même erreur :

Préconfiguration des paquets... (Lecture de la base de données... dpkg : erreur fatale irréversible, abandon : la liste des fichiers pour le paquet « psmisc » contient un nom de fichier vide E: Sub-process /usr/bin/dpkg returned an error code (2)

:119 :119 :119

[code]ricardo@stable:~$ cat /var/lib/dpkg/info/psmisc.list
#! /bin/sh

Call the appropriate C compiler with options to accept ANSI/ISO C

The following options are the same (as of gcc-3.3):

-std=c99

-std=c9x

-std=iso9899:1999

-std=iso9899:199x

extra_flag=-std=c99

for i; do
case “$i” in
-std=c9[9x]|-std=iso9899:199[9x])
extra_flag=
;;
-std=*)
echo >&2 "basename $0 called with non ANSI/ISO C option $i"
exit 1
;;
esac
done

exec gcc $extra_flag ${1+"$@"}
ricardo@stable:~$ [/code]

Le modèle que tu me montre, je l’ai aussi mais sur SID :smiley:
Là, il s’agit d’une Lenny

Re,
Lenny ou Sid tu devrais avoir une liste de fichiers, pas un script…

Edit: Fais une sauvegarde du fichier vide-le… Et tente un install et/ou reinstall… Je t’aurais bien proposé un remove, mais j’ai un peu peur des dépendances…

Re,
J’ai trouvé mieux…

$ dpkg -L psmisc /. /bin /bin/fuser /usr /usr/bin /usr/bin/killall /usr/bin/pstree /usr/bin/oldfuser /usr/bin/peekfd /usr/share /usr/share/pixmaps /usr/share/pixmaps/pstree16.xpm /usr/share/pixmaps/pstree32.xpm /usr/share/man /usr/share/man/man1 /usr/share/man/man1/peekfd.1.gz /usr/share/man/man1/prtstat.1.gz /usr/share/man/man1/pstree.1.gz /usr/share/man/man1/fuser.1.gz /usr/share/man/man1/killall.1.gz /usr/share/doc /usr/share/doc/psmisc /usr/share/doc/psmisc/README /usr/share/doc/psmisc/README.Debian /usr/share/doc/psmisc/copyright /usr/share/doc/psmisc/changelog.gz /usr/share/doc/psmisc/changelog.Debian.gz /usr/share/menu /usr/share/menu/psmisc /usr/bin/pstree.x11 -> pstree /usr/share/man/man1/pstree.x11.1.gz -> pstree.1.gz

J’ai fait ça sur le paquet Lenny i386…
Il suffit de copier ça dans le fichier list…

En effet, par curiosité, je regardé celui du serveur qui est une Lenny aussi mais en 64 bits :

ricardo@serveur:~$ cat /var/lib/dpkg/info/psmisc.list /. /usr /usr/bin /usr/bin/peekfd /usr/bin/pstree /usr/bin/oldfuser /usr/bin/killall /usr/share /usr/share/pixmaps /usr/share/pixmaps/pstree32.xpm /usr/share/pixmaps/pstree16.xpm /usr/share/menu /usr/share/menu/psmisc /usr/share/doc /usr/share/doc/psmisc /usr/share/doc/psmisc/README /usr/share/doc/psmisc/copyright /usr/share/doc/psmisc/README.Debian /usr/share/doc/psmisc/changelog.Debian.gz /usr/share/doc/psmisc/changelog.gz /usr/share/locale /usr/share/locale/ru /usr/share/locale/ru/LC_MESSAGES /usr/share/locale/ru/LC_MESSAGES/psmisc.mo /usr/share/locale/ca /usr/share/locale/ca/LC_MESSAGES /usr/share/locale/ca/LC_MESSAGES/psmisc.mo /usr/share/locale/bg /usr/share/locale/bg/LC_MESSAGES /usr/share/locale/bg/LC_MESSAGES/psmisc.mo /usr/share/locale/it /usr/share/locale/it/LC_MESSAGES /usr/share/locale/it/LC_MESSAGES/psmisc.mo /usr/share/locale/pl /usr/share/locale/pl/LC_MESSAGES /usr/share/locale/pl/LC_MESSAGES/psmisc.mo /usr/share/locale/sv /usr/share/locale/sv/LC_MESSAGES /usr/share/locale/sv/LC_MESSAGES/psmisc.mo /usr/share/locale/hu /usr/share/locale/hu/LC_MESSAGES /usr/share/locale/hu/LC_MESSAGES/psmisc.mo /usr/share/locale/nl /usr/share/locale/nl/LC_MESSAGES /usr/share/locale/nl/LC_MESSAGES/psmisc.mo /usr/share/locale/fr /usr/share/locale/fr/LC_MESSAGES /usr/share/locale/fr/LC_MESSAGES/psmisc.mo /usr/share/locale/nb /usr/share/locale/nb/LC_MESSAGES /usr/share/locale/nb/LC_MESSAGES/psmisc.mo /usr/share/locale/eu /usr/share/locale/eu/LC_MESSAGES /usr/share/locale/eu/LC_MESSAGES/psmisc.mo /usr/share/locale/zh_CN /usr/share/locale/zh_CN/LC_MESSAGES /usr/share/locale/zh_CN/LC_MESSAGES/psmisc.mo /usr/share/locale/vi /usr/share/locale/vi/LC_MESSAGES /usr/share/locale/vi/LC_MESSAGES/psmisc.mo /usr/share/locale/pt /usr/share/locale/pt/LC_MESSAGES /usr/share/locale/pt/LC_MESSAGES/psmisc.mo /usr/share/locale/ja /usr/share/locale/ja/LC_MESSAGES /usr/share/locale/ja/LC_MESSAGES/psmisc.mo /usr/share/locale/fi /usr/share/locale/fi/LC_MESSAGES /usr/share/locale/fi/LC_MESSAGES/psmisc.mo /usr/share/locale/de /usr/share/locale/de/LC_MESSAGES /usr/share/locale/de/LC_MESSAGES/psmisc.mo /usr/share/locale/ro /usr/share/locale/ro/LC_MESSAGES /usr/share/locale/ro/LC_MESSAGES/psmisc.mo /usr/share/man /usr/share/man/man1 /usr/share/man/man1/fuser.1.gz /usr/share/man/man1/killall.1.gz /usr/share/man/man1/peekfd.1.gz /usr/share/man/man1/pstree.1.gz /bin /bin/fuser /usr/bin/pstree.x11 /usr/share/man/man1/pstree.x11.1.gz ricardo@serveur:~$

je n’ai pas bien comlpris ce que tu me conseilles, remplacer le script par ta liste ?

J’ai copié ton fichier mais ça recule le problème ailleurs :013

Préconfiguration des paquets... (Lecture de la base de données... dpkg : avertissement important : le fichier contenant la liste des fichiers du paquet « libgimp2.0 » étant manquant, il est considéré qu'aucun fichier du paquet n'est actuellement installé. dpkg : erreur fatale irréversible, abandon : la liste des fichiers pour le paquet « dbus » contient un nom de fichier vide E: Sub-process /usr/bin/dpkg returned an error code (2)
et quand on aura trouvé pour dbus, il y en aura un autre. :078

Hum, tu as un problème dans le répertoire /var/lib/dpkg/info, visiblement des fichiers manquent ou sont vérolés. Peux tu donner le contenu du fichier dbus?

Ben si tu parles du
/var/lib/dpkg/info/dbus.list
C’est un pavé, qui n’a rien à voir avec le même fichier sous Sid.
Je le place quand même :

[quote]*PPD-Adobe: “4.3”
*% CUPS add-on PPD file for Canon Inkjet Printer Driver.
*% Copyright CANON INC. 2001-2007
*% All Rights Reserved.
*%
*% This program is free software; you can redistribute it and/or modify
*% it under the terms of the GNU General Public License as published by
*% the Free Software Foundation; either version 2 of the License, or
*% (at your option) any later version.
*%
*% This program is distributed in the hope that it will be useful,
*% but WITHOUT ANY WARRANTY; without even the implied warranty of
*% MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
*% GNU General Public License for more details.
*%
*% You should have received a copy of the GNU General Public License
*% along with this program; if not, write to the Free Software
*% Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*%
*% 11-2007: Original MP600 file updated by Nicolas Martin under GPL v2
*% - Update for Canon MP600 and MP610 printers in a single ppd file
*% - Created French translation: canonmp600fr.ppd
*% - Added specific MP600 and MP610 options
*% 12-2007: modification for use with MP610 printer driver.

*FileVersion: “1.0”
*FormatVersion: “4.3”
*LanguageEncoding: ISOLatin1
*LanguageVersion: French
*Manufacturer: “Canon”
*ModelName: “Canon MP620-630 series”
*NickName: “Canon MP620-630 series Ver.2.80fr”
*PCFileName: “CNMP620.PPD”
*Product: “(mp610)”
*PSVersion: “(3010.000) 550”
*PSVersion: “(3010.000) 651”
*PSVersion: “(3010.000) 705”
*PSVersion: “(3010.000) 715”
*ShortNickName: “MP620-630”

*ColorDevice: True
*DefaultColorSpace: RGB
*Throughput: “1”
*LandscapeOrientation: Plus90
*LanguageLevel: “3”
*FileSystem: False
*TTRasterizer: Type42

*cupsFilter: “application/vnd.cups-postscript 0 pstocanonij”
*cupsManualCopies: True
*cupsModelNumber: 327
*cupsVersion: 1.1

*MaxMediaWidth: “612”
*MaxMediaHeight: “1656”
*CenterRegistered: False
*HWMargins: 9.64 14.17 9.64 8.50
*LeadingEdge Short: “”
*DefaultLeadingEdge: Short
*VariablePaperSize: True
*ParamCustomPageSize Width: 1 points 153.08 612.0
*ParamCustomPageSize Height: 2 points 243.78 1656.0
*ParamCustomPageSize WidthOffset: 3 points 0 0
*ParamCustomPageSize HeightOffset: 4 points 0 0
*ParamCustomPageSize Orientation: 5 int 1 1
*CustomPageSize True: “pop pop pop <</PageSize [5 -2 roll] /ImagingBBox null>>setpagedevice”

*%------------------------------------------------------

*OpenUI *Resolution/Rsolution: PickOne
*DefaultResolution: 600
*Resolution 600/600 dpi: “<</HWResolution[600 600]>>setpagedevice”
*Resolution 1200/1200 dpi: “<</HWResolution[1200 1200]>>setpagedevice”
*Resolution 2400/2400 dpi: “<</HWResolution[2400 2400]>>setpagedevice”
*CloseUI: *Resolution

*% OpenUI inutile si 1 seul modele de couleur
*%OpenUI *ColorModel/Color Model: PickOne
*DefaultColorModel: rgb
*ColorModel rgb/RGB: “<</cupsColorOrder 0/cupsColorSpace 1/cupsCompression 0/cupsBitsPerColor 8>>setpagedevice”
*%CloseUI: *ColorModel

*%------------------------------------------------------
*OpenGroup: Rendu de l’impression
*%------------------------------------------------------

*OpenUI *CNQuality/Qualit: PickOne
*DefaultCNQuality: 5
*CNQuality 2/Haute: “2”
*CNQuality 3/Normale: “3”
*CNQuality 4/Standard: “4”
*CNQuality 5/Economique: “5”
*CloseUI: *CNQuality

*UIConstraints: *CNQuality 4 *MediaType prophoto
*UIConstraints: *MediaType prophoto *CNQuality 4
*UIConstraints: *CNQuality 5 *MediaType prophoto
*UIConstraints: *MediaType prophoto *CNQuality 5
*UIConstraints: *CNQuality 5 *MediaType superphoto
*UIConstraints: *MediaType superphoto *CNQuality 5
*UIConstraints: *CNQuality 4 *MediaType doublesidephoto
*UIConstraints: *MediaType doublesidephoto *CNQuality 4
*UIConstraints: *CNQuality 5 *MediaType doublesidephoto
*UIConstraints: *MediaType doublesidephoto *CNQuality 5
*UIConstraints: *CNQuality 4 *MediaType matte
*UIConstraints: *MediaType matte *CNQuality 4
*UIConstraints: *CNQuality 5 *MediaType matte
*UIConstraints: *MediaType matte *CNQuality 5
*UIConstraints: *CNQuality 4 *MediaType glossypaper
*UIConstraints: *MediaType glossypaper *CNQuality 4
*UIConstraints: *CNQuality 5 *MediaType glossypaper
*UIConstraints: *MediaType glossypaper *CNQuality 5
*UIConstraints: *CNQuality 4 *MediaType highres
*UIConstraints: *MediaType highres *CNQuality 4
*UIConstraints: *CNQuality 5 *MediaType highres
*UIConstraints: *MediaType highres *CNQuality 5
*UIConstraints: *CNQuality 5 *MediaType ijpostcard
*UIConstraints: *MediaType ijpostcard *CNQuality 5
*UIConstraints: *CNQuality 4 *MediaType postcard
*UIConstraints: *MediaType postcard *CNQuality 4
*UIConstraints: *CNQuality 5 *MediaType postcard
*UIConstraints: *MediaType postcard *CNQuality 5
*UIConstraints: *CNQuality 2 *MediaType tshirt
*UIConstraints: *MediaType tshirt *CNQuality 2
*UIConstraints: *CNQuality 4 *MediaType tshirt
*UIConstraints: *MediaType tshirt *CNQuality 4
*UIConstraints: *CNQuality 5 *MediaType tshirt
*UIConstraints: *MediaType tshirt *CNQuality 5
*UIConstraints: *CNQuality 4 *MediaType envelope
*UIConstraints: *MediaType envelope *CNQuality 4
*UIConstraints: *CNQuality 5 *MediaType envelope
*UIConstraints: *MediaType envelope *CNQuality 5
*UIConstraints: *CNQuality 2 *MediaType otherphoto
*UIConstraints: *MediaType otherphoto *CNQuality 2
*UIConstraints: *CNQuality 4 *MediaType otherphoto
*UIConstraints: *MediaType otherphoto *CNQuality 4
*UIConstraints: *CNQuality 5 *MediaType otherphoto
*UIConstraints: *MediaType otherphoto *CNQuality 5

*OpenUI *CNHalftoning/Demi tons: PickOne
*DefaultCNHalftoning: ed
*CNHalftoning ed/Diffusion: ed
*CNHalftoning pattern/Tram: pattern
*CloseUI: *CNHalftoning

*UIConstraints: *CNHalftoning pattern *MediaType prophoto
*UIConstraints: *MediaType prophoto *CNHalftoning pattern
*UIConstraints: *CNHalftoning pattern *MediaType superphoto
*UIConstraints: *MediaType superphoto *CNHalftoning pattern
*UIConstraints: *CNHalftoning pattern *MediaType doublesidephoto
*UIConstraints: *MediaType doublesidephoto *CNHalftoning pattern
*UIConstraints: *CNHalftoning pattern *MediaType matte
*UIConstraints: *MediaType matte *CNHalftoning pattern
*UIConstraints: *CNHalftoning pattern *MediaType glossypaper
*UIConstraints: *MediaType glossypaper *CNHalftoning pattern
*UIConstraints: *CNHalftoning pattern *MediaType highres
*UIConstraints: *MediaType highres *CNHalftoning pattern
*UIConstraints: *CNHalftoning pattern *MediaType ijpostcard
*UIConstraints: *MediaType ijpostcard *CNHalftoning pattern
*UIConstraints: *CNHalftoning pattern *MediaType postcard
*UIConstraints: *MediaType postcard *CNHalftoning pattern
*UIConstraints: *CNHalftoning pattern *MediaType tshirt
*UIConstraints: *MediaType tshirt *CNHalftoning pattern
*UIConstraints: *CNHalftoning pattern *MediaType envelope
*UIConstraints: *MediaType envelope *CNHalftoning pattern
*UIConstraints: *CNHalftoning pattern *MediaType otherphoto
*UIConstraints: *MediaType otherphoto *CNHalftoning pattern

*OpenUI *CNGrayscale/Niveaux de gris: Boolean
*DefaultCNGrayscale: False
*CNGrayscale False: " "
*CNGrayscale True: " "
*CloseUI: *CNGrayscale

*%------------------------------------------------------
*CloseGroup: Rendu de l’impression
*%------------------------------------------------------

*%------------------------------------------------------
*OpenGroup: Couleurs & intensit
*%------------------------------------------------------

*OpenUI *CNRenderIntent/Vivid Photo: PickOne
*DefaultCNRenderIntent: photo
*CNRenderIntent photo/Photo: photo
*CNRenderIntent vivid/Vivid: vivid
*CloseUI: *CNRenderIntent

*OpenUI *CNBalanceC/Cyan: PickOne
*DefaultCNBalanceC: 0
*CNBalanceC -50/-50:-50
*CNBalanceC -40/-40:-40
*CNBalanceC -30/-30:-30
*CNBalanceC -20/-20:-20
*CNBalanceC -10/-10:-10
*CNBalanceC 0/-0-:0
*CNBalanceC 10/+10:+10
*CNBalanceC 20/+20:+20
*CNBalanceC 30/+30:+30
*CNBalanceC 40/+40:+40
*CNBalanceC 50/+50:+50
*CloseUI: *CNBalanceC

*OpenUI *CNBalanceM/Magenta: PickOne
*DefaultCNBalanceM: 0
*CNBalanceM -50/-50:-50
*CNBalanceM -40/-40:-40
*CNBalanceM -30/-30:-30
*CNBalanceM -20/-20:-20
*CNBalanceM -10/-10:-10
*CNBalanceM 0/-0-:0
*CNBalanceM 10/+10:+10
*CNBalanceM 20/+20:+20
*CNBalanceM 30/+30:+30
*CNBalanceM 40/+40:+40
*CNBalanceM 50/+50:+50
*CloseUI: *CNBalanceM

*OpenUI *CNBalanceY/Jaune: PickOne
*DefaultCNBalanceY: 0
*CNBalanceY -50/-50:-50
*CNBalanceY -40/-40:-40
*CNBalanceY -30/-30:-30
*CNBalanceY -20/-20:-20
*CNBalanceY -10/-10:-10
*CNBalanceY 0/-0-:0
*CNBalanceY 10/+10:+10
*CNBalanceY 20/+20:+20
*CNBalanceY 30/+30:+30
*CNBalanceY 40/+40:+40
*CNBalanceY 50/+50:+50
*CloseUI: *CNBalanceY

*OpenUI *CNDensity/Intensit: PickOne
*DefaultCNDensity: 0
*CNDensity -50/-50:-50
*CNDensity -40/-40:-40
*CNDensity -30/-30:-30
*CNDensity -20/-20:-20
*CNDensity -10/-10:-10
*CNDensity 0/-0-:0
*CNDensity 10/+10:+10
*CNDensity 20/+20:+20
*CNDensity 30/+30:+30
*CNDensity 40/+40:+40
*CNDensity 50/+50:+50
*CloseUI: *CNDensity

*OpenUI *CNContrast/Contraste: PickOne
*DefaultCNContrast: 0
*CNContrast -50/-50:-50
*CNContrast -40/-40:-40
*CNContrast -30/-30:-30
*CNContrast -20/-20:-20
*CNContrast -10/-10:-10
*CNContrast 0/-0-:0
*CNContrast 10/+10:+10
*CNContrast 20/+20:+20
*CNContrast 30/+30:+30
*CNContrast 40/+40:+40
*CNContrast 50/+50:+50
*CloseUI: *CNContrast

*OpenUI *CNGamma/Luminosit: PickOne
*DefaultCNGamma: 1.8
*CNGamma 1.4/Clair: “1.4”
*CNGamma 1.8/Normal: “1.8”
*CNGamma 2.2/Sombre: “2.2”
*CloseUI: *CNGamma

*%------------------------------------------------------
*CloseGroup: Equilibre des couleurs
*%------------------------------------------------------

*OpenUI *PageSize/Format de page: PickOne
*DefaultPageSize: A5
*PageSize Letter/Lettre US 215.9x279.4mm 8.5"x11": “<</CNPageSizeName(Letter)/PageSize[612 792]/ImagingBBox null>>setpagedevice”
*PageSize Legal/Legal 215.9x355.6mm 8.5"x14": “<</CNPageSizeName(Legal)/PageSize[612 1008]/ImagingBBox null>>setpagedevice”
*PageSize A5/A5 148.0x210.0mm: “<</CNPageSizeName(A5)/PageSize[420 595]/ImagingBBox null>>setpagedevice”
*PageSize A4/A4 210.0x297.0mm: “<</CNPageSizeName(A4)/PageSize[595 842]/ImagingBBox null>>setpagedevice”
*PageSize A4.bl/A4 210x297mm sans marge: “<</CNPageSizeName(A4.bl)/PageSize[595 842]/ImagingBBox null>>setpagedevice”
*PageSize B5/B5 182.0x257.0mm: “<</CNPageSizeName(B5)/PageSize[516 729]/ImagingBBox null>>setpagedevice”
*PageSize 4X6/4"x6" 101.6x152.4mm: “<</CNPageSizeName(4X6)/PageSize[288 432]/ImagingBBox null>>setpagedevice”
*PageSize 4X6.bl/4"x6" 101.6x152.4mm sans marge: “<</CNPageSizeName(4X6.bl)/PageSize[288 432]/ImagingBBox null>>setpagedevice”
*PageSize 4X8/4"x8" 101.6x203.2mm: “<</CNPageSizeName(4X8)/PageSize[288 576]/ImagingBBox null>>setpagedevice”
*PageSize 4X8.bl/4"x8" 101.6x203.2mm sans marge: “<</CNPageSizeName(4X8.bl)/PageSize[288 576]/ImagingBBox null>>setpagedevice”
*PageSize 5X7/5"x7" 127.0x177.8mm: “<</CNPageSizeName(5X7)/PageSize[360 504]/ImagingBBox null>>setpagedevice”
*PageSize 5X7.bl/5"x7" 127.0x177.8mm sans marge: “<</CNPageSizeName(5X7.bl)/PageSize[360 504]/ImagingBBox null>>setpagedevice”
*PageSize 8X10/8"x10" 203.2x254.0mm: “<</CNPageSizeName(8X10)/PageSize[576 720]/ImagingBBox null>>setpagedevice”
*PageSize 8X10.bl/8"x10" 203.2x254.0mm sans marge: “<</CNPageSizeName(8X10.bl)/PageSize[576 720]/ImagingBBox null>>setpagedevice”
*PageSize l/L 89.0x127.0mm: “<</CNPageSizeName(l)/PageSize[252 360]/ImagingBBox null>>setpagedevice”
*PageSize 2l/2L 127.0x178.0mm: “<</CNPageSizeName(2l)/PageSize[360 505]/ImagingBBox null>>setpagedevice”
*PageSize postcard/Hagaki 100.0x148.0mm: “<</CNPageSizeName(postcard)/PageSize[283 420]/ImagingBBox null>>setpagedevice”
*PageSize postdbl/Hagaki 2 200.0x148.0mm: “<</CNPageSizeName(postdbl)/PageSize[567 420]/ImagingBBox null>>setpagedevice”
*PageSize envelop10p/Env. Ordinaire #10 104.6x241.3mm 4.12"x9.5": “<</CNPageSizeName(envelop10p)/PageSize[297 684]/ImagingBBox null>>setpagedevice”
*PageSize envelopdlp/Env. DL 110.0x220.0mm: “<</CNPageSizeName(envelopdlp)/PageSize[312 624]/ImagingBBox null>>setpagedevice”
*PageSize envj4p/Youkei 4 105.0x235.0mm: “<</CNPageSizeName(envj4p)/PageSize[298 666]/ImagingBBox null>>setpagedevice”
*PageSize envj6p/Youkei 6 98.0x190.0mm: “<</CNPageSizeName(envj6p)/PageSize[278 539]/ImagingBBox null>>setpagedevice”
*PageSize creditcard/Carte de Crdit 54.0x86.0mm 2.13"x3.39": “<</CNPageSizeName(creditcard)/PageSize[153 244]/ImagingBBox null>>setpagedevice”
*PageSize businesscard/Carte de Visite 55.0x91.0mm 2.16"x3.58": “<</CNPageSizeName(businesscard)/PageSize[156 258]/ImagingBBox null>>setpagedevice”
*PageSize wide/Large 101.6x180.6mm 4"x7.1": “<</CNPageSizeName(wide)/PageSize[288 512]/ImagingBBox null>>setpagedevice”
*CloseUI: *PageSize

*OpenUI *PageRegion: PickOne
*DefaultPageRegion: A5
*PageRegion Letter/Lettre US 215.9x279.4mm 8.5"x11": “<</CNPageSizeName(Letter)/PageSize[612 792]/ImagingBBox null>>setpagedevice”
*PageRegion Legal/Legal 215.9x355.6mm 8.5"x14": “<</CNPageSizeName(Legal)/PageSize[612 1008]/ImagingBBox null>>setpagedevice”
*PageRegion A5/A5 148.0x210.0mm: “<</CNPageSizeName(A5)/PageSize[420 595]/ImagingBBox null>>setpagedevice”
*PageRegion A4/A4 210.0x297.0mm: “<</CNPageSizeName(A4)/PageSize[595 842]/ImagingBBox null>>setpagedevice”
*PageRegion A4.bl/A4 210.0x297.0mm sans marge: “<</CNPageSizeName(A4.bl)/PageSize[595 842]/ImagingBBox null>>setpagedevice”
*PageRegion B5/B5 182.0x257.0mm: “<</CNPageSizeName(B5)/PageSize[516 729]/ImagingBBox null>>setpagedevice”
*PageRegion 4X6/4"x6" 101.6x152.4mm: “<</CNPageSizeName(4X6)/PageSize[288 432]/ImagingBBox null>>setpagedevice”
*PageRegion 4X6.bl/4"x6" 101.6x152.4mm sans marge: “<</CNPageSizeName(4X6.bl)/PageSize[288 432]/ImagingBBox null>>setpagedevice”
*PageRegion 4X8/4"x8" 101.6x203.2mm: “<</CNPageSizeName(4X8)/PageSize[288 576]/ImagingBBox null>>setpagedevice”
*PageRegion 4X8.bl/4"x8" 101.6x203.2mm sans marge: “<</CNPageSizeName(4X8.bl)/PageSize[288 576]/ImagingBBox null>>setpagedevice”
*PageRegion 5X7/5"x7" 127.0x177.8mm: “<</CNPageSizeName(5X7)/PageSize[360 504]/ImagingBBox null>>setpagedevice”
*PageRegion 5X7.bl/5"x7" 127.0x177.8mm sans marge: “<</CNPageSizeName(5X7.bl)/PageSize[360 504]/ImagingBBox null>>setpagedevice”
*PageRegion 8X10/8"x10" 203.2x254.0mm: “<</CNPageSizeName(8X10)/PageSize[576 720]/ImagingBBox null>>setpagedevice”
*PageRegion 8X10.bl/8"x10" 203.2x254.0mm sans marge: “<</CNPageSizeName(8X10.bl)/PageSize[576 720]/ImagingBBox null>>setpagedevice”
*PageRegion l/L 89.0x127.0mm: “<</CNPageSizeName(l)/PageSize[252 360]/ImagingBBox null>>setpagedevice”
*PageRegion 2l/2L 127.0x178.0mm: “<</CNPageSizeName(2l)/PageSize[360 505]/ImagingBBox null>>setpagedevice”
*PageRegion postcard/Hagaki 100.0x148.0mm: “<</CNPageSizeName(postcard)/PageSize[283 420]/ImagingBBox null>>setpagedevice”
*PageRegion postdbl/Hagaki 2 200.0x148.0mm: “<</CNPageSizeName(postdbl)/PageSize[567 420]/ImagingBBox null>>setpagedevice”
*PageRegion envelop10p/Env. Ordinaire #10 104.6x241.3mm 4.12"x9.5": “<</CNPageSizeName(envelop10p)/PageSize[297 684]/ImagingBBox null>>setpagedevice”
*PageRegion envelopdlp/Env. DL 110.0x220.0mm: “<</CNPageSizeName(envelopdlp)/PageSize[312 624]/ImagingBBox null>>setpagedevice”
*PageRegion envj4p/Youkei 4 105.0x235.0mm: “<</CNPageSizeName(envj4p)/PageSize[298 666]/ImagingBBox null>>setpagedevice”
*PageRegion envj6p/Youkei 6 98.0x190.0mm: “<</CNPageSizeName(envj6p)/PageSize[278 539]/ImagingBBox null>>setpagedevice”
*PageRegion creditcard/Carte de Crdit 54.0x86.0mm 2.13"x3.39": “<</CNPageSizeName(creditcard)/PageSize[153 244]/ImagingBBox null>>setpagedevice”
*PageRegion businesscard/Carte de Visite 55.0x91.0mm 2.16"x3.58": “<</CNPageSizeName(businesscard)/PageSize[156 258]/ImagingBBox null>>setpagedevice”
*PageRegion wide/Large 101.6x180.6mm 4"x7.1": “<</CNPageSizeName(wide)/PageSize[288 512]/ImagingBBox null>>setpagedevice”
*CloseUI: *PageRegion

*OpenUI *MediaType/Type de Support: PickOne
*DefaultMediaType: plain
*MediaType plain/Papier ordinaire: “<</MediaType(plain)>>setpagedevice”
*MediaType prophoto/Papier Photo Pro: “<</MediaType(prophoto)>>setpagedevice”
*MediaType superphoto/Papier Photo Glac Extra: “<</MediaType(superphoto)>>setpagedevice”
*MediaType doublesidephoto/Papier Photo Satin Recto Verso: “<</MediaType(doublesidephoto)>>setpagedevice”
*MediaType matte/Papier Photo Mat: “<</MediaType(matte)>>setpagedevice”
*MediaType glossypaper/Papier Photo Glac: “<</MediaType(glossypaper)>>setpagedevice”
*MediaType glossygold/Papier Photo Glac II: “<</MediaType(glossygold)>>setpagedevice”
*MediaType highres/Papier Haute Rsolution: “<</MediaType(highres)>>setpagedevice”
*MediaType ijpostcard/Ink Jet Hagaki: “<</MediaType(ijpostcard)>>setpagedevice”
*MediaType postcard/Hagaki: “<</MediaType(postcard)>>setpagedevice”
*MediaType tshirt/Transferts T-Shirt: “<</MediaType(tshirt)>>setpagedevice”
*MediaType envelope/Enveloppe: “<</MediaType(envelope)>>setpagedevice”
*MediaType otherphoto/Autre Papier Photo: “<</MediaType(otherphoto)>>setpagedevice”
*CloseUI: *MediaType

*OpenUI *InputSlot/Alimentation du papier: PickOne
*DefaultInputSlot: cassette
*InputSlot asf/Chargeur arrire: “<</MediaPosition 0>>setpagedevice”
*InputSlot cassette/Cassette: “<</MediaPosition 1>>setpagedevice”
*CloseUI: *InputSlot

*DefaultImageableArea: A5
*ImageableArea Letter: “18.14 14.17 594.14 783.50”
*ImageableArea Legal: “18.14 14.17 594.14 999.50”
*ImageableArea A5: “9.64 14.17 409.89 586.77”
*ImageableArea A4: “9.64 14.17 585.64 833.39”
*ImageableArea A4.bl: “0.0 0.0 595.00 842.00”
*ImageableArea B5: “9.64 14.17 506.27 720.00”
*ImageableArea 4X6: “9.64 14.17 278.36 423.50”
*ImageableArea 4X6.bl: “0.0 0.0 296.00 444.00”
*ImageableArea 4X8: “9.64 14.17 278.36 567.50”
*ImageableArea 4X8.bl: “0.0 0.0 296 592”
*ImageableArea 5X7: “9.64 14.17 350.36 495.50”
*ImageableArea 5X7.bl: “0.0 0.0 376 517”
*ImageableArea 8X10: “9.64 14.17 566.36 711.50”
*ImageableArea 8X10.bl: “0.0 0.0 584 730”
*ImageableArea l: “9.64 14.17 242.65 351.50”
*ImageableArea 2l: “9.64 14.17 350.36 496.06”
*ImageableArea postcard: “9.64 14.17 273.83 411.02”
*ImageableArea postdbl: “9.64 14.17 557.29 411.02”
*ImageableArea envelop10p: “9.64 75.12 287.35 675.50”
*ImageableArea envelopdlp: “9.64 75.12 302.17 615.12”
*ImageableArea envj4p: “9.64 75.12 288.00 657.64”
*ImageableArea envj6p: “9.64 75.12 268.16 530.08”
*ImageableArea creditcard: “9.64 14.17 143.43 235.28”
*ImageableArea businesscard: “9.64 14.17 146.27 249.45”
*ImageableArea wide: “9.64 14.17 278.36 503.49”

*DefaultPaperDimension: A5
*PaperDimension Letter: “612 792”
*PaperDimension Legal: “612 1008”
*PaperDimension A5: “420 595”
*PaperDimension A4: “595 842”
*PaperDimension A4.bl: “595 842”
*PaperDimension B5: “516 729”
*PaperDimension 4X6: “288 432”
*PaperDimension 4X6.bl: “296 444”
*PaperDimension 4X8: “288 576”
*PaperDimension 4X8.bl: “296 592”
*PaperDimension 5X7: “360 504”
*PaperDimension 5X7.bl: “376 517”
*PaperDimension 8X10: “576 720”
*PaperDimension 8X10.bl: “584 730”
*PaperDimension l: “252 360”
*PaperDimension 2l: “360 505”
*PaperDimension postcard: “283 420”
*PaperDimension postdbl: “567 420”
*PaperDimension envelop10p: “297 684”
*PaperDimension envelopdlp: “312 624”
*PaperDimension envj4p: “298 666”
*PaperDimension envj6p: “278 539”
*PaperDimension creditcard: “153 244”
*PaperDimension businesscard: “156 258”
*PaperDimension wide: “288 512”

*OpenUI *Duplex/Duplex: PickOne
*DefaultDuplex: None
*Duplex None/Non: “<</Duplex false>>setpagedevice”
*Duplex DuplexNoTumble/Agrafage cot long: “<</Duplex true/Tumble false>>setpagedevice”
*Duplex DuplexTumble/Agrafage cot court: “<</Duplex true/Tumble true>>setpagedevice”
*CloseUI: *Duplex

*UIConstraints: *InputSlot switch *PageSize Legal
*UIConstraints: *PageSize Legal *InputSlot switch
*UIConstraints: *InputSlot switch *PageSize creditcard
*UIConstraints: *PageSize creditcard *InputSlot switch
*UIConstraints: *InputSlot switch *PageSize businesscard
*UIConstraints: *PageSize businesscard *InputSlot switch
*UIConstraints: *InputSlot cassette *PageSize Legal
*UIConstraints: *PageSize Legal *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize creditcard
*UIConstraints: *PageSize creditcard *InputSlot cassette
*UIConstraints: *InputSlot cassette *PageSize businesscard
*UIConstraints: *PageSize businesscard *InputSlot cassette

*UIConstraints: *Duplex *MediaType prophoto
*UIConstraints: *MediaType prophoto *Duplex
*UIConstraints: *Duplex *MediaType superphoto
*UIConstraints: *MediaType superphoto *Duplex
*UIConstraints: *Duplex *MediaType glossygold
*UIConstraints: *MediaType glossygold *Duplex
*UIConstraints: *Duplex *MediaType matte
*UIConstraints: *MediaType matte *Duplex
*UIConstraints: *Duplex *MediaType glossypaper
*UIConstraints: *MediaType glossypaper *Duplex
*UIConstraints: *Duplex *MediaType highres
*UIConstraints: *MediaType highres *Duplex
*UIConstraints: *Duplex *MediaType ijpostcard
*UIConstraints: *MediaType ijpostcard *Duplex
*UIConstraints: *Duplex *MediaType tshirt
*UIConstraints: *MediaType tshirt *Duplex
*UIConstraints: *Duplex *MediaType envelope
*UIConstraints: *MediaType envelope *Duplex
*UIConstraints: *Duplex *MediaType otherphoto
*UIConstraints: *MediaType otherphoto *Duplex

*UIConstraints: *Duplex *PageSize Legal
*UIConstraints: *PageSize Legal *Duplex
*UIConstraints: *Duplex *PageSize 4X6
*UIConstraints: *PageSize 4X6 *Duplex
*UIConstraints: *Duplex *PageSize 4X6.bl
*UIConstraints: *PageSize 4X6.bl *Duplex
*UIConstraints: *Duplex *PageSize 4X8
*UIConstraints: *PageSize 4X8 *Duplex
*UIConstraints: *Duplex *PageSize 4X8.bl
*UIConstraints: *PageSize 4X8.bl *Duplex
*UIConstraints: *Duplex *PageSize 8X10
*UIConstraints: *PageSize 8X10 *Duplex
*UIConstraints: *Duplex *PageSize 8X10.bl
*UIConstraints: *PageSize 8X10.bl *Duplex
*UIConstraints: *Duplex *PageSize l
*UIConstraints: *PageSize l *Duplex
*UIConstraints: *Duplex *PageSize envelop10p
*UIConstraints: *PageSize envelop10p *Duplex
*UIConstraints: *Duplex *PageSize envelopdlp
*UIConstraints: *PageSize envelopdlp *Duplex
*UIConstraints: *Duplex *PageSize envj4p
*UIConstraints: *PageSize envj4p *Duplex
*UIConstraints: *Duplex *PageSize envj6p
*UIConstraints: *PageSize envj6p *Duplex
*UIConstraints: *Duplex *PageSize creditcard
*UIConstraints: *PageSize creditcard *Duplex
*UIConstraints: *Duplex *PageSize businesscard
*UIConstraints: *PageSize businesscard *Duplex
*UIConstraints: *Duplex *PageSize wide
*UIConstraints: *PageSize wide *Duplex

*DefaultFont: Courier
*Font Courier: Standard “(001.001)” Standard ROM

*%CNPpdToOptKey PageSize --papersize
*%CNPpdToOptKey MediaType --media
*%CNPpdToOptKey InputSlot --paperload
*%CNPpdToOptKey CNCartridge --cartridge
*%CNPpdToOptKey CNQuality --quality
*%CNPpdToOptKey CNHalftoning --halftoning
*%CNPpdToOptKey CNRenderIntent --renderintent
*%CNPpdToOptKey CNGamma --gamma
*%CNPpdToOptKey CNBalanceC --balance_c
*%CNPpdToOptKey CNBalanceM --balance_m
*%CNPpdToOptKey CNBalanceY --balance_y
*%CNPpdToOptKey CNDensity --density
*%CNPpdToOptKey CNGrayscale --grayscale
*%CNPpdToOptKey CNLocation --location
*%CNPpdToOptKey CNPercent --percent
*%CNPpdToOptKey CNCopies --copies
*%CNPpdToOptKey Duplex --duplex
*%CNPpdToOptKey CNStapleSide --stapleside
*%CNPpdToOptKey CNContrast --contrast

*%
*% internalversion : 2.80.01.002
*%
[/quote]

Re,
Ça m’a l’air d’être bien le foutoir ton répertoire. Comment en es-tu arrivé là ? Tu te souviens des commandes et messages d’erreurs ?

Quoi qu’il en soit il faut récupérer ou reconstruire les fichiers corrompus. Il doit y avoir une suite de commandes à passer ou un script - mais je ne connais pas…

Tu n’as pas une sauvegarde de ce répertoire ?

La solution est de remplacer le contenu des fichiers “list” corrompus par celle obtenus avec la commande :

Si la sortie n’est pas bonne… Ne va-t-il pas chercher ça dans /var/lib/dpkg/*list ?
Il faut reconstruire à partir de cette commande:

Malheureusement la sortie n’est pas “propre”, et donc pas directement utilisable… C’est une sortie de ce type:

drwxr-xr-x root/root 0 2010-09-14 22:41 ./ drwxr-xr-x root/root 0 2010-09-14 22:40 ./var/ drwxr-xr-x root/root 0 2010-09-14 22:40 ./var/lib/ drwxr-xr-x root/root 0 2010-09-14 22:40 ./var/lib/dbus/ ...
Si tu es fort en commande: il faut extraire seulement les chemins et pas le début des lignes (ça ne doit pas être sorcier, mais je ne sais pas comment faire…) et rediriger vers un fichier qui remplacera celui qui est corrompu…
Et faire ça pour chaque fichier list qui te bloquera…

Bonjour

[quote=“ricardo”]Ben si tu parles du
/var/lib/dpkg/info/dbus.list
C’est un pavé, qui n’a rien à voir avec le même fichier sous Sid.
Je le place quand même :[/quote]
Es-tu sûr de ta commande, pour voir le contenu de /var/lib/dpkg/info/dbus.list ?
Ce que tu as posté là concerne ton imprimante.

[quote]*PPD-Adobe: “4.3”
*% CUPS add-on PPD file for Canon Inkjet Printer Driver.
*% Copyright CANON INC. 2001-2007
*% All Rights Reserved.

*FileVersion: “1.0”
*FormatVersion: “4.3”
*LanguageEncoding: ISOLatin1
*LanguageVersion: French
*Manufacturer: “Canon”
*ModelName: “Canon MP620-630 series”
*NickName: “Canon MP620-630 series Ver.2.80fr”
*PCFileName: “CNMP620.PPD”
*Product: “(mp610)”
*PSVersion: “(3010.000) 550”
*PSVersion: “(3010.000) 651”
*PSVersion: “(3010.000) 705”
*PSVersion: “(3010.000) 715”
*ShortNickName: “MP620-630”

etc.[/quote]

Pour récupérer seulement les chemins tu fais :

[code]#!/bin/bash

OUT=/tmp/result.out

dpkg --contents /var/cache/apt/archives/mediatomb_0.12.0~svn2018-6.1_all.deb > $OUT

while read line
do
echo “$line” | awk '{print $6}'
done < $OUT

rm -rf $OUT[/code]

Ou simplement

dpkg --contents /var/cache/apt/archives/mediatomb_0.12.0~svn2018-6.1_all.deb | awk '{print $6}'

Sortie

./ ./usr/ ./usr/share/ ./usr/share/doc/ ./usr/share/doc/mediatomb/ ./usr/share/doc/mediatomb/copyright ./usr/share/doc/mediatomb/README.Debian ./usr/share/doc/mediatomb/changelog.Debian.gz ./usr/share/doc/mediatomb/changelog.gz ./usr/share/menu/ ./usr/share/menu/mediatomb ./usr/share/pixmaps/ ./usr/share/pixmaps/mediatomb.xpm ./usr/share/applications/ ./usr/share/applications/mediatomb.desktop ./usr/share/lintian/ ./usr/share/lintian/overrides/ ./usr/share/lintian/overrides/mediatomb ./usr/share/pixmaps/mediatomb.png
Par contre je ne sais pas quel est le deb vu que j’en ai que 8 dedans.

[quote=“wetaskiwin”]…es-tu sûr de ta commande, pour voir le contenu de /var/lib/dpkg/info/dbus.list ?
Ce que tu as posté là concerne ton imprimante.
[/quote]
oui, voilà le début avec la commande :

ricardo@stable:~$ cat /var/lib/dpkg/info/dbus.list *PPD-Adobe: "4.3" *% CUPS add-on PPD file for Canon Inkjet Printer Driver. *% Copyright CANON INC. 2001-2007 *% All Rights Reserved. *% *% This program is free software; you can redistribute it and/or modify *% it under the terms of the GNU General Public License as published by *% the Free Software Foundation; either version 2 of the License, or *% (at your option) any later version. *% *% This program is distributed in the hope that it will be useful, *%