Page 1 of 1

vimiv: "unable to locate package python-gobject"

Posted: Sat May 06, 2023 4:00 am
by neverdimed
mx linux 21.3

I am trying to install vimiv: https://github.com/karlch/vimiv. One of the dependencies is python-gobject. When i try

Code: Select all

sudo apt-get install python-gobject
it shows

Code: Select all

 E: unable to locate package python-gobject
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

what am I missing?

Re: "unable to locate package python-gobject"

Posted: Sat May 06, 2023 4:05 am
by Eadwine Rose
Please post your Quick System Info using Copy for forum, thanks.

Re: "unable to locate package python-gobject"

Posted: Sat May 06, 2023 4:51 am
by neverdimed
excellent, i should have know that, thanks

Code: Select all

System:    Kernel: 5.10.0-22-amd64 [5.10.178-3] x86_64 bits: 64 compiler: gcc v: 10.2.1 
           parameters: BOOT_IMAGE=/boot/vmlinuz-5.10.0-22-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_x64 Wildflower January 15  2023 
           base: Debian GNU/Linux 11 (bullseye) 
Machine:   Type: Laptop System: Dell product: Vostro 3583 v: N/A serial: <filter> Chassis: 
           type: 10 serial: <filter> 
           Mobo: Dell model: 0TVRR7 v: A00 serial: <filter> UEFI: Dell v: 1.5.1 date: 05/30/2019 
Battery:   ID-1: BAT0 charge: 21.9 Wh (100.0%) condition: 21.9/42.0 Wh (52.1%) volts: 12.5 
           min: 11.4 model: BYD DELL 1VX1H97 type: Li-ion serial: <filter> status: Full 
CPU:       Info: Quad Core model: Intel Core i5-8265U bits: 64 type: MT MCP arch: Kaby Lake 
           note: check family: 6 model-id: 8E (142) stepping: C (12) microcode: F4 cache: 
           L2: 6 MiB 
           flags: avx avx2 lm nx pae sse sse2 sse3 sse4_1 sse4_2 ssse3 vmx bogomips: 28800 
           Speed: 700 MHz min/max: 400/3900 MHz Core speeds (MHz): 1: 700 2: 700 3: 700 4: 700 
           5: 700 6: 700 7: 700 8: 700 
           Vulnerabilities: Type: itlb_multihit status: KVM: VMX disabled 
           Type: l1tf status: Not affected 
           Type: mds status: Not affected 
           Type: meltdown status: Not affected 
           Type: mmio_stale_data mitigation: Clear CPU buffers; SMT vulnerable 
           Type: retbleed mitigation: Enhanced IBRS 
           Type: spec_store_bypass 
           mitigation: Speculative Store Bypass disabled via prctl and seccomp 
           Type: spectre_v1 mitigation: usercopy/swapgs barriers and __user pointer sanitization 
           Type: spectre_v2 
           mitigation: Enhanced IBRS, IBPB: conditional, RSB filling, PBRSB-eIBRS: SW sequence 
           Type: srbds mitigation: Microcode 
           Type: tsx_async_abort status: Not affected 
Graphics:  Device-1: Intel WhiskeyLake-U GT2 [UHD Graphics 620] vendor: Dell driver: i915 
           v: kernel bus-ID: 00:02.0 chip-ID: 8086:3ea0 class-ID: 0300 
           Device-2: Sunplus Innovation Integrated_Webcam_HD type: USB driver: uvcvideo 
           bus-ID: 1-6:10 chip-ID: 1bcf:2b98 class-ID: 0e02 
           Display: x11 server: X.Org 1.20.11 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: HDMI-1 res: 1920x1080 hz: 60 dpi: 82 size: 598x336mm (23.5x13.2") 
           diag: 686mm (27") 
           OpenGL: renderer: Mesa Intel UHD Graphics 620 (WHL GT2) v: 4.6 Mesa 20.3.5 
           direct render: Yes 
Audio:     Device-1: Intel Cannon Point-LP High Definition Audio vendor: Dell 
           driver: snd_hda_intel v: kernel alternate: snd_soc_skl,snd_sof_pci bus-ID: 00:1f.3 
           chip-ID: 8086:9dc8 class-ID: 0403 
           Sound Server-1: ALSA v: k5.10.0-22-amd64 running: yes 
           Sound Server-2: PulseAudio v: 14.2 running: yes 
Network:   Device-1: Realtek RTL8111/8168/8411 PCI Express Gigabit Ethernet vendor: Dell 
           driver: r8169 v: kernel port: 3000 bus-ID: 01:00.0 chip-ID: 10ec:8168 class-ID: 0200 
           IF: eth0 state: up speed: 1000 Mbps duplex: full mac: <filter> 
           Device-2: Qualcomm Atheros QCA9377 802.11ac Wireless Network Adapter vendor: Dell 
           driver: ath10k_pci v: kernel modules: wl port: 3000 bus-ID: 02:00.0 chip-ID: 168c:0042 
           class-ID: 0280 
           IF: wlan0 state: down mac: <filter> 
           Device-3: ASIX AX88179 Gigabit Ethernet type: USB driver: ax88179_178a bus-ID: 2-1.1:9 
           chip-ID: 0b95:1790 class-ID: ff00 serial: <filter> 
           IF: eth1 state: down mac: <filter> 
           IF-ID-1: wg-mullvad state: unknown speed: N/A duplex: N/A mac: N/A 
Bluetooth: Device-1: Qualcomm Atheros type: USB driver: btusb v: 0.8 bus-ID: 1-10:5 
           chip-ID: 0cf3:e009 class-ID: e001 
           Report: hciconfig ID: hci0 rfk-id: 12 state: up address: <filter> bt-v: 2.1 lmp-v: 4.2 
           sub-v: 25a hci-v: 4.2 
           Info: acl-mtu: 1024:8 sco-mtu: 50:8 link-policy: rswitch hold sniff 
           link-mode: slave accept service-classes: rendering, capturing, audio 
Drives:    Local Storage: total: 238.47 GiB used: 30.87 GiB (12.9%) 
           SMART Message: Unable to run smartctl. Root privileges required. 
           ID-1: /dev/nvme0n1 maj-min: 259:0 vendor: Toshiba model: KBG40ZNS256G NVMe 256GB 
           size: 238.47 GiB block-size: physical: 512 B logical: 512 B speed: 31.6 Gb/s lanes: 4 
           type: SSD serial: <filter> rev: 10410106 temp: 26.9 C scheme: GPT 
Partition: ID-1: / raw-size: 230.22 GiB size: 225.54 GiB (97.97%) used: 29.22 GiB (13.0%) fs: ext4 
           dev: /dev/nvme0n1p2 maj-min: 259:2 
           ID-2: /boot/efi raw-size: 256 MiB size: 252 MiB (98.46%) used: 282 KiB (0.1%) fs: vfat 
           dev: /dev/nvme0n1p1 maj-min: 259:1 
Swap:      Kernel: swappiness: 15 (default 60) cache-pressure: 100 (default) 
           ID-1: swap-1 type: partition size: 8 GiB used: 1.65 GiB (20.7%) priority: -2 
           dev: /dev/nvme0n1p3 maj-min: 259:3 
Sensors:   System Temperatures: cpu: 55.0 C mobo: N/A 
           Fan Speeds (RPM): cpu: 0 
Repos:     Packages: 2239 note: see --pkg apt: 2234 lib: 1151 flatpak: 5 
           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/mx.list 
           1: deb http://mirrors.dotsrc.org/mx-packages/mx/repo/ bullseye main non-free
Info:      Processes: 341 Uptime: 5d 20h 27m wakeups: 2 Memory: 15.5 GiB used: 3.52 GiB (22.7%) 
           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 8:00 am
by j2mcgreg
"python-gobject" is an Ubuntu specific package and you won't find it in any of our repositories. On your other computer, you must first have enabled an Ubuntu family ppa which can have disastrous effects in MX. See here:

https://forum.mxlinux.org/viewtopic.php?t=44747

Re: "unable to locate package python-gobject"

Posted: Sat May 06, 2023 8:32 am
by gimcrack
Not in my repositories I build that as well.

python-gobject

https://pypi.org/project/PyGObject/

You can install it with pip

Re: "unable to locate package python-gobject"

Posted: Sat May 06, 2023 8:36 am
by Buck Fankers
neverdimed wrote: Sat May 06, 2023 4:00 am what am I missing?
Also, you are trying to install depreciated version.

New, current version is here:
https://github.com/karlch/vimiv-qt

And here you have instructions how to install it:
https://karlch.github.io/vimiv-qt/docum ... stall.html

Looking at dependencies, you don't have to worry about "python-gobject"
https://karlch.github.io/vimiv-qt/docum ... pendencies

There is a problem with: "python3-piexif" on Debian but it is optional anyway

Re: "unable to locate package python-gobject"

Posted: Sat May 06, 2023 8:52 am
by neverdimed
j2mcgreg wrote: Sat May 06, 2023 8:00 am "python-gobject" is an Ubuntu specific package and you won't find it in any of our repositories. On your other computer, you must first have enabled an Ubuntu family ppa which can have disastrous effects in MX. See here:

https://forum.mxlinux.org/viewtopic.php?t=44747
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)

Re: "unable to locate package python-gobject"

Posted: Sat May 06, 2023 8:53 am
by j2mcgreg
gimcrack wrote: Sat May 06, 2023 8:32 am Not in my repositories I build that as well.

python-gobject

https://pypi.org/project/PyGObject/

You can install it with pip
@gimcrack
I searched our repos in the default, AHS and KDE versions using both MXPI and Synaptic and it could not be located.. To back up your statement, you should really post your QSI.

Re: "unable to locate package python-gobject"

Posted: Sat May 06, 2023 8:57 am
by j2mcgreg
@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.

Re: "unable to locate package python-gobject"

Posted: Sat May 06, 2023 8:59 am
by neverdimed
Buck Fankers wrote: Sat May 06, 2023 8:36 am
neverdimed wrote: Sat May 06, 2023 4:00 am what am I missing?
Also, you are trying to install depreciated version.

New, current version is here:
https://github.com/karlch/vimiv-qt

And here you have instructions how to install it:
https://karlch.github.io/vimiv-qt/docum ... stall.html

Looking at dependencies, you don't have to worry about "python-gobject"
https://karlch.github.io/vimiv-qt/docum ... pendencies

There is a problem with: "python3-piexif" on Debian but it is optional anyway
many thanks. I followed the instructions from the link:

Code: Select all

$ git clone https://github.com/karlch/vimiv-qt/
$ cd vimiv-qt
$ cp misc/Makefile .
$ make install
and i see:

Code: Select all

 c-extension/manipulate.c:7:10: fatal error: Python.h: No such file or directory
    7 | #include <Python.h>
      |          ^~~~~~~~~~
compilation terminated.

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

Code: Select all

make install
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

Code: Select all

sudo apt-get install python3-dev
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

Re: vimiv: "unable to locate package python-gobject"  [Solved]

Posted: Sun May 07, 2023 8:10 am
by Buck Fankers
Again, have you tried:

Code: Select all

pip install --user vimiv
pip install --user git+https://github.com/karlch/vimiv-qt/

Re: vimiv: "unable to locate package python-gobject"

Posted: Sun May 07, 2023 1:48 pm
by neverdimed
cheers, i'll try it in the next days and see how it goes

Re: vimiv: "unable to locate package python-gobject"

Posted: Mon May 08, 2023 6:31 pm
by Stevo
About your missing "Python.h" header file, if you look at the list I posted, it does have python3-dev. I don't know why you didn't follow it.

Re: vimiv: "unable to locate package python-gobject"

Posted: Fri May 12, 2023 9:21 am
by neverdimed
Buck Fankers wrote: Sun May 07, 2023 8:10 am Again, have you tried:

Code: Select all

pip install --user vimiv
pip install --user git+https://github.com/karlch/vimiv-qt/
damn, that was easy, thanks :) just had to install python3-pip first from MX package installer

Re: vimiv: "unable to locate package python-gobject"

Posted: Fri May 12, 2023 9:24 am
by neverdimed
Stevo wrote: Mon May 08, 2023 6:31 pm About your missing "Python.h" header file, if you look at the list I posted, it does have python3-dev. I don't know why you didn't follow it.
yep, thanks. I noticed the issue before i saw your post and i wanted to spell it out so it's clear that python.h header issue is related to python3-dev, just in case others see this

Re: vimiv: "unable to locate package python-gobject"

Posted: Wed Jun 14, 2023 7:54 pm
by thebookkeeper
In the Buster-Repo you can found python-gobject-2:

Code: Select all

thebookkeeper@mx-dell:~
$ cat /etc/apt/sources.list.d/*.list 
# Debian Stable.
deb http://deb.debian.org/debian/ bullseye main contrib non-free 
deb http://security.debian.org/debian-security/ bullseye-security main contrib non-free 
# deb http://ftp.de.debian.org/debian/ buster main
...
thebookkeeper@mx-dell:~
$ apt policy python-gobject-2
python-gobject-2:
  Installiert:           2.28.6-13+b1
  Installationskandidat: 2.28.6-13+b1
  Versionstabelle:
 *** 2.28.6-13+b1 100
        100 /var/lib/dpkg/status
thebookkeeper@mx-dell:~
$ 
I need this for the zenmap port-scanner.