Please sync a2ps 4.14-1 from Debian (Unstable)

Bug #139412 reported by Sam Williams
20
Affects Status Importance Assigned to Milestone
a2ps (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: a2ps

The problem occurred after I upgraded to Gutsy. I had just performed a full re-install of Gutsy, instead of performing an upgrade. I had previously captured all the executing programs using dpkg --get-selections. I was in the process of reinstalling all of these when I encountered the problem being recorded today.

ProblemType: Package
Architecture: i386
Date: Thu Sep 13 10:08:38 2007
DistroRelease: Ubuntu 7.10
ErrorMessage: subprocess post-installation script returned error exit status 2
NonfreeKernelModules: nvidia
Package: a2ps 1:4.13c~rc5-1
PackageArchitecture: i386
SourcePackage: a2ps
Title: package a2ps 1:4.13c~rc5-1 failed to install/upgrade: subprocess post-installation script returned error exit status 2
Uname: Linux sam-desktop 2.6.22-11-generic #1 SMP Fri Sep 7 05:07:05 GMT 2007 i686 GNU/Linux

Revision history for this message
Sam Williams (sam-williams) wrote :
Revision history for this message
Ryan Lovett (ryan-spacecoaster) wrote :

I see this too on an unattented network installation. This is probably fixed by a recent patch in Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=246296

Revision history for this message
Matthew L. Dailey (matthew-l-dailey) wrote :

I can confirm this bug on hardy as of today:
# apt-get install a2ps emacsen-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  groff gv html2ps tetex-bin t1-cyrillic
Recommended packages:
  wdiff
The following NEW packages will be installed:
  a2ps emacsen-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/703kB of archives.
After this operation, 3277kB of additional disk space will be used.
Selecting previously deselected package a2ps.
(Reading database ... 193470 files and directories currently installed.)
Unpacking a2ps (from .../a2ps_1%3a4.13c~rc5-1_i386.deb) ...
Selecting previously deselected package emacsen-common.
Unpacking emacsen-common (from .../emacsen-common_1.4.17_all.deb) ...
Setting up a2ps (1:4.13c~rc5-1) ...
ERROR: emacsen-common being used before being configured.
ERROR: This is likely a bug in the a2ps package, which needs to
ERROR: add one of the appropriate dependencies.
ERROR: See /usr/share/doc/emacsen-common/debian-emacs-policy.gz
ERROR: for details.
dpkg: error processing a2ps (--configure):
 subprocess post-installation script returned error exit status 2
Setting up emacsen-common (1.4.17) ...
emacsen-common: Handling install of emacsen flavor emacs

Errors were encountered while processing:
 a2ps
E: Sub-process /usr/bin/dpkg returned an error code (1)

However, this has been fixed upstream in version 4.14. Using the package from http://ftp.us.debian.org/debian/pool/main/a/a2ps/a2ps_4.14-1_i386.deb, it works properly:
# apt-get install a2ps emacsen-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
Suggested packages:
  groff gv html2ps t1-cyrillic
Recommended packages:
  wdiff
The following NEW packages will be installed:
  a2ps emacsen-common
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 0B/944kB of archives.
After this operation, 4493kB of additional disk space will be used.
Selecting previously deselected package a2ps.
(Reading database ... 193470 files and directories currently installed.)
Unpacking a2ps (from .../a2ps_1%3a4.14-1_i386.deb) ...
Selecting previously deselected package emacsen-common.
Unpacking emacsen-common (from .../emacsen-common_1.4.17_all.deb) ...
Setting up a2ps (1:4.14-1) ...

Setting up emacsen-common (1.4.17) ...
emacsen-common: Handling install of emacsen flavor emacs

Any chance we can get the upstream package accepted into Ubuntu universe?

Changed in a2ps:
status: New → Confirmed
Revision history for this message
Matthew L. Dailey (matthew-l-dailey) wrote :

I'm subscribing ubuntu-universe-sponsors.

Please sync a2ps 4.14-1 from Debian (Unstable).

Thanks much!

Revision history for this message
Daniel Holbach (dholbach) wrote :

Can you please get an upstream and a Debian changelog for the changes?

Revision history for this message
Matthew L. Dailey (matthew-l-dailey) wrote :

Here's the Debian changelog entry for this version:

a2ps (1:4.14-1) unstable; urgency=low

  * New upstream release.
  * Bumped up Standards-Version to 3.7.3 (no physical changes).
  * Sorted out copyright information. Thanks to Patrick Schoenfeld
    - closes: #448454
  * Now use autoload, not load, in emacsen-startup. Thanks to Trent W. Buck
    - closes: #446152
  * Now a2ps try to use html2ps for parsing HTML - closes: #424161
    I'll try to support Iceweasel later.
  * Now prefer emacs22 - closes: #434914, #283828
  * Added a manpage for a2ps-lpr-wrapper. Thanks to Michael Tautschnig
    - closes: #425068
  * debian/emacsen-install: do not load site files when byte-compiling,
    and set symlinks to *.el files
    - closes: #246296, #269409, #401684, #448144
  * prerm, postinst: use emacsen-common stuff only when it is installed
    and configured.
  * rules: do not install emacsen snippets in {prerm,postinst}.
  * Many thanks to Agustin Martin Domingo for these 3 hacks above.

 -- Masayuki Hatta (mhatta) <email address hidden> Thu, 03 Jan 2008 23:38:51 +0900

And the upstream changelog:
2007-12-29 Masayuki Hatta <email address hidden>

        * Released 4.14.
        * ANNOUNCE: Updated.
        * AUTHORS: Updated.
        * README: Updated.
        * po/nl.po: Updated.
        * sheets/perl.ssh: Updated.
        * GNU a2ps is now licensed under GPLv3 or later.

2007-09-20 Masayuki Hatta <email address hidden>

        * afm/*.afm, afm/MustRead.html: Replaced license-wise vague AFMs
        with newer ones with explicit permission by Adobe (found in
        Adobe-Core35_AFMs-314.tar.gz, obtained from
        http://www.ctan.org/tex-archive/fonts/adobe/afm/). See
        afm/MustRead.html for detail. Thanks for Matthias Kilian from
        OpenBSD and Karl Berry for pointing this out.
        * afm/fontsmap: Updated.
        * tests/gps-ref/Converter.ps, tests/ps-ref/Converter.ps: Removed
        since they are non-free. Thanks for Matthias Kilian for pointing
        this out.
        * tests/gps-ref/fasttrig.ps, tests/ps-ref/fasttrig.ps: ditto.

2007-05-02 Masayuki Hatta <email address hidden>

        * ANNOUNCE: Updated for 4.14.
        * NEWS: Updated for 4.14.
        * configure.in: Updated for 4.14.
        * doc/contributors.txt: Updated for 4.14.
        * doc/make-authors.pl: Updated for 4.14.
        * doc/a2ps.texi: Chenged URL of a2ps homepage.

2007-05-01 Masayuki Hatta <email address hidden>

        * ps/base.ps: Rewrote reencode procedure for use with Adobe Distiller.
          See http://article.gmane.org/gmane.comp.printing.a2ps.bugs/2583 for de
tail.
        * man/psset.x: Fixed a typo (psmandup -> psset).

Revision history for this message
Daniel Holbach (dholbach) wrote :

ACKed.

Revision history for this message
Steve Langasek (vorlon) wrote :

Getting binaries for hardy...
[Updating] a2ps (1:4.13c~rc5-1 [Ubuntu] < 1:4.14-1 [Debian])
 * Trying to add a2ps...
  - <a2ps_4.14-1.dsc: downloading from http://ftp.debian.org/debian/>
  - <a2ps_4.14.orig.tar.gz: downloading from http://ftp.debian.org/debian/>
  - <a2ps_4.14-1.diff.gz: downloading from http://ftp.debian.org/debian/>
I: a2ps [universe] -> a2ps_1:4.13c~rc5-1 [universe].

Changed in a2ps:
status: Confirmed → Fix Released
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.