tags 792807 upstream
severity 792807 minor
thanks

Hi,

apt-dater has found a legacy hosts.conf and runs the script `hosts2xml`
to convert the hosts list. The perl script uses XML::Writer but
apt-dater is missing a dependency on libxml-writer-perl.

On 07/18/2015 08:49 PM, Tiger!P wrote:
> Can't locate XML/Writer.pm in @INC (you may need to install the XML::Writer
> module) (@INC contains: /etc/perl /usr/local/lib/x86_64-linux-gnu/perl/5.20.2
> /usr/local/share/perl/5.20.2 /usr/lib/x86_64-linux-gnu/perl5/5.20
> /usr/share/perl5 /usr/lib/x86_64-linux-gnu/perl/5.20 /usr/share/perl/5.20
> /usr/local/lib/site_perl .) at /usr/lib/x86_64-linux-gnu/apt-dater/hosts2xml
> line 8.
> BEGIN failed--compilation aborted at /usr/lib/x86_64-linux-gnu/apt-
> dater/hosts2xml line 8.
> ** Message: Creating default config file /home/tigerp/.config/apt-
> dater/hosts.xml

Since the script fails apt-dater creates the example hosts.xml. If you
want apt-dater to handle the convertion of hosts.conf to hosts.xml you
need to install libxml-writer-perl manually, remove
/home/tigerp.config/apt-dater/hosts.xml and run apt-dater again.


HTH,
Thomas

-- 
supp...@ibh.de                              Tel. +49 351 477 77 30
www.ibh.de                                  Fax  +49 351 477 77 39

-----------------------------------------------------------------------
Dipl.-Ing. Thomas Liske
Netzwerk- und System-Design


IBH IT-Service GmbH                         Amtsgericht Dresden
Gostritzer Str. 67a                         HRB 13626
D-01217 Dresden                             GF: Prof. Dr. Thomas Horn
Germany                                     VAT DE182302907
-----------------------------------------------------------------------
Ihr Partner für: LAN, WAN IP-Quality, Security, VoIP, SAN, Backup, USV
-----------------------------------------------------------------------
       professioneller IT-Service - kompetent und zuverlässig
-----------------------------------------------------------------------


-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to