Bug#695260: After upgrade from Lenny to Squeeze is no possible to configure lmodern.
Package: lmodern Version: 2.004.1-3 Severity: important -- System Information: Debian Release: 6.0.6 APT prefers stable APT policy: (500, 'stable') Architecture: i386 (i686) Kernel: Linux 2.6.32-5-686 (SMP w/2 CPU cores) Locale: LANG=it_IT.UTF-8, LC_CTYPE=it_IT.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages lmodern depends on: ii defoma0.11.11Debian Font Manager -- automatic f ii dpkg 1.15.8.13 Debian package management system ii tex-common2.08.1 common infrastructure for building ii xfonts-utils 1:7.5+2X Window System font utility progr lmodern recommends no packages. lmodern suggests no packages. -- Configuration Files: /etc/X11/fonts/Type1/lmodern.scale [Errno 2] No such file or directory: u'/etc/X11/fonts/Type1/lmodern.scale' -- no debconf information After upgrading from Lenny to Squeeze lmodern it was not possible to configureter upgrade from Lenny to Squeeze. apt-get install -f return this error every time: debianserver:/# apt-get -f install Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto 0 aggiornati, 0 installati, 0 da rimuovere e 62 non aggiornati. 1 non completamente installati o rimossi. Dopo quest'operazione, verranno occupati 0 B di spazio su disco. Configurazione di lmodern (2.004.1-3)... /etc/defoma/hints/lmodern.hints: Unable to open, or empty. dpkg: errore nell'elaborare lmodern (--configure): il sottoprocesso vecchio script di post-installation ha restituito lo stato di errore 1 configured to not write apport reports Elaborazione dei trigger per tex-common... Running mktexlsr. This may take some time... done. Running updmap-sys. This may take some time... done. Si sono verificati degli errori nell'elaborazione: lmodern E: Sub-process /usr/bin/dpkg returned an error code (1) debianserver:/# apt-get remove --purge lmodern Lettura elenco dei pacchetti... Fatto Generazione albero delle dipendenze Lettura informazioni sullo stato... Fatto I seguenti pacchetti saranno RIMOSSI: lmodern* 0 aggiornati, 0 installati, 1 da rimuovere e 62 non aggiornati. 1 non completamente installati o rimossi. Dopo quest'operazione, verranno liberati 46,7 MB di spazio su disco. Continuare [S/n]? s (Lettura del database... 169580 file e directory attualmente installati.) Rimozione di lmodern... /etc/defoma/hints/lmodern.hints: Unable to open, or empty. dpkg: errore nell'elaborare lmodern (--purge): il sottoprocesso vecchio script di pre-removal ha restituito lo stato di errore 1 configured to not write apport reports Elaborazione dei trigger per tex-common... Running mktexlsr. This may take some time... done. Running updmap-sys. This may take some time... done. Si sono verificati degli errori nell'elaborazione: lmodern E: Sub-process /usr/bin/dpkg returned an error code (1) debianserver:/# -- I have tried with: debianserver:/etc/defoma/hints# dpkg --force-all --remove lmodern (Lettura del database... 169543 file e directory attualmente installati.) Rimozione di lmodern... /etc/defoma/hints/lmodern.hints: Unable to open, or empty. dpkg: errore nell'elaborare lmodern (--remove): il sottoprocesso vecchio script di pre-removal ha restituito lo stato di errore 1 Elaborazione dei trigger per tex-common... Running mktexlsr. This may take some time... done. Running updmap-sys. This may take some time... done. Si sono verificati degli errori nell'elaborazione: lmodern -- In /etc/defoma/hints/ there is no file lmodern.hints -- If I ask dpkg about lmodern it answer me: debianserver:/# dpkg -l |grep lmodern rF lmodern2.004.1-3scalable PostScript and OpenType fonts based on Computer Modern -- I have resolved on this way: after downloaded the package I copied the file lmodern.hints, which is located in the archive data.tar.gz, in: /etc/defoma/hints/ At that point apt-get allowed me to reinstall the package without problems. I do not know if this is the correct procedure but I solved it. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Bug#695260: After upgrade from Lenny to Squeeze is no possible to configure lmodern.
Il 06/12/2012 13:41, Norbert Preining ha scritto: severity 695260 normal tags 695260 + moreinfo unreproducible thanks thank you Norbert, Hi, On Do, 06 Dez 2012, Ezio Da Rin wrote: 1 non completamente installati o rimossi. Dopo quest'operazione, verranno occupati 0 B di spazio su disco. Configurazione di lmodern (2.004.1-3)... /etc/defoma/hints/lmodern.hints: Unable to open, or empty. The question is, what did *LEAD* up to this situation. I do not know, where I can find this file *LEAD* if it is still present? This is a config file that is removed via dpkg-maintscript-helper, so when you *FIRST* installted the new version of lmodern, it should have removed the hints file *ONLY* if the installation was successful, and if something broke, should rewind. Now, you did NOT show us what has happened during the real installation of lmodern from wheezy, only the apt-get -f install run, which is too late. I did not notice anything about updating lmodern but I guess I've given the same mistakes when threw apt-get install-f because every installation after upgrading returned a warning that lmodern was not installed properly So my questions: * did you remove /etc/defoma/hints/lmodern.hints yourself? No! * what did happen when lmodenr was updated? (not when you tried to fix the installation, that was later!) sorry, I do not know I have tried several upgrade paths and have never seen this behaviour. Best wishes Norbert I'm sorry, I no longer have the backup to replay the updgrade. Was probably my Lenny with some problems. Hi, Ezio. -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org