Public bug reported:

When attempting to install phpunit from -proposed on Xenial, I get the
following error message:

$ sudo apt install phpunit
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:
 phpunit : Depends: php-codecoverage (>= 3.0) but 2.2.4+dfsg-1 is to be 
installed
E: Unable to correct problems, you have held broken packages.

Thus I'm unable to install the package.

So what about php-codecoverage? Well, as mentioned above,  2.2.4+dfsg-1
is in the release archives, but doesn't fullfill the version
requirement. Phph-codecoverage 3.0.2+dfsg-1  is in Xenial proposed, but
it fails to build, because it in turn depends on phpunit >= 5 (see
https://launchpadlibrarian.net/227235963/buildlog_ubuntu-xenial-amd64
.php-codecoverage_3.0.2%2Bdfsg-1_BUILDING.txt.gz for details).

So phpunit built successfully, but the binary requires a newer version
of php-codecoverage which in turn won't build because phpunit cannot be
installed.

(This issue is also affecting various other php*-packages which depend
on phpunit, but this seems to be the core issue.)

ProblemType: Bug
DistroRelease: Ubuntu 16.04
Package: phpunit (not installed)
ProcVersionSignature: Ubuntu 4.2.0-16.19-generic 4.2.3
Uname: Linux 4.2.0-16-generic x86_64
ApportVersion: 2.19.2-0ubuntu3
Architecture: amd64
CurrentDesktop: Unity
Date: Sun Nov 22 12:51:53 2015
InstallationDate: Installed on 2015-10-24 (28 days ago)
InstallationMedia: Ubuntu 15.10 "Wily Werewolf" - Release amd64 (20151021)
SourcePackage: phpunit
UpgradeStatus: No upgrade log present (probably fresh install)

** Affects: php-codecoverage (Ubuntu)
     Importance: Undecided
         Status: New

** Affects: phpunit (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug ftbfs unmetdeps xenial

** Tags added: ftbfs unmetdeps

** Also affects: php-codecoverage (Ubuntu)
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1518701

Title:
  Circular dependency: unable to install phpunit from -proposed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/php-codecoverage/+bug/1518701/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to