Public bug reported: Whenever I install/update packages with apt, I get warning messages from needrestart. This did not happen <16.04. 'sudo apt install i3blocks' gives:
Reading package lists... Done Building dependency tree Reading state information... Done The following NEW packages will be installed: i3blocks 0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded. Need to get 26.7 kB of archives. After this operation, 117 kB of additional disk space will be used. Get:1 http://no.archive.ubuntu.com/ubuntu xenial/universe amd64 i3blocks amd64 1.4-1 [26.7 kB] Fetched 26.7 kB in 18s (1,473 B/s) Selecting previously unselected package i3blocks. (Reading database ... 193073 files and directories currently installed.) Preparing to unpack .../i3blocks_1.4-1_amd64.deb ... Unpacking i3blocks (1.4-1) ... Processing triggers for man-db (2.7.5-1) ... Setting up i3blocks (1.4-1) ... Use of uninitialized value in chdir at /usr/share/perl5/NeedRestart/Interp/Python.pm line 123.============================================ ] Use of chdir('') or chdir(undef) as chdir() is deprecated at /usr/share/perl5/NeedRestart/Interp/Python.pm line 123. Scanning processes... Scanning candidates... Scanning linux images... No containers need to be restarted. ProblemType: Bug DistroRelease: Ubuntu 16.04 Package: needrestart 2.6-1 ProcVersionSignature: Ubuntu 4.4.0-30.49-generic 4.4.13 Uname: Linux 4.4.0-30-generic x86_64 ApportVersion: 2.20.1-0ubuntu2.1 Architecture: amd64 CurrentDesktop: i3 Date: Fri Jul 15 12:24:56 2016 EcryptfsInUse: Yes InstallationDate: Installed on 2016-06-22 (22 days ago) InstallationMedia: Ubuntu-Server 16.04 LTS "Xenial Xerus" - Release amd64 (20160420.3) PackageArchitecture: all SourcePackage: needrestart UpgradeStatus: No upgrade log present (probably fresh install) ** Affects: needrestart (Ubuntu) Importance: Undecided Status: New ** Tags: amd64 apport-bug xenial -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1603386 Title: Warning message from needrestart on apt package installation To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/needrestart/+bug/1603386/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs