[Bug 1943124] Re: Upgrade fails due to "text file busy"

David Kastrup 1943124 at bugs.launchpad.net
Wed Sep 15 11:49:34 UTC 2021


Downgraded libc-bin to Focal, then did apt --fix-broken install .  It
attempted to install both libc-bin and libc6 and failed with the same
error as previously while I didn't get the loader complaint associated
with not being able to run /usr/bin/locale .

So the inability to execute /usr/bin/locale doesn't seem to be the
principal problem but more a side effect of the broken state after libc-
bin managed to get upgraded and libc6 didn't.

-- 
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/1943124

Title:
  Upgrade fails due to "text file busy"

Status in glibc package in Ubuntu:
  New

Bug description:
  I cannot upgrade to the current impish, getting the following error
  (even in a root shell in recovery mode):

  $ sudo apt --fix-broken install
  Reading package lists... Done
  Building dependency tree... Done
  Reading state information... Done
  Correcting dependencies... Done
  The following additional packages will be installed:
    libc6 linux-headers-lowlatency linux-lowlatency
  The following packages will be upgraded:
    libc6 linux-headers-lowlatency linux-lowlatency
  3 upgraded, 0 newly installed, 0 to remove and 1855 not upgraded.
  8 not fully installed or removed.
  Need to get 0 B/3032 kB of archives.
  After this operation, 391 kB disk space will be freed.
  Do you want to continue? [Y/n] 
  locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by locale)
  Preconfiguring packages ...
  (Reading database ... 683369 files and directories currently installed.)
  Preparing to unpack .../libc6_2.34-0ubuntu2_amd64.deb ...
  locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not found (required by locale)
  Checking for services that may need to be restarted...
  Checking init scripts...
  Checking for services that may need to be restarted...
  Checking init scripts...
  Stopping some services possibly affected by the upgrade (will be restarted later):

  Unpacking libc6:amd64 (2.34-0ubuntu2) over (2.33-0ubuntu5) ...
  dpkg: error processing archive /var/cache/apt/archives/libc6_2.34-0ubuntu2_amd64.deb (--unpack):
   unable to open '/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2.dpkg-new': Text file busy
  Errors were encountered while processing:
   /var/cache/apt/archives/libc6_2.34-0ubuntu2_amd64.deb
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  There is no actual file '/lib/x86_64-linux-gnu/ld-
  linux-x86-64.so.2.dpkg-new' left after the aborted install.  Renaming
  the file '/lib/x86_64-linux-gnu/ld-linux-x86-64.so.2' manually turns
  out to be a rather bad idea.  Not found a recipe to get past that so
  far.

  ProblemType: Bug
  DistroRelease: Ubuntu 21.04
  Package: libc6 2.33-0ubuntu5 [modified: usr/share/doc/libc6/NEWS.gz usr/share/doc/libc6/changelog.Debian.gz usr/share/lintian/overrides/libc6]
  ProcVersionSignature: Ubuntu 5.13.0-14.14-lowlatency 5.13.1
  Uname: Linux 5.13.0-14-lowlatency x86_64
  ApportVersion: 2.20.11-0ubuntu65.1
  Architecture: amd64
  CasperMD5CheckResult: unknown
  CurrentDesktop: XFCE
  Date: Thu Sep  9 12:51:28 2021
  InstallationDate: Installed on 2011-10-14 (3617 days ago)
  InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release i386 (20111011)
  SourcePackage: glibc
  UpgradeStatus: No upgrade log present (probably fresh install)

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




More information about the foundations-bugs mailing list