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

Message
Author
neverdimed
Posts: 35
Joined: Fri Jul 01, 2022 4:19 pm

vimiv: "unable to locate package python-gobject"

#1 Post 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?
Last edited by neverdimed on Sat May 06, 2023 9:14 am, edited 1 time in total.

User avatar
Eadwine Rose
Administrator
Posts: 15364
Joined: Wed Jul 12, 2006 2:10 am

Re: "unable to locate package python-gobject"

#2 Post by Eadwine Rose »

Please post your Quick System Info using Copy for forum, thanks.
MX-23.6_x64 July 31 2023 * 6.1.0-40amd64 ext4 Xfce 4.20.0 * 8-core AMD Ryzen 7 2700
Asus TUF B450-Plus Gaming UEFI * Asus GTX 1050 Ti Nvidia 535.247.01 * 2x16Gb DDR4 2666 Kingston HyperX Predator
Samsung 870EVO * Samsung S24D330 & P2250 * HP Envy 5030

neverdimed
Posts: 35
Joined: Fri Jul 01, 2022 4:19 pm

Re: "unable to locate package python-gobject"

#3 Post 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

User avatar
j2mcgreg
Global Moderator
Posts: 7279
Joined: Tue Oct 23, 2007 12:04 pm

Re: "unable to locate package python-gobject"

#4 Post 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
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
gimcrack
Posts: 307
Joined: Fri Dec 02, 2011 5:17 pm

Re: "unable to locate package python-gobject"

#5 Post by gimcrack »

Not in my repositories I build that as well.

python-gobject

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

You can install it with pip

User avatar
Buck Fankers
Posts: 770
Joined: Sat Mar 10, 2018 8:06 pm

Re: "unable to locate package python-gobject"

#6 Post 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

neverdimed
Posts: 35
Joined: Fri Jul 01, 2022 4:19 pm

Re: "unable to locate package python-gobject"

#7 Post 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)

User avatar
j2mcgreg
Global Moderator
Posts: 7279
Joined: Tue Oct 23, 2007 12:04 pm

Re: "unable to locate package python-gobject"

#8 Post 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.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

User avatar
j2mcgreg
Global Moderator
Posts: 7279
Joined: Tue Oct 23, 2007 12:04 pm

Re: "unable to locate package python-gobject"

#9 Post 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.
HP 15; ryzen 3 5300U APU; 500 Gb SSD; 8GB ram
HP 17; ryzen 3 3200; 500 GB SSD; 12 GB ram
Idea Center 3; 12 gen i5; 256 GB ssd;

In Linux, newer isn't always better. The best solution is the one that works.

neverdimed
Posts: 35
Joined: Fri Jul 01, 2022 4:19 pm

Re: "unable to locate package python-gobject"

#10 Post 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.

Post Reply

Return to “Software / Configuration”