Pacman

Welcome to the Pacman bug tracker. Please search the current bugs and feature requests before filing a new one! Use advanced search and select "Search in Comments".

* Please select the correct category and version.
* Write a descriptive summary, background info, and provide a reproducible test case whenever possible.
Tasklist

FS#15204 - Makepkg does not track provider packages.

Attached to Project: Pacman
Opened by Xyne (Xyne) - Sunday, 21 June 2009, 22:43 GMT
Last edited by Allan McRae (Allan) - Monday, 22 June 2009, 01:30 GMT
Task Type Bug Report
Category General
Status Closed
Assigned To No-one
Architecture All
Severity Low
Priority Normal
Reported Version 3.2.2
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

"makepkg -r -s" will install a package that provide a dependency but it does not track that package in order to remove it. Instead, makepkg will try to remove the provided packages and throw an error when this cannot be found. It needs to replace the internal representation of the dependency with the provider package to that this can be removed automatically when using the "-r" flag.

Example with carmetal from the AUR which requires "java-runtime":
makepkg -rs carmetal
==> Making package: carmetal 2.9.8-1 any
==> Checking Runtime Dependencies...
==> Installing missing dependencies...
warning: provider package was selected (openjdk6 provides java-runtime)
resolving dependencies...
looking for inter-conflicts...

Targets (3): xdg-utils-1.0.2-2 ca-certificates-java-20081028-2 openjdk6-1.5-2

Total Download Size: 67.03 MB
Total Installed Size: 146.59 MB

Proceed with installation? [Y/n]
:: Retrieving packages from extra...

...

==> Removing installed dependencies...
java-runtime not found, searching for group...
error: 'java-runtime': not found in local db
==> WARNING: Failed to remove installed dependencies.


This task depends upon

Closed by  Allan McRae (Allan)
Monday, 22 June 2009, 01:30 GMT
Reason for closing:  Duplicate
Additional comments about closing:   FS#15144 

Loading...