Public bug reported:

it used to work like a month ago.

```
$ gdebi-gtk any.deb

(gdebi-gtk:280521): Gtk-CRITICAL **: 17:57:00.327: _gtk_css_lookup_resolve: 
assertion '(((__extension__ ({ GTypeInstance *__inst = (GTypeInstance*) 
((provider)); GType __t = ((_gtk_style_provider_private_get_type ())); gboolean 
__r; if (!__inst) __r = (0); else if (__inst->g_class && 
__inst->g_class->g_type== __t) __r = (!(0)); else __r = 
g_type_check_instance_is_a (__inst, __t); __r; }))))' failed
/usr/share/gdebi/GDebi/SimpleGtkbuilderApp.py:32: Warning: 
g_object_set_data_full: assertion 'G_IS_OBJECT (object)' failed
self.builder.add_from_file(path)

(gdebi-gtk:280521): Gtk-ERROR **: 17:57:00.327: Can't create a GtkStyleContext 
without a display connection
```

when i run gdebi-gtk it asks for sudo password in gui dialog. and then
fails with error above.

but if i run it with sudo - it works.

so maybe the issues is in that dialog.


Operating System: Kubuntu 26.04
KDE Plasma Version: 6.6.2
KDE Frameworks Version: 6.23.0
Qt Version: 6.10.2
Kernel Version: 6.19.0-9-generic (64-bit)
Graphics Platform: X11

ProblemType: Bug
DistroRelease: Ubuntu 26.04
Package: gdebi 0.9.5.8
ProcVersionSignature: Ubuntu 6.19.0-9.9-generic 6.19.5
Uname: Linux 6.19.0-9-generic x86_64
ApportVersion: 2.33.1-0ubuntu3
Architecture: amd64
CasperMD5CheckResult: pass
CurrentDesktop: KDE
Date: Thu Mar 12 17:59:11 2026
InstallationDate: Installed on 2025-10-07 (156 days ago)
InstallationMedia: Ubuntu 24.04.3 LTS "Noble Numbat" - Release amd64 
(20250805.1)
PackageArchitecture: all
SourcePackage: gdebi
UpgradeStatus: Upgraded to resolute on 2025-11-05 (127 days ago)

** Affects: gdebi (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug resolute

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/2144035

Title:
  gdebi-gtk can't install package with "Can't create a GtkStyleContext
  without a display connection"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gdebi/+bug/2144035/+subscriptions


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to