Same issue here in 2020.
===
➜ fa sudo lspci
pcilib: Cannot open /proc/bus/pci
lspci: Cannot find any working access method.
➜ fa uname -a
Linux retropie 4.14.98-v7+ #1200 SMP Tue Feb 12 20:27:48 GMT 2019 armv7l
GNU/Linux
➜ fa whoami
root
➜ fa lspci
pcilib: Cannot open
This bug was fixed in the package apport - 1.20-0ubuntu1
---
apport (1.20-0ubuntu1) natty; urgency=low
* New upstream release. Changes since our previous snapshot:
- Add support for -w/--window option which will enable user to select a
window as a target for filing a
Slightly different patch pushed to trunk, thanks Marcin!
** Changed in: apport
Status: New = Fix Released
** Changed in: apport (Ubuntu)
Status: New = Fix Committed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
** Branch linked: lp:apport
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/608449
Title:
lspci returns error on devices that don't have pci adapters (arm)
--
ubuntu-bugs mailing list
hrw@efika:/tmp$ diff -u hookutils.py.orig hookutils.py
--- hookutils.py.orig 2011-03-02 16:06:36.872525099 +0100
+++ hookutils.py2011-03-02 16:06:26.762526842 +0100
@@ -407,6 +407,11 @@
def pci_devices(*pci_classes):
'''Return a text dump of PCI devices attached to the system.'''
Other option is to check for /sys/bus/pci/
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/608449
Title:
lspci returns error on devices that don't have pci adapters (arm)
--
ubuntu-bugs mailing
** Tags added: arm-porting-queue
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/608449
Title:
lspci returns error on devices that don't have pci adapters (arm)
--
ubuntu-bugs mailing list
** Tags added: iso-testing
--
lspci returns error on devices that don't have pci adapters (arm)
https://bugs.launchpad.net/bugs/608449
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
** Tags added: patch
--
lspci returns error on devices that don't have pci adapters (arm)
https://bugs.launchpad.net/bugs/608449
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
--
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
Setting medium as this only affects arm but does prevent it from
reporting linux bugs.
** Tags added: maverick
** Changed in: apport (Ubuntu)
Importance: Undecided = Medium
--
lspci returns error on devices that don't have pci adapters (arm)
https://bugs.launchpad.net/bugs/608449
You
This patch is just a simple fix the issue by verifying the return string
of the command lspci.
The proper fix would probably involve checking correctly the output from
command_output, but then depends on how do you want to display the error
when it happens.
** Patch added:
11 matches
Mail list logo