[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

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  defoma                        0.11.11    Debian Font Manager -- automatic f
ii  dpkg                          1.15.8.13  Debian package management system
ii  tex-common                    2.08.1     common infrastructure for building
ii  xfonts-utils                  1:7.5+2    X 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  lmodern        2.004.1-3            scalable 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.


Reply to: