[Bug 2047155] Re: "Could not create socket" with apt update when update libc6 to 2.35-0ubuntu3.5 and using nscd

Camila Camargo de Matos 2047155 at bugs.launchpad.net
Wed Jan 3 18:09:33 UTC 2024


I have prepared an update to fix this issue, and intend to publish it as
soon as the new package has gone through our QA process (to guarantee no
other regressions are introduced). The new package version has so far
been tested with the previously provided test program and according to
results and other tests, it seems like the issue is resolved.

Meanwhile, if possible, please test it to make sure the new version
resolves the issues in your environment, and comment in this bug with
any results/feedback.

The updated package can be found in the following PPA: 
https://launchpad.net/~ubuntu-security-proposed/+archive/ubuntu/ppa/
(glibc - 2.35-0ubuntu3.6 is the new version)

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to glibc in Ubuntu.
https://bugs.launchpad.net/bugs/2047155

Title:
  "Could not create socket" with apt update when update libc6 to
  2.35-0ubuntu3.5 and using nscd

Status in glibc package in Ubuntu:
  In Progress

Bug description:
  1) lsb_release -rd
  Description:	Ubuntu 22.04.3 LTS
  Release:	22.04

  2) apt-cache policy libc6
  libc6:
    Installed: 2.35-0ubuntu3.5
    Candidate: 2.35-0ubuntu3.5
    Version table:
   *** 2.35-0ubuntu3.5 500
          500 http://archive.ubuntu.com/ubuntu jammy-updates/main amd64 Packages
          500 http://archive.ubuntu.com/ubuntu jammy-security/main amd64 Packages
          100 /var/lib/dpkg/status
       2.35-0ubuntu3 500
          500 http://archive.ubuntu.com/ubuntu jammy/main amd64 Packages

  3) apt-get update or apt update are successfully done.

  4) Could not create a socket and failure command.
  Error messages are followings.

  $ sudo apt update 
  Ign:1 http://archive.ubuntu.com/ubuntu jammy InRelease
  Ign:2 http://archive.ubuntu.com/ubuntu jammy-updates InRelease
  Ign:3 http://archive.ubuntu.com/ubuntu jammy-backports InRelease
  Ign:4 http://archive.ubuntu.com/ubuntu jammy-security InRelease
  Err:5 http://archive.ubuntu.com/ubuntu jammy Release
    Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol)
  Err:6 http://archive.ubuntu.com/ubuntu jammy-updates Release
    Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol)
  Err:7 http://archive.ubuntu.com/ubuntu jammy-backports Release
    Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol)
  Err:8 http://archive.ubuntu.com/ubuntu jammy-security Release
    Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol) Could not create a socket for  (f=0 t=1 p=6) - socket (97: Address family not supported by protocol)
  Reading package lists... Done
  E: The repository 'http://archive.ubuntu.com/ubuntu jammy Release' does not have a Release file.
  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration details.
  E: The repository 'http://archive.ubuntu.com/ubuntu jammy-updates Release' does not have a Release file.
  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration details.
  E: The repository 'http://archive.ubuntu.com/ubuntu jammy-backports Release' does not have a Release file.
  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration details.
  E: The repository 'http://archive.ubuntu.com/ubuntu jammy-security Release' does not have a Release file.
  N: Updating from such a repository can't be done securely, and is therefore disabled by default.
  N: See apt-secure(8) manpage for repository creation and user configuration details.

  To reproduce
  * Install OS
  * Having only IPv6 interface
  * Install nscd
  * Upgrade libc6 to 2.35-0ubuntu3.5

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/glibc/+bug/2047155/+subscriptions




More information about the foundations-bugs mailing list