Control: severity -1 wishlist Control: retitle -1 zsh: Fails to upgrade from Wheezy to Jessie if 3rd-party package grml-etc-core is installed
Hi Thorsten, Thorsten Glaser wrote: > On Mon, 27 May 2013, Axel Beckert wrote: > > So I suspect it only happens on upgrades plus some other not yet clear > > circumstances. > > The only thing I can think of is having grml-etc-core installed, Ah, that's an important information, because grml-etc-core does evil things by diverting zsh conffiles away in its maintainer scripts, e.g. here: http://git.grml.org/?p=grml-etc-core.git;a=blob;f=debian/preinst > which is really the only reason left that zsh is installed too ☺ Huh, why that? There are mostly zsh, vim, git and hg configs in that package and as everyone knows, you use mksh, jupp and cvs. :-) > > Will check. Ok, so installing a virgin VM with Wheezy, installing zsh, adding a line saying "true" to every file in /etc/zsh/ and then switching to jessie and saying "apt-get install zsh" to upgrade zsh from 4.3.17-1 to 5.0.2-3 works fine. It just asks about a modified zshrc: [...] Setting up zsh-common (5.0.2-3) ... Configuration file `/etc/zsh/zshrc' ==> Modified (by you or by a script) since installation. ==> Package distributor has shipped an updated version. What would you like to do about it ? Your options are: Y or I : install the package maintainer's version N or O : keep your currently-installed version D : show the differences between the versions Z : start a shell to examine the situation The default action is to keep your current version. *** zshrc (Y/I/N/O/D/Z) [default=N] ? n Setting up zsh (5.0.2-3) ... [...] Now checking with additional grml-etc-core installed and not modifying any zsh conffiles manually: Preparing to replace zsh 4.3.17-1 (using .../archives/zsh_5.0.2-3_amd64.deb) ... Unpacking replacement zsh ... Selecting previously unselected package zsh-common. Unpacking zsh-common (from .../zsh-common_5.0.2-3_all.deb) ... dpkg: error processing /var/cache/apt/archives/zsh-common_5.0.2-3_all.deb (--unpack): trying to overwrite '/etc/zsh/zshenv', which is also in package zsh 5.0.2-3 dpkg-deb: error: subprocess paste was killed by signal (Broken pipe) Processing triggers for man-db ... Errors were encountered while processing: /var/cache/apt/archives/zsh-common_5.0.2-3_all.deb E: Sub-process /usr/bin/dpkg returned an error code (1) root@acromantula-domu1:~# dpkg-divert --list grml-etc-core diversion of /etc/zsh/zshenv to /etc/zsh/zshenv.original by grml-etc-core diversion of /etc/zsh/zlogin to /etc/zsh/zlogin.original by grml-etc-core diversion of /etc/zsh/zprofile to /etc/zsh/zprofile.original by grml-etc-core diversion of /etc/zsh/zshrc to /etc/zsh/zshrc.original by grml-etc-core diversion of /etc/zsh/zlogout to /etc/zsh/zlogout.original by grml-etc-core diversion of /etc/vim/vimrc to /etc/vim/vimrc.original by grml-etc-core root@acromantula-domu1:~# Diverting conffiles is not supported by Debian (see dpkg-divert(8)) and hence issues have to be expected when being done anyway. Hence lowering the severity to wishlist. Regards, Axel -- ,''`. | Axel Beckert <[email protected]>, http://people.debian.org/~abe/ : :' : | Debian Developer, ftp.ch.debian.org Admin `. `' | 1024D: F067 EA27 26B9 C3FC 1486 202E C09E 1D89 9593 0EDE `- | 4096R: 2517 B724 C5F6 CA99 5329 6E61 2FF9 CD59 6126 16B5 -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

