Page MenuHomePureOS Tracker

OpenTTD Will Not Install
Closed, ResolvedPublic

Description

System Info

LabelNameVersion
HardwareLibrem 13v4
Operating SystemPureOSPrometheus 8.0 Beta 1 (64-bit)
DesktopGNOME3.30.2
Kerneln/a4.19.0-2-amd64

Description

Reproducible: Every time, both through the software center and with apt.

I had wanted a management game to play on-the-go, however, when attempting to install OpenTTD through the software center, the following is shown:

When I try to run sudo apt install openttd, I get the following error:

$ sudo apt install openttd
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:
 libxml2 : Depends: libicu63 (>= 63.1-1~) but it is not going to be installed
E: Error, pkgProblemResolver::Resolve generated breaks, this may be caused by held packages.

Attempting to install libicu63 manually with apt install shows that I already have it:

$ sudo apt install libicu63
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libicu63 is already the newest version (63.1-4).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

Just to make sure, I also attempted to install libxml2 but again, it shows that the system has it:

$ sudo apt install libxml2
Reading package lists... Done
Building dependency tree       
Reading state information... Done
libxml2 is already the newest version (2.9.4+dfsg1-7+b3).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

I have attempted to reinstall those dependencies with apt reinstall but OpenTTD will still not install.

Steps to Produce/Reproduce

Using the software center:

  1. Open the software center (Software).
  2. Search for "openttd".
  3. Click the Install button.

Using apt/apt-get:

  1. Open up a terminal window.
  2. Run the following command: sudo apt install openttd.

Expected Results

OpenTTD, along with its dependencies, should be installed.

Actual Results

OpenTTD is not installed and produces an error.

Workarounds

None

Event Timeline

akagizou updated the task description. (Show Details)Mar 26 2019, 07:59
akagizou updated the task description. (Show Details)Mar 26 2019, 08:22
akagizou updated the task description. (Show Details)

The error message hints that held packages may be the cause.

What is the output of this command: apt-mark showhold?

When I run apt-mark showhold, nothing is returned from that command.

Please try install using aptitude - in case that reveal more/different details: sudo apt install aptitude and then sudo aptitude install openttd

I ran sudo aptitude install openttd and it installed and I was able to run the game. Just to be sure, I removed both openttd and aptitude and reinstalled just openttd using apt and that worked too. I can't pinpoint what has changed but it's working now.

jonas.smedegaard closed this task as Resolved.Mar 28 2019, 07:14
jonas.smedegaard claimed this task.

Great that it works now.

Sorry, but I don't know why it failed earlier - personally I use aptitude almost exclusively.

Closing as solved, even if we don't really know how...