为什么 Debian 上无法安装括号?

为什么 Debian 上无法安装括号?
 sudo  dpkg -i Bracket*.deb
Selecting previously unselected package brackets.
(Reading database ... 85361 files and directories currently installed.)
Preparing to unpack Brackets.Release.1.8.64-bit.deb ...
Unpacking brackets (1.8.0-17108) ...
dpkg: dependency problems prevent configuration of brackets:
 brackets depends on libgcrypt11 (>= 1.4.5); however:
  Package libgcrypt11 is not installed.

dpkg: error processing package brackets (--install):
 dependency problems - leaving unconfigured
Processing triggers for hicolor-icon-theme (0.13-1) ...
Errors were encountered while processing:
 brackets

现在要安装libgcrypt20.

sudo apt-get install libgcrypt20

再次安装brackets

sudo apt-get -f install
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following packages will be REMOVED:
  brackets
0 upgraded, 0 newly installed, 1 to remove and 143 not upgraded.
1 not fully installed or removed.
After this operation, 170 MB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 88821 files and directories currently installed.)
Removing brackets (1.8.0-17108) ...
Processing triggers for hicolor-icon-theme (0.13-1) ...

无法安装,怎么解决?

debian8@debian:~$ sudo apt-get install  libgcrypt11
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package libgcrypt11 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: Package 'libgcrypt11' has no installation candidate

答案1

要安装,请从以下位置libgcrypt11下载文件.deb这里并安装它:

apt-get update && apt-get upgrade
apt-get install gdebi
wget http://ftp.acc.umu.se/mirror/cdimage/snapshot/Debian/pool/main/libg/libgcrypt11/libgcrypt11_1.5.0-5_amd64.deb
gdebi libgcrypt11_1.5.0-5_amd64.deb

从以下位置下载 Barkets这里

wget https://github.com/adobe/brackets/releases/download/release-1.6/Brackets.Release.1.6.64-bit.deb
gdebi Brackets.Release.1.6.64-bit.deb
$brackets

相关内容