FS#20704 - [dovecot] upgrade breaks because of configuration file being present (...)

Attached to Project: Arch Linux
Opened by Borromini (Borromini) - Wednesday, 01 September 2010, 16:33 GMT
Last edited by Andreas Radke (AndyRTR) - Monday, 06 September 2010, 15:40 GMT
Task Type Bug Report
Category Packages: Extra
Status Closed
Assigned To Andreas Radke (AndyRTR)
Architecture All
Severity Low
Priority Normal
Reported Version 3.4.0
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

Summary and Info:

I upgraded my VPS today, pacman complains the dovecot config file is present so it cannot upgrade dovecot. This is really a catch 22, since dovecot pretty much needs its config file to start, to begin with. Backing up the config file temporarily of course is a useful workaround, but this shouldn't happen in the first place.

Steps to Reproduce:

[root@bellerophon stijn]# pacman -Syu
:: Synchronizing package databases...
-- EDITED -- EDITED -- EDITED -- EDITED --
:: Starting full system upgrade...
resolving dependencies...
looking for inter-conflicts...

Targets (11): sqlite3-3.7.2-1 dovecot-2.0.1-2 libfetch-2.33-1 tcp_wrappers-7.6-12 libmysqlclient-5.1.50-1 lighttpd-1.4.28-2 mysql-clients-5.1.50-1 mysql-5.1.50-1
pacman-mirrorlist-20100825-1 tzdata-2010l-1 udev-161-2

Total Download Size: 15.78 MB
Total Installed Size: 119.20 MB

Proceed with installation? [Y/n]
:: Retrieving packages from core...
-- EDITED -- EDITED -- EDITED -- EDITED --
checking package integrity...
(11/11) checking for file conflicts [############################################################] 100%
error: failed to commit transaction (conflicting files)
dovecot: /etc/dovecot/dovecot.conf exists in filesystem
Errors occurred, no packages were upgraded.
This task depends upon

Closed by  Andreas Radke (AndyRTR)
Monday, 06 September 2010, 15:40 GMT
Reason for closing:  Not a bug
Comment by Gerardo Exequiel Pozzi (djgera) - Monday, 06 September 2010, 03:41 GMT
  • Field changed: Summary (Dovecot upgrade breaks because of configuration file being present (...) → [dovecot] upgrade breaks because of configuration file being present (...))
  • Field changed: Details
@Borromini: Please attach to correct project next time and use "[packagename] description" when posible. Thanks.

Removed irrelevant parts from bug report.
Comment by Andreas Radke (AndyRTR) - Monday, 06 September 2010, 15:40 GMT
This can't be solved in a different way: use pacman -Sf dovecot (a backup will be created). The dovecot.conf file wasn't under pacman control in the past but now it is.

Loading...