apt-get clean中出现“问题取消链接”错误

每当我尝试使用sudo apt-get clean时都会出现问题:

 :~$ sudo apt-get clean W: Problem unlinking the file apt-fast - Clean (21: Is a directory) :~$ apt-fast clean W: Problem unlinking the file apt-fast - Clean (21: Is a directory) 

清除apt-fast并运行 sudo apt-get clean 是我发现修复此问题的唯一方法。
但我使用apt-fast很多,所以使用它不是一个好的解决方案。
重新安装apt-fast并运行sudo apt-get clean会使问题再次出现。

另外,在安装时(我不知道这是否有用),我发现了这个问题:

 Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE _MAXNUM}/ at /tmp/apt-fast.config.NDgAmi line 205. Selecting previously unselected package apt-fast. (Reading database ... 498722 files and directories currently installed.) Preparing to unpack .../apt-fast_1.8.3~137+git7b72bb7-0ubuntu1~ppa3~wily1_all.deb ... Unpacking apt-fast (1.8.3~137+git7b72bb7-0ubuntu1~ppa3~wily1) ... Processing triggers for man-db (2.7.5-1) ... Setting up apt-fast (1.8.3~137+git7b72bb7-0ubuntu1~ppa3~wily1) ... Unescaped left brace in regex is deprecated, passed through in regex; marked by <-- HERE in m/\${ <-- HERE _MAXNUM}/ at /var/lib/dpkg/info/apt-fast.config line 205. 

我也在使用Ubuntu MATE 16.04。

谢谢。

一个潜在的解决方案是每次要运行apt-get clean删除目录/var/cache/apt/archives/apt-fast

$ rm -r /var/cache/apt/archives/apt-fast

这也意味着您正在清除apt-fast的缓存。

要防止显示此错误,可以删除“/ var / cache / apt / archives / apt-fast /”目录并将/etc/apt-fast.conf中的DLDIR变量更改为另一个路径(即/ var / cache / my_apt) -fast /档案馆/公寓快)。