Hi, I found a similar problem with db2 installation. I had a version of db2 installed previously, not sure if this is related.
When I try to install the packet it fails with an error and when trying to uninstall it says packet is in bad state so it is needs to be reinstalled. I am stuck at this, and everytime I try to update my system it keeps trying to reinstall this packet. That is something it messes up everything. I tried the common options (--purge, --update, synaptic, --force, without success). As a aside note I believe apt-get should be more resilient to this. This is what I am doing (Catalan output again): S'està llegint la llista de paquets... Fet S'està construint l'arbre de dependències Reading state information... Fet 0 actualitzats, 0 nous a instal·lar, 0 a eliminar i 0 no actualitzats. 1 no instal·lats o eliminats completament. Es necessita obtenir 0B/214MB d'arxius. Després de desempaquetar s'usaran 0B d'espai en disc addicional. S'està seleccionant el paquet db2exc prèviament no seleccionat. (S'està llegint la base de dades ... hi ha 193232 fitxers i directoris instal·lats actualment.) S'està preparant per a reemplaçar db2exc 9.5.0-1gutsy1 (fent servir .../db2exc_9.5.0-1gutsy1_i386.deb) ... S'està desempaquetant el reemplaçament de db2exc ... dpkg: avís - seqüència de «post-removal» antiga retorna l'eixida d'error 1 dpkg - s'està provant la seqüència del paquet nou en el seu lloc... dpkg: s'ha produït un error en processar /var/cache/apt/archives/db2exc_9.5.0-1gutsy1_i386.deb (--unpack): el subprocés seqüència post-removal nova retornà el codi d'eixida d'error 1 dpkg: s'ha produït un error en netejar: el subprocés post-removal script retornà el codi d'eixida d'error 1 S'han trobat errors en processar: /var/cache/apt/archives/db2exc_9.5.0-1gutsy1_i386.deb E: Sub-process /usr/bin/dpkg returned an error code (1) I applied Jordi's second patch and it worked smoothly (I have not ran db2 yet, but it seems everything should be fine). Now I can update my system without messing with db2exc. Please include this change in the official script and let me know when you do it. Per cert, gràcies Jordi m'has estalviat un bon maldecap. Thank you -- postrm script fails https://bugs.launchpad.net/bugs/191656 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
