Ubuntu Forums ubuntu.com - launchpad.net - ubuntu help  

Go Back   Ubuntu Forums > The Ubuntu Forum Community > Forum Archive > Main Support Categories > General Help
Register Reset Password Forum Help Forum Council Search Today's Posts Mark Forums Read

Hello, Unregistered You are browsing a READ only archive of the main support categories pre 4/21/2008. You will not be able to post or reply any threads in this section.

General Help
All your general support questions for Ubuntu, Kubuntu, Edubuntu and Xubuntu.

 
Thread Tools Display Modes
Old January 24th, 2007   #1
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,070
Ubuntu 8.10 Intrepid Ibex
Regarding libc6 security updates

UPDATE: A new version of this update has been released and will install correctly for all users. This notice is kept here for historical purpose, and will be unstickied in 24 hours. The updated version of the libc6 packages is "2.4-1ubuntu12.3".

Some users attempting to apply the recent libc6 (glibc) security updates may get an error that looks something like this:

Code:
(Reading database ... 160320 files and directories currently installed.)
Preparing to replace libc6-dev 2.4-1ubuntu12 (using .../libc6-dev_2.4-1ubuntu12.2_i386.deb) ...
Unpacking replacement libc6-dev ...
Preparing to replace libc6 2.4-1ubuntu12 (using .../libc6_2.4-1ubuntu12.2_i386.deb) ...
Matching libraries: (list of library files)

A copy of glibc was found in an unexpected directory.
It is not safe to upgrade the C library in this situation;
please remove that copy of the C library and try again.
dpkg: error processing /var/cache/apt/archives/libc6_2.4-1ubuntu12.2_i386.deb (--unpack):
 subprocess pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/libc6_2.4-1ubuntu12.2_i386.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
A package failed to install. Trying to recover:
dpkg: dependency problems prevent configuration of libc6-dev:
 libc6-dev depends on libc6 (= 2.4-1ubuntu12.2); however:
  Version of libc6 on system is 2.4-1ubuntu12.
dpkg: error processing libc6-dev (--configure):
 dependency problems - leaving unconfigured
Errors were encountered while processing:
 libc6-dev
This appears to affect a minor portion of people and is caused by the presence of offending library files. This includes libpthread20 (from the repositories, but typically not installed) and some other reported files that cannot be traced to Ubuntu repositories in origin (binary NVidia beta drivers are suspected, but not confirmed). Developers are puzzled at what could be installing the libpthread20 package or making the erroneous links, and are asking for users' help in pinpointing the culprits. Nonetheless, a fixed package is in the works and will be released soon.


If You Are Affected:

A fix to this is issue is in the works. Just sit tight and wait for a newer update which will correct this situation. Please do not attempt any recovery instructions that tell you to temporarily move or delete library files to coerce the update to install. That is a highly risky procedure and could break your system beyond all but expert repair.

So is it safe to apply libc6 updates?

The offending packages have been blocked at the download servers so as of now, it should not be possible to download (and thus install) this update. So for now, it is fairly safe to attempt to apply any updates the Update Manager finds for you. An attempt to download the broken package will fail with a message like this:
Code:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-dev_2.4-1ubuntu12.2_i386.deb
   403 Forbidden [IP: 195.248.90.35 80]


I have been affected. Is there any way I can help provide debugging information?
Yes. Some developers have asked for assistance from users who experience this problem:

Quote:
Originally Posted by Keybuk
We are trying to understand why people have libpthread20 installed, as it's not used by anything in the Ubuntu archive...

Could people supply the output of:

zgrep pthread /var/log/dpkg.log*
If you are able to supply the output of the listed command, post as a reply to this thread.

References:

Launchpad bug: https://launchpad.net/ubuntu/+source/glibc/+bug/81125
Keybuk's post: http://ubuntuforums.org/showthread.p...on#post2057688
Matt D Zimmerman urging people not to try workarounds: http://ubuntuforums.org/showpost.php...7&postcount=29
cjwatson (Colin Watson) advising the same: http://ubuntuforums.org/showpost.php...7&postcount=23

Last edited by jdong; January 24th, 2007 at 09:33 PM..
jdong is offline   Reply With Quote
Old January 24th, 2007   #2
muzzol
First Cup of Ubuntu
 
Join Date: Oct 2005
Beans: 8
Re: Regarding libc6 security updates

here it is:

Code:
[lila:~]# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 6.10
Release:        6.10
Codename:       edgy
[lila:~]# zgrep pthread /var/log/dpkg.log*
/var/log/dpkg.log.2.gz:2006-11-07 12:02:11 install libpthread20 <cap> 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:11 status half-installed libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:11 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:11 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:12 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:12 status half-configured libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:16 status installed libpthread20 2.0.7-2ubuntu2
this laptop doesnt have a nvidia card.

any other command that can help?
muzzol is offline   Reply With Quote
Old January 24th, 2007   #3
cjwatson
Ubuntu Developer
 
Join Date: Nov 2004
Beans: 69
Ubuntu Jaunty Jackalope (testing)
Re: Regarding libc6 security updates

Could we have the whole /var/log/dpkg.log, please? It would be useful to see context around that installation, to try to guess at why libpthread20 got installed.
cjwatson is offline   Reply With Quote
Old January 24th, 2007   #4
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,070
Ubuntu 8.10 Intrepid Ibex
Re: Regarding libc6 security updates

Quote:
Originally Posted by muzzol View Post
here it is:

Code:
[lila:~]# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 6.10
Release:        6.10
Codename:       edgy
[lila:~]# zgrep pthread /var/log/dpkg.log*
/var/log/dpkg.log.2.gz:2006-11-07 12:02:11 install libpthread20 <cap> 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:11 status half-installed libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:11 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:11 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:12 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:12 status half-configured libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.2.gz:2006-11-07 12:02:16 status installed libpthread20 2.0.7-2ubuntu2
this laptop doesnt have a nvidia card.

any other command that can help?
Can you attach the entire dpkg.log.2.gz to t he linked Launchpad bug report, stating that it shows libpthread20 being installed for some reason?
jdong is offline   Reply With Quote
Old January 24th, 2007   #5
Pajblito
5 Cups of Ubuntu
 
Pajblito's Avatar
 
Join Date: Dec 2006
Location: Paraguay
Beans: 31
Ubuntu 7.10 Gutsy Gibbon
Re: Regarding libc6 security updates

same problem here, cant update those libraries

Code:
##
## Started installation of xfce4 at 11:43h
##
## Visit http://forum.xfce.org/ if you have problems using this installer.
##

# Environment variables
PATH is set to "/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin:/bin:/usr/bin:/usr/local/ssl/bin:/usr/local/bin:/opt/openssl/bin:/usr/local/openssl/bin:/usr/pkg/bin:/usr/ucb:/usr/X11R6/bin:/usr/X11R6/bin:/usr/openwin/bin:/usr/local/bin:/opt/local/bin:/usr/pkg/bin:/opt/gnome2/bin:/opt/gnome/bin:/opt/xfce4/bin:/opt/xfce/bin:/home/pablito/local/bin:/home/pablito/xfce/bin:/home/pablito/xfce4/bin"
PKG_CONFIG_PATH is set to ":/usr/lib/pkgconfig:/usr/lib/pkgconfig"

## Checking for usable C compiler
gcc --version
./bootstrap.sh: 46: gcc: not found
## Checking for usable C++ compiler
g++ --version
./bootstrap.sh: 67: g++: not found
## Checking for GNU make
gmake --version
make --version
gnumake --version
GNUmake --version
./bootstrap.sh: 92: GNUmake: not found

## Checking for package config tool
pkg-config --version
0.20

## Checking for GLib (GModule) >= 2.6.0
pkg-config --atleast-version=2.6.0 glib-2.0 gmodule-2.0
!! Please install GLib 2.6.0 or above and the GLib development files. It is
!! important that you install GModule, which is part of GLib as well. GLib
!! can be downloaded from http://www.gtk.org/.
Code:
W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6_2.4-1ubuntu12.2_i386.deb
  403 Forbidden [IP: 195.248.90.35 80]

W: Failed to fetch http://archive.ubuntu.com/ubuntu/pool/main/g/glibc/libc6-i686_2.4-1ubuntu12.2_i386.deb
  403 Forbidden [IP: 195.248.90.35 80]
Attached Files
File Type: zip dpkg.log.zip (88.9 KB, 32 views)

Last edited by Pajblito; January 24th, 2007 at 02:07 PM..
Pajblito is offline   Reply With Quote
Old January 24th, 2007   #6
F0EHammer_dg
First Cup of Ubuntu
 
Join Date: Mar 2006
Beans: 3
Re: Regarding libc6 security updates

Code:
>:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 6.10
Release:        6.10
Codename:       edgy

>:~$ zgrep pthread /var/log/dpkg.log*
/var/log/dpkg.log:2007-01-03 13:34:55 install libpthread20 <none> 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:34:55 status half-installed libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:34:55 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:34:55 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:34:55 install libpthread-dev <none> 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:34:55 status half-installed libpthread-dev 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:34:55 status not-installed libpthread-dev <none>
/var/log/dpkg.log:2007-01-03 13:34:56 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:34:56 status half-configured libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:34:58 status installed libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:35:34 install libpthread-dev <none> 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:35:34 status half-installed libpthread-dev 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:35:34 status not-installed libpthread-dev <none>
/var/log/dpkg.log:2007-01-03 13:36:55 install libpthread-dev <none> 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:36:55 status half-installed libpthread-dev 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:36:55 status not-installed libpthread-dev <none>
/var/log/dpkg.log:2007-01-03 13:38:35 install libpthread-dev <none> 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:38:35 status half-installed libpthread-dev 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:38:35 status not-installed libpthread-dev <none>
/var/log/dpkg.log:2007-01-03 13:38:55 install libpthread-dev <none> 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:38:55 status half-installed libpthread-dev 2.0.7-2ubuntu2
/var/log/dpkg.log:2007-01-03 13:38:55 status not-installed libpthread-dev <none>
F0EHammer_dg is offline   Reply With Quote
Old January 24th, 2007   #7
iteranq
First Cup of Ubuntu
 
Join Date: Mar 2005
Beans: 1
Re: Regarding libc6 security updates

Here is the output:

/var/log/dpkg.log.3.gz:2006-10-27 09:20:33 install libpthread20 <none> 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-27 09:20:33 status half-installed libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-27 09:20:33 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-27 09:20:33 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-27 09:20:33 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-27 09:20:33 status half-configured libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-27 09:20:33 status installed libpthread20 2.0.7-2ubuntu2

This laptop does not have a nvidia card, it has a intel 915 gm

Regards,
Ivan Teran
iteranq is offline   Reply With Quote
Old January 24th, 2007   #8
pardalek
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 2
Re: Regarding libc6 security updates

Here are mine:
Code:
xxx@yyy:~$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description:    Ubuntu 6.10
Release:        6.10
Codename:       edgy


xxx@yyy:~$ zgrep pthread /var/log/dpkg.log*
/var/log/dpkg.log.3.gz:2006-10-25 19:56:28 install libpthread20 <žádná> 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-25 19:56:28 status half-installed libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-25 19:56:28 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-25 19:56:28 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-25 19:56:29 install libpthread-dev <žádná> 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-25 19:56:29 status half-installed libpthread-dev 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-25 19:56:29 status not-installed libpthread-dev <žádná>
/var/log/dpkg.log.3.gz:2006-10-25 19:56:30 status unpacked libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-25 19:56:30 status half-configured libpthread20 2.0.7-2ubuntu2
/var/log/dpkg.log.3.gz:2006-10-25 19:56:41 status installed libpthread20 2.0.7-2ubuntu2

Last edited by pardalek; January 24th, 2007 at 07:05 PM..
pardalek is offline   Reply With Quote
Old January 24th, 2007   #9
pardalek
First Cup of Ubuntu
 
Join Date: Apr 2006
Beans: 2
Re: Regarding libc6 security updates

Also, since the "update" I can't start my X11 with the latest nvidia driver (9746) which I compiled manually. Now I can't build it again and even "apt-get -f install" doesn't work ;(. Can't install anything ;(. This is the error output when I use nvidia driver:
Code:
X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: Linux 2.6.15.7 i686 
Current Operating System: Linux scarpia 2.6.19.1rocking1 #2 Sun Jan 7 08:56:16 CET 2007 i686
Build Date: 07 July 2006
        Before reporting problems, check http://wiki.x.org
        to make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (==) default setting,
        (++) from command line, (!!) notice, (II) informational,
        (WW) warning, (EE) error, (NI) not implemented, (??) unknown.
(==) Log file: "/var/log/Xorg.0.log", Time: Wed Jan 24 23:52:24 2007
(==) Using config file: "/etc/X11/xorg.conf"

error opening security policy file /usr/lib/xserver/SecurityPolicy

Backtrace:
0: /usr/bin/X.schedreal(xf86SigHandler+0x81) [0x80c3971]
1: [0xb7fbd420]
2: /usr/bin/X.schedreal(xf86NameCmp+0x24) [0x80c7174]
3: /usr/bin/X.schedreal(InitInput+0xf2) [0x809f1a2]
4: /usr/bin/X.schedreal(main+0x355) [0x806e5e5]
5: /lib/libc.so.6(__libc_start_main+0xdc) [0xb7dcd8cc]
6: /usr/bin/X.schedreal(FontFileCompleteXLFD+0xa1) [0x806da51]

Fatal server error:
Caught signal 11.  Server aborting

XIO:  fatal IO error 104 (Connection reset by peer) on X server ":0.0"
      after 0 requests (0 known processed) with 0 events remaining.

Last edited by pardalek; January 24th, 2007 at 07:06 PM..
pardalek is offline   Reply With Quote
Old January 24th, 2007   #10
jdong
Ultimate Coffee Grinder
 
jdong's Avatar
 
Join Date: Oct 2004
Location: Cambridge. MA
Beans: 5,070
Ubuntu 8.10 Intrepid Ibex
Re: Regarding libc6 security updates

Quote:
Originally Posted by pardalek View Post
Also, since the "update" I can't start my X11 with the latest nvidia driver (9746) which I compiled manually. Now I can't build it again and even "apt-get -f install" doesn't work ;(. Can't install anything ;(. This is the error output when I use nvidia driver:
Hmm, this does not appear related to this particular libc6 issue, and does not happen with any official Ubuntu nvidia drivers.... so please make a separate thread discussing this issue.
jdong is offline   Reply With Quote

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:25 AM.


vBulletin ©2000 - 2010, Jelsoft Enterprises Ltd. Ubuntu Logo, Ubuntu and Canonical © Canonical Ltd. Tango Icons © Tango Desktop Project. bilberry