Community Packages

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#49901 - [certbot] error: failed to commit transaction (conflicting files: "/var/log")

Attached to Project: Community Packages
Opened by Eric Wang (enihcam) - Friday, 01 July 2016, 07:31 GMT
Last edited by Doug Newgard (Scimmia) - Sunday, 03 July 2016, 03:10 GMT
Task Type Bug Report
Category Packages
Status Closed
Assigned To No-one
Architecture All
Severity Medium
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Description:

[code]

nanw@archnet /var/log $ yaourt -S certbot -v
Root : /
Conf File : /etc/pacman.conf
DB Path : /var/lib/pacman/
Cache Dirs: /var/cache/pacman/pkg/
Hook Dirs : /usr/share/libalpm/hooks/ /etc/pacman.d/hooks/
Lock File : /var/lib/pacman/db.lck
Log File : /var/log/pacman.log
GPG Dir : /etc/pacman.d/gnupg/
Targets : community/certbot
resolving dependencies...
looking for conflicting packages...

Packages (34) dialog-1:1.3_20160424-1 python2-acme-0.8.1-1 python2-cffi-1.7.0-1
python2-chardet-2.3.0-2 python2-configargparse-0.10.0-1 python2-configobj-5.0.6-2
python2-cryptography-1.4-1 python2-enum34-1.1.6-1 python2-funcsigs-1.0.2-1
python2-idna-2.1-1 python2-ipaddress-1.0.16-1 python2-mock-2.0.0-1
python2-ndg-httpsclient-0.4.1-1 python2-packaging-16.7-1 python2-parsedatetime-2.1-1
python2-pbr-1.10.0-1 python2-ply-3.8-1 python2-psutil-4.2.0-1 python2-pyasn1-0.1.9-1
python2-pycparser-2.14-2 python2-pyopenssl-16.0.0-1 python2-pyparsing-2.1.5-1
python2-pyrfc3339-1.0-1 python2-pythondialog-3.4.0-1 python2-pytz-2016.4-1
python2-requests-2.10.0-1 python2-setuptools-1:23.1.0-1 python2-six-1.10.0-1
python2-urllib3-1.16-1 python2-werkzeug-0.11.10-1 python2-zope-component-4.2.2-1
python2-zope-event-4.2.0-1 python2-zope-interface-4.2.0-1 certbot-0.8.1-1

Total Installed Size: 25.88 MiB

:: Proceed with installation? [Y/n]
(34/34) checking keys in keyring [##################################] 100%
(34/34) checking package integrity [##################################] 100%
(34/34) loading package files [##################################] 100%
(34/34) checking for file conflicts [##################################] 100%
error: failed to commit transaction (conflicting files)
certbot: /var/log exists in filesystem
Errors occurred, no packages were upgraded.

[/code]


Additional info:
* package version(s)
* config and/or log files etc.


Steps to reproduce:
This task depends upon

Closed by  Doug Newgard (Scimmia)
Sunday, 03 July 2016, 03:10 GMT
Reason for closing:  Not a bug
Comment by Doug Newgard (Scimmia) - Friday, 01 July 2016, 13:39 GMT
Have you replaced the /var/log/ dir with a symlink or something?
Comment by Eric Wang (enihcam) - Sunday, 03 July 2016, 02:38 GMT
yes, /var/log is a symlink. However it's not an excuse of the failure, right? I have other packages warn about this, but none of them block the installation. :)
Comment by Doug Newgard (Scimmia) - Sunday, 03 July 2016, 03:10 GMT
Yeah, you can't replace managed dirs with symlinks. Use bind mounts.

Loading...