我正在使用以下系统:
$ cat /etc/redhat-release
CentOS Linux release 7.2.1511 (Core)
$ uname -a
Linux X 3.10.0-327.4.4.el7.x86_64 #1 SMP Tue Jan 5 16:07:00 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux
$
我想得到PAC 管理器下载 | SourceForge.net去。每当我尝试运行它时,都会出现以下错误:
Jan 29 11:09:00 X pac.desktop: PAC started (pac) with PID 21591
Jan 29 11:09:00 X pac.desktop: INFO: Used config file '/home/alexus/.config/pac/pac.nfreeze'
Jan 29 11:09:01 X pac.desktop: INFO: Using 'standard Gnome2' tray icon
Jan 29 11:09:05 X pac.desktop: *** unhandled exception in callback:
Jan 29 11:09:05 X pac.desktop: *** 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.
Jan 29 11:09:05 X pac.desktop: *** ignoring at /opt/pac/lib/PACMain.pm line 1398.
我公司的政策禁止我使用CPAN
,但我确实vte
安装了软件包:
$ rpm -q pac vte
pac-4.5.5.7-2.x86_64
vte-0.28.2-10.el7.x86_64
$
我还缺什么吗RPM
?我该如何解决这个问题?
* 更新 *
line 500
的/opt/pac/lib/PACTerminal.pm
:
$$self{_GUI}{_VTE} = Gnome2::Vte::终端 -> 新;
line 1398
的/opt/pac/lib/PACMain.pm
:
$$self{_GUI}{connExecBtn} -> 点击;
pac.nfreeze
:
$ rm -i `locate pac.nfreeze`
rm: remove regular file ‘/home/alexus/.config/pac/pac.nfreeze’? y
$
iptables.service
:
$ systemctl status iptables
● iptables.service - IPv4 firewall with iptables
Loaded: loaded (/usr/lib/systemd/system/iptables.service; disabled; vendor preset: disabled)
Active: inactive (dead)
$
答案1
我遇到了同样的问题,但他为我解决了:
sudo find /opt/pac/ -name "Vte.so*" -exec rm {} +