我在使 UBUNTU 正常工作时遇到了多个问题。
运行后出现错误页面apt-get install -f
错误结束于:
6b39-1.13.11-0ubuntu0.14.04.1); however:
Package openjdk-6-jre-headless:amd64 is not configured yet.
No apport report written because MaxReports is reached alreadydpkg: error
Errors were encountered while processing:
ca-certificates-java
openjdk-7-jre-headless:amd64
openjdk-6-jre-headless:amd64
udev
openjdk-7-jre:amd64
xserver-xorg-core
xserver-xorg-video-glamoregl
xserver-xorg-video-r128
xserver-xorg-video-mach64
xserver-xorg-video-radeon
xserver-xorg-video-ati
xserver-xorg-video-cirrus
xserver-xorg-video-fbdev
xserver-xorg-video-intel
xserver-xorg-video-mga
xserver-xorg-video-modesetting
xserver-xorg-video-neomagic
xserver-xorg-video-nouveau
xserver-xorg-video-openchrome
xserver-xorg-video-qxl
xserver-xorg-video-s3
xserver-xorg-video-savage
xserver-xorg-video-siliconmotion
xserver-xorg-video-sis
xserver-xorg-video-sisusb
xserver-xorg-video-tdfx
xserver-xorg-video-trident
xserver-xorg-video-vesa
xserver-xorg-video-vmware
xserver-xorg-video-all
xserver-xorg-input-evdev
xserver-xorg-input-synaptics
xserver-xorg-input-mouse
xserver-xorg-input-vmmouse
xserver-xorg-input-wacom
xserver-xorg-input-all
xserver-xorg
icedtea-6-jre-cacao:amd64
icedtea-6-jre-jamvm:amd64
E: Sub-process /usr/bin/dpkg returned an error code (1)
我对 Linux 的经验非常少!!!!
我还下载了 NVida linux Vulkan 图形驱动程序,但由于以下原因,它们无法安装:
root@AMDX6CORE:~# ./NVIDIA-Linux-x86_64-364.16.run
ERROR: Temporary directory /tmp is not executable - use the --tmpdir option to specify a different one.
答案1
我找到了 90% 的修复方法 https://bugs.launchpad.net/ubuntu/+source/systemd/+bug/1325142
下面已经解决了我的大部分(90-95%)问题。
(注1)
sudo dpkg-divert --local --add /etc/init.d/systemd-logind
(注2)
sudo ln -s /bin/true /etc/init.d/systemd-logind
(This now works)
sudo apt-get update
sudo apt-get upgrade
sudo apt-get -f install
sudo dpkg --configure -a
我不明白为什么这会起作用,它就是起作用了......一些古老的 ubuntu BUG 又回来困扰他们了......