[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#550825: [safe-rm] Unable to upgrade perl (Postinst scripts fail screaming in pain :) )



reassing 550825 safe-rm
thanks

Hi there, 

I am sorry if my previous bug report was a bit (a lot) "written in
panic". I now realize it lacked information.

David Kalnischkies wrote:
> Hi Amaya,
> 
> >>  See #548848 et al.
> > I could not find additional helpful information there.
> Try apt-get install -f -o APT::Immediate-Configure=0
> See my email to apt bug #548858 for some details about
> this option and why it is needed. (note the 5 instead of the 4)

It was while running this command that I got more input and realized
that it was safe-rm (a perl script that substitutes /usr/bin/rm) that
was making all my post-inst scripts to fail. So your answer was truly
helpful.

I am reassigning it now, as it has nothing to do with apt, dpkg,
circular pre-dependencies or such deep, complicated things :)

It was just a simple perl script complaining (pasting here for the
safe-rm maintainer) about not finding English.pm during the upgrade:

~-root@io>apt-get install -f -o APT::Immediate-Configure=0
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  libmpeg3hv libquicktimehv libass3
Use 'apt-get autoremove' to remove them.
The following extra packages will be installed:
  libperl5.10 perl perl-base
Suggested packages:
  perl-doc
The following packages will be upgraded:
  libperl5.10 perl perl-base
3 upgraded, 0 newly installed, 0 to remove and 416 not upgraded.
2 not fully installed or removed.
Need to get 0B/5,504kB of archives.
After this operation, 160kB disk space will be freed.
Do you want to continue [Y/n]? Y
Reading package fields... 0%Can't locate English.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.
0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/bin/rm line 105.
BEGIN failed--compilation aborted at /usr/bin/rm line 105.
dpkg-deb: subprocess rm -rf returned error exit status 2
Reading package fields... 33%Can't locate English.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10
.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/bin/rm line 105.
BEGIN failed--compilation aborted at /usr/bin/rm line 105.
dpkg-deb: subprocess rm -rf returned error exit status 2
Reading package fields... 66%Can't locate English.pm in @INC (@INC contains: /etc/perl /usr/local/lib/perl/5.10.0 /usr/local/share/perl/5.10.0 /usr/lib/perl5 /usr/share/perl5 /usr/lib/perl/5.10 /usr/share/perl/5.10 /usr/local/lib/site_perl) at /usr/bin/rm line 105.
BEGIN failed--compilation aborted at /usr/bin/rm line 105.
dpkg-deb: subprocess rm -rf returned error exit status 2
	
> But you should definitely check what set this situation up and
> reassign this bug to it (or close this one and open a new) as your
> systemstate was already broken (unmet dependency) and apt doesn't
> cause this. Maybe you have installed some packages by hand with dpkg
> or a maintainerscript of a package in a previous install run failed
> (but i bet on the first option as dpkg is unable to configure it
> without other unpacked packages).

Thanks for your kind reply, you really hit the spot!


-- 
 ·''`.     If you haven't got anything nice to say about anybody,
: :' :           come sit next to me - Alice Roosevelt Longworth
`. `' 
  `-    Proudly running Debian GNU/Linux



Reply to: