[Bug 1988034] [NEW] missing dependency on pciutils

Zhang Youfu 1988034 at bugs.launchpad.net
Mon Aug 29 10:05:39 UTC 2022


Public bug reported:

The NvidiaDetector module executes lspci, while pciutils is not listed
as a dependency of ubuntu-release-upgrader-core.


Traceback (most recent call last):

File "/tmp/ubuntu-release-upgrader-74kn410p/jammy", line 8, in <module>
sys.exit(main())

File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeMain.py", line 241, in main
if app.run():

File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeController.py", line 2042, in run
return self.fullUpgrade()

File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeController.py", line 1873, in fullUpgrade
if not self.doPostInitialUpdate():

File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeController.py", line 906, in doPostInitialUpdate
self.quirks.run("PostInitialUpdate")

File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeQuirks.py", line 99, in run
func()

File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeQuirks.py", line 126, in jammyPostInitialUpdate
self._fix_missing_nvidia_metapackage()

File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeQuirks.py", line 1492, in _fix_missing_nvidia_metapackage
nv = NvidiaDetection()

File "/tmp/ubuntu-release-upgrader-74kn410p/NvidiaDetector/nvidiadetector.py", line 72, in __init__
self.detection()

File "/tmp/ubuntu-release-upgrader-74kn410p/NvidiaDetector/nvidiadetector.py", line 113, in detection
p1 = Popen(['lspci', '-n'], stdout=PIPE, universal_newlines=True)

File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
self._execute_child(args, executable, preexec_fn, close_fds,

File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
raise child_exception_type(errno_num, err_msg, err_filename)

FileNotFoundError: [Errno 2] No such file or directory: 'lspci'

** 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/1988034

Title:
  missing dependency on pciutils

Status in ubuntu-release-upgrader package in Ubuntu:
  New

Bug description:
  The NvidiaDetector module executes lspci, while pciutils is not listed
  as a dependency of ubuntu-release-upgrader-core.

  
  Traceback (most recent call last):

  File "/tmp/ubuntu-release-upgrader-74kn410p/jammy", line 8, in <module>
  sys.exit(main())

  File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeMain.py", line 241, in main
  if app.run():

  File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeController.py", line 2042, in run
  return self.fullUpgrade()

  File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeController.py", line 1873, in fullUpgrade
  if not self.doPostInitialUpdate():

  File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeController.py", line 906, in doPostInitialUpdate
  self.quirks.run("PostInitialUpdate")

  File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeQuirks.py", line 99, in run
  func()

  File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeQuirks.py", line 126, in jammyPostInitialUpdate
  self._fix_missing_nvidia_metapackage()

  File "/tmp/ubuntu-release-upgrader-74kn410p/DistUpgrade/DistUpgradeQuirks.py", line 1492, in _fix_missing_nvidia_metapackage
  nv = NvidiaDetection()

  File "/tmp/ubuntu-release-upgrader-74kn410p/NvidiaDetector/nvidiadetector.py", line 72, in __init__
  self.detection()

  File "/tmp/ubuntu-release-upgrader-74kn410p/NvidiaDetector/nvidiadetector.py", line 113, in detection
  p1 = Popen(['lspci', '-n'], stdout=PIPE, universal_newlines=True)

  File "/usr/lib/python3.8/subprocess.py", line 858, in __init__
  self._execute_child(args, executable, preexec_fn, close_fds,

  File "/usr/lib/python3.8/subprocess.py", line 1704, in _execute_child
  raise child_exception_type(errno_num, err_msg, err_filename)

  FileNotFoundError: [Errno 2] No such file or directory: 'lspci'

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ubuntu-release-upgrader/+bug/1988034/+subscriptions




More information about the foundations-bugs mailing list