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

by Daniel Pham
Published: Updated:

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.

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 an additional repository to your 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.

(This is an article from my old blog that has been inactive for a long time, I don’t want to throw it away so I will keep it and hope it helps someone).

0 0 votes
Article Rating

You may also like

Subscribe
Notify of
guest
2 Comments
Newest
Oldest Most Voted
Inline Feedbacks
View all comments
Jeffrey Stewart
Jeffrey Stewart
Guest
3 years ago

Why would you messed up with awkwarding commands and legacy technologies like Gtk2 where you can use Ásbrú (https://www.asbru-cm.net/) that is the proud successor (fork) of PAC…?

Mário Evangelista
Mário Evangelista
Guest
4 years ago

Congratulations for solution.

DevOps Lite is a personal blog specializing in technology with main topics about DevOps, DevSecOps, SRE and System Administrator. Articles are shared for free and contributed to the community.

SUPPORT US

FOLLOW US

Subscribe my Newsletter for new blog posts. Stay updated from your inbox!

© 2021-2024 DevOpsLite.com – All rights reserved.

Please write sources “DevOpsLite.com” when using articles from this website.

This website uses cookies to improve your experience. We'll assume you're ok with this, but you can opt-out if you wish. Accept Read More

0
Would love your thoughts, please comment.x
()
x

Adblock Detected

Please support us by disabling your AdBlocker extension from your browsers for our website.