无法在 Ubuntu 16.04 上安装 libdgiplus

无法在 Ubuntu 16.04 上安装 libdgiplus

我的头已经炸了。我试图在 Ubuntu 16.04 上安装 libgdiplus,但我的所有尝试似乎都无济于事。以下是我一直得到的结果

root@a1-03-s08-11:~# root@a1-03-s08-11:~# sudo apt-get install libgdiplus                            Reading package lists... Done
-bash: root@a1-03-s08-11:~#: command not found
root@a1-03-s08-11:~# Building dependency tree
-bash: Building: command not found
root@a1-03-s08-11:~# Reading state information... Done
-bash: Reading: command not found
root@a1-03-s08-11:~# You might want to run 'apt-get -f install' to correct these:
-bash: You: command not found
root@a1-03-s08-11:~# The following packages have unmet dependencies:
-bash: The: command not found
root@a1-03-s08-11:~#  linux-image-extra-4.4.0-141-generic : Depends: linux-image-4.4.0-141-generic but it is not going to be installed
-bash: linux-image-extra-4.4.0-141-generic: command not found
root@a1-03-s08-11:~#  linux-image-generic : Depends: linux-image-4.4.0-141-generic but it is not going to be installed
-bash: linux-image-generic: command not found
root@a1-03-s08-11:~#                        Recommends: thermald but it is not going to be installed
-bash: Recommends:: command not found
root@a1-03-s08-11:~# E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
-bash: syntax error near unexpected token `('
root@a1-03-s08-11:~# root@a1-03-s08-11:~# apt-get -f install
-bash: root@a1-03-s08-11:~#: command not found
root@a1-03-s08-11:~# Reading package lists... Done
-bash: Reading: command not found
root@a1-03-s08-11:~# Building dependency tree
-bash: Building: command not found
root@a1-03-s08-11:~# Reading state information... Done
-bash: Reading: command not found
root@a1-03-s08-11:~# Correcting dependencies... Done
-bash: Correcting: command not found
root@a1-03-s08-11:~# The following additional packages will be installed:
-bash: The: command not found
root@a1-03-s08-11:~#   linux-image-4.4.0-141-generic
-bash: linux-image-4.4.0-141-generic: command not found
root@a1-03-s08-11:~# Suggested packages:
-bash: Suggested: command not found
root@a1-03-s08-11:~#   fdutils linux-doc-4.4.0 | linux-source-4.4.0 linux-tools
-bash: linux-source-4.4.0: command not found
-bash: fdutils: command not found
root@a1-03-s08-11:~#   linux-headers-4.4.0-141-generic
-bash: linux-headers-4.4.0-141-generic: command not found
root@a1-03-s08-11:~# The following NEW packages will be installed:
-bash: The: command not found
root@a1-03-s08-11:~#   linux-image-4.4.0-141-generic
-bash: linux-image-4.4.0-141-generic: command not found
root@a1-03-s08-11:~# 0 upgraded, 1 newly installed, 0 to remove and 57 not upgraded.
-bash: 0: command not found
root@a1-03-s08-11:~# 2 not fully installed or removed.
-bash: 2: command not found
root@a1-03-s08-11:~# Need to get 0 B/22.2 MB of archives.
-bash: Need: command not found
root@a1-03-s08-11:~# After this operation, 68.2 MB of additional disk space will be used.
-bash: After: command not found
root@a1-03-s08-11:~# Do you want to continue? [Y/n] y
-bash: Do: command not found
root@a1-03-s08-11:~# (Reading database ... 220941 files and directories currently installed.)
-bash: Reading: command not found
root@a1-03-s08-11:~# Preparing to unpack .../linux-image-4.4.0-141-generic_4.4.0-141.167_amd64.deb ...
-bash: Preparing: command not found
root@a1-03-s08-11:~# Examining /etc/kernel/preinst.d/
-bash: Examining: command not found
root@a1-03-s08-11:~# run-parts: executing /etc/kernel/preinst.d/intel-microcode 4.4.0-141-generic /boot/vmlinuz-4.4.0-141-generic
-bash: run-parts:: command not found
root@a1-03-s08-11:~# Done.
-bash: Done.: command not found
root@a1-03-s08-11:~# Unpacking linux-image-4.4.0-141-generic (4.4.0-141.167) ...-bash: syntax error near unexpected token `('
root@a1-03-s08-11:~# dpkg: error processing archive /var/cache/apt/archives/linux-image-4.4.0-141-generic_4.4.0-141.167_amd64.deb (--unpack):
-bash: syntax error near unexpected token `('
root@a1-03-s08-11:~#  unable to clean up mess surrounding './boot/vmlinuz-4.4.0-141-generic' before installing another version: Read-only file system
-bash: unable: command not found
root@a1-03-s08-11:~# dpkg-deb: error: subprocess paste was killed by signal (Broken pipe)
-bash: syntax error near unexpected token `('
root@a1-03-s08-11:~# Examining /etc/kernel/postrm.d .
-bash: Examining: command not found
root@a1-03-s08-11:~# run-parts: executing /etc/kernel/postrm.d/initramfs-tools 4.4.0-141-generic /boot/vmlinuz-4.4.0-141-generic
-bash: run-parts:: command not found
root@a1-03-s08-11:~# run-parts: executing /etc/kernel/postrm.d/zz-update-grub 4.4.0-141-generic /boot/vmlinuz-4.4.0-141-generic
-bash: run-parts:: command not found
root@a1-03-s08-11:~# Errors were encountered while processing:
-bash: Errors: command not found
root@a1-03-s08-11:~#  /var/cache/apt/archives/linux-image-4.4.0-141-generic_4.4.0-141.167_amd64.deb
-bash: /var/cache/apt/archives/linux-image-4.4.0-141-generic_4.4.0-141.167_amd64.deb: Permission denied
root@a1-03-s08-11:~# E: Sub-process /usr/bin/dpkg returned an error code (1)
-bash: syntax error near unexpected token `('
root@a1-03-s08-11:~# root@a1-03-s08-11:~#
-bash: root@a1-03-s08-11:~#: command not found
root@a1-03-s08-11:~#

在此之后,无论我尝试安装什么,我都会不断收到一些依赖项错误。我甚至无法更新软件包。我想升级内核,但结果还是一样

答案1

问题解决了。我无法安装这些依赖项,因为 /boot 被挂载为只读。我已将其挂载为读写,如下所示mount -o remount,rw /boot ,并设法安装了我需要的一切。就是这样。就这么简单 :)

我确实看到了这个错误,但我最初尝试这样挂载mount -o remount,rw ./boot ,但没有成功

相关内容