Table of Contents
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.

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-perlThe 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 iconConclusion
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).
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…?
Congratulations for solution.