Error Depends: libcap1 but it is not installable

Bug #486015 reported by Tyler Schoenke
20
This bug affects 2 people
Affects Status Importance Assigned to Milestone
nepenthes (Ubuntu)
Fix Released
Medium
Unassigned
Karmic
Fix Released
Undecided
Unassigned

Bug Description

Binary package hint: nepenthes

I tried installing Nepenthes 0.2.2 from the Synaptic Package Manager, and it gives the following error:
Error Depends: libcap1 but it is not installable

I'm using Ubuntu 9.10 with Nepenthes package 0.2.2-3ubuntu1. I expected Nepenthes to install without errors since it is a pre-built package. It appears that libcap1 was depreciated for libcap2, but the Nepenthes package wasn't updated to work with libcap2.

Changed in nepenthes (Ubuntu):
assignee: nobody → Ilya Barygin (randomaction)
status: New → In Progress
Revision history for this message
Ilya Barygin (randomaction) wrote :

Tyler, thanks for reporting it.

This is a problem for Lucid as well. The package needs to be rebuilt, but currently it FTBFS.

For Lucid, we might as well merge it with 0.2.2-4. The part of the fix which is relevant for Debian can be found at http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=526668 .

Revision history for this message
Ilya Barygin (randomaction) wrote :

0.2.2-4 vs 0.2.2-4ubuntu1

Revision history for this message
Ilya Barygin (randomaction) wrote :

0.2.2-3ubuntu1 vs 0.2.2-4ubuntu1

Revision history for this message
Ilya Barygin (randomaction) wrote :

SRU justification

The package is not installable.
The problem is being addressed in Lucid by rebuilding package to pick up correct binary dependencies. This involves patching source to add necessary headers (for gcc 4.4 / eglibc 2.10) and building without strict-aliasing optimizations because upstream code isn't clean in this respect.

TEST CASE:
$ sudo apt-get install nepenthes
[sudo] password:
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:
  nepenthes: Depends: libcap1 but it is not installable
E: Broken packages

Revision history for this message
Ilya Barygin (randomaction) wrote :

Subscribed u-u-s and motu-sru.

Changed in nepenthes (Ubuntu):
assignee: Ilya Barygin (randomaction) → nobody
status: In Progress → Confirmed
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

Uploaded. Thanks for your contribution!

I modified a bit the changelog, and added a change to have a cleaner debdiff from now on ;-)

Thanks,
Fabrice

Changed in nepenthes (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Fix Committed
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package nepenthes - 0.2.2-4ubuntu1

---------------
nepenthes (0.2.2-4ubuntu1) lucid; urgency=low

  [ Ilya Barygin ]
  * Merge from Debian testing (LP: #486015), remaining changes:
    - 06_warn_unused_result.dpatch: Patch several source files to take
      results from various function call in order to fix FTBFS.
  * New patch 07_includes_for_eglibc_2.10.dpatch to fix FTBFS due to
    missing headers.
  * Build with -fno-strict-aliasing to avoid build errors.

  [ Fabrice Coutadeur ]
  * debian/rules: moved config.guess and config.guess creation from clean to
    build target to reduce the size of the debdiff.
 -- Ilya Barygin <email address hidden> Thu, 10 Dec 2009 21:26:49 +0300

Changed in nepenthes (Ubuntu):
status: Fix Committed → Fix Released
Revision history for this message
Fabrice Coutadeur (fabricesp) wrote :

SRU uploaded to -proposed.
Waiting for SRU approval.

Ilya: In your changelog entry, remember to target -proposed for a SRU instead of -updates, and also remember to always mention the file you modify (debian/rules for the CXX flag in that case).

Thanks,
Fabrice

Revision history for this message
Martin Pitt (pitti) wrote : Please test proposed package

Accepted nepenthes into karmic-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!

Changed in nepenthes (Ubuntu Karmic):
status: New → Fix Committed
tags: added: verification-needed
Revision history for this message
Ilya Barygin (randomaction) wrote :

0.2.2-3ubuntu1.1 installs from archive.

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

This bug was fixed in the package nepenthes - 0.2.2-3ubuntu1.1

---------------
nepenthes (0.2.2-3ubuntu1.1) karmic-proposed; urgency=low

  * Rebuild for libcap1 -> libcap2 transition (LP: #486015).
  * New patches 06_includes_for_eglibc_2.10.dpatch,
    07_includes_for_gcc_4.4.dpatch to fix FTBFS due to missing headers
  * debian/rules: Build with -fno-strict-aliasing to avoid build errors.
 -- Ilya Barygin <email address hidden> Thu, 10 Dec 2009 20:41:38 +0300

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

Other bug subscribers

Remote bug watches

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