Page 2 of 3
Re: "unable to locate package python-gobject"
Posted: Sat May 06, 2023 9:03 am
by neverdimed
j2mcgreg wrote: Sat May 06, 2023 8:57 am
@neverdimed wrote:
thanks. Given what you say, i feel less certain that i installed python-gobject on the other computer, i just assumed i did becuase vimiv is working on it. How can i check if i did install it? (because i would like to undo that mistake)
As a start, you should post the QSI from the other machine.
thanks again. Here it is:
Code: Select all
System: Kernel: 5.16.0-5mx-amd64 [5.16.14-1~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.16.0-5mx-amd64
root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-21.3_ahs_x64 Wildflower April 9 2022
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: Star Labs product: StarLite v: N/A serial: <filter>
Mobo: Star Labs model: StarLite serial: <filter> UEFI: American Megatrends v: 1.0.0
date: 04/11/2022
Battery: ID-1: BAT0 charge: 30.4 Wh (100.0%) condition: 30.4/30.4 Wh (100.0%) volts: 8.6
min: N/A model: N/A type: Unknown serial: <filter> status: Charging
CPU: Info: Quad Core model: Intel Pentium Silver N5030 bits: 64 type: MCP
arch: Goldmont Plus family: 6 model-id: 7A (122) stepping: 8 microcode: 1E cache:
L2: 4 MiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 8755
Speed: 1153 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 1153 2: 1424 3: 1610
4: 1394
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel GeminiLake [UHD Graphics 605] driver: i915 v: kernel bus-ID: 00:02.0
chip-ID: 8086:3184 class-ID: 0300
Device-2: Microdia USB 2.0 Camera type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-8:6 chip-ID: 0c45:6365 class-ID: 0102 serial: <filter>
Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver:
loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3")
s-diag: 583mm (23")
Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 158 size: 309x173mm (12.2x6.8")
diag: 354mm (13.9")
Monitor-2: DP-1 res: 1920x1080 hz: 60 dpi: 82 size: 597x336mm (23.5x13.2")
diag: 685mm (27")
OpenGL: renderer: Mesa Intel UHD Graphics 605 (GLK 3) v: 4.6 Mesa 22.0.5
direct render: Yes
Audio: Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_apl
bus-ID: 00:0e.0 chip-ID: 8086:3198 class-ID: 0403
Device-2: Microdia USB 2.0 Camera type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-8:6 chip-ID: 0c45:6365 class-ID: 0102 serial: <filter>
Sound Server-1: ALSA v: k5.16.0-5mx-amd64 running: yes
Sound Server-2: PulseAudio v: 14.2 running: yes
Network: Device-1: Intel Gemini Lake PCH CNVi WiFi driver: iwlwifi v: kernel modules: wl
port: f000 bus-ID: 00:0c.0 chip-ID: 8086:31dc class-ID: 0280
IF: wlan0 state: up mac: <filter>
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
bus-ID: 2-4.4:7 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: eth0 state: down mac: <filter>
IF-ID-1: wg-mullvad state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth: Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB driver: btusb v: 0.8
bus-ID: 1-9:8 chip-ID: 8087:0aaa class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1
sub-v: 100 hci-v: 5.1 rev: 100
Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: slave accept
service-classes: rendering, capturing, audio
Drives: Local Storage: total: 1.4 TiB used: 487.11 GiB (33.9%)
ID-1: /dev/mmcblk2 maj-min: 179:256 type: USB model: SD size: 57.81 GiB block-size:
physical: 512 B logical: 512 B type: SSD serial: <filter> scheme: MBR
SMART Message: Unknown smartctl error. Unable to generate data.
SMART Message: Unable to run smartctl. Root privileges required.
ID-2: /dev/sda maj-min: 8:0 model: Star Drive SATA SSD size: 447.13 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: P1.3
scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 type: USB model: DLI DataLocker DL3 size: 931.41 GiB
block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 0001
scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition: ID-1: / raw-size: 215.31 GiB size: 210.87 GiB (97.94%) used: 71.09 GiB (33.7%) fs: ext4
dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
dev: /dev/sda1 maj-min: 8:1
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 4 GiB used: 981.3 MiB (24.0%) priority: -2
file: /swapfile
Sensors: System Temperatures: cpu: 49.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: Packages: 2355 note: see --pkg apt: 2348 lib: 1203 flatpak: 7
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/librewolf.list
1: deb [arch=amd64] http://deb.librewolf.net/ bullseye main
Active apt repos in: /etc/apt/sources.list.d/megasync.list
1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_11/ ./
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirrors.dotsrc.org/mx-packages/mx/repo/ bullseye main non-free
2: deb http://mirrors.dotsrc.org/mx-packages/mx/repo/ bullseye ahs
Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
1: deb [arch=amd64] https://updates.signal.org/desktop/apt/ xenial main
Info: Processes: 340 Uptime: 20d 3h 16m wakeups: 44 Memory: 7.59 GiB used: 6.04 GiB (79.6%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1
alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06
Boot Mode: UEFI
Re: "unable to locate package python-gobject"
Posted: Sat May 06, 2023 9:06 am
by Buck Fankers
I can't help you in this case.
But did you also try to install it this way:
Code: Select all
pip install --user vimiv
pip install --user git+https://github.com/karlch/vimiv-qt/
This should work. It will not works system wide, but at least you would get it to work until you figure out the rest
Re: "unable to locate package python-gobject"
Posted: Sat May 06, 2023 9:13 am
by neverdimed
thanks but i think i can't use ppa as j2mcgreg said
Re: "unable to locate package python-gobject"
Posted: Sat May 06, 2023 9:15 am
by Buck Fankers
neverdimed wrote: Sat May 06, 2023 4:00 am
But i installed vimiv on another computer running mx 21.3 and i don't think i ran into this problem, vimiv works fine on that computer
This may be quite a stretch and not possible in your case if your two installs and setups are (and need to be) different. Of course only in case it comes out, your install on first computer is not compromised with some 'buntus PPA's
So, you could create snapshot on computer where vimiv works, then use that snapshot to install it on computer where vimiv don't work. As first step, after creating live USB stick, I would run it live on second computer and
test it, to see, that it works on second one. Just a thought

Re: "unable to locate package python-gobject"
Posted: Sat May 06, 2023 9:26 am
by Buck Fankers
neverdimed wrote: Sat May 06, 2023 9:13 am
thanks but i think i can't use ppa as j2mcgreg said
Not sure who you replied this to, but if you replied to me regarding these commands:
Code: Select all
pip install --user vimiv
pip install --user git+https://github.com/karlch/vimiv-qt/
Based on what I have read on vimiv home page, this is QT version, that does not uses python-gobject.
Also, when installing something with "pip" you are installing python library, part of python code. You are this way not adding any Ubuntu PPA repository, which could cause your debian libraries to get messed up with different system versions.
Although, you could of course for extra security first create python virtual environment and then run upper two lines of code inside it. But this is probably too complicated if you never did it before and you are not familiar with python environment.
I think, you should be safe to run those two commands. But just in case, create MX-snapshot first.
Re: "unable to locate package python-gobject"
Posted: Sat May 06, 2023 9:26 am
by j2mcgreg
neverdimed wrote: Sat May 06, 2023 9:03 am
j2mcgreg wrote: Sat May 06, 2023 8:57 am
@neverdimed wrote:
thanks. Given what you say, i feel less certain that i installed python-gobject on the other computer, i just assumed i did becuase vimiv is working on it. How can i check if i did install it? (because i would like to undo that mistake)
As a start, you should post the QSI from the other machine.
thanks again. Here it is:
Code: Select all
System: Kernel: 5.16.0-5mx-amd64 [5.16.14-1~mx21+1] x86_64 bits: 64 compiler: gcc v: 10.2.1
parameters: BOOT_IMAGE=/boot/vmlinuz-5.16.0-5mx-amd64
root=UUID=<filter> ro quiet splash
Desktop: Xfce 4.18.1 tk: Gtk 3.24.24 info: xfce4-panel wm: xfwm 4.18.0 vt: 7
dm: LightDM 1.26.0 Distro: MX-21.3_ahs_x64 Wildflower April 9 2022
base: Debian GNU/Linux 11 (bullseye)
Machine: Type: Laptop System: Star Labs product: StarLite v: N/A serial: <filter>
Mobo: Star Labs model: StarLite serial: <filter> UEFI: American Megatrends v: 1.0.0
date: 04/11/2022
Battery: ID-1: BAT0 charge: 30.4 Wh (100.0%) condition: 30.4/30.4 Wh (100.0%) volts: 8.6
min: N/A model: N/A type: Unknown serial: <filter> status: Charging
CPU: Info: Quad Core model: Intel Pentium Silver N5030 bits: 64 type: MCP
arch: Goldmont Plus family: 6 model-id: 7A (122) stepping: 8 microcode: 1E cache:
L2: 4 MiB
flags: lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 8755
Speed: 1153 MHz min/max: 800/3100 MHz Core speeds (MHz): 1: 1153 2: 1424 3: 1610
4: 1394
Vulnerabilities: Type: itlb_multihit status: Not affected
Type: l1tf status: Not affected
Type: mds status: Not affected
Type: meltdown status: Not affected
Type: spec_store_bypass mitigation: Speculative Store Bypass disabled via prctl
Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization
Type: spectre_v2 mitigation: Enhanced IBRS, IBPB: conditional, RSB filling
Type: srbds status: Not affected
Type: tsx_async_abort status: Not affected
Graphics: Device-1: Intel GeminiLake [UHD Graphics 605] driver: i915 v: kernel bus-ID: 00:02.0
chip-ID: 8086:3184 class-ID: 0300
Device-2: Microdia USB 2.0 Camera type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-8:6 chip-ID: 0c45:6365 class-ID: 0102 serial: <filter>
Display: x11 server: X.Org 1.20.14 compositor: xfwm4 v: 4.18.0 driver:
loaded: modesetting unloaded: fbdev,vesa display-ID: :0.0 screens: 1
Screen-1: 0 s-res: 1920x1080 s-dpi: 96 s-size: 508x286mm (20.0x11.3")
s-diag: 583mm (23")
Monitor-1: eDP-1 res: 1920x1080 hz: 60 dpi: 158 size: 309x173mm (12.2x6.8")
diag: 354mm (13.9")
Monitor-2: DP-1 res: 1920x1080 hz: 60 dpi: 82 size: 597x336mm (23.5x13.2")
diag: 685mm (27")
OpenGL: renderer: Mesa Intel UHD Graphics 605 (GLK 3) v: 4.6 Mesa 22.0.5
direct render: Yes
Audio: Device-1: Intel Celeron/Pentium Silver Processor High Definition Audio
driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci_intel_apl
bus-ID: 00:0e.0 chip-ID: 8086:3198 class-ID: 0403
Device-2: Microdia USB 2.0 Camera type: USB driver: snd-usb-audio,uvcvideo
bus-ID: 1-8:6 chip-ID: 0c45:6365 class-ID: 0102 serial: <filter>
Sound Server-1: ALSA v: k5.16.0-5mx-amd64 running: yes
Sound Server-2: PulseAudio v: 14.2 running: yes
Network: Device-1: Intel Gemini Lake PCH CNVi WiFi driver: iwlwifi v: kernel modules: wl
port: f000 bus-ID: 00:0c.0 chip-ID: 8086:31dc class-ID: 0280
IF: wlan0 state: up mac: <filter>
Device-2: Realtek RTL8153 Gigabit Ethernet Adapter type: USB driver: r8152
bus-ID: 2-4.4:7 chip-ID: 0bda:8153 class-ID: 0000 serial: <filter>
IF: eth0 state: down mac: <filter>
IF-ID-1: wg-mullvad state: unknown speed: N/A duplex: N/A mac: N/A
Bluetooth: Device-1: Intel Bluetooth 9460/9560 Jefferson Peak (JfP) type: USB driver: btusb v: 0.8
bus-ID: 1-9:8 chip-ID: 8087:0aaa class-ID: e001
Report: hciconfig ID: hci0 rfk-id: 1 state: up address: <filter> bt-v: 3.0 lmp-v: 5.1
sub-v: 100 hci-v: 5.1 rev: 100
Info: acl-mtu: 1021:4 sco-mtu: 96:6 link-policy: rswitch sniff link-mode: slave accept
service-classes: rendering, capturing, audio
Drives: Local Storage: total: 1.4 TiB used: 487.11 GiB (33.9%)
ID-1: /dev/mmcblk2 maj-min: 179:256 type: USB model: SD size: 57.81 GiB block-size:
physical: 512 B logical: 512 B type: SSD serial: <filter> scheme: MBR
SMART Message: Unknown smartctl error. Unable to generate data.
SMART Message: Unable to run smartctl. Root privileges required.
ID-2: /dev/sda maj-min: 8:0 model: Star Drive SATA SSD size: 447.13 GiB block-size:
physical: 512 B logical: 512 B speed: 6.0 Gb/s type: SSD serial: <filter> rev: P1.3
scheme: GPT
ID-3: /dev/sdb maj-min: 8:16 type: USB model: DLI DataLocker DL3 size: 931.41 GiB
block-size: physical: 512 B logical: 512 B type: N/A serial: <filter> rev: 0001
scheme: MBR
SMART Message: Unknown USB bridge. Flash drive/Unsupported enclosure?
Partition: ID-1: / raw-size: 215.31 GiB size: 210.87 GiB (97.94%) used: 71.09 GiB (33.7%) fs: ext4
dev: /dev/sda2 maj-min: 8:2
ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 274 KiB (0.1%) fs: vfat
dev: /dev/sda1 maj-min: 8:1
Swap: Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default)
ID-1: swap-1 type: file size: 4 GiB used: 981.3 MiB (24.0%) priority: -2
file: /swapfile
Sensors: System Temperatures: cpu: 49.0 C mobo: N/A
Fan Speeds (RPM): N/A
Repos: Packages: 2355 note: see --pkg apt: 2348 lib: 1203 flatpak: 7
No active apt repos in: /etc/apt/sources.list
Active apt repos in: /etc/apt/sources.list.d/debian-stable-updates.list
1: deb http://deb.debian.org/debian/ bullseye-updates main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/debian.list
1: deb http://deb.debian.org/debian/ bullseye main contrib non-free
2: deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free
Active apt repos in: /etc/apt/sources.list.d/librewolf.list
1: deb [arch=amd64] http://deb.librewolf.net/ bullseye main
Active apt repos in: /etc/apt/sources.list.d/megasync.list
1: deb [signed-by=/usr/share/keyrings/meganz-archive-keyring.gpg] https://mega.nz/linux/repo/Debian_11/ ./
Active apt repos in: /etc/apt/sources.list.d/mx.list
1: deb http://mirrors.dotsrc.org/mx-packages/mx/repo/ bullseye main non-free
2: deb http://mirrors.dotsrc.org/mx-packages/mx/repo/ bullseye ahs
Active apt repos in: /etc/apt/sources.list.d/signal-xenial-added-by-mxpi.list
1: deb [arch=amd64] https://updates.signal.org/desktop/apt/ xenial main
Info: Processes: 340 Uptime: 20d 3h 16m wakeups: 44 Memory: 7.59 GiB used: 6.04 GiB (79.6%)
Init: SysVinit v: 2.96 runlevel: 5 default: 5 tool: systemctl Compilers: gcc: 10.2.1
alt: 10 Client: shell wrapper v: 5.1.4-release inxi: 3.3.06
Boot Mode: UEFI
@neverdimed
It's entirely possible that "python-gobject" was imported as a dependency by Signal which would explain why you don't remember specifically installing it on this machine. However, it is clear that you did not enable a ppa.
Re: "unable to locate package python-gobject"
Posted: Sat May 06, 2023 9:30 am
by Buck Fankers
j2mcgreg wrote: Sat May 06, 2023 9:26 am
However, it is clear that you did not enable a ppa.
Which means, (just in case you are noob like me) your system on first computer is OK.
Re: "unable to locate package python-gobject"
Posted: Sat May 06, 2023 10:33 am
by neverdimed
Buck Fankers wrote: Sat May 06, 2023 9:30 am
j2mcgreg wrote: Sat May 06, 2023 9:26 am
However, it is clear that you did not enable a ppa.
Which means, (just in case you are noob like me) your system on first computer is OK.
i am, thanks :)
Re: vimiv: "unable to locate package python-gobject"
Posted: Sat May 06, 2023 4:24 pm
by Stevo
It was in Debian 10, and a python2 GNOME related package, but was dropped for 11 when python2 reached end-of-life.
From the installation directions for vimv-qt:
Installing the following packages should pull in all necessary dependencies for building and running vimiv-qt.
Debian/Ubuntu:
python3-pyqt5
python3-pyqt5.qtsvg (optional)
python3-setuptools
python3-dev (for building the C extension)
python3-piexif (not available in Bullseye, but is in bullseye-backports…)
Re: vimiv: "unable to locate package python-gobject"
Posted: Sun May 07, 2023 2:55 am
by neverdimed
(i see what you mean, ie the dependencies listed at the very bottom of this page:
https://karlch.github.io/vimiv-qt/docum ... stall.html)
when running
i was still seeing
Code: Select all
c-extension/manipulate.c:7:10: fatal error: Python.h: No such file or directory
based on what i read here:
https://stackoverflow.com/questions/215 ... -directory, i ran
that solved the existing problem (i had previously installed python-dev because i was looking at the dependencies listed on the old github page:
https://github.com/karlch/vimiv)
now i get a different error:
Code: Select all
creating /usr/lib/python3.9/site-packages
error: could not create '/usr/lib/python3.9/site-packages': Permission denied
make: *** [Makefile:32: install] Error 1
i read that i should not do sudo. Should i change ownership (chown)?
https://stackoverflow.com/questions/210 ... lenv-suppo