On an Ubuntu box I previously used Perl 5.8.8, compiled from source with no special options. Recently I upgraded to Perl 5.10.0, again compiled from source with no special options. Since that upgrade most of the problems I have encountered have related to modules with XS code. What follows may be similar.

I was prompted by Synaptic Package Manager to upgrade the CUPS printing system today. Two of the three packages upgraded successfully but 'cupsys-client' failed. Here's the output I got when I tried a second time via apt-get:

[~] 512 $ sudo apt-get install cupsys-client Reading package lists... Done Building dependency tree... Done cupsys-client is already the newest version. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed. Need to get 0B of archives. After unpacking 0B of additional disk space will be used. Setting up cupsys (1.2.2-0ubuntu0.6.06.6) ... Can't load '/usr/local/lib/perl5/site_perl/5.8.8/i686-linux//auto/Unic +ode/String/String.so' for module Unicode::String: /usr/local/lib/perl +5/site_perl/5.8.8/i686-linux//auto/Unicode/String/String.so: undefine +d symbol: PL_dowarn at /usr/lib/perl/5.8/DynaLoader.pm line 225. at /usr/sbin/install-docs line 25 Compilation failed in require at /usr/sbin/install-docs line 25. BEGIN failed--compilation aborted at /usr/sbin/install-docs line 25. dpkg: error processing cupsys (--configure): subprocess post-installation script returned error exit status 2 Errors were encountered while processing: cupsys E: Sub-process /usr/bin/dpkg returned an error code (1)

Result: I currently am unable to print any documents.

Suggestions? Thanks in advance.

Jim Keenan

In reply to Ubuntu cups package upgrade problem after upgrading to Perl 5.10 by jkeenan1

Title:
Use:  <p> text here (a paragraph) </p>
and:  <code> code here </code>
to format your post, it's "PerlMonks-approved HTML":



  • Posts are HTML formatted. Put <p> </p> tags around your paragraphs. Put <code> </code> tags around your code and data!
  • Titles consisting of a single word are discouraged, and in most cases are disallowed outright.
  • Read Where should I post X? if you're not absolutely sure you're posting in the right place.
  • Please read these before you post! —
  • Posts may use any of the Perl Monks Approved HTML tags:
    a, abbr, b, big, blockquote, br, caption, center, col, colgroup, dd, del, details, div, dl, dt, em, font, h1, h2, h3, h4, h5, h6, hr, i, ins, li, ol, p, pre, readmore, small, span, spoiler, strike, strong, sub, summary, sup, table, tbody, td, tfoot, th, thead, tr, tt, u, ul, wbr
  • You may need to use entities for some characters, as follows. (Exception: Within code tags, you can put the characters literally.)
            For:     Use:
    & &amp;
    < &lt;
    > &gt;
    [ &#91;
    ] &#93;
  • Link using PerlMonks shortcuts! What shortcuts can I use for linking?
  • See Writeup Formatting Tips and other pages linked from there for more info.