Bug#671715: libc6: Fail to upgrade from 2.13-27 to newer version !

2012-06-30 Thread newbeewan

On 30/06/2012 01:27, Aurelien Jarno wrote:

On Wed, May 23, 2012 at 07:07:05PM +0200, Aurelien Jarno wrote:

On Sun, May 06, 2012 at 11:14:56AM +0200, Mourad Jaber wrote:

Package: libc6
Version: 2.13-27
Severity: important

Dear Maintainer,

* What led up to the situation?
My system (debian/testing) is using 2.13-27 version of libc6 and I'm trying to
upgrade to the current testing version...

* What exactly did you do (or not do) that was effective (or
  ineffective)?
I'm trying to do an aptitude install libc6

* What was the outcome of this action?
It didn't finish well, I obtain the following messages :
A copy of the C library was found in an unexpected directory:
   '/lib/x86_64-linux-gnu/libc-2.13.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib/x86_64-linux-gnu' and try again.

* What outcome did you expect instead?
An upgrade without problem !

I have tryied :
  - to move that file -  nothing work after that so I cannot redo the upgrade !
  - to use a rescue CD (PartedMagic), chroot the environement and try to force
the upgrade, but I get the same result !

Is there any solution to make the upgrade happen without reinstalling the whole
system ?


This looks like your dpkg database is corrupted, or at least not in sync
with the files installed in your system. Can you please provide us the
contents of all the files named /var/lib/dpkg/info/libc6*.list ?


Ping ?

Sorry for the lack of response !

Unfortunately I have reinstalled the system using the CUT installation CD 
(http://cut.debian.net/) and it works like a charm !


I received your first mail just after my reinstall and I haven't any copy of 
the old /var :(

I think you can close that bug.

I will reopen it if it happened again and in that case I will save the /var/lib to have 
some post mortem datas.


Best Regards

Mourad



--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4feeb202.2030...@nativobject.net



Bug#671715: libc6: Fail to upgrade from 2.13-27 to newer version !

2012-05-08 Thread newbeewan

Hi,

I have tried that workaround but without any success :(

I get the same message :
# dpkg -i ./download/libc6_2.13-27_amd64.deb
(Reading database ... 81988 files and directories currently installed.)
Preparing to replace libc6:amd64 2.13-27 (using .../libc6_2.13-27_amd64.deb) ...

A copy of the C library was found in an unexpected directory:
  '/lib/x86_64-linux-gnu/libc-2.13.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib/x86_64-linux-gnu' and try again.

dpkg: error processing ./download/libc6_2.13-27_amd64.deb (--install):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 ./download/libc6_2.13-27_amd64.deb

I have tried with all versions from 2.13-20 to 2.13-27 with exactly the same 
result !

Regards

Mourad


Le 08/05/2012 09:57, Nikolay Kichukov a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Hello Mourad,

I've been fighting this problem for a whole day on my debian testing which also 
used the same libc6 library as the one
on your system.

I have tried all I could think of to resolve this, one of the operations 
rendering my system totally useless ... so I
did a lot of manual work to fix it.

Anyways, the long story in short:

Download the appropriate libc6 2.13.-27 library from snapshot.debian.net, in my 
case for 64 bit installation (amd64):

http://snapshot.debian.org/archive/debian/20120227T041421Z/pool/main/e/eglibc/libc6_2.13-27_amd64.deb

dpkg -i libc6_2.13-27_amd64.deb

Which fixes libraries and configuration files which might have gone bad 
probably by mixing repos (testing and unstable)
for example or from other sources ...

After that, apt-get -f install fixes the required packages and dependencies for 
libc6-(friends).

Let me know if you are not able to resolve the problem.

PS: I am not subscribed to the list, so CC me.

Cheers,
- -Nik
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPqNIGAAoJEDFLYVOGGjgXLgYH/0ncOLA1gOK0E5ptcEaUai8B
L1/n0a9pnW0E5wxxyA3TJgNz7V9eRKTVfqTxQzmPb+JM9V1FxyV3QrWtXHfMffwh
G70+iFXG3LQb1qIE+oE3G3W7FJG8n6dW7AprLrH3N+Nj/+RaRZQawjCwiywLyctL
FkVEY9EF6wy+2JQwJRYUHP5vPYlfb7Ylun8NI4B/NqnaB6ycdv+0p4/aQyj0+ScR
MteJatGfNHeEdezH6nHCi5y8VouZ2z19a0yw6tMEHO11n7wPm9W8JEPVkRxPfN7a
s4+rXG33c83W1DiDxqEfswuSJfM8q9iSVFIxa8NwEZNnR4k5JgnEPXiTJs8Lluk=
=dQbV
-END PGP SIGNATURE-






--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fa8de7a.5090...@nativobject.net



Bug#671715: libc6: Fail to upgrade from 2.13-27 to newer version !

2012-05-08 Thread newbeewan
Nothing better, all packages downgrade well except lib6 which fails always with the same 
message !


Mourad

Le 08/05/2012 16:34, Nikolay Kichukov a écrit :

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Please, try to downgrade using 'dpkg -i' the following:


libc6-dbg_2.13-27_amd64.deb
libc6-dev_2.13-27_amd64.deb
libc6-i386_2.13-27_amd64.deb
libc-bin_2.13-27_amd64.deb
libc-dev-bin_2.13-27_amd64.deb


HTH,
- -Nik

On 05/08/2012 11:51 AM, newbeewan wrote:

Hi,

I have tried that workaround but without any success :(

I get the same message :
# dpkg -i ./download/libc6_2.13-27_amd64.deb
(Reading database ... 81988 files and directories currently installed.)
Preparing to replace libc6:amd64 2.13-27 (using .../libc6_2.13-27_amd64.deb) ...

A copy of the C library was found in an unexpected directory:
   '/lib/x86_64-linux-gnu/libc-2.13.so'
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library or get it out of
'/lib/x86_64-linux-gnu' and try again.

dpkg: error processing ./download/libc6_2.13-27_amd64.deb (--install):
  subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
  ./download/libc6_2.13-27_amd64.deb

I have tried with all versions from 2.13-20 to 2.13-27 with exactly the same 
result !

Regards

Mourad


Le 08/05/2012 09:57, Nikolay Kichukov a écrit :
Hello Mourad,

I've been fighting this problem for a whole day on my debian testing which also 
used the same libc6 library as the one
on your system.

I have tried all I could think of to resolve this, one of the operations 
rendering my system totally useless ... so I
did a lot of manual work to fix it.

Anyways, the long story in short:

Download the appropriate libc6 2.13.-27 library from snapshot.debian.net, in my 
case for 64 bit installation (amd64):

http://snapshot.debian.org/archive/debian/20120227T041421Z/pool/main/e/eglibc/libc6_2.13-27_amd64.deb

dpkg -i libc6_2.13-27_amd64.deb

Which fixes libraries and configuration files which might have gone bad 
probably by mixing repos (testing and unstable)
for example or from other sources ...

After that, apt-get -f install fixes the required packages and dependencies for 
libc6-(friends).

Let me know if you are not able to resolve the problem.

PS: I am not subscribed to the list, so CC me.

Cheers,
-Nik

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.12 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iQEcBAEBAgAGBQJPqS7xAAoJEDFLYVOGGjgXzL8H/AmP5DWprWVWioaQJODmrAW6
IdAGotvELx/RACj0B8muRx5BsfSV5gj4Ut73prsHlows0g0XnI0VdNbN/r5uLYAh
5f3RB0y0+bhiFCi4L+F+aYO9HXSlZ94suW930tJjMYniyPZ4YKkVzf14R01WyzRb
XYKdjaTxZALPni7+GX57HThckN3KyOlxblqNYAiWxnPa7h9aN3dX/hStPpZZmygZ
CGIkGBIEypgbrquayELNYQuu+geaLt9p+gVKf0ud772sO3CRBSX1fDCBLBHffDxa
82VtfWGdOQMr9BrTZW+zI1dYGuQIey1MD47AFjN5DijPX8olVHaU9L9l4b8SyEA=
=oP/8
-END PGP SIGNATURE-






--
To UNSUBSCRIBE, email to debian-glibc-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/4fa94b15.3000...@nativobject.net