Bug#245149: kdelibs4: preinst script removes conffile system.kdeglobal
Package: kdelibs4
Version: 4:3.2.2-1
Severity: serious
Justification: Policy 10.7.3
kdelibs4.preinst has
rm /etc/kde3/system.kdeglobals >& /dev/null || true
This was formerly a conffile and we used it here to redefine
default fonts, etc. Because KDE does not save a config option in
$KDEHOME if the systemwide option has the same value, all users
suddenly got debian default font (helvatica is ugly here).
As a fix I suggest to add dummy system.kdeglobals file:
# Note: Debian KDE pkg > 3.2.1 DO NOT need the
# dir_* entries in [Directory] and TerminalApplication
# in [General] anymore. Please delete them!
If system.kdeglobals was not touched people will not
be bothered and if the modified it the diff tells them
what's the right thing (tm) to do ;)
Achim
P.S curious: why not the simple rm -f? AFIAK it does the same:
$ rm -f does-not-exists-here
$ echo $?
0
-- System Information:
Debian Release: testing/unstable
APT prefers testing
APT policy: (100, 'testing'), (1, 'experimental')
Architecture: i386 (i686)
Kernel: Linux 2.6.3-laptop-1
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages kdelibs4 depends on:
ii kdelibs-bin 4:3.2.2-1 KDE core binaries
ii kdelibs-data 4:3.2.2-1 KDE core shared data
ii libart-2.0-2 2.3.16-3 Library of functions for 2D graphi
ii libarts1 1.2.2-1 aRts Sound system
ii libasound2 1.0.4-1 Advanced Linux Sound Architecture
ii libaudio2 1.6c-3 The Network Audio System (NAS). (s
ii libaudiofile0 0.2.6-3 Open-source version of SGI's audio
ii libbz2-1.0 1.0.2-1 A high-quality block-sorting file
ii libc6 2.3.2.ds1-11 GNU C Library: Shared libraries an
ii libcupsys2 1.1.20final+cvs20040330-1 Common UNIX Printing System(tm) -
ii libesd-alsa0 [ 0.2.29-1 Enlightened Sound Daemon (ALSA) -
ii libfam0c102 2.7.0-5 client library to control the FAM
ii libgcc1 1:3.3.3-6 GCC support library
ii libgcrypt1 1.1.12-4 LGPL Crypto library - runtime libr
ii libglib2.0-0 2.2.3-1 The GLib library of C routines
ii libgnutls7 0.8.12-5 GNU TLS library - runtime library
ii libice6 4.3.0-7 Inter-Client Exchange library
ii libjpeg62 6b-9 The Independent JPEG Group's JPEG
ii libmad0 0.15.0b-3 MPEG audio decoder library
ii libogg0 1.1.0-1 Ogg Bitstream Library
ii libpcre3 4.5-1.1 Perl 5 Compatible Regular Expressi
ii libpng12-0 1.2.5.0-5 PNG library - runtime
ii libqt3c102-mt 3:3.2.3-2 Qt GUI Library (Threaded runtime v
ii libsm6 4.3.0-7 X Window System Session Management
ii libstdc++5 1:3.3.3-6 The GNU Standard C++ Library v3
ii libtasn1-0 0.1.2-1 Manage ASN.1 structures (runtime)
ii libtiff3g 3.5.7-2 Tag Image File Format library
ii libvorbis0a 1.0.1-1 The Vorbis General Audio Compressi
ii libvorbisfile3 1.0.1-1 The Vorbis General Audio Compressi
ii libx11-6 4.3.0-7 X Window System protocol client li
ii libxext6 4.3.0-7 X Window System miscellaneous exte
ii libxml2 2.6.8-1 GNOME XML library
ii libxrender1 0.8.3-7 X Rendering Extension client libra
ii libxslt1.1 1.1.5-1 XSLT processing library - runtime
ii libxt6 4.3.0-7 X Toolkit Intrinsics
ii xbase-clients 4.3.0-7 miscellaneous X clients
ii xlibs 4.3.0-7 X Window System client libraries m
ii zlib1g 1:1.2.1-5 compression library - runtime
-- no debconf information
--
To me vi is Zen. To use vi is to practice zen. Every command is
a koan. Profound to the user, unintelligible to the uninitiated.
You discover truth everytime you use it.
-- reddy@lion.austin.ibm.com
Reply to: