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#27501 - zprofile file conflict on upgrading from 4.3.12 to 4.3.14-2

Attached to Project: Arch Linux
Opened by Milkii Brewster (milkmiruku) - Friday, 09 December 2011, 07:05 GMT
Last edited by Andrea Scarpino (BaSh) - Friday, 09 December 2011, 08:53 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To No-one
Architecture x86_64
Severity High
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Description:

I get an error on upgrading 4.3.12 to 4.3.14-2 noting that /etc/zsh/zprofile already exists.


Steps to reproduce:

the tail end of;

$ sudo pacman -S zsh --debug

is;

Proceed with installation? [Y/n]
debug: using cachedir: /var/cache/pacman/pkg/
checking package integrity...
debug: found cached pkg: /var/cache/pacman/pkg/zsh-4.3.14-2-x86_64.pkg.tar.xz
debug: md5(/var/cache/pacman/pkg/zsh-4.3.14-2-x86_64.pkg.tar.xz) = bac342cc7ec6236c721ee0be58e8e750
debug: replacing pkgcache entry with package file for target zsh
debug: found cached pkg: /var/cache/pacman/pkg/zsh-4.3.14-2-x86_64.pkg.tar.xz
debug: starting package load for /var/cache/pacman/pkg/zsh-4.3.14-2-x86_64.pkg.tar.xz
debug: sorting package filelist for /var/cache/pacman/pkg/zsh-4.3.14-2-x86_64.pkg.tar.xz
checking for file conflicts...
debug: looking for file conflicts
debug: searching for file conflicts: zsh
debug: searching for filesystem conflicts: zsh
debug: checking possible conflict: /etc/zsh/zprofile
debug: found file conflict /etc/zsh/zprofile, packages zsh and (filesystem)
error: failed to commit transaction (conflicting files)
zsh: /etc/zsh/zprofile exists in filesystem
Errors occurred, no packages were upgraded.
debug: unregistering database 'local'
debug: freeing package cache for repository 'local'
debug: unregistering database 'core'
debug: freeing package cache for repository 'core'
debug: unregistering database 'extra'
debug: freeing package cache for repository 'extra'
debug: unregistering database 'community'
debug: unregistering database 'multilib'
This task depends upon

Closed by  Andrea Scarpino (BaSh)
Friday, 09 December 2011, 08:53 GMT
Reason for closing:  Not a bug
Additional comments about closing:  see comments
Comment by Andrea Scarpino (BaSh) - Friday, 09 December 2011, 07:18 GMT
$ pacman -Qo /etc/zsh/zprofile
Comment by Milkii Brewster (milkmiruku) - Friday, 09 December 2011, 08:29 GMT
"error: No package owns /etc/zsh/zprofile"

well that's dang weird. while i've acquired a lot of Zsh config that i'm currently refactoring, zprofile still has the same creation date and time as the other /etc/zsh files. i'll just rm it manually, but this is my first pacman upgrade error so i thought i'd report it just in case something was packaged wrong.
Comment by Andrea Scarpino (BaSh) - Friday, 09 December 2011, 08:53 GMT
No package owns it so we didn't install it, you did. Remove it, and run the update again.

Loading...