20.10 spamassassin 和 libdvdcss 全面升级存在问题

20.10 spamassassin 和 libdvdcss 全面升级存在问题

运行之后sudo apt updatesudo apt full-upgrade我仍然保留着最后引用的信息。

如何解决这个问题?

作为一种解决方法,我按照说明手动安装了 libdvdcss这里 我可能会尝试使用 spamassassin 进行相同的操作,但我更喜欢使用 Ubuntu 软件包。

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] Y
Setting up spamassassin (3.4.5~pre1-3) ...
Insecure dependency in sprintf while running with -T switch at /usr/lib/x86_64-linux-gnu/perl/5.30/Config.pm line 62.
Compilation failed in require at /usr/lib/x86_64-linux-gnu/perl/5.30/lib.pm line 6.
BEGIN failed--compilation aborted at /usr/lib/x86_64-linux-gnu/perl/5.30/lib.pm line 6.
Compilation failed in require at /usr/bin/sa-update line 36.
BEGIN failed--compilation aborted at /usr/bin/sa-update line 36.
dpkg: error processing package spamassassin (--configure):
 installed spamassassin package post-installation script subprocess returned error exit status 255
Errors were encountered while processing:
 spamassassin
libdvd-pkg: Downloading orig source...
Attempt to reload Config.pm aborted.
Compilation failed in require at /usr/share/perl5/Dpkg/Compression.pm line 37.
BEGIN failed--compilation aborted at /usr/share/perl5/Dpkg/Compression.pm line 37.
Compilation failed in require at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 26.
BEGIN failed--compilation aborted at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 26.
Compilation failed in require at /usr/share/perl5/Dpkg/Interface/Storable.pm line 90.
Attempt to reload Config.pm aborted.
Compilation failed in require at /usr/share/perl5/Dpkg/Compression.pm line 37.
BEGIN failed--compilation aborted at /usr/share/perl5/Dpkg/Compression.pm line 37.
Compilation failed in require at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 26.
BEGIN failed--compilation aborted at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 26.
Compilation failed in require at /usr/share/perl5/Dpkg/Interface/Storable.pm line 90.
I: _
Attempt to reload Config.pm aborted.
Compilation failed in require at /usr/share/perl5/Dpkg/Compression.pm line 37.
BEGIN failed--compilation aborted at /usr/share/perl5/Dpkg/Compression.pm line 37.
Compilation failed in require at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 26.
BEGIN failed--compilation aborted at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 26.
Compilation failed in require at /usr/share/perl5/Dpkg/Interface/Storable.pm line 90.
Attempt to reload Config.pm aborted.
Compilation failed in require at /usr/share/perl5/Dpkg/Compression.pm line 37.
BEGIN failed--compilation aborted at /usr/share/perl5/Dpkg/Compression.pm line 37.
Compilation failed in require at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 26.
BEGIN failed--compilation aborted at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 26.
Compilation failed in require at /usr/share/perl5/Dpkg/Interface/Storable.pm line 90.
Attempt to reload Config.pm aborted.
Compilation failed in require at /usr/share/perl5/Dpkg/Compression.pm line 37.
BEGIN failed--compilation aborted at /usr/share/perl5/Dpkg/Compression.pm line 37.
Compilation failed in require at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 26.
BEGIN failed--compilation aborted at /usr/share/perl5/Dpkg/Compression/FileHandle.pm line 26.
Compilation failed in require at /usr/share/perl5/Dpkg/Interface/Storable.pm line 90.
/usr/bin/wget --tries=3 --timeout=40 --read-timeout=40 --continue -O libdvdcss_.orig.tar.bz2 \
          http://download.videolan.org/pub/libdvdcss//libdvdcss-.tar.bz2 \
        || /usr/bin/uscan --noconf --verbose --rename --destdir=/usr/src/libdvd-pkg --check-dirname-level=0 --force-download --download-current-version /usr/share/libdvd-pkg/debian
--2021-06-18 17:04:09--  http://download.videolan.org/pub/libdvdcss//libdvdcss-.tar.bz2
Resolving download.videolan.org (download.videolan.org)... 213.36.253.2, 2a01:e0d:1:3:58bf:fa02:c0de:5
Connecting to download.videolan.org (download.videolan.org)|213.36.253.2|:80... connected.
HTTP request sent, awaiting response... 404 Not Found
2021-06-18 17:04:09 ERROR 404: Not Found.
/bin/sh: 3: /usr/bin/uscan: not found
make: *** [/usr/share/libdvd-pkg/debian/rules:24: get-orig-source] Error 127
E: Sub-process /usr/bin/dpkg returned an error code (1)

答案1

经过多次尝试,此方法清洁有效:

sudo dpkg --purge spamassassin
sudo dpkg --purge libdvd-pkg

相关内容