JFYI: apt-get upgrade: grml-scripts <-> xserver-xorg-core

Hi,
Preface =======
I noticed that several users are still using the old, deprecated grml-repository (http://grml.org/repos/) instead of the new one (http://deb.grml.org/). Please check whether you are using http://deb.grml.org/ already - if not adjust your sources.list according to the documentation on http://deb.grml.org/
Problem =======
If you stumble upon the following problem:
,---- [ upgrade-log ] | Preparing to replace xserver-xorg-core 2:1.1.1-21 (using .../xserver-xorg-core_2%3a1.3.0.0.dfsg-2_i386.deb) ... | Unpacking replacement xserver-xorg-core ... | dpkg: error processing /var/cache/apt/archives/xserver-xorg-core_2%3a1.3.0.0.dfsg-2_i386.deb (--unpack): | trying to overwrite `/usr/share/man/man1/gtf.1.gz', which is also in package grml-scripts | dpkg-deb: subprocess paste killed by signal (Broken pipe) | Errors were encountered while processing: | /var/cache/apt/archives/xserver-xorg-core_2%3a1.3.0.0.dfsg-2_i386.deb | E: Sub-process /usr/bin/dpkg returned an error code (1) `----
then please read on for details:
Reason ======
Starting with version 2:1.2.99.905-2 the xserver-xorg-core package ships an utility named gtf which was part of grml-scripts already. The grml-scripts package does not ship the binary any longer of course, but installation of new xserver-xorg-core package fails if the grml-scripts package is not yet up2date.
Solution ========
Just upgrade the grml-scripts package before upgrading the xserver-xorg-core package. Just execute:
# apt-get update # apt-get install grml-scripts # apt-get upgrade [...]
or the faster version using the zsh aliases of grml ;) ->
# au ; agi grml-scripts ; ag
JFYI && regards, -mika-
Teilnehmer (1)
-
Michael Prokop