Ubuntu Server 9.04 – Errors
Just a few errors that cropped up during my Ubuntu fun yesterday:
Problem 1: Unmet dependancies during ubunutu-desktop install
root@userv:~# apt-get install ubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies.
ubuntu-desktop: Depends: alacarte but it is not going to be installed
Depends: cups but it is not going to be installed
[Load more depends]
Recommends: apport-gtk but it is not going to be installed
[Load more recommends]
E: Broken packages
This problem was as a result of the hosting company having their own servers in /etc/apt/sources.list, it was fixed by replacing them with the proper Ubuntu versions (here’s an untouched version). Best idea is probably to SFTP it over.
Problem 2: ACPI service not starting
root@dead:~# apt-get install ubuntu-desktop
Reading package lists... Done
Building dependency tree
Reading state information... Done
ubuntu-desktop is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
3 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Setting up acpid (1.0.6-9ubuntu4.9.04.3) ...
* Starting ACPI services...
acpid: can't open /proc/acpi/event: No such file or directory
invoke-rc.d: initscript acpid, action "start" failed.
dpkg: error processing acpid (--configure):
subprocess post-installation script returned error exit status 1
dpkg: dependency problems prevent configuration of acpi-support:
acpi-support depends on acpid (>= 1.0.4-1ubuntu4); however:
Package acpid is not configured yet.
dpkg: error processing acpi-support (--configure):
dependency problems - leaving unconfigured
dpkg: dependency problems prevent configuration of ubuntu-desktop:
ubuntu-desktop depends on acpid; however:
Package acpid is not configured yet.
dpkg: error processing ubuntu-desktop (--configure):
dependency problems - leaving unconfigured
No apport report written because the error message indicates its a followup error from a previous failure.
No apport report written because the error message indicates its a followup error from a previous failure.
Errors were encountered while processing:
acpid
acpi-support
ubuntu-desktop
E: Sub-process /usr/bin/dpkg returned an error code (1)
I actually didn’t manage to fix this, no idea why it happened. I think it might be something to do with ACPI not being compiled into the kernel, or something. I’ve no idea really.
/proc/acpi looks very empty…
root@userv:~$ ls /proc/acpi/
embedded_controller power_resource processor thermal_zone
When it should look more like
root@userv:~$ ls /proc/acpi/
ac_adapter dsdt fadt power_resource thermal_zone
battery embedded_controller fan processor video
button event info sleep wakeup
While the install didn’t appear to finish, Gnome still started when I fired it into the xstartup file, so it’s all good!