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

Re: Problems with aptitude, replacing tetex with texlive



On Mon, Aug 28, 2006 at 02:54:15PM +0200, Søren Christensen wrote:
> I sent this earlier, but I haven't seen it on the list.
> 
> I added output from aptitude in the bottom of this message.
> 
> 
> Hi
> 
> I wanted to replace my tetex-installation with texlive. But something
> went wrong. Now the dvipdfmx is installed, but I need to get rid of it
> before I can install anything else, but aptitude complains, that
> mktexlsr is not installed, and therefore exits the uninstall of
> dvipdfmx.
> 
> I've tried several times, and now the process even kills aptitude.
> 
> Perhaps there is some lock-file preventing a smooth process.
> 
> Is there a way to force a package-removal? (I have tried to purge the
> package)?
> 
> Thanks for any advices.
> 
> /severino
> 
> 
> Aptitude output:
> (Reading database ... 195256 files and directories currently installed.)
> Removing dvipdfmx ...
> /var/lib/dpkg/info/dvipdfmx.postrm: line 6: /usr/bin/mktexlsr: No such
> file or directory
> dpkg: error processing dvipdfmx (--remove):
>  subprocess post-removal script returned error exit status 127
>  dpkg: error processing preview-latex-style (--remove):
>   Package is in a very bad inconsistent state - you should
>    reinstall it before attempting a removal.
>    terminate called after throwing an instance of 'std::logic_error'
>      what():  basic_string::_S_construct NULL not valid
>      Ouch!  Got SIGABRT, dying..
>      Aborted

To complete my first mail, here is the output from aptitude, when I
tried to update my install, as you can see, I need to remove dvipdfmx in
order to proceed, but to do that I must install texlive-base og
tetex-base, but I cannot do that before I have removed dvipdfmx!

How can I break this circle?

/severino

Output:
(Reading database ... 195268 files and directories currently installed.)
Unpacking texlive-base-bin (from
.../texlive-base-bin_2005.dfsg.1-1_i386.deb) ...
Upgrade from experimental versions are not supported!
Please purge all texlive packages before installation.
dpkg: error processing
/var/cache/apt/archives/texlive-base-bin_2005.dfsg.1-1_i386.deb
(--unpack):
subprocess pre-installation script returned error exit status 1
Unpacking texlive-doc-base (from .../texlive-doc-base_2005-2_all.deb)
...
Upgrade from experimental versions are not supported!
Please purge all texlive packages before installation.
dpkg: error processing
/var/cache/apt/archives/texlive-doc-base_2005-2_all.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
 Unpacking texlive-base (from .../texlive-base_2005.dfsg.1-1_all.deb)
 ...
  Upgrade from experimental versions are not supported!
  Please purge all texlive packages before installation.
  dpkg: error processing
/var/cache/apt/archives/texlive-base_2005.dfsg.1-1_all.deb (--unpack):
   subprocess pre-installation script returned error exit status 1
   Unpacking texlive-pdfetex (from
   .../texlive-pdfetex_2005.dfsg.1-1_i386.deb) ...
   Upgrade from experimental versions are not supported!
   Please purge all texlive packages before installation.
   dpkg: error processing
   /var/cache/apt/archives/texlive-pdfetex_2005.dfsg.1-1_i386.deb
   (--unpack):
    subprocess pre-installation script returned error exit status 1
    Unpacking texlive-latex-base (from
    .../texlive-latex-base_2005.dfsg.1-1_all.deb) ...
    Upgrade from experimental versions are not supported!
    Please purge all texlive packages before installation.
    dpkg: error processing
    /var/cache/apt/archives/texlive-latex-base_2005.dfsg.1-1_all.deb
    (--unpack):
     subprocess pre-installation script returned error exit status 1
     Preparing to replace preview-latex-style 11.83-2 (using
     .../preview-latex-style_11.83-2_all.deb) ...
     Unpacking replacement preview-latex-style ...
     /var/lib/dpkg/info/preview-latex-style.postrm: line 29: mktexlsr:
     command not found
     dpkg: warning - old post-removal script returned error exit status
     127
     dpkg - trying script from the new package instead ...
     /var/lib/dpkg/tmp.ci/postrm: line 29: mktexlsr: command not found
     dpkg: error processing
     /var/cache/apt/archives/preview-latex-style_11.83-2_all.deb
     (--unpack):
      subprocess new post-removal script returned error exit status 127
      /var/lib/dpkg/tmp.ci/postrm: line 32: mktexlsr: command not found
      dpkg: error while cleaning up:
       subprocess post-removal script returned error exit status 127
       Errors were encountered while processing:
        /var/cache/apt/archives/texlive-base-bin_2005.dfsg.1-1_i386.deb
         /var/cache/apt/archives/texlive-doc-base_2005-2_all.deb
          /var/cache/apt/archives/texlive-base_2005.dfsg.1-1_all.deb
           /var/cache/apt/archives/texlive-pdfetex_2005.dfsg.1-1_i386.deb
            /var/cache/apt/archives/texlive-latex-base_2005.dfsg.1-1_all.deb
             /var/cache/apt/archives/preview-latex-style_11.83-2_all.deb
             E: Sub-process /usr/bin/dpkg returned an error code (1)
             A package failed to install.  Trying to recover:
             dpkg: dependency problems prevent configuration of
             dvipdfmx:
              dvipdfmx depends on tetex-bin | texlive-base-bin; however:
                Package tetex-bin is not installed.
                  Package texlive-base-bin is not installed.
                   dvipdfmx depends on tetex-base | texlive-base-bin;
                   however:
                     Package tetex-base is not installed.
                       Package texlive-base-bin is not installed.
                        dvipdfmx depends on dvipdfm; however:
                          Package dvipdfm is not installed.
                            Package tetex-bin which provides dvipdfm is
                            not installed.
                            dpkg: error processing dvipdfmx
                            (--configure):
                             dependency problems - leaving unconfigured
                             Errors were encountered while processing:
                              dvipdfmx
                              Press return to continue




Reply to: