Files not installed

Bug #929741 reported by Conrad Steenberg
78
This bug affects 13 people
Affects Status Importance Assigned to Milestone
hgview (Ubuntu)
Fix Released
Undecided
Unassigned
Precise
Fix Released
Medium
Unassigned

Bug Description

= SRU Reasoning =
== Impact ==
The package is unusable for everyone.

== Development Fix ==
Synced 1.5.0-4

== Stable Fix ==
Attached. A minimal version of 1.5.0-4 including only the .install files.

== Test Case ==
Run hgview, if it exists we've fixed the issue :)

== Regression Potential ==
Couldn't get much worse than it already is.

= Original Report =
In the hgview, hgview-common and hgview-curses packages, only the following files are installed:

/.
/usr
/usr/share
/usr/share/doc
/usr/share/doc/hgview
/usr/share/doc/hgview/README.Debian
/usr/share/doc/hgview/changelog.Debian.gz
/usr/share/doc/hgview/copyright

$ lsb_release -rd
Description: Ubuntu precise (development branch)
Release: 12.04

$ apt-cache policy hgview
hgview:
  Installed: 1.5.0-3

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in hgview (Ubuntu):
status: New → Confirmed
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

This bug is ubuntu specific, the corresponding packages in Debian are complete (http://packages.debian.org/sid/all/hgview/filelist)

Revision history for this message
Steven Almeroth (stavrosian) wrote :

I can confirm this bug, hgview is not available after upgrading to 12.04.

stav@maia:~$ hgview
No command 'hgview' found...:
hgview: command not found

stav@maia:~$ sudo apt-get remove hgview
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  hgview
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 29.7 kB disk space will be freed.
Do you want to continue [Y/n]?
(Reading database ... 323611 files and directories currently installed.)
Removing hgview ...

stav@maia:~$ sudo apt-get install hgview hgview-curses hgview-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
hgview-common is already the newest version.
hgview-curses is already the newest version.
The following NEW packages will be installed:
  hgview
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/1,894 B of archives.
After this operation, 29.7 kB of additional disk space will be used.
Do you want to continue [Y/n]?
Selecting previously unselected package hgview.
(Reading database ... 323608 files and directories currently installed.)
Unpacking hgview (from .../hgview_1.5.0-3_all.deb) ...
Setting up hgview (1.5.0-3) ...

stav@maia:~$ hgview
No command 'hgview' found...:
hgview: command not found

stav@maia:~$ uname -a
Linux maia 3.2.0-24-generic #37-Ubuntu SMP Wed Apr 25 08:43:22 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux

stav@maia:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=12.04
DISTRIB_CODENAME=precise
DISTRIB_DESCRIPTION="Ubuntu 12.04 LTS"

Revision history for this message
Iuri Diniz (iuridiniz) wrote :
Revision history for this message
Alexandre Fayolle - camptocamp (alexandre-fayolle-c2c) wrote :

The following files found in the logilab Debian repository are not part of the .diff.gz file in Ubuntu, therefore dh_install does nothing.

* hgview-common.install
* hgview-curses.install
* hgview.install

Apart from that (and an added unused file toto), the source package are identitical.

A new upload of the source package with the 3 missing files added:

--- hgview-1.5.0.orig/debian/hgview-curses.install
+++ hgview-1.5.0/debian/hgview-curses.install
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/hgviewlib/curses
--- hgview-1.5.0.orig/debian/hgview-common.install
+++ hgview-1.5.0/debian/hgview-common.install
@@ -0,0 +1,5 @@
+usr/lib/python*/*-packages/hgext
+usr/lib/python*/*-packages/hgviewlib/*.py
+usr/lib/python*/*-packages/hgviewlib/hgpatches
+usr/bin
+usr/share/man
--- hgview-1.5.0.orig/debian/hgview.install
+++ hgview-1.5.0/debian/hgview.install
@@ -0,0 +1 @@
+usr/lib/python*/*-packages/hgviewlib/qt4

tags: added: patch
Revision history for this message
Julien Cristau (jcristau) wrote :

Should be fixed in 1.5.0-4. Sorry about that. This should also be fixed in precise, but I'm not sure how to go about that.

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hgview - 1.5.0-4

---------------
hgview (1.5.0-4) unstable; urgency=low

  * Rebuild the source package with the .install files so Ubuntu doesn't get
    empty binary packages (LP: #929741). Oops.

 -- Julien Cristau <email address hidden> Tue, 29 May 2012 18:13:58 +0200

Changed in hgview (Ubuntu):
status: Confirmed → Fix Released
Changed in hgview (Ubuntu Precise):
importance: Undecided → Medium
Revision history for this message
Stefano Rivera (stefanor) wrote :
description: updated
Changed in hgview (Ubuntu Precise):
status: New → Fix Committed
Revision history for this message
Clint Byrum (clint-fewbar) wrote : Please test proposed package

Hello Conrad, or anyone else affected,

Accepted hgview into precise-proposed. The package will build now and be available in a few hours. Please test and give feedback here. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to enable and use -proposed. Thank you in advance!

tags: added: verification-needed
Revision history for this message
Conrad Steenberg (conrad-steenberg) wrote :

Works fine here, thanks!

tags: added: verification-done
removed: verification-needed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package hgview - 1.5.0-3ubuntu0.1

---------------
hgview (1.5.0-3ubuntu0.1) precise-proposed; urgency=low

  * Add missing debian/*.install files to avoid shipping empty binary packages
    (LP: #929741).
 -- Julien Cristau <email address hidden> Wed, 30 May 2012 12:08:50 +0200

Changed in hgview (Ubuntu Precise):
status: Fix Committed → 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.