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

Re: Dist-Upgrade Problem



[ Let's put this back on the list... ]

----- Forwarded message from David L. Craig <dlc AT radix DOT net> -----

> Subject: Re: Dist-Upgrade Problem
> Date: Sun, 24 Aug 2008 20:54:56 -0400
> 
> On Mon, Aug 25, 2008 at 12:49:30AM +0200, Florian Kulzer wrote:
> > 
> > We now need to figure out how to install the new perl-base; try what
> > happens if you do this:
> > 
> > apt-get install perl-base=5.10.0-13
> > 
> muse:~# apt-get install perl-base=5.10.0-13
> Reading package lists... Done
> Building dependency tree       
> Reading state information... Done
> You might want to run `apt-get -f install' to correct these:
> The following packages have unmet dependencies:
>   libapt-pkg-perl: Depends: perlapi-5.8.8

This is expected since perl is partially at 5.10 already. Once you get
perl going again this should all be fixable by a simple "apt-get install
-f".

>   libc6-i686: PreDepends: libc6 (= 2.7-9) but 2.7-13 is to be installed

This is unexpected and cause for concern. It should be possible to
upgrade both libc6 and libc6-i686 to version 2.7-13 simultaneously. In
fact, this might happen automatically with "apt-get install -f" or with
"apt-get dist-upgrade". If this does not work you have to find out why
libc6-i686 is stuck at 2.7-9. ("apt-cache policy libc6-i686" might be a
good start.)

[ snip: other perl packages have the same problem as libapt-pkg-perl. ]

>   liblocale-gettext-perl: Depends: perlapi-5.8.8

It seems that this one is currently messing up the configuration of the
perl package (see below).

>   libmono-corlib1.0-cil: Depends: mono-jit (>= 1.9.1) but 1.2.6+dfsg-6 is to be installed
>   libmono-corlib2.0-cil: Depends: mono-jit (>= 1.9.1) but 1.2.6+dfsg-6 is to be installed
>   libmono-system1.0-cil: Depends: mono-jit (>= 1.9.1) but 1.2.6+dfsg-6 is to be installed
>   libmono-system2.0-cil: Depends: mono-jit (>= 1.9.1) but 1.2.6+dfsg-6 is to be installed
>   libmono2.0-cil: Depends: libmono-system-web2.0-cil (>= 1.9.1) but 1.2.6+dfsg-6 is to be installed

Once the perl business is fixed you have to find out what keeps mono-jit
and libmono-system-web2.0-cil at the "stable" versions (unless apt-get
manages to fix this automatically).

[...]

> muse:~# dpkg -i ~dlc/Desktop/Downloads/perl*.deb
> (Reading database ... 191117 files and directories currently installed.)
> Preparing to replace perl-base 5.8.8-12 (using .../perl-base_5.10.0-13_i386.deb) ...
> Unpacking replacement perl-base ...
> Setting up perl-base (5.10.0-13) ...
> muse:~# dpkg --configure perl perl-modules perl-doc
> Setting up perl-modules (5.10.0-13) ...
> Setting up perl (5.10.0-13) ...
> /usr/bin/perl: symbol lookup error: /usr/lib/perl5/auto/Locale/gettext/gettext.so: undefined symbol: Perl_Tstack_sp_ptr
> dpkg: error processing perl (--configure):
>  subprocess post-installation script returned error exit status 127

Ah $#%&!, now perl cannot be configured because some of the old modules
don't work anymore and the modules cannot be upgraded because perl is
not configured. You will have to break this tie manually:

dpkg -S /usr/lib/perl5/auto/Locale/gettext/gettext.so

will tell you that this file belongs to package liblocale-gettext-perl.
Therefore you have to download the new version of this package (or look
for it in /var/cache/apt/archives/) and install it with:

dpkg -i /var/cache/apt/archives/liblocale-gettext-perl_1.05-4_*.deb

If dpkg cannot install this package due to unresolved dependencies then
you have to chase down the corresponding packages yourself, or you can
try to use force (preferably only as a last resort):

dpkg --force-depends -i /var/cache/apt/archives/liblocale-gettext-perl_1.05-4_*.deb

After you have done that, try

dpkg --configure perl perl-modules perl-doc

again. If other modules cause problems then you have to repeat the above
procedure for more packages until perl can be configured.

-- 
Regards,            | http://users.icfo.es/Florian.Kulzer
          Florian   |


Reply to: