Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

missing GTK3

New to Debian (Or Linux in general)? Ask your questions here!
Post Reply
Message
Author
royearle
Posts: 4
Joined: 2017-11-04 21:15

missing GTK3

#1 Post by royearle »

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.

User avatar
stevepusser
Posts: 12930
Joined: 2009-10-06 05:53
Has thanked: 41 times
Been thanked: 72 times

Re: missing GTK3

#2 Post by stevepusser »

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?
MX Linux packager and developer

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

Re: missing GTK3

#3 Post by royearle »

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.

Post Reply