Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

FS#7693 - mercurial 0.9.4-2 installation fails replacing completion file

Attached to Project: Arch Linux
Opened by Artyom Pervukhin (logus) - Saturday, 28 July 2007, 02:10 GMT
Last edited by Jeff Mickey (codemac) - Thursday, 29 November 2007, 07:03 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Jeff Mickey (codemac)
Architecture i686
Severity Low
Priority Normal
Reported Version 2007.05 Duke
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 4
Private No

Details

Description:

Installation of mercurial-0.9.4-2 while having bash-completion installed fails due to conflict in completion syntax files (/etc/bash_completion.d/hg).

Additional info:
* bash-completion 20060301-6
* mercurial 0.9.4-2
----
Targets: mercurial-0.9.4-2

Total Package Size: 0.68 MB

Proceed with installation? [Y/n] y
checking package integrity... done.
cleaning up... done.
(1/1) checking for file conflicts [#####################] 100%
error: could not prepare transaction
error: failed to commit transaction (conflicting files)
mercurial: /etc/bash_completion.d/hg exists in filesystem

errors occurred, no packages were upgraded.
----

Steps to reproduce:

Have bash-completion installed.
Try to install/upgrade mercurial to latest 0.9.4-2.
Got an error.

Workaround: removing /etc/bash_completion.d/hg before installation fixes this.
This task depends upon

Closed by  Jeff Mickey (codemac)
Thursday, 29 November 2007, 07:03 GMT
Reason for closing:  Fixed
Additional comments about closing:  I thought this was fixed.. but it wasn't!

Updated the bash-completion package to remove the hg completion from it.
Comment by Dan McGee (toofishes) - Monday, 30 July 2007, 14:28 GMT
I'd suggest removing the hg completion file from the bashcompletion package rather than the mercurial one, as the one shipped with mercurial is probably much more up to date.
Comment by Greg (dolby) - Thursday, 04 October 2007, 13:52 GMT
i agree with dan. also some completions included in the bash_completion packages like bittorrent or gkrellm are not even in the repos anymore. others maybe too. maybe a clean up?

Loading...