Bug#489825: apt-get dependency system is broken (started an upgrade, now fails because of unmet dependencies)

View: New views
6 Messages — Rating Filter:   Alert me  

Bug#489825: apt-get dependency system is broken (started an upgrade, now fails because of unmet dependencies)

by Vincent Lefevre :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Package: apt
Version: 0.7.14
Severity: critical
Justification: breaks the whole system

I wanted to switch from tetex to texlive and determined the packages
I needed and those I didn't want. So, I ran:

$ sudo apt-get install --purge texlive-base-bin texlive-common texlive-fonts-recommended texlive-generic-recommended texlive-lang-french texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-math-extra texlive-pictures lmodern tetex-base- tetex-bin- tetex-extra- texlive-humanities-doc- texlive-latex-base-doc- texlive-latex-recommended-doc- texlive-latex-extra-doc- texlive-base-bin-doc- texlive-pictures-doc- texlive-pstricks-doc- texlive-fonts-recommended-doc- texlive-lang-cyrillic- tipa- xmltex- texlive-extra-utils- texlive-science texlive-science-doc-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package texlive-humanities-doc is not installed, so not removed
Package texlive-latex-base-doc is not installed, so not removed
Package texlive-latex-recommended-doc is not installed, so not removed
Package texlive-latex-extra-doc is not installed, so not removed
Package texlive-base-bin-doc is not installed, so not removed
Package texlive-pictures-doc is not installed, so not removed
Package texlive-pstricks-doc is not installed, so not removed
Package texlive-fonts-recommended-doc is not installed, so not removed
Package texlive-lang-cyrillic is not installed, so not removed
Package tipa is not installed, so not removed
Package texlive-extra-utils is not installed, so not removed
Package texlive-science-doc is not installed, so not removed
The following extra packages will be installed:
  dvipdfmx preview-latex-style prosper tex-common texlive texlive-base
  texlive-doc-base texlive-generic-extra texlive-humanities texlive-pstricks
Suggested packages:
  texlive-doc-en
Recommended packages:
  texlive-base-bin-doc texlive-fonts-recommended-doc tipa
  texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc
  texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc
  texlive-science-doc
The following packages will be REMOVED:
  dblatex* dvi2ps-fontdata-bsr* latex-svninfo* latex-ucs* passivetex*
  tetex-base* tetex-bin* tetex-extra* xmltex*
The following NEW packages will be installed:
  dvipdfmx preview-latex-style prosper texlive texlive-base texlive-base-bin
  texlive-common texlive-doc-base texlive-fonts-recommended
  texlive-generic-extra texlive-generic-recommended texlive-humanities
  texlive-lang-french texlive-latex-base texlive-latex-extra
  texlive-latex-recommended texlive-math-extra texlive-pictures
  texlive-pstricks texlive-science
The following packages will be upgraded:
  lmodern tex-common
2 upgraded, 20 newly installed, 9 to remove and 76 not upgraded.
Need to get 0B/50.6MB of archives.
After this operation, 20.8MB disk space will be freed.
Do you want to continue [Y/n]?
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... 0% Fail
Error retrieving bug reports from the server with the following error message:
 W: invalid date
It could be because your network is down, or because of broken proxy servers, or the BTS server itself is down. Check network configuration and try again
Retry downloading bug information?[Y/n]? n
Abort the installation[Y/n]? n
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
apt-listchanges: Do you want to continue? [Y/n]?
(Reading database ... 128574 files and directories currently installed.)
Removing dblatex ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Done.
Purging configuration files for dblatex ...
Removing dvi2ps-fontdata-bsr ...
mktexlsr: Updating /usr/local/share/texmf/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFDIST-TETEX...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
Purging configuration files for dvi2ps-fontdata-bsr ...
dpkg - warning: while removing dvi2ps-fontdata-bsr, directory `/usr/share/texmf/fonts/tfm/bluesky' not empty so not removed.
Removing latex-svninfo ...
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
texhash: Updating /var/lib/texmf/ls-R-TEXMFDIST-TETEX...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
Purging configuration files for latex-svninfo ...
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
texhash: Updating /var/lib/texmf/ls-R-TEXMFDIST-TETEX...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
Removing passivetex ...
Purging configuration files for passivetex ...
Removing xmltex ...
Replacing config file /etc/texmf/texmf.cnf with new version
Purging configuration files for xmltex ...
dpkg: tetex-extra: dependency problems, but removing anyway as you request:
 pdfjam depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 pdfjam depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
 pdfjam depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 pdfjam depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
 latex-beamer depends on tetex-extra | texlive-latex-base; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-base is not installed.
 texpower depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 texpower depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
 texpower depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 texpower depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
 latex-xcolor depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 latex2html depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 latex2html depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
 latex2html depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 latex2html depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
Removing tetex-extra ...
Purging configuration files for tetex-extra ...
dpkg: tetex-bin: dependency problems, but removing anyway as you request:
 rubber depends on texlive-latex-base | tetex-bin; however:
  Package texlive-latex-base is not installed.
  Package tetex-bin is to be removed.
 latex-ucs-doc depends on tetex-bin | texlive-base-bin; however:
  Package tetex-bin is to be removed.
  Package texlive-base-bin is not installed.
 dvipng depends on tetex-bin | texlive-base-bin; however:
  Package tetex-bin is to be removed.
  Package texlive-base-bin is not installed.
 latex-ucs depends on tetex-bin | texlive; however:
  Package tetex-bin is to be removed.
  Package texlive is not installed.
 tetex-frogg depends on texlive-latex-base | tetex-bin; however:
  Package texlive-latex-base is not installed.
  Package tetex-bin is to be removed.
 latex2rtf depends on tetex-bin | texlive-base; however:
  Package tetex-bin is to be removed.
  Package texlive-base is not installed.
 latex2html depends on tetex-bin (>= 1.0.7+20001218) | texlive-base-bin; however:
  Package tetex-bin is to be removed.
  Package texlive-base-bin is not installed.
 latexmk depends on tetex-bin | texlive-latex-base; however:
  Package tetex-bin is to be removed.
  Package texlive-latex-base is not installed.
Removing tetex-bin ...
Purging configuration files for tetex-bin ...
dpkg: tetex-base: dependency problems, but removing anyway as you request:
 pgf depends on tetex-base (>= 3.0) | texlive-latex-recommended; however:
  Package tetex-base is to be removed.
  Package texlive-latex-recommended is not installed.
Removing tetex-base ...
Purging configuration files for tetex-base ...
dpkg: latex-ucs: dependency problems, but removing anyway as you request:
 latex-ucs-contrib depends on latex-ucs.
Removing latex-ucs ...
/var/lib/dpkg/info/latex-ucs.postrm: line 12: mktexlsr: command not found
dpkg: error processing latex-ucs (--purge):
 subprocess post-removal script returned error exit status 127
Processing triggers for python-support ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 2 removed doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for menu ...
/etc/roxmenu: line 4293: /usr/share/apps/Debian/Screen/Save/MarqueeMessage/Brilliant!/AppRun: No such file or directory
ln: creating symbolic link `/usr/share/apps/Debian/Screen/Save/MarqueeMessage/Brilliant!/Help': No such file or directory
chmod: cannot access `/usr/share/apps/Debian/Screen/Save/MarqueeMessage/Brilliant!/AppRun': No such file or directory
/etc/roxmenu: line 4328: /usr/share/apps/Debian/Screen/Save/NoseMessage/Brilliant!/AppRun: No such file or directory
ln: creating symbolic link `/usr/share/apps/Debian/Screen/Save/NoseMessage/Brilliant!/Help': No such file or directory
chmod: cannot access `/usr/share/apps/Debian/Screen/Save/NoseMessage/Brilliant!/AppRun': No such file or directory
Errors were encountered while processing:
 latex-ucs
E: Sub-process /usr/bin/dpkg returned an error code (1)
zsh: exit 100   sudo apt-get install --purge texlive-base-bin texlive-common         lmodern

Then I tried again, but some dependencies are now unmet!

$ sudo apt-get install --purge texlive-base-bin texlive-common texlive-fonts-recommended texlive-generic-recommended texlive-lang-french texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-math-extra texlive-pictures lmodern tetex-base- tetex-bin- tetex-extra- texlive-humanities-doc- texlive-latex-base-doc- texlive-latex-recommended-doc- texlive-latex-extra-doc- texlive-base-bin-doc- texlive-pictures-doc- texlive-pstricks-doc- texlive-fonts-recommended-doc- texlive-lang-cyrillic- tipa- xmltex- texlive-extra-utils- texlive-science texlive-science-doc-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package tetex-base is not installed, so not removed
Package tetex-bin is not installed, so not removed
Package tetex-extra is not installed, so not removed
Package texlive-humanities-doc is not installed, so not removed
Package texlive-latex-base-doc is not installed, so not removed
Package texlive-latex-recommended-doc is not installed, so not removed
Package texlive-latex-extra-doc is not installed, so not removed
Package texlive-base-bin-doc is not installed, so not removed
Package texlive-pictures-doc is not installed, so not removed
Package texlive-pstricks-doc is not installed, so not removed
Package texlive-fonts-recommended-doc is not installed, so not removed
Package texlive-lang-cyrillic is not installed, so not removed
Package tipa is not installed, so not removed
Package xmltex is not installed, so not removed
Package texlive-extra-utils is not installed, so not removed
Package texlive-science-doc is not installed, so not removed
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  latex2rtf: Depends: tetex-bin but it is not going to be installed or
                      texlive-base but it is not going to be installed
  lmodern: Depends: tex-common (>= 1.10) but 1.9 is to be installed
  texlive-fonts-recommended: Depends: texlive-base (>= 2007-11) but it is not going to be installed
                             Recommends: texlive-fonts-recommended-doc but it is not going to be installed
                             Recommends: tipa (>= 2:1.2-2.1) but it is not going to be installed
  texlive-generic-recommended: Depends: texlive-base (>= 2007-11) but it is not going to be installed
  texlive-lang-french: Depends: texlive-base (>= 2007-11) but it is not going to be installed
  texlive-latex-base: Depends: texlive-base (>= 2007-11) but it is not going to be installed
                      Recommends: texlive-latex-base-doc but it is not going to be installed
  texlive-latex-extra: Depends: preview-latex-style but it is not going to be installed
                       Recommends: texlive-humanities but it is not going to be installed
                       Recommends: texlive-generic-extra but it is not going to be installed
                       Recommends: texlive-latex-extra-doc but it is not going to be installed
  texlive-pictures: Depends: texlive-base (>= 2007-11) but it is not going to be installed
                    Recommends: texlive-pictures-doc but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
zsh: exit 100   sudo apt-get install --purge texlive-base-bin texlive-common         lmodern

It says to run "apt-get -f install", but it wants to install packages
I've never asked (e.g. the -doc ones):

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  dvipdfmx prosper texlive-base texlive-base-bin texlive-base-bin-doc
  texlive-common texlive-doc-base texlive-fonts-recommended
  texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base
  texlive-latex-base-doc texlive-latex-recommended
  texlive-latex-recommended-doc texlive-pstricks texlive-pstricks-doc tipa
The following packages will be REMOVED:
  latex-ucs
The following NEW packages will be installed:
  dvipdfmx prosper texlive-base texlive-base-bin texlive-base-bin-doc
  texlive-common texlive-doc-base texlive-fonts-recommended
  texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base
  texlive-latex-base-doc texlive-latex-recommended
  texlive-latex-recommended-doc texlive-pstricks texlive-pstricks-doc tipa
0 upgraded, 17 newly installed, 1 to remove and 78 not upgraded.
1 not fully installed or removed.
Need to get 82.2MB/104MB of archives.
After this operation, 194MB of additional disk space will be used.
Do you want to continue [Y/n]?

and I don't have enough disk space for that (this is an old machine...).
This lets the machine in the state that it can no longer be upgraded!

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "powerpc";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Cache-Limit "33554432";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt || exit 10";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
Aptitude "";
Aptitude::UI "";
Aptitude::UI::Package-Display-Format "%c%a%M %p %Z %24v %24V";

-- /etc/apt/preferences --

Package: *
Pin: release a=stable
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 900

Package: *
Pin: release a=unstable
Pin-Priority: 200

-- /etc/apt/sources.list --

# /etc/apt/sources.list

deb file:///usr/local/deb/ ./

deb http://fr.powerpc.mirror.debian.net/debian/ stable main non-free contrib
deb-src http://fr.powerpc.mirror.debian.net/debian/ stable main non-free contrib
deb http://fr.powerpc.mirror.debian.net/debian/ testing main non-free contrib
deb-src http://fr.powerpc.mirror.debian.net/debian/ testing main non-free contrib
deb http://fr.powerpc.mirror.debian.net/debian/ unstable main non-free contrib
deb-src http://fr.powerpc.mirror.debian.net/debian/ unstable main non-free contrib

deb http://security.debian.org/ stable/updates main contrib non-free

deb http://security.debian.org etch/updates main contrib non-free
deb-src http://security.debian.org etch/updates main contrib non-free

deb http://security.debian.org lenny/updates main contrib non-free
deb-src http://security.debian.org lenny/updates main contrib non-free

# For emacs-snapshot, as it is no longer maintained in Debian due to the GFDL
# (see <http://lists.debian.org/debian-emacsen/2007/03/msg00012.html>).
deb http://emacs.orebokech.com sid main
deb-src http://emacs.orebokech.com sid main

# See http://debian.video.free.fr/
#deb http://honk.sigxcpu.org/linux-ppc/debian/ mplayer/

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (200, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.25-2-powerpc
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring   2008.04.16+nmu1 GnuPG archive keys of the Debian a
ii  libc6                    2.7-10          GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.1-2       GCC support library
ii  libstdc++6               4.3.1-2         The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#489825: apt-get dependency system is broken (started an upgrade, now fails because of unmet dependencies)

by Daniel Burrows :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

On Tue, Jul 08, 2008 at 03:43:10AM +0200, Vincent Lefevre <vincent@...> was heard to say:

  [snip]

> dpkg: latex-ucs: dependency problems, but removing anyway as you request:
>  latex-ucs-contrib depends on latex-ucs.
> Removing latex-ucs ...
> /var/lib/dpkg/info/latex-ucs.postrm: line 12: mktexlsr: command not found
> dpkg: error processing latex-ucs (--purge):
>  subprocess post-removal script returned error exit status 127

  There's your problem.  latex-ucs can't be removed and so the dpkg command
will fail.  apt-file tells me that texlive-base-bin contains mktexlsr,
btw, so your next attempt to upgrade will probably fail until you
install that package by hand (using "dpkg -i").

  [snip the dpkg command failing]

> Then I tried again, but some dependencies are now unmet!

  Yes, because dpkg was interrupted partway through removing the
packages that depend on tetex.  You'll need to finish the installation
by hand or run an appropriate tool (such as "apt-get -f" or aptitude)
to resolve the dependencies.

  [snip]

> You might want to run `apt-get -f install' to correct these:
> The following packages have unmet dependencies:
>   latex2rtf: Depends: tetex-bin but it is not going to be installed or
>                       texlive-base but it is not going to be installed

  You need to install texlive-base.  I guess it probably got pulled in
before by, e.g., texlive-fonts-recommended:

>   texlive-fonts-recommended: Depends: texlive-base (>= 2007-11) but it is not going to be installed
>                              Recommends: texlive-fonts-recommended-doc but it is not going to be installed
>                              Recommends: tipa (>= 2:1.2-2.1) but it is not going to be installed

  which is now installed and won't trigger autoinstallation of
dependencies.

>   lmodern: Depends: tex-common (>= 1.10) but 1.9 is to be installed

  You need to install a newer version of tex-common.

>   texlive-latex-extra: Depends: preview-latex-style but it is not going to be installed

  You need to install preview-latex-style.

> $ sudo apt-get -f install

  I don't know offhand how "apt-get -f" works so I can't comment -- it
looks like it probably tried to resolve recommendations (e.g.,
texlive-base-bin recommends texlive-base-bin-doc).

  You could try passing the same command-line to aptitude and see if it
does anything better.  Anyway, if there is a bug I think it's in
latex-ucs (removal shouldn't fail!), so I'll reassign this over there.

  Daniel



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#489825: apt-get dependency system is broken (started an upgrade, now fails because of unmet dependencies)

by Vincent Lefevre :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

On 2008-07-08 06:55:55 -0700, Daniel Burrows wrote:
> Anyway, if there is a bug I think it's in latex-ucs (removal
> shouldn't fail!), so I'll reassign this over there.

OK, note that latex-ucs-contrib (from the same source) has the same
problem, and I could purge these packages after removing the mktexlsr
command from the postrm scripts.

Concerning "apt-get -f install", yes, it seems that the problem comes
from Recommends and I've reported another bug against apt (#489896) on
this subject. The installation could be fixed with "apt-get -f install
<explicit list of packages to install and packages to remove>".

--
Vincent Lefèvre <vincent@...> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#489825: apt-get dependency system is broken (started an upgrade, now fails because of unmet dependencies)

by Vincent Lefevre :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

retitle 489825 Removing latex-ucs and latex-ucs-contrib fails (mktexlsr: command not found), breaking upgrades to texlive.
thanks

--
Vincent Lefèvre <vincent@...> - Web: <http://www.vinc17.org/>
100% accessible validated (X)HTML - Blog: <http://www.vinc17.org/blog/>
Work: CR INRIA - computer arithmetic / Arenaire project (LIP, ENS-Lyon)



--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Processed: Re: Bug#489825: apt-get dependency system is broken (started an upgrade, now fails because of unmet dependencies)

by Debian Bug Tracking System :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message

Processing commands for control@...:

> retitle 489825 Removing latex-ucs and latex-ucs-contrib fails (mktexlsr: command not found), breaking upgrades to texlive.
Bug#489825: Removing tetex-ucs fails (mktexlsr: command not found), breaking upgrades to texlive.
Changed Bug title to `Removing latex-ucs and latex-ucs-contrib fails (mktexlsr: command not found), breaking upgrades to texlive.' from `Removing tetex-ucs fails (mktexlsr: command not found), breaking upgrades to texlive.'.

> thanks
Stopping processing here.

Please contact me if you need assistance.

Debian bug tracking system administrator
(administrator, Debian Bugs database)


--
To UNSUBSCRIBE, email to debian-bugs-rc-REQUEST@...
with a subject of "unsubscribe". Trouble? Contact listmaster@...


Bug#489825: marked as done (Removing latex-ucs and latex-ucs-contrib fails (mktexlsr: command not found), breaking upgrades to texlive.)

by Debian Bug Tracking System :: Rate this Message:

Reply (Restricted by the Administrator) | Reply to Author | View Threaded | Show Only this Message


Your message dated Tue, 8 Jul 2008 23:00:03 +0100
with message-id <200807082200.m68M03l5006963@...>
and subject line latex-ucs has been removed from Debian, closing #489825
has caused the Debian Bug report #489825,
regarding Removing latex-ucs and latex-ucs-contrib fails (mktexlsr: command not found), breaking upgrades to texlive.
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@...
immediately.)


--
489825: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=489825
Debian Bug Tracking System
Contact owner@... with problems

Package: apt
Version: 0.7.14
Severity: critical
Justification: breaks the whole system

I wanted to switch from tetex to texlive and determined the packages
I needed and those I didn't want. So, I ran:

$ sudo apt-get install --purge texlive-base-bin texlive-common texlive-fonts-recommended texlive-generic-recommended texlive-lang-french texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-math-extra texlive-pictures lmodern tetex-base- tetex-bin- tetex-extra- texlive-humanities-doc- texlive-latex-base-doc- texlive-latex-recommended-doc- texlive-latex-extra-doc- texlive-base-bin-doc- texlive-pictures-doc- texlive-pstricks-doc- texlive-fonts-recommended-doc- texlive-lang-cyrillic- tipa- xmltex- texlive-extra-utils- texlive-science texlive-science-doc-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package texlive-humanities-doc is not installed, so not removed
Package texlive-latex-base-doc is not installed, so not removed
Package texlive-latex-recommended-doc is not installed, so not removed
Package texlive-latex-extra-doc is not installed, so not removed
Package texlive-base-bin-doc is not installed, so not removed
Package texlive-pictures-doc is not installed, so not removed
Package texlive-pstricks-doc is not installed, so not removed
Package texlive-fonts-recommended-doc is not installed, so not removed
Package texlive-lang-cyrillic is not installed, so not removed
Package tipa is not installed, so not removed
Package texlive-extra-utils is not installed, so not removed
Package texlive-science-doc is not installed, so not removed
The following extra packages will be installed:
  dvipdfmx preview-latex-style prosper tex-common texlive texlive-base
  texlive-doc-base texlive-generic-extra texlive-humanities texlive-pstricks
Suggested packages:
  texlive-doc-en
Recommended packages:
  texlive-base-bin-doc texlive-fonts-recommended-doc tipa
  texlive-humanities-doc texlive-latex-base-doc texlive-latex-extra-doc
  texlive-latex-recommended-doc texlive-pictures-doc texlive-pstricks-doc
  texlive-science-doc
The following packages will be REMOVED:
  dblatex* dvi2ps-fontdata-bsr* latex-svninfo* latex-ucs* passivetex*
  tetex-base* tetex-bin* tetex-extra* xmltex*
The following NEW packages will be installed:
  dvipdfmx preview-latex-style prosper texlive texlive-base texlive-base-bin
  texlive-common texlive-doc-base texlive-fonts-recommended
  texlive-generic-extra texlive-generic-recommended texlive-humanities
  texlive-lang-french texlive-latex-base texlive-latex-extra
  texlive-latex-recommended texlive-math-extra texlive-pictures
  texlive-pstricks texlive-science
The following packages will be upgraded:
  lmodern tex-common
2 upgraded, 20 newly installed, 9 to remove and 76 not upgraded.
Need to get 0B/50.6MB of archives.
After this operation, 20.8MB disk space will be freed.
Do you want to continue [Y/n]?
Reading package fields... Done
Reading package status... Done
Retrieving bug reports... 0% Fail
Error retrieving bug reports from the server with the following error message:
 W: invalid date
It could be because your network is down, or because of broken proxy servers, or the BTS server itself is down. Check network configuration and try again
Retry downloading bug information?[Y/n]? n
Abort the installation[Y/n]? n
Retrieving bug reports... Done
Parsing Found/Fixed information... Done
Reading changelogs... Done
apt-listchanges: Do you want to continue? [Y/n]?
(Reading database ... 128574 files and directories currently installed.)
Removing dblatex ...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Done.
Purging configuration files for dblatex ...
Removing dvi2ps-fontdata-bsr ...
mktexlsr: Updating /usr/local/share/texmf/ls-R...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
mktexlsr: Updating /var/lib/texmf/ls-R-TEXMFDIST-TETEX...
mktexlsr: Updating /var/lib/texmf/ls-R...
mktexlsr: Done.
Purging configuration files for dvi2ps-fontdata-bsr ...
dpkg - warning: while removing dvi2ps-fontdata-bsr, directory `/usr/share/texmf/fonts/tfm/bluesky' not empty so not removed.
Removing latex-svninfo ...
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
texhash: Updating /var/lib/texmf/ls-R-TEXMFDIST-TETEX...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
Purging configuration files for latex-svninfo ...
texhash: Updating /usr/local/share/texmf/ls-R...
texhash: Updating /var/lib/texmf/ls-R-TEXMFMAIN...
texhash: Updating /var/lib/texmf/ls-R-TEXMFDIST-TETEX...
texhash: Updating /var/lib/texmf/ls-R...
texhash: Done.
Removing passivetex ...
Purging configuration files for passivetex ...
Removing xmltex ...
Replacing config file /etc/texmf/texmf.cnf with new version
Purging configuration files for xmltex ...
dpkg: tetex-extra: dependency problems, but removing anyway as you request:
 pdfjam depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 pdfjam depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
 pdfjam depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 pdfjam depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
 latex-beamer depends on tetex-extra | texlive-latex-base; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-base is not installed.
 texpower depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 texpower depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
 texpower depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 texpower depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
 latex-xcolor depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 latex2html depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 latex2html depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
 latex2html depends on tetex-extra | texlive-latex-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-latex-recommended is not installed.
 latex2html depends on tetex-extra | texlive-fonts-recommended; however:
  Package tetex-extra is to be removed.
  Package texlive-fonts-recommended is not installed.
Removing tetex-extra ...
Purging configuration files for tetex-extra ...
dpkg: tetex-bin: dependency problems, but removing anyway as you request:
 rubber depends on texlive-latex-base | tetex-bin; however:
  Package texlive-latex-base is not installed.
  Package tetex-bin is to be removed.
 latex-ucs-doc depends on tetex-bin | texlive-base-bin; however:
  Package tetex-bin is to be removed.
  Package texlive-base-bin is not installed.
 dvipng depends on tetex-bin | texlive-base-bin; however:
  Package tetex-bin is to be removed.
  Package texlive-base-bin is not installed.
 latex-ucs depends on tetex-bin | texlive; however:
  Package tetex-bin is to be removed.
  Package texlive is not installed.
 tetex-frogg depends on texlive-latex-base | tetex-bin; however:
  Package texlive-latex-base is not installed.
  Package tetex-bin is to be removed.
 latex2rtf depends on tetex-bin | texlive-base; however:
  Package tetex-bin is to be removed.
  Package texlive-base is not installed.
 latex2html depends on tetex-bin (>= 1.0.7+20001218) | texlive-base-bin; however:
  Package tetex-bin is to be removed.
  Package texlive-base-bin is not installed.
 latexmk depends on tetex-bin | texlive-latex-base; however:
  Package tetex-bin is to be removed.
  Package texlive-latex-base is not installed.
Removing tetex-bin ...
Purging configuration files for tetex-bin ...
dpkg: tetex-base: dependency problems, but removing anyway as you request:
 pgf depends on tetex-base (>= 3.0) | texlive-latex-recommended; however:
  Package tetex-base is to be removed.
  Package texlive-latex-recommended is not installed.
Removing tetex-base ...
Purging configuration files for tetex-base ...
dpkg: latex-ucs: dependency problems, but removing anyway as you request:
 latex-ucs-contrib depends on latex-ucs.
Removing latex-ucs ...
/var/lib/dpkg/info/latex-ucs.postrm: line 12: mktexlsr: command not found
dpkg: error processing latex-ucs (--purge):
 subprocess post-removal script returned error exit status 127
Processing triggers for python-support ...
Processing triggers for man-db ...
Processing triggers for doc-base ...
Processing 2 removed doc-base file(s)...
Registering documents with scrollkeeper...
Processing triggers for menu ...
/etc/roxmenu: line 4293: /usr/share/apps/Debian/Screen/Save/MarqueeMessage/Brilliant!/AppRun: No such file or directory
ln: creating symbolic link `/usr/share/apps/Debian/Screen/Save/MarqueeMessage/Brilliant!/Help': No such file or directory
chmod: cannot access `/usr/share/apps/Debian/Screen/Save/MarqueeMessage/Brilliant!/AppRun': No such file or directory
/etc/roxmenu: line 4328: /usr/share/apps/Debian/Screen/Save/NoseMessage/Brilliant!/AppRun: No such file or directory
ln: creating symbolic link `/usr/share/apps/Debian/Screen/Save/NoseMessage/Brilliant!/Help': No such file or directory
chmod: cannot access `/usr/share/apps/Debian/Screen/Save/NoseMessage/Brilliant!/AppRun': No such file or directory
Errors were encountered while processing:
 latex-ucs
E: Sub-process /usr/bin/dpkg returned an error code (1)
zsh: exit 100   sudo apt-get install --purge texlive-base-bin texlive-common         lmodern

Then I tried again, but some dependencies are now unmet!

$ sudo apt-get install --purge texlive-base-bin texlive-common texlive-fonts-recommended texlive-generic-recommended texlive-lang-french texlive-latex-base texlive-latex-extra texlive-latex-recommended texlive-math-extra texlive-pictures lmodern tetex-base- tetex-bin- tetex-extra- texlive-humanities-doc- texlive-latex-base-doc- texlive-latex-recommended-doc- texlive-latex-extra-doc- texlive-base-bin-doc- texlive-pictures-doc- texlive-pstricks-doc- texlive-fonts-recommended-doc- texlive-lang-cyrillic- tipa- xmltex- texlive-extra-utils- texlive-science texlive-science-doc-
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package tetex-base is not installed, so not removed
Package tetex-bin is not installed, so not removed
Package tetex-extra is not installed, so not removed
Package texlive-humanities-doc is not installed, so not removed
Package texlive-latex-base-doc is not installed, so not removed
Package texlive-latex-recommended-doc is not installed, so not removed
Package texlive-latex-extra-doc is not installed, so not removed
Package texlive-base-bin-doc is not installed, so not removed
Package texlive-pictures-doc is not installed, so not removed
Package texlive-pstricks-doc is not installed, so not removed
Package texlive-fonts-recommended-doc is not installed, so not removed
Package texlive-lang-cyrillic is not installed, so not removed
Package tipa is not installed, so not removed
Package xmltex is not installed, so not removed
Package texlive-extra-utils is not installed, so not removed
Package texlive-science-doc is not installed, so not removed
You might want to run `apt-get -f install' to correct these:
The following packages have unmet dependencies:
  latex2rtf: Depends: tetex-bin but it is not going to be installed or
                      texlive-base but it is not going to be installed
  lmodern: Depends: tex-common (>= 1.10) but 1.9 is to be installed
  texlive-fonts-recommended: Depends: texlive-base (>= 2007-11) but it is not going to be installed
                             Recommends: texlive-fonts-recommended-doc but it is not going to be installed
                             Recommends: tipa (>= 2:1.2-2.1) but it is not going to be installed
  texlive-generic-recommended: Depends: texlive-base (>= 2007-11) but it is not going to be installed
  texlive-lang-french: Depends: texlive-base (>= 2007-11) but it is not going to be installed
  texlive-latex-base: Depends: texlive-base (>= 2007-11) but it is not going to be installed
                      Recommends: texlive-latex-base-doc but it is not going to be installed
  texlive-latex-extra: Depends: preview-latex-style but it is not going to be installed
                       Recommends: texlive-humanities but it is not going to be installed
                       Recommends: texlive-generic-extra but it is not going to be installed
                       Recommends: texlive-latex-extra-doc but it is not going to be installed
  texlive-pictures: Depends: texlive-base (>= 2007-11) but it is not going to be installed
                    Recommends: texlive-pictures-doc but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
zsh: exit 100   sudo apt-get install --purge texlive-base-bin texlive-common         lmodern

It says to run "apt-get -f install", but it wants to install packages
I've never asked (e.g. the -doc ones):

$ sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  dvipdfmx prosper texlive-base texlive-base-bin texlive-base-bin-doc
  texlive-common texlive-doc-base texlive-fonts-recommended
  texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base
  texlive-latex-base-doc texlive-latex-recommended
  texlive-latex-recommended-doc texlive-pstricks texlive-pstricks-doc tipa
The following packages will be REMOVED:
  latex-ucs
The following NEW packages will be installed:
  dvipdfmx prosper texlive-base texlive-base-bin texlive-base-bin-doc
  texlive-common texlive-doc-base texlive-fonts-recommended
  texlive-fonts-recommended-doc texlive-generic-recommended texlive-latex-base
  texlive-latex-base-doc texlive-latex-recommended
  texlive-latex-recommended-doc texlive-pstricks texlive-pstricks-doc tipa
0 upgraded, 17 newly installed, 1 to remove and 78 not upgraded.
1 not fully installed or removed.
Need to get 82.2MB/104MB of archives.
After this operation, 194MB of additional disk space will be used.
Do you want to continue [Y/n]?

and I don't have enough disk space for that (this is an old machine...).
This lets the machine in the state that it can no longer be upgraded!

-- Package-specific info:

-- apt-config dump --

APT "";
APT::Architecture "powerpc";
APT::Build-Essential "";
APT::Build-Essential:: "build-essential";
APT::Install-Recommends "1";
APT::Install-Suggests "0";
APT::Acquire "";
APT::Acquire::Translation "environment";
APT::NeverAutoRemove "";
APT::NeverAutoRemove:: "^linux-image.*";
APT::NeverAutoRemove:: "^linux-restricted-modules.*";
APT::Cache-Limit "33554432";
Dir "/";
Dir::State "var/lib/apt/";
Dir::State::lists "lists/";
Dir::State::cdroms "cdroms.list";
Dir::State::userstatus "status.user";
Dir::State::status "/var/lib/dpkg/status";
Dir::Cache "var/cache/apt/";
Dir::Cache::archives "archives/";
Dir::Cache::srcpkgcache "srcpkgcache.bin";
Dir::Cache::pkgcache "pkgcache.bin";
Dir::Etc "etc/apt/";
Dir::Etc::sourcelist "sources.list";
Dir::Etc::sourceparts "sources.list.d";
Dir::Etc::vendorlist "vendors.list";
Dir::Etc::vendorparts "vendors.list.d";
Dir::Etc::main "apt.conf";
Dir::Etc::parts "apt.conf.d";
Dir::Etc::preferences "preferences";
Dir::Bin "";
Dir::Bin::methods "/usr/lib/apt/methods";
Dir::Bin::dpkg "/usr/bin/dpkg";
Dir::Log "var/log/apt";
Dir::Log::Terminal "term.log";
DPkg "";
DPkg::Pre-Install-Pkgs "";
DPkg::Pre-Install-Pkgs:: "/usr/sbin/apt-listbugs apt || exit 10";
DPkg::Pre-Install-Pkgs:: "/usr/bin/apt-listchanges --apt";
DPkg::Tools "";
DPkg::Tools::Options "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs "";
DPkg::Tools::Options::/usr/sbin/apt-listbugs::Version "2";
DPkg::Tools::Options::/usr/bin/apt-listchanges "";
DPkg::Tools::Options::/usr/bin/apt-listchanges::Version "2";
DPkg::Post-Invoke "";
DPkg::Post-Invoke:: "if [ -x /usr/bin/debsums ]; then /usr/bin/debsums --generate=nocheck -sp /var/cache/apt/archives; fi";
Aptitude "";
Aptitude::UI "";
Aptitude::UI::Package-Display-Format "%c%a%M %p %Z %24v %24V";

-- /etc/apt/preferences --

Package: *
Pin: release a=stable
Pin-Priority: 900

Package: *
Pin: release a=testing
Pin-Priority: 900

Package: *
Pin: release a=unstable
Pin-Priority: 200

-- /etc/apt/sources.list --

# /etc/apt/sources.list

deb file:///usr/local/deb/ ./

deb http://fr.powerpc.mirror.debian.net/debian/ stable main non-free contrib
deb-src http://fr.powerpc.mirror.debian.net/debian/ stable main non-free contrib
deb http://fr.powerpc.mirror.debian.net/debian/ testing main non-free contrib
deb-src http://fr.powerpc.mirror.debian.net/debian/ testing main non-free contrib
deb http://fr.powerpc.mirror.debian.net/debian/ unstable main non-free contrib
deb-src http://fr.powerpc.mirror.debian.net/debian/ unstable main non-free contrib

deb http://security.debian.org/ stable/updates main contrib non-free

deb http://security.debian.org etch/updates main contrib non-free
deb-src http://security.debian.org etch/updates main contrib non-free

deb http://security.debian.org lenny/updates main contrib non-free
deb-src http://security.debian.org lenny/updates main contrib non-free

# For emacs-snapshot, as it is no longer maintained in Debian due to the GFDL
# (see <http://lists.debian.org/debian-emacsen/2007/03/msg00012.html>).
deb http://emacs.orebokech.com sid main
deb-src http://emacs.orebokech.com sid main

# See http://debian.video.free.fr/
#deb http://honk.sigxcpu.org/linux-ppc/debian/ mplayer/

-- System Information:
Debian Release: lenny/sid
  APT prefers testing
  APT policy: (900, 'testing'), (900, 'stable'), (200, 'unstable')
Architecture: powerpc (ppc)

Kernel: Linux 2.6.25-2-powerpc
Locale: LANG=POSIX, LC_CTYPE=en_US.ISO8859-1 (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages apt depends on:
ii  debian-archive-keyring   2008.04.16+nmu1 GnuPG archive keys of the Debian a
ii  libc6                    2.7-10          GNU C Library: Shared libraries
ii  libgcc1                  1:4.3.1-2       GCC support library
ii  libstdc++6               4.3.1-2         The GNU Standard C++ Library v3

apt recommends no packages.

-- no debconf information



Version: 20041017-8+rm

The latex-ucs package has been removed from Debian testing, unstable and
experimental, so I am now closing the bugs that were still opened
against it.

For more information about this package's removal, read
http://bugs.debian.org/458380 . That bug might give the reasons why
this package was removed, and suggestions of possible replacements.

Don't hesitate to reply to this mail if you have any question.

Thank you for your contribution to Debian.

--
Marco Rodrigues
http://Marco.Tondela.org

LightInTheBox - Buy quality products at wholesale price