Package: dpkg
Version: 1.18.24
Severity: important

Hi,

please be more verbose about which package a failing script belonged to
and be more verbose about what post-failure cleanup is being performed.
I'm tryint to understand this stretch -> buster upgrade failure (full
log attached):

  Preparing to unpack 
.../45-texlive-fonts-recommended-doc_2017.20170818-1_all.deb ...
  Unpacking texlive-fonts-recommended-doc (2017.20170818-1) over 
(2016.20170123-5) ...
  Preparing to unpack .../46-texlive-latex-base-doc_2017.20170818-1_all.deb ...
  Unpacking texlive-latex-base-doc (2017.20170818-1) over (2016.20170123-5) ...
  dpkg: considering removing texlive-fonts-recommended in favour of 
texlive-base ...
  dpkg: yes, will remove texlive-fonts-recommended in favour of texlive-base
  dpkg: considering removing texlive-latex-base in favour of texlive-base ...
  dpkg: yes, will remove texlive-latex-base in favour of texlive-base
  Preparing to unpack .../47-texlive-base_2017.20170818-1_all.deb ...
  De-configuring tipa (2:1.3-20), to allow removal of texlive-latex-base 
(2016.20170123-5) ...
  De-configuring wims (1:4.13c~dfsg1-2), to allow removal of 
texlive-fonts-recommended (2016.20170123-5) ...
  apache2-maintscript-helper invoked from a modified environment. Please hint 
required arguments manually
  dpkg: error processing archive 
/tmp/apt-dpkg-install-1LEpM7/47-texlive-base_2017.20170818-1_all.deb (--unpack):
   subprocess installed pre-removal script returned error exit status 1
  apache2_invoke wims: already enabled
  update-language: texlive-base not installed and configured, doing nothing!
  Regenerating '/var/lib/texmf/fmtutil.cnf-DEBIAN'... done.
  Regenerating '/var/lib/texmf/fmtutil.cnf-TEXLIVEDIST'... done.
  update-fmtutil has updated the following file(s):
        /var/lib/texmf/fmtutil.cnf-DEBIAN
        /var/lib/texmf/fmtutil.cnf-TEXLIVEDIST
  If you want to activate the changes in the above file(s),
  you should run fmtutil-sys or fmtutil.
  Selecting previously unselected package texlive-fonts-recommended.
  dpkg: considering deconfiguration of texlive-base, which would be broken by 
installation of texlive-fonts-recommended ...
  dpkg: yes, will deconfigure texlive-base (broken by texlive-fonts-recommended)
  Preparing to unpack .../48-texlive-fonts-recommended_2017.20170818-1_all.deb 
...
  De-configuring texlive-base (2016.20170123-5) ...
  Unpacking texlive-fonts-recommended (2017.20170818-1) over (2016.20170123-5) 
...
  Selecting previously unselected package texlive-latex-base.
  Preparing to unpack .../49-texlive-latex-base_2017.20170818-1_all.deb ...
  Unpacking texlive-latex-base (2017.20170818-1) ...
  Errors were encountered while processing:
   /tmp/apt-dpkg-install-1LEpM7/47-texlive-base_2017.20170818-1_all.deb

My interpretation:

I think it's 'wims.prerm deconfigure' failing.
Then we get the message about texlive-base_2017.20170818-1_all.deb (--unpack) 
failing.
Then we get the message about installed pre-removal script returned error exit 
status 1 (which would be wims.prerm)
Thereafter 'wims.prerm failed-upgrade' is run
Thereafter 'texlive-base.prerm failed-upgrade' is run

BTW, there isn't a command line switch to manually deconfigure a package
with dpkg, is there? That would allow easier testing how deconfigure fails ...
And I would try with piuparts to deconfigure every single package in the
archive :-)


Andreas

Reply via email to