Public bug reported:

The /usr/bin/yubikey-totp script is using the following shebang:

#!/usr/bin/env python3


It should actually be:

#!/usr/bin/python3

Because the package depends on python3-yubico, which is installed on the
system's python library

Otherwise, any other python on the system (eg: /usr/local/bin/python3),
will take precedence and not have the yubico library (and crash)

Fixable in ./debian/patches/py3k_shebang.patch

ProblemType: Bug
DistroRelease: Ubuntu 24.04
Package: python-yubico-tools 1.3.3-0.3
ProcVersionSignature: Ubuntu 6.11.0-21.21~24.04.1-generic 6.11.11
Uname: Linux 6.11.0-21-generic x86_64
ApportVersion: 2.28.1-0ubuntu3.5
Architecture: amd64
CasperMD5CheckResult: unknown
CurrentDesktop: sway
Date: Wed Apr 23 15:49:20 2025
InstallationDate: Installed on 2025-03-26 (28 days ago)
InstallationMedia: Ubuntu 24.04.2 LTS "Noble Numbat" - Release amd64 (20250215)
PackageArchitecture: all
RebootRequiredPkgs: Error: path contained symlinks.
SourcePackage: python-yubico
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: python-yubico (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug noble wayland-session

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

Title:
  Invalid shebang in yubikey-totp

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/python-yubico/+bug/2108816/+subscriptions


-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to