Bug#501866: Missing dependancy - libpango1.0-common.prerm uses defoma-app in pkg defoma
Josselin Mouette
joss at debian.org
Wed Oct 15 15:20:57 UTC 2008
(Please don’t top-post, it’s hard to follow you.)
Le mercredi 15 octobre 2008 à 10:37 -0400, Higgins, Paul a écrit :
> I'm not sure where the problem lies. I saw that the packages that
> couldn't find File/Copy.pm seemed to have their dependencies correct,
> but apt and dpkg still allowed perl-modules to break it. The one
> package I checked closely because it broke the install, libtiff4,
> doesn't seem to depend on doc-base as it should.
>
> It seems like there must be some way to make sure the unpack, etc. for
> package perl-modules 5.10.x either leaves the 5.8.x tree alone, or
> waits until it is no longer needed to remove it.
Frankly, I’m tempted to reassign this to dpkg; Policy §7.2 is very clear
on the relationship between prerm scripts and Depends.
It’s not the first time I’ve seen this, although it usually happens when
there is a dependency cycle: one of the dependencies of a package in the
Depends list can be in a broken state at the time of prerm running.
Dpkg needs to ensure that all dependencies *and their own dependencies*
are in a clean, installed state when running the prerm script. It
correctly does it for postinst already.
> -----Original Message-----
> From: Josselin Mouette [mailto:joss at debian.org]
> Sent: Monday, October 13, 2008 04:36
> To: Higgins, Paul; 501866 at bugs.debian.org
> Subject: Re: Bug#501866: Missing dependancy - libpango1.0-common.prerm uses defoma-app in pkg defoma
>
> Le vendredi 10 octobre 2008 à 22:24 -0400, Paul Higgins a écrit :
> > The prerm or postrm scripts for these packages use either
> > /usr/bin/defoma-app or /usr/sbin/install-docs (in packages defoma and
> > doc-base). Those in turn reference files in perl-modules already
> > removed, causing libtiff4 to abort the install. In summary:
> >
> > fontconfig.prerm, libpango1.prerm, and libwmf0.2-7.postrm
> > all invoke /usr/bin/defoma-app; which needs File/Copy.pm
> > from perl-modules. It was able to continue using the prerm
> > script from the new package.
> >
> > libpng12-0.prerm, libtiff4.prerm, base-passwd.postinst,
> > cupsys.prerm, and shared-mime-info.prerm invoke
> > /usr/sbin/install-docs which needs Pod/Usage.pm from perl-modules.
>
> What exactly are we supposed to change in those packages? They either
> correctly depend on defoma (for defoma-app) or check that install-docs
> is here before launching it.
--
.''`.
: :' : We are debian.org. Lower your prices, surrender your code.
`. `' We will add your hardware and software distinctiveness to
`- our own. Resistance is futile.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Ceci est une partie de message
=?ISO-8859-1?Q?num=E9riquement?= =?ISO-8859-1?Q?_sign=E9e?=
Url : http://lists.alioth.debian.org/pipermail/pkg-gnome-maintainers/attachments/20081015/c3f57b2c/attachment.pgp
More information about the pkg-gnome-maintainers
mailing list