GlobalProtect 在 Ubuntu 20.04 上使用 apt-get 实用程序时,5.2.x 或更高版本无法安装软件包。

GlobalProtect 在 Ubuntu 20.04 上使用 apt-get 实用程序时,5.2.x 或更高版本无法安装软件包。

21108
Created On 03/25/22 20:52 PM - Last Modified 03/02/23 02:28 AM


Symptom


安装时GlobalProtect5.2或以上CLI-仅或GlobalProtectUI-CLI在 Ubuntu 20.04 上使用 apt-get 实用程序安装 6.0 或更高版本的软件包,我们在终端中看到以下错误:

安装时apt-get安装错误CLI-只包GlobalProtect5.2或以上:

$ sudo apt-get install ./GlobalProtect_deb-5.3.3.0-3.deb
Reading package lists... Error!
E: read, still have 59 to read but none left
E: Error reading archive member header
E: Could not read meta data from /home/user1/globalprotect/GlobalProtect_deb-5.3.3.0-3.deb
E: The package lists or status file could not be parsed or opened.

安装时apt-get安装错误UI-CLI包为GlobalProtect6.0或以上:

sudo apt-get install ./GlobalProtect_UI_deb-6.0.0.1-44.deb 
Reading package lists... Error!
E: read, still have 59 to read but none left
E: Error reading archive member header
E: Could not read meta data from /home/user1/Desktop/GP-60/PanGPLinux-6.0.0-c18 (1)/GlobalProtect_UI_deb-6.0.0.1-44.deb
E: The package lists or status file could not be parsed or opened.
 

 



Environment


  • GlobalProtect 在 Linux Ubuntu Debian 上
  • GlobalProtect 5.2及以上使用时CLI版本。
  • GlobalProtect 6.0及以上使用时UI-CLI版本。
  • Ubuntu 20.04 桌面和服务器


Cause


尝试安装时GlobalProtectUbuntu 20.04 上的 Linux Debian 包,apt-get 实用程序无法读取包依赖项GlobalProtect安装由于底层OS限制。   

Resolution


解决方法:
安装的解决方法GlobalProtectapp在 Ubuntu 20.04 上是使用 dpkg 实用程序而不是 apt-get 实用程序。

CLI-仅有的:
下面的命令可以用来安装CLI-仅有的GlobalProtect客户端 5.2.x 或以上:

$ sudo dpkg -i GlobalProtect_deb-5.3.3.0-3.deb

UI-CLI:
为了UI-CLI支持的版本GlobalProtect6.0以上,需要通过apt-get安装libqt5webkit5依赖,然后安装GlobalProtect使用 dpkg 实用程序打包。

$ sudo apt-get install libqt5webkit5
$ sudo dpkg -i GlobalProtect_UI_deb-6.0.0.1-44.deb


Additional Information


  • 如果升级 Linux UbuntuOS从 18.04 或 19.04 到 20.04,GlobalProtect应该按预期工作。
  • 从旧版本升级GlobalProtectUbuntu 20.04 上的 5.3.x 版本到最新的 5.3.x 应该可以正常工作。  
  • 升级中GlobalProtect从 5.3.x 到 6.0.x 应该按预期工作CLI. 如果你想切换到UI-CLI版本使用GlobalProtectLinux 6.0以上,需要卸载CLI-只有版本,然后安装UI-CLI版本。 卸载请参考以下文档.   

 

 



Actions
  • Print
  • Copy Link

    https://knowledgebase.paloaltonetworks.com/KCSArticleDetail?id=kA14u0000004NoDCAU&lang=zh_CN&refURL=http%3A%2F%2Fknowledgebase.paloaltonetworks.com%2FKCSArticleDetail

Choose Language