missing GTK3

New to Debian (Or Linux in general)? Ask your questions here!

missing GTK3

Postby royearle » 2020-02-29 01:55

Hopefully someone can help me with this problem. I just installed Debian Buster 10.3 with XFCE today. When I tried to add several packages to the install using the synaptic package manager, I got the following error on each one of them:

debconf: unable to initialize frontend: Gnome
debconf: (Can't locate Gtk3.pm in @INC (you may need to install the Gtk3 module) (@INC contains: /etc/perl /usr/local/lib/i386-linux-gnu/perl/5.28.1 /usr/local/share/perl/5.28.1 /usr/lib/i386-linux-gnu/perl5/5.28 /usr/share/perl5 /usr/lib/i386-linux-gnu/perl/5.28 /usr/share/perl/5.28 /usr/local/lib/site_perl /usr/lib/i386-linux-gnu/perl-base) at /usr/share/perl5/Debconf/FrontEnd/Gnome.pm line 151, <> line 3.)
debconf: falling back to frontend: Dialog
debconf: unable to initialize frontend: Dialog
debconf: (TERM is not set, so the dialog frontend is not usable.)
debconf: falling back to frontend: Readline
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)
A package failed to install. Trying to recover:
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin

I then tried to add the LIBGTK3-PERL library in order to obtain the GTK3.PM module and received the same message. I then tried APT INSTALL LIBGTK3-PERL just in case the problem was with the synaptic package manager and got the following message:

root@debian:~# apt update
Hit:1 http://security.debian.org/debian-security buster/updates InRelease
Hit:2 http://ftp.us.debian.org/debian buster InRelease
Hit:3 http://ftp.us.debian.org/debian buster-updates InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
All packages are up to date.


root@debian:~# apt install libgtk3-perl
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libcairo-gobject-perl libglib-object-introspection-perl
Suggested packages:
libxml-libxml-perl
The following NEW packages will be installed:
libcairo-gobject-perl libglib-object-introspection-perl libgtk3-perl
0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/117 kB of archives.
After this operation, 397 kB of additional disk space will be used.
Do you want to continue? [Y/n]
dpkg: warning: 'start-stop-daemon' not found in PATH or not executable
dpkg: error: 1 expected program not found in PATH or not executable
Note: root's PATH should usually contain /usr/local/sbin, /usr/sbin and /sbin
E: Sub-process /usr/bin/dpkg returned an error code (2)

Can anyone please help me with this? I really don’t want to do a re-install.

Thanks.
royearle
 
Posts: 4
Joined: 2017-11-04 21:15

Re: missing GTK3

Postby stevepusser » 2020-02-29 02:17

How are you switching to the root user? You really need to use "su -" in Buster.

The daemon is part of dpkg https://packages.debian.org/search?sear ... e&arch=any

so if that doesn't help, I would say you got a bad install. Did you run a checksum on the iSO before installing it?
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: Kodi 18.7, Strawberry 0.6.12, Pale Moon 28.10.0, Xscreensaver 5.44, Krita 4.3.0, Foliate 2.3.0
User avatar
stevepusser
 
Posts: 11772
Joined: 2009-10-06 05:53

Re: missing GTK3

Postby royearle » 2020-03-02 00:50

Sorry it took so long to reply. I was out of town for my son's graduation from college. To answer your question, I did do a md5sum check in the downloaded install disk. However, since I did a network install, the problem could be in that portion of the download. I have since done a re-install and everything seems to be working OK so far. I used a mirror from the UK instead of the US because I figured it would be less busy being 11:00 pm there when I did the re-install.

Thanks for all of your help.
royearle
 
Posts: 4
Joined: 2017-11-04 21:15


Return to Beginners Questions

Who is online

Users browsing this forum: No registered users and 10 guests

fashionable