logo       


Re: Bug#279232: Perl related upgrade problems woody -> sarge: msg#00020

Subject: Re: Bug#279232: Perl related upgrade problems woody -> sarge
Moin,

as I am not subscribed to debian-perl, I found your message asking for logs 
only now via the l.d.o mailarchive (as it seems low-traffic, I will subscribe
now). In the meantime, I investigated the problem a bit further and found a 
possible, but ugly fix (which I use in locally hosted perl packages on my
machines at work).

> If you could provide a log that would be useful, I'm particularly
> interested to see the sequence of unpack/configure events which tickles
> this bug.

The complete log is attached, but here is a summary (Note: perl-base isn't
touched at all, so perl from perl-base 5.6.1 fails to locate its modules,
because they updated too early).

------- Interesting parts of apt-get dist-upgrade log -------
[...]
Preparing to replace perl-modules 5.6.1-8.7 (using 
.../perl-modules_5.8.4-3_all.deb) ...
Unpacking replacement perl-modules ...
Selecting previously deselected package libdb4.2.
Unpacking libdb4.2 (from .../libdb4.2_4.2.52-17_i386.deb) ...
Selecting previously deselected package libgdbm3.
Unpacking libgdbm3 (from .../gdbm/libgdbm3_1.8.3-2_i386.deb) ...
Preparing to replace perl-doc 5.6.1-8.7 (using 
.../perl/perl-doc_5.8.4-3_all.deb) ...
Leaving `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc'
Unpacking replacement perl-doc ...
[...]
Preparing to replace perl 5.6.1-8.7 (using .../p/perl/perl_5.8.4-3_i386.deb) ...
Unpacking replacement perl ...
[doc-base error in old xfree86-common.prerm, caught by new maintainer script]
[...]
[doc-base error in gnome-control-center, dpkg fails with it the dist-upgrade]
-------------------------------------------------------------

My update-proof perl packages (based on the version in SID, but the same
changes should work for the SARGE version) use the following changes (Note:
there must be a better solution than introducing a pre-depends, which tends
to be rather fragile). 

------------- excerpt from debian/changelog -----------------
perl (5.8.4-5.1) sarge-workarounds; urgency=low

  * Non-maintainer upload.
  * Changes in package control files to force apt-get into the right
    installation order (Closes: #279232):
    - perl-base conflicts with perl (<< 5.8.0-1) and 
      perl-modules (<< 5.8.0-1)
    - perl pre-depends on perl-base (= ${Source-Version})

-------------------------------------------------------------

This leads to the following apt-get dist-upgrade log:

-------------------------------------------------------------
[...]
Preparing to replace perl-modules 5.6.1-8.7 (using 
.../perl-modules_5.8.4-5.1_all.deb) ...
Unpacking replacement perl-modules ...
Selecting previously deselected package libdb4.2.
Unpacking libdb4.2 (from .../libdb4.2_4.2.52-17_i386.deb) ...
Selecting previously deselected package libgdbm3.
Unpacking libgdbm3 (from .../gdbm/libgdbm3_1.8.3-2_i386.deb) ...
Preparing to replace perl-doc 5.6.1-8.7 (using .../perl-doc_5.8.4-5.1_all.deb) 
...
Leaving `diversion of /usr/bin/perldoc to /usr/bin/perldoc.stub by perl-doc'
Unpacking replacement perl-doc ...
[a bunch of libperl-foo packages]
dpkg: perl: dependency problems, but removing anyway as you request:
 [bunch of packages depening on perl]
Removing perl ...
(Reading database ... 138738 files and directories currently installed.)
Preparing to replace perl-base 5.6.1-8.7 (using 
.../perl-base_5.8.4-5.1_i386.deb) ...
Unpacking replacement perl-base ...
Setting up perl-base (5.8.4-5.1) ...
Selecting previously deselected package perl.
(Reading database ... 138732 files and directories currently installed.)
Unpacking perl (from .../perl_5.8.4-5.1_i386.deb) ...
[...]
-------------------------------------------------------------

-- 
c u
henning

Attachment: signature.asc
Description: Digital signature

Ruby Jobs
Java Jobs
Jobs in California
more...
what
job title, keywords
where
city, state, zip
jobs by job search
Search:
Java, servers, webhosting, windows, cisco ...
more...
<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

Recently Viewed:
encryption.gpg....    ietf.rfc822/199...    freebsd.devel.i...    lang.haskell.li...    mail.squirrelma...    web.zope.plone....    yellowdog.gener...    text.xml.xalan....    recreation.phot...    kde.devel.educa...    hardware.bus.ca...    printing.ghosts...    voip.peering/20...    assembly/2006-0...    org.user-groups...    culture.interne...    network.i2p/200...    boot-loaders.ya...    xfree86.render/...    qnx.openqnx.dev...    jakarta.velocit...    user-groups.pal...   
Home | blog view | USPTO Patent Archive | advertise | OSDir is an inevitable website. super tiny logo

Free Magazines

Cisco News
Receive a free quarterly e-newsletter with exclusive articles on how Cisco IT uses its own products and solutions to enable the business.
subscribe

Systems Management News, the newspaper for IT systems administration and data center managers! Each issue of Systems Management News is chock-full of news and analysis to help you understand what's happening in your field.
subscribe

The Enterprise Newsweekly eWeek is the essential technology information source for builders of e-business.
subscribe

Oracle Magazine Oracle Magazine contains technology strategy articles, sample code, tips, Oracle and partner news, how to articles for developers and DBAs, and more. Oracle (NASDAQ: ORCL) is the world's largest enterprise software company.
subscribe

Total Telecom Total Telecom is "The Economist of the communications industry".
subscribe