aptitude install imapsync 不再起作用

aptitude install imapsync 不再起作用

我曾经使用过一个教程来安装imapsync,但现在当我运行这个命令时:

aptitude install imapsync 

我收到此错误信息:

Couldn't find any package matching "imapsync".  However, the following
packages contain "imapsync" in their description:
  imapcopy imapcopy:i386 
Couldn't find any package matching "imapsync".  However, the following
packages contain "imapsync" in their description:
  imapcopy imapcopy:i386 
No packages will be installed, upgraded, or removed.
0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B of archives. After unpacking 0 B will be used.

该命令用于单词。那么为什么会发生这种情况?我该如何解决?

我有 Ubuntu 14.04 LTS,64 位。

答案1

该包imapsync不再存在于存储库中。您可以使用imapcopy反而。

答案2

你确定它以前能用吗?根据其 wiki.ubuntuusers 页面,自 11.10 以来它就不在存储库中了?

无论如何,为了构建它:

安装依赖项:

sudo apt-get install build-essential devscripts debhelper cdbs libdigest-hmac-perl libterm-readkey-perl libio-socket-ssl-perl libdate-manip-perl libmail-imapclient-perl  

创建 tmp 目录:

mkdir ~/tmp; cd ~/tmp 

下载:来源

dget -xu http://snapshot.debian.org/archive/debian/20100707T160604Z/pool/main/i/imapsync/imapsync_1.315%2Bdfsg-1.dsc 
cd imapsync-1.315+dfsg 

修改:rebuild在第3行的星号*后添加:

dch -l +local 
* rebuild

编译:

dpkg-buildpackage -us -uc 

并安装:

sudo dpkg -i ../imapsync_1.315+dfsg-1+local1_all.deb
apt-get -f install 

这适用于 Ubuntu 14.10。参考:http://wiki.ubuntuusers.de/imapsync(德语)

相关内容