Mail Filtering section refers to a non-existent package

Bug #1445823 reported by Brenda
20
This bug affects 5 people
Affects Status Importance Assigned to Milestone
Ubuntu Server Guide
Confirmed
Undecided
Unassigned

Bug Description

I followed the guide at https://help.ubuntu.com/lts/serverguide/mail-filtering.html to configure mail filtering on a newly installed Ubuntu 14.04.2 server.

When I tried "sudo apt-get install arj cabextract cpio lha nomarch pax rar unrar unzip zip", it failed to install lha.

The multiverse repositories are already enabled in /etc/apt/sources.list, so that's not the issue.

The error message is:

bbell@saturn:/etc/postfix$ sudo apt-get install lha
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package lha is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'lha' has no installation candidate

Please fix the instructions for getting lha installed, or remove it from the list of filters.

The package exists in lucid and precise, but not trusty.

summary: - Possible error in documentation
+ Mail Filtering section refers to a non-existent package
Changed in serverguide:
status: New → Confirmed
description: updated
Revision history for this message
Peter Matulis (petermatulis) wrote :

There is a package 'lha' in Precise but not in Trusty. However, there is something called 'lhasa' in Trusty and it appears to be a replacement.

$ apt-cache show lhasa
.
.
.
Description-en: lzh archive decompressor
 Lhasa lha is a tool for parsing LHA (.lzh) archives and a free
 replacement for the Unix LHA tool.
 .
 Currently it is only possible to read from (ie. decompress) archives;
 generating (compressing) LHA archives may be an enhancement for future
 versions. The aim is to be compatible with as many different variants
 of the LHA file format as possible, including LArc (.lzs) and
 PMarc (.pma).
 .
 The command line tool aims to be interface-compatible with the non-free
 Unix LHA tool (command line syntax and output), for backwards
 compatibility with tools that expect particular output.

Revision history for this message
Ted Cox (ted-m-cox) wrote :

I can submit a merge proposal to change lha to lhasa in the installation instructions, if someone could confirm that that is indeed the correct package.

Revision history for this message
Todd Taft (taft) wrote :

This problem still exists in the 16.04 documents.

In 16.04:
aptitude show lha
No current or candidate version found for lha
Package: lha
State: not a real package
Provided by: jlha-utils (0.1.6-4), lhasa (0.3.0-2)

So, lhasa should work.

Revision history for this message
Todd Taft (taft) wrote :

The community documentation at https://help.ubuntu.com/community/PostfixAmavisNew also suggests replacing the package lha with lhasa in 14.04+.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.