[Bug 1871991] Re: apt_check.py crashed with FileNotFoundError in _execute_child(): [Errno 2] No such file or directory: 'lsb_release'

Hrafn Malmquist 1871991 at bugs.launchpad.net
Thu Feb 11 12:53:47 UTC 2021


*** This bug is a duplicate of bug 1573747 ***
    https://bugs.launchpad.net/bugs/1573747

I have the same problem. I have Ubuntu 20.04, uprgraded from 16.04.

I had some issues with lsb_release recently and changed lsb_release
going by https://stackoverflow.com/questions/44967202/pip-is-showing-
error-lsb-release-a-returned-non-zero-exit-status-1 after I switched
python from 2 -> 3 (sudo unlink /usr/bin/python; sudo ln -s
/usr/bin/python3.8 /usr/bin/python)

I then changed the first line of lsb_release to:
!/usr/bin/python3.5 -Es

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

Title:
  apt_check.py crashed with FileNotFoundError in _execute_child():
  [Errno 2] No such file or directory: 'lsb_release'

Status in update-notifier package in Ubuntu:
  New

Bug description:
  I started system normally and this bug appeared

  ProblemType: Crash
  DistroRelease: Ubuntu 20.04
  Package: update-notifier-common 3.192.30
  ProcVersionSignature: Ubuntu 5.4.0-21.25-generic 5.4.27
  Uname: Linux 5.4.0-21-generic x86_64
  NonfreeKernelModules: nvidia_modeset nvidia
  ApportVersion: 2.20.11-0ubuntu25
  Architecture: amd64
  Date: Fri Apr 10 00:04:01 2020
  ExecutablePath: /usr/lib/update-notifier/apt_check.py
  InstallationDate: Installed on 2020-04-01 (8 days ago)
  InstallationMedia: Ubuntu 19.10 "Eoan Ermine" - Release amd64 (20191017)
  InterpreterPath: /usr/bin/python3.8
  PackageArchitecture: all
  ProcCmdline: /usr/bin/python3 /usr/lib/update-notifier/apt-check --human-readable
  Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
  PythonArgs: ['/usr/lib/update-notifier/apt-check', '--human-readable']
  PythonDetails: /usr/bin/python2.7, Python 2.7.17, python-is-python2, 2.7.17-3
  SourcePackage: update-notifier
  Title: apt_check.py crashed with FileNotFoundError in _execute_child(): [Errno 2] No such file or directory: 'lsb_release'
  UpgradeStatus: Upgraded to None on 2020-04-09 (0 days ago)
  UserGroups:
   
  modified.conffile..etc.apt.apt.conf.d.10periodic:
   APT::Periodic::Update-Package-Lists "1";
   APT::Periodic::Download-Upgradeable-Packages "0";
   APT::Periodic::AutocleanInterval "0";
   APT::Periodic::Unattended-Upgrade "1";
  mtime.conffile..etc.apt.apt.conf.d.10periodic: 2020-04-10T00:08:03.674963

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/update-notifier/+bug/1871991/+subscriptions



More information about the foundations-bugs mailing list