Fix ERROR: PAC was unable to load *any* config file

Share this post to your friends !

DanieBlog - Fix ERROR: PAC was unable to load *any* config file – this is main content of this post. Well, if you are using PAC Manager to mange your Linux servers, i sure that you like it. Today, i have a new laptop and i decided to install Linux Mint 19.2 Cinnamon. I pretty like this OS.

ERROR: PAC was unable to load *any* config file

When i install PAC Manager in Linux Mint 19.2 Cinnamon, everything looking good. But when i start it up, it’s stucked and nothing happend.

The full error log like below.

dungpt2@dungpt2-laptop:~$ pac
PAC started (pac) with PID 28720
ERROR: PAC was unable to load *any* config file from '/home/dungpt2/.config/pac'... Now starting from scratch...Use of uninitialized value in string eq at /opt/pac/lib/PACConfig.pm line 672.
Segmentation fault (core dumped)

As you can see this error, PAC cannot starting. Well, just with a simple Google search, i found a command and i tried it.

$ sudo find /opt/pac/ -name "Vte.so*" -exec rm {} +

This command look worked. After executed it, i can open PAC program. But i still have another problem. I created a ssh connection and when i tried to connect to this linux server, the PAC’s windows is stucking.

Yes, so i have to get some logs and i got this.

dungpt2@dungpt2-laptop:~$ pac
PAC started (pac) with PID 29042
INFO: Used config file '/home/dungpt2/.config/pac/pac.nfreeze'
INFO: Using 'standard Gnome2' tray icon
*** unhandled exception in callback:
***   Can't locate object method "new" via package "Gnome2::Vte::Terminal" (perhaps you forgot to load "Gnome2::Vte::Terminal"?) at /opt/pac/lib/PACTerminal.pm line 500.
***  ignoring at /opt/pac/lib/PACMain.pm line 363.

And i got a problem with Gnome2::Vte::Terminal. To this point, i don’t know what is it.

fix-error-pac-was-unable-to-load-any-config-file Fix ERROR: PAC was unable to load *any* config file
Fix ERROR: PAC was unable to load *any* config file.

How to solve Can’t locate object method “new” via package “Gnome2::Vte::Terminal”

I saw the previous steps that i did, the command used to remove Vte.so maybe broke some libraries in my laptop. And i found this issue in this link.

As this bug reported, to fix this issue, i have to install the package libgnome2-vte-perl.

We have 2 ways to install it.

The first way, you can add a additional repository to you computer and install the package.

curl -s https://packagecloud.io/install/repositories/asbru-cm/asbru-cm/script.deb.sh | sudo bash
sudo apt install libgnome2-vte-perl

The second way, you can download the package directly and install it as normal. Link to download the package.

After i installed this package, i checked PAC program again and yeah, it’s working. The log like this.

dungpt2@dungpt2-laptop:~$ pac
PAC started (pac) with PID 30825
INFO: Used config file '/home/dungpt2/.config/pac/pac.nfreeze'
INFO: Using 'standard Gnome2' tray icon

Conclusion

With some simple steps, i hope it’s helpfull for you. With someone is facing problem with PAC Manager in Linux Mint 19.2 Cinnamon, hope this post will help you solve the problem. By myself, i really like PAC, i using it in both company and home. Thank for reading.

If you liked this article, then please subscribe to our YouTube Channel for more video tutorials. You can also find us on Twitter and Facebook.


Share this post to your friends !
If you appreciate what we share in this blog, you can support us by:
  1. Stay connected to: Facebook | Twitter | Google Plus | YouTube
  2. Subscribe email to recieve new posts from us: Sign up now.
  3. Start your own blog with SSD VPS - Free Let's Encrypt SSL ($2.5/month).
  4. Become a Supporter - Make a contribution via PayPal.
  5. Support us by purchasing Ribbon Lite Child theme being using on this website.

We are thankful for your support.

single post bottom banner
««

Got something to say? Join the discussion

Please keep in mind that all comments are subject to our Comment Policy. Your email address will not be published.
This site uses Akismet to reduce spam. Learn how your comment data is processed.