[Bug 1943124] Re: Upgrade fails due to "text file busy"
David Kastrup
1943124 at bugs.launchpad.net
Tue Sep 14 22:03:19 UTC 2021
I did and sent the tar file encrypted to your Gmail account. Hope you
got it.
Another thing: libc6-bin is already installed in the new version, and
calling `locale` gives an error message like
locale: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.34' not
found (required by locale)
The `apt --fix-broken install` run complains about this. I removed the
locale binary temporarily to get
Can't exec "locale": No such file or directory at /usr/share/perl5/Debconf/Encoding.pm line 16.
Use of uninitialized value $Debconf::Encoding::charmap in scalar chomp at /usr/share/perl5/Debconf/Encoding.pm line 17.
I have no idea what this is being used for but maybe it is in some way
related to unexpected things happening and culminating in the listed
error?
--
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