package libc6 2.29-0ubuntu2 failed to install/upgrade: unable to install new version of '/lib/x86_64-linux-gnu/libm.so.6': Permission denied
| Affects | Status | Importance | Assigned to | Milestone | |
|---|---|---|---|---|---|
| glibc (Ubuntu) |
Invalid
|
Undecided
|
Unassigned | ||
Bug Description
Error occurred while upgrading from 19.04 to 19.10 in WSL.
ProblemType: Package
DistroRelease: Ubuntu 19.04
Package: libc6 2.29-0ubuntu2
ProcVersionSign
Uname: Linux 4.4.0-18362-
ApportVersion: 2.20.10-0ubuntu27.3
Architecture: amd64
Date: Fri Nov 8 08:19:31 2019
Dependencies:
gcc-9-base 9.1.0-2ubuntu2~
libc6 2.29-0ubuntu2
libgcc1 1:9.1.0-
libidn2-0 2.0.5-1ubuntu0.3
libunistring2 0.9.10-1ubuntu2
Df:
Dmesg:
DuplicateSignature:
package:
Unpacking libc6:amd64 (2.30-0ubuntu2) over (2.29-0ubuntu2) ...
dpkg: error processing archive /var/cache/
unable to install new version of '/lib/x86_
ErrorMessage: unable to install new version of '/lib/x86_
Python3Details: /usr/bin/python3.7, Python 3.7.3, python3-minimal, 3.7.3-1
PythonDetails: N/A
RelatedPackageV
dpkg 1.19.6ubuntu1.1
apt 1.8.3
SourcePackage: glibc
Title: package libc6 2.29-0ubuntu2 failed to install/upgrade: unable to install new version of '/lib/x86_
UpgradeStatus: Upgraded to disco on 2019-11-08 (0 days ago)
| tags: | removed: need-duplicate-check |

Have you run dpkg without sudo? Please use sudo ... .