我不得不重新安装 Kubuntu 15.10 (32 位),当我尝试重新安装 Guitar Pro 6 (32 位) 时,它失败了。奇怪的是,之前使用相同的操作系统、相同的 PC、相同的 Guitar Pro 6 .deb 包时,它运行得非常好。
当我尝试安装它时,我得到:
fr2632v3@fr2632v3:~/Downloads$ sudo dpkg -i gp6-full-linux-r11686.deb
Selecting previously unselected package guitarpro6.
(Reading database ... 215253 files and directories currently installed.)
Preparing to unpack gp6-full-linux-r11686.deb ...
Unpacking guitarpro6 (6.1.9) ...
dpkg: dependency problems prevent configuration of guitarpro6:
guitarpro6 depends on libportaudio0; however:
Package libportaudio0 is not installed.
guitarpro6 depends on libssl0.9.8; however:
Package libssl0.9.8 is not installed.
dpkg: error processing package guitarpro6 (--install):
dependency problems - leaving unconfigured
Processing triggers for mime-support (3.58ubuntu1) ...
Errors were encountered while processing:
guitarpro6
然后我运行:
fr2632v3@fr2632v3:~/Downloads$ sudo apt-get install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
guitarpro6
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 109 MB disk space will be freed.
Do you want to continue? [Y/n]
(Reading database ... 216527 files and directories currently installed.)
Removing guitarpro6 (6.1.9) ...
Processing triggers for mime-support (3.58ubuntu1) ...
通过检查依赖项:
fr2632v3@fr2632v3:~/Downloads$ sudo dpkg -I gp6-full-linux-r11686.deb
new debian package, version 2.0.
size 55312520 bytes: control archive=34796 bytes.
383 bytes, 10 lines control
111155 bytes, 1206 lines md5sums
Package: GuitarPro6
Version: 6.1.9
Section: non-free/audio
Priority: optional
Architecture: i386
Depends: gksu, libasound2, libc6 (>= 2.1.3), libglu1-mesa, libportaudio0, libportaudio2, libssl0.9.8, libstdc++6, libxml2, libxslt1.1, zlib1g
Installed-Size: 106346
Maintainer: Arobas Music <[email protected]>
Description: http://www.guitar-pro.com
Guitar Pro 6, Linux Version.
我发现安装了以下内容:
gksu
libasound2
libc6
libglu1-mesa
libportaudio2
libstdc++6
libxml2
libxslt1.1
zlib1g
问题是没有找到以下内容:
libportaudio0
libssl0.9.8
但 :
fr2632v3@fr2632v3:~/Downloads$ sudo apt-get install libportaudio0 libssl0.9.8
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package libssl0.9.8 is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Unable to locate package libportaudio0
E: Package 'libssl0.9.8' has no installation candidate
知道我如何/在哪里可以找到并安装 libssl0.9.8 和 libportaudio0 吗?顺便说一句,我已经联系了 Guitar Pro 技术支持,但我得到的支持非常糟糕。此外,他们真的不合格,他们无法帮助我。
谢谢。
答案1
您有两个选择。
- 更改依赖项
- 使用较旧的库
我更喜欢更改依赖项
更改依赖项:
按照这些命令
提取 DEB 包
cd mkdir deb$$ cp gp6-full-linux-r11686.deb deb$$ cd deb$$ dpkg-deb -x gp6-full-linux-r11686.deb deb cd deb dpkg-deb -e ../gp6-full-linux-r11686.deb
更改依赖项:
sed -i 's/libssl0\.9\.8/libssl1.0.0/' DEBIAN/control sed -i 's/libportaudio0/libportaudio2/' DEBIAN/control
重新打包 DEB 文件并安装
cd .. sudo dpkg-deb -b deb sudo dpkg -i deb.deb
使用旧库
下载必要的软件包,我们需要32 位版本
wget http://mirrors.kernel.org/ubuntu/pool/universe/p/portaudio/libportaudio0_18.1-7.1_i386.deb wget http://mirrors.kernel.org/ubuntu/pool/universe/o/openssl098/libssl0.9.8_0.9.8o-7ubuntu4_i386.deb
安装
sudo dpkg -i libportaudio0_18.1-7.1_i386.deb libssl0.9.8_0.9.8o-7ubuntu4_i386.deb sudo dpkg -i gp6-full-linux-r11686.deb