use of dpkg-vendor requires dpkg-dev

Bug #645328 reported by Colin Watson on 2010-09-22
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
cups (Ubuntu)
High
Martin Pitt
Maverick
High
Martin Pitt

Bug Description

Binary package hint: cups

From a test upgrade from lucid on a system where I can't conveniently run apport:

Preparing to replace cups 1.4.3-1ubuntu1.2 (using .../archives/cups_1.4.4-5_i386.deb) ...
 * Stopping Common Unix Printing System: cupsd [ OK ]
/var/lib/dpkg/tmp.ci/preinst: 77: dpkg-vendor: not found

dpkg-vendor is in dpkg-dev, which we can't expect to be on user systems. Please preprocess the preinst script according to dpkg-vendor output at build-time, rather than trying to use it at run-time.

I think this is serious because it means that the old init script won't be replaced by an upstart job for many users when upgrading from lucid, so I'm going to target this bug to the 10.10 release. When you fix this bug, I suggest bumping the version guard from 1.4.4-4, to account for users who may have already upgraded from lucid to a development version of maverick without dpkg-dev installed.

Changed in cups (Ubuntu Maverick):
assignee: nobody → Martin Pitt (pitti)
Colin Watson (cjwatson) on 2010-09-22
Changed in cups (Ubuntu Maverick):
milestone: none → ubuntu-10.10
Martin Pitt (pitti) on 2010-09-22
Changed in cups (Ubuntu Maverick):
status: New → In Progress
importance: Undecided → High
Martin Pitt (pitti) on 2010-09-22
Changed in cups (Ubuntu Maverick):
status: In Progress → Fix Committed
Martin Pitt (pitti) wrote :

Uploaded, awaiting release team member review now.

Launchpad Janitor (janitor) wrote :

This bug was fixed in the package cups - 1.4.4-6

---------------
cups (1.4.4-6) unstable; urgency=low

  * debian/cups.preinst: Go back to using lsb-release, since dpkg-vendor is
    not installed by default (it's in dpkg-dev). Bump the version guard to
    this version, to reattempt the migration. (LP: #645328)
 -- Martin Pitt <email address hidden> Thu, 23 Sep 2010 08:47:11 +0200

Changed in cups (Ubuntu Maverick):
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers