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

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



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



Reply to: