Texlive 卡在“半安装”状态,磁盘空间不足

Texlive 卡在“半安装”状态,磁盘空间不足

我使用的是具有 8GB 空间的 AWS 免费套餐服务器。我尝试安装 Texlive-full,但在安装完成之前空间不足。然后我尝试运行:

sudo apt-get --purge remove texlive-full

但我收到了一条错误消息:

Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
 zathura-pdf-poppler : Depends: zathura-abi-2gtk3
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).

所以我接下来跑了

sudo apt-get -f install

其结果是:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  linux-aws-headers-4.4.0-1020 linux-aws-headers-4.4.0-1022 linux-aws-headers-4.4.0-1026 linux-aws-headers-4.4.0-1028
  linux-aws-headers-4.4.0-1030 linux-aws-headers-4.4.0-1031 linux-headers-4.4.0-1020-aws linux-headers-4.4.0-1022-aws
  linux-headers-4.4.0-1026-aws linux-headers-4.4.0-1028-aws linux-headers-4.4.0-1030-aws linux-headers-4.4.0-1031-aws
  linux-image-4.4.0-1020-aws linux-image-4.4.0-1022-aws linux-image-4.4.0-1026-aws linux-image-4.4.0-1028-aws linux-image-4.4.0-1030-aws
  linux-image-4.4.0-1031-aws
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed: 
  texlive-fonts-extra texlive-fonts-extra-doc texlive-games texlive-generic-extra texlive-htmlxml texlive-humanities
  texlive-humanities-doc texlive-lang-african texlive-lang-arabic texlive-lang-chinese texlive-lang-cjk texlive-lang-cyrillic
  texlive-lang-czechslovak texlive-lang-english texlive-lang-european texlive-lang-french texlive-lang-german texlive-lang-greek
  texlive-lang-indic texlive-lang-italian texlive-lang-japanese texlive-lang-korean texlive-lang-polish texlive-lang-portuguese
  texlive-lang-spanish texlive-latex-extra-doc texlive-luatex texlive-math-extra texlive-metapost-doc texlive-music texlive-omega
  texlive-plain-extra texlive-publishers texlive-publishers-doc texlive-science texlive-science-doc zathura
Suggested packages:
  www-browser zathura-ps zathura-djvu zathura-cb
The following NEW packages will be installed:
  texlive-fonts-extra texlive-fonts-extra-doc texlive-games texlive-generic-extra texlive-htmlxml texlive-humanities
  texlive-humanities-doc texlive-lang-african texlive-lang-arabic texlive-lang-chinese texlive-lang-cjk texlive-lang-cyrillic
  texlive-lang-czechslovak texlive-lang-english texlive-lang-european texlive-lang-french texlive-lang-german texlive-lang-greek
  texlive-lang-indic texlive-lang-italian texlive-lang-japanese texlive-lang-korean texlive-lang-polish texlive-lang-portuguese
  texlive-lang-spanish texlive-latex-extra-doc texlive-luatex texlive-math-extra texlive-metapost-doc texlive-music texlive-omega
  texlive-plain-extra texlive-publishers texlive-publishers-doc texlive-science texlive-science-doc zathura
0 upgraded, 37 newly installed, 0 to remove and 61 not upgraded.
2 not fully installed or removed.
Need to get 1,281 MB of archives.
After this operation, 2,436 MB of additional disk space will be used.
Do you want to continue? [Y/n] 

此时的问题是,我没有足够的空间继续使用……我大约缺少 600MB。我可能可以向 AWS 付费以扩大存储空间,至少暂时如此,但我宁愿不这样做。

我尝试通过运行 apt-get clean、apt-get autoclean 等来释放空间,但没有释放足够的空间。

因此,事情处于“半安装”状态,我无法前进或后退。

有什么办法可以解决这个问题吗?谢谢!

相关内容