liblz4-tool packaged incorrectly re liblz4-1 ?

Asked by kimble

I have Lubuntu 16.04 which uses lubuntu-desktop. That pseudo-package includes liblz4-1 (= 0.0~r131-2ubuntu2).
I am now trying to install iRedMail_0.9.6 by means of its bash script, which calls for liblz4-tool to be installed.
But instead of having the dependency liblz4-1 (= 0.0~r131-2ubuntu2) liblz4-tool wants liblz4-1 (= 0.0~r131-2) and can't match it.

====
$ sudo apt install liblz4-tool
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:
 liblz4-tool : Depends: liblz4-1 (= 0.0~r131-2) but 0.0~r131-2ubuntu2 is to be installed
E: Unable to correct problems, you have held broken packages.
$
====

Is liblz4-tool packaged incorrectly?

http://packages.ubuntu.com/xenial/liblz4-tool
Package: liblz4-tool (0.0~r131-2ubuntu2) [universe]
Dependencies:
    liblz4-1 (= 0.0~r131-2ubuntu2)

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
kimble
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

I suggest you report a bug

Revision history for this message
kimble (kimble-dave) said :
#2
Revision history for this message
Manfred Hampl (m-hampl) said :
#3

I assume that you have an outdated version of liblz4-tool on your system, and updating to the current version might help.

What is the output of the commands

apt-cache policy liblz4-tool liblz4-1

apt-get --simulate dist-upgrade

Revision history for this message
kimble (kimble-dave) said :
#4

# liblz4-tool --version
liblz4-tool: command not found

# apt-cache policy liblz4-tool liblz4-1
liblz4-tool:
  Installed: (none)
  Candidate: 0.0~r131-2
  Version table:
     0.0~r131-2 500
        500 http://ubuntu.01link.hk xenial/main amd64 Packages
liblz4-1:
  Installed: 0.0~r131-2ubuntu2
  Candidate: 0.0~r131-2ubuntu2
  Version table:
 *** 0.0~r131-2ubuntu2 100
        100 /var/lib/dpkg/status
     0.0~r131-2 500
        500 http://ubuntu.01link.hk xenial/main amd64 Packages

# apt-get --simulate dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
#

Revision history for this message
Manfred Hampl (m-hampl) said :
#5

The repository server that you use seems to be out of date.

There should be version 0.0~r131-2ubuntu2 in xenial/main amd64 Packages

I cannot find that server in the official list of repository servers, and if you look at the listing http://ubuntu.01link.hk/dists/ you see that the last update is almost a year ago.

I strongly recommend that you switch to a working repository server!

Revision history for this message
kimble (kimble-dave) said :
#6

Duh ! Thank you, thank you. I would never have thought of that.