LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   apt-get gives X Error: BadDevice, invalid or uninitialized input device (https://www.linuxquestions.org/questions/linux-software-2/apt-get-gives-x-error-baddevice-invalid-or-uninitialized-input-device-561372/)

ager-wick 06-12-2007 11:27 PM

apt-get gives X Error: BadDevice, invalid or uninitialized input device
 
I'm getting these errors when installing packages through apt-get. Doesn't seem to cause any problem, at least not any that I know of, but it's quite annoying, and surely *something* is wrong...
Can anyone shed any light on what's the source of these problems?

Setting up cvs (1.12.13-3) ...
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device

mdg 06-13-2007 12:08 AM

Do you get an error about /var/lib/dpkg/available not being opened?

If so, this link might help (automatix home page)

ager-wick 06-13-2007 12:45 AM

No, I don't get any message about that.
Here is a full dump of an example install:
(I believe the QT error on the end is package specific)

$ sudo apt-get install zlib-bin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following NEW packages will be installed:
zlib-bin
0 upgraded, 1 newly installed, 0 to remove and 4 not upgraded.
Need to get 0B/29.9kB of archives.
After unpacking 111kB of additional disk space will be used.
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
X Error: BadDevice, invalid or uninitialized input device 166
Major opcode: 144
Minor opcode: 3
Resource id: 0x0
Failed to open device
DESTROY created new reference to dead object ' Qt::VBoxLayout', <> line 1 during global destruction.
Selecting previously deselected package zlib-bin.
(Reading database ... 127586 files and directories currently installed.)
Unpacking zlib-bin (from .../zlib-bin_1%3a1.2.3-13ubuntu2_i386.deb) ...
Setting up zlib-bin (1.2.3-13ubuntu2) ...
$


All times are GMT -5. The time now is 02:15 AM.