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

Re: Problem updating to woody from stable



Try installing perl-5.6 before upgrade.

apt-get update
apt-get install perl-5.6
apt-get dist-upgrade

If I'm remembering correctly that worked for me.

Kevin

On Mon, Nov 20, 2000 at 10:57:40AM -0800, Vaibhav Goel wrote:
> Hi all:
> 
> I recently tried apt-get upgrading my stable distribution to woody.  I
> did a standard
> 'apt-get update; apt-get upgrade'.  Below are the contents of my
> /etc/apt/sources.list
> and the error message I am getting.  I think its a problem with the perl
> distribution in woody
> but I am not sure how to fix it.  Any ideas would be very much
> appreciated.
> 
> Thanks,
> 
> --- /etc/apt/sources.list
> 
> deb http://http.us.debian.org/debian/ unstable main non-free contrib
> deb-src http://http.us.debian.org/debian/ unstable main non-free contrib
> 
> deb http://non-us.debian.org/debian-non-US unstable/non-US main contrib
> non-free
> deb-src http://non-us.debian.org/debian-non-US unstable/non-US main
> contrib non-free
> 
> 
> ---- error messages
> 
> 
> (Reading database ... 35067 files and directories currently installed.)
> Preparing to replace util-linux 2.10f-5.1 (using
> .../util-linux_2.10p-1.0_i386.deb) ...
> Unpacking replacement util-linux ...
> Can't locate File/Glob.pm in @INC (@INC contains: /usr/lib/perl5
> /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6
> /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl
> /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 .) at
> /usr/sbin/update-mime line 48.
> BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48.
> dpkg: warning - old post-removal script returned error exit status 2
> dpkg - trying script from the new package instead ...
> Can't locate File/Glob.pm in @INC (@INC contains: /usr/lib/perl5
> /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6
> /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl
> /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 .) at
> /usr/sbin/update-mime line 48.
> BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48.
> dpkg: error processing
> /var/cache/apt/archives/util-linux_2.10p-1.0_i386.deb (--unpack):
>  subprocess new post-removal script returned error exit status 2
> Can't locate File/Glob.pm in @INC (@INC contains: /usr/lib/perl5
> /usr/lib/perl5/5.6/i386-linux /usr/lib/perl5/5.6
> /usr/local/lib/site_perl/i386-linux /usr/local/lib/site_perl
> /usr/lib/perl5/5.005/i386-linux /usr/lib/perl5/5.005 .) at
> /usr/sbin/update-mime line 48.
> BEGIN failed--compilation aborted at /usr/sbin/update-mime line 48.
> dpkg: error while cleaning up:
>  subprocess post-removal script returned error exit status 2
> Errors were encountered while processing:
>  /var/cache/apt/archives/util-linux_2.10p-1.0_i386.deb
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> 
> 
> 
> -- 
> Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 



Reply to: