[Bug 2129710] [NEW] release upgrader should warn about 3rd party libs overrides
Simon Poirier
2129710 at bugs.launchpad.net
Thu Oct 23 18:28:22 UTC 2025
Public bug reported:
Ubuntu release upgrader should warn about 3rd party libs overrides, as
the upgrade could be break a system through stray libs.
e.g.
cp /usr/lib/x86_64-linux-gnu/libc.so.6 /usr/local/lib/
do-release-upgrade -d
...
Setting up libc-bin (2.42-0ubuntu3) ...
/usr/bin/dpkg: symbol lookup error: /usr/local/lib/libc.so.6: undefined symbol: __nptl_change_stack_perm, version GLIBC_PRIVATE
/usr/bin/dpkg: symbol lookup error: /usr/local/lib/libc.so.6: undefined symbol: __nptl_change_stack_perm, version GLIBC_PRIVATE
sh: symbol lookup error: /usr/local/lib/libc.so.6: undefined symbol: __nptl_change_stack_perm, version GLIBC_PRIVATE
To add to the confusion, in the above example, the system would be left unusable and hard to fix (coreutils is also broken).
I think it would be good to warn users on upgrade if some unsupported libs are present in usr/local (even better if we can warn only about conflicting libs) to prevent bricking the system.
** Affects: ubuntu-release-upgrader (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to ubuntu-release-upgrader in
Ubuntu.
https://bugs.launchpad.net/bugs/2129710
Title:
release upgrader should warn about 3rd party libs overrides
Status in ubuntu-release-upgrader package in Ubuntu:
New
Bug description:
Ubuntu release upgrader should warn about 3rd party libs overrides, as
the upgrade could be break a system through stray libs.
e.g.
cp /usr/lib/x86_64-linux-gnu/libc.so.6 /usr/local/lib/
do-release-upgrade -d
...
Setting up libc-bin (2.42-0ubuntu3) ...
/usr/bin/dpkg: symbol lookup error: /usr/local/lib/libc.so.6: undefined symbol: __nptl_change_stack_perm, version GLIBC_PRIVATE
/usr/bin/dpkg: symbol lookup error: /usr/local/lib/libc.so.6: undefined symbol: __nptl_change_stack_perm, version GLIBC_PRIVATE
sh: symbol lookup error: /usr/local/lib/libc.so.6: undefined symbol: __nptl_change_stack_perm, version GLIBC_PRIVATE
To add to the confusion, in the above example, the system would be left unusable and hard to fix (coreutils is also broken).
I think it would be good to warn users on upgrade if some unsupported libs are present in usr/local (even better if we can warn only about conflicting libs) to prevent bricking the system.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/2129710/+subscriptions
More information about the foundations-bugs
mailing list