You are not logged in.

#1 2014-04-17 01:33:36

ajp
Member
Registered: 2013-10-30
Posts: 1

[Solved] Problem installing 'perf' due to virtual dependency 'audit'

When I try to install the `perf` package, it fails due to the dependency `audit`

┌─[ap Thufir] [~]
└─[1] sudo pacman -S perf
resolving dependencies...
warning: cannot resolve "audit", a dependency of "perf"
:: The following package cannot be upgraded due to unresolvable dependencies:
      perf

:: Do you want to skip the above package for this upgrade? [y/N] n
error: failed to prepare transaction (unexpected error)

looking at the page for the package (https://www.archlinux.org/packages/comm … 6_64/perf/), the `audit` dependency is listed as virtual.
A previous thread about virtual dependencies (https://bbs.archlinux.org/viewtopic.php?id=162983) suggests that this indicates a bug in the package description.

Should I file this as a bug against the perf package?

In addition, regardless of whether or not the package description has a bug, what can I do to get `perf` installed?

Note: I have updated my package lists with `pacman -Syy`

~~~~~~~~~~~~~~~

resolution is that this is a known issue, as of https://mailman.archlinux.org/pipermail … 26183.html

Last edited by ajp (2014-04-17 18:16:34)

Offline

#2 2014-04-17 02:08:50

headkase
Member
Registered: 2011-12-06
Posts: 1,986

Re: [Solved] Problem installing 'perf' due to virtual dependency 'audit'

You should never just "-Syy," you should either "-Syyu" or immediately follow "-Syy" with a "-Syu."

https://bbs.archlinux.org/viewtopic.php?id=89328

Syy just updates the package database but doesn't upgrade any packages to their newest versions.  This can lead to dependency problems in some situations.  Arch is meant to always be completely up-to-date.  Partial, or not syncing when you update the database, upgrades are not supported.

I may be wrong on this but I don't think so.  Anyone?

Offline

#3 2014-04-17 03:50:23

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,694

Re: [Solved] Problem installing 'perf' due to virtual dependency 'audit'

There is already a bug report and a email on the arch-dev-public mailing list. The maintainer will take care of it.

Online

Board footer

Powered by FluxBB