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

Bug#197954: tetex-base: Upgrade failure in testing with removal of pxfonts (and description of work around)



Package: tetex-base
Version: 2.0.2-4
Severity: normal

The new tetex in testing conflicts with pxfonts, but it can't be removed:

---begin dselect-output---
[debconf screens]
Removing dvipdfm ...
Removing Diversion of /usr/share/texmf/tex/latex/graphics/dvipdfm.def to
/usr/share/texmf/tex/latex/graphics/dvipdfm.def.tetex by dvipdfm'
texhash: Updating /usr/local/share/texmf/ls-R... 
texhash: Updating /usr/local/lib/texmf/ls-R... 
texhash: Updating /var/lib/texmf/ls-R... 
texhash: Updating /var/cache/fonts/ls-R... 
texhash: Done.
Purging configuration files for dvipdfm ...
(Reading database ... 89073 files and directories currently installed.)
Removing pxfonts ...
chmod: failed to get attributes of /etc/texmf/dvips/updmap': No such file or
directory
dpkg: error processing pxfonts (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 pxfonts
E: Sub-process /usr/bin/dpkg returned an error code (1)
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall again
Press enter to continue.


installation script returned error exit status 100.
Press <enter> to continue.

---end dselect-output---

Re-run the Install option doesn't solve the problem. I did a

touch /etc/texmf/dvips/updmap

but this didn't solve the problem, too.

---begin dselect-output---
Reading Package Lists... Done
Building Dependency Tree... Done
The following packages will be REMOVED:
  pxfonts tetex-eurosym* texdoctk* txfonts
The following NEW packages will be installed:
  dvi2ps-fontdata-ja libwww-ssl0
The following packages will be upgraded
  attr autoconf blt blt-common dvi2ps dvi2ps-fontdata-bsr gawk libattr1
libkpathsea3 penguineyes-gnome tcl8.3 tcl8.4 ted
  ted-common tetex-base tetex-bin tetex-doc tetex-extra tk8.3 tk8.4 xfsprogs
xloadimage
22 packages upgraded, 2 newly installed, 4 to remove and 3 not upgraded.
Need to get 0B/67.1MB of archives.
After unpacking 27.8MB of additional disk space will be used.
Do you want to continue? [Y/n] 
Reading changelogs... Done
Preconfiguring packages ...
(Reading database ... 89073 files and directories currently installed.)
Removing pxfonts ...
chmod: failed to get attributes of /etc/texmf/dvips/updmap': No such file or
directory

---end dselect-output---

Then I tried

touch /etc/texmf/dvips/updmap
chattr +i /etc/texmf/dvips/updmap

---begin dselect-output---
Preconfiguring packages ...
rm: cannot remove /etc/texmf/dvips/updmap': Operation not permitted
tetex-base failed to preconfigure, with exit status 1
(Reading database ... 89073 files and directories currently installed.)
Removing pxfonts ...
mv: cannot move /etc/texmf/dvips/updmap_9019' to /etc/texmf/dvips/updmap':
Operation not permitted
dpkg: error processing pxfonts (--remove):
 subprocess pre-removal script returned error exit status 1
Errors were encountered while processing:
 pxfonts
E: Sub-process /usr/bin/dpkg returned an error code (1)
Some errors occurred while unpacking. I'm going to configure the
packages that were installed. This may result in duplicate errors
or errors caused by missing dependencies. This is OK, only the errors
above this message are important. Please fix them and run [I]nstall again
Press enter to continue.


installation script returned error exit status 100.
Press <enter> to continue.
---end dselect-output---

What revealed, that it is tetex-base's problem. I removed +i from updmap and
re-run Install. At the Preconfiguring step I halted with C-s and touched the
file again. After C-q in the dselect console the upgrade finished with
(nearly) no problems.

There were various questions about changed conffiles of two or more tetex
packages, but I never touched them before. This could confuse users
when upgrading from woody to sarge (when it is released) and maybe could be
harmful if they use the default, what is not to install the new conffiles.
(Should I post a new bug report for that?) But it could also be, that there
was another version of tetex in testing and the problem doesn't arise.

And a minor other thing: While one sees (in dselect) that tetex-extra
provides tetex-eurosym and texdoctk, a Provides: pxfonts, txfonts could be
added to tetex-base. (I don't like to have conffiles from superseded
packages on my system.)

Regards,
 Mike Dornberger

-- System Information:
Debian Release: testing/unstable
Architecture: i386
Kernel: Linux wh5-308 2.2.17 #3 SMP Tue Sep 19 05:37:29 CEST 2000 i686
Locale: LANG=C, LC_CTYPE=de_DE@euro

Versions of packages tetex-base depends on:
ii  debconf                       1.2.35     Debian configuration management sy
ii  dpkg                          1.10.10    Package maintenance system for Deb
ii  texinfo                       4.3-1      Documentation system for on-line i

-- debconf information:
* tetex-base/olddat: true
* tetex-base/oldcfg: true
* tetex-base/oldupdm: true




Reply to: