Bug#627028: Broken perl dependencies in testing

Matthias Faulstich faulstich at fh-swf.de
Tue May 17 14:05:52 UTC 2011


Thanks for answer.

Am Dienstag 17 Mai 2011 schrieb Dominic Hargreaves :
> On Tue, May 17, 2011 at 07:42:52AM +0200, Matthias Faulstich wrote:
> > Package: perl-base / liblocale-gettext-perl / libxml-parser-perl
> > Version: 5.10.1-20
> > Debian Version: testing
> > 
> > Package to be installed: perl-base_5.12.3-6_amd64.deb
> > 
> > Trying 
> > apt-get dist-update 
> > on testing fails since Monday, 05/16/2011 caused by broken
> > dependencies in the perl libraries.
> > 
> > After removing all perl packages with broken dependencies I don't need
> > actually, following stay unresolved:
> > 
> > (Sorry, my system is localized in German)
> > 
> > apt-get install --reinstall perl-base
> > Paketlisten werden gelesen... Fertig
> > Abhängigkeitsbaum wird aufgebaut       
> > Statusinformationen werden eingelesen... Fertig
> > Probieren Sie »apt-get -f install«, um dies zu korrigieren:
> > Die folgenden Pakete haben unerfüllte Abhängigkeiten:
> > liblocale-gettext-perl : Hängt ab von (vorher): perlapi-5.10.0
> > libxml-parser-perl : Hängt ab von: perlapi-5.10.0
> 
> This seems wrong; as you can see from
> <http://packages.debian.org/wheezy/libxml-parser-perl>
> this package depends on perlapi-5.12.3, not perlapi-5.10.0.
> Please could you post the contents of your /etc/apt/sources.list

deb http://ftp.de.debian.org/debian/ testing main contrib non-free
deb-src http://ftp.de.debian.org/debian/ testing main contrib non-free
deb http://ftp.de.debian.org/debian/ testing-proposed-updates main contrib non-free
deb-src http://ftp.de.debian.org/debian/ testing-proposed-updates main contrib non-free
deb http://security.debian.org/ testing/updates main contrib
deb-src http://security.debian.org/ testing/updates main contrib
deb http://www.debian-multimedia.org/ testing main
deb http://deb.opera.com/opera wheezy non-free

> and the output of
> 
> apt-cache policy libxml-parser-perl
Previously, I did an
apt-cache update
again.


libxml-parser-perl:
  Installiert: 2.36-1.1+b1
  Kandidat:    2.36-1.1+b2
  Versionstabelle:
     2.36-1.1+b2 0
        500 http://ftp.de.debian.org/debian/ testing/main amd64 Packages
 *** 2.36-1.1+b1 0
        100 /var/lib/dpkg/status


Additionally, 
apt-cache show libxml-parser-perl
shows this:

Package: libxml-parser-perl
Source: libxml-parser-perl (2.36-1.1)
Version: 2.36-1.1+b2
Installed-Size: 672
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs at lists.alioth.debian.org>
Architecture: amd64
Depends: perl (>= 5.12.3-6), perlapi-5.12.3, liburi-perl, libwww-perl, libc6 (>= 2.4), libexpat1 (>= 1.95.8)
Description-de: Perl Modul zum Parsen von XML Dateien
 Dieses Module stellt Möglichkeiten zur Verfügung, um XML Dokumente zu parsen.
 Es baut auf XML::Parser::Expat auf, welches ein Lowlevel Interface zu
 James Clarks expat Bibliothek ist. Jeder Aufruf einer der Parsermethoden
 erzeugt eine neue Instanz von XML::Parser::Expat, welches dazu benutzt
 wird, das Dokument zu parsen. Expat Optionen können beim Erzeugen des
 XML::Parser Objektes angegeben werden. Diese Optionen werden dann dem
 Expat Objekt bei jedem Parse Aufruf übergeben. Sie können auch als
 separate Argumente für die Parsemethoden angegeben werden, wobei sie
 dann die Optionen überschreiben, die beim Erzeugen des XML::Parser
 Objektes angegeben wurden.
 .
 Das Verhalten des Parsers wird entweder durch Stil und/oder Handler-Optionen
 oder durch die setHandlers Methode kontrolliert. Diese stelle alle
 Mechanismen für XML::Parser zur Verfügung, um die Handler einzustellen,
 die von XML::Parser::Expoat benötigt werden. Falls kein Stil oder Handler
 spezifiert ist, dann wird durch das Parsen nur die Wohlgeformtheit des 
 Dokumentes geprüft.
 .
 Gerufene Handler erhalten als ersten Parameter das Expat Objekt, nicht
 das Parser Objekt.
Homepage: http://www.libexpat.org/
Tag: devel::lang:perl, devel::library, implemented-in::perl, role::shared-lib, works-with-format::xml
Section: perl
Priority: optional
Filename: pool/main/libx/libxml-parser-perl/libxml-parser-perl_2.36-1.1+b2_amd64.deb
Size: 325730
MD5sum: 20d153e3126e7d4b4c50ed32248fb157
SHA1: ec94922743a410bbd3b988012c76a81118a6fd94
SHA256: b8e4fd87b5effaffc1389a70255ee06c18046fc1563d44e10e3db97a61e5acb6

Package: libxml-parser-perl
Status: purge ok installed
Priority: optional
Section: perl
Installed-Size: 740
Maintainer: Debian XML/SGML Group <debian-xml-sgml-pkgs at lists.alioth.debian.org>
Architecture: amd64
Source: libxml-parser-perl (2.36-1.1)
Version: 2.36-1.1+b1
Depends: perl (>= 5.10.0-9), perlapi-5.10.0, liburi-perl, libwww-perl, libc6 (>= 2.7-1), libexpat1 (>= 1.95.8)
Description: Perl module for parsing XML files
 This module provides ways to parse XML documents.  It is built on top
 of XML::Parser::Expat, which is a lower level interface to James
 Clark's expat library.  Each call to one of the parsing methods
 creates a new instance of XML::Parser::Expat which is then used to
 parse the document.  Expat options may be provided when the
 XML::Parser object is created.  These options are then passed on to
 the Expat object on each parse call.  They can also be given as extra
 arguments to the parse methods, in which case they override options
 given at XML::Parser creation time.
 .
 The behavior of the parser is controlled either by Style and/or
 Handlers options, or by setHandlers method.  These all provide
 mechanisms for XML::Parser to set the handlers needed by
 XML::Parser::Expat.  If neither Style nor Handlers are specified,
 then parsing just checks the document for being well-formed.
 .
 When underlying handlers get called, they receive as their first
 parameter the Expat object, not the Parser object.
Homepage: http://www.libexpat.org/

You can see the dependency: 
..
Depends: perl (>= 5.10.0-9), perlapi-5.10.0, liburi-perl, libwww-perl, libc6 (>= 2.7-1), libexpat1 (>= 1.95.8)
..
> 
> > These packages cannot be removed since they are part of the 
> > Debian configuration mechanism:
> > 
> > sudo dpkg --purge liblocale-gettext-perl
> > dpkg: Abhängigkeitsprobleme verhindern Entfernen von liblocale-gettext-perl:
> > libparse-debianchangelog-perl hängt ab von liblocale-gettext-perl; aber:
> > Paket liblocale-gettext-perl soll entfernt werden.
> > debconf-i18n hängt ab von liblocale-gettext-perl.
> > tasksel hängt ab von liblocale-gettext-perl.
> > dpkg: Fehler beim Bearbeiten von liblocale-gettext-perl (--purge):
> > Abhängigkeitsprobleme - wird nicht entfernt
> > Fehler traten auf beim Bearbeiten von:
> > liblocale-gettext-perl
> 
> If you really wanted to remove liblocale-gettext-perl you could
> install debconf-english instead, but that's probably not the best
> approach here.
I don't really want to remove this. It was just a try to solve the
dependency problem temporarily.

Regards
Matthias Faulstich





More information about the pkg-perl-maintainers mailing list