Bug#267503: upgrading from potato -- /etc/X11/Xwrapper.config not created
retitle 267503 xserver-common: /etc/X11/Xwrapper.config not created on upgrades from Debian 2.2 ("potato") severity 267503 wishlist tag 267503 + patch On Thu, Jan 13, 2005 at 12:23:51AM -0500, Brian Sammon wrote: > > Nevertheless, I'll accept a patch if it's clean, as long as that's not > > interpreted as a guarantee of potato->sarge support in general. > > Okay, how's this? > I haven't actually downloaded the source and rebuilt the packages to test > this > yet, but it looks good... > If someone else is willing to build some test binaries with this patch, I > could test those a lot faster than I would get around to downloading & > building the source myself. I'll have a look at it. Thanks for supplying this patch! -- G. Branden Robinson| Organized religion is a sham and a Debian GNU/Linux | crutch for weak-minded people who [EMAIL PROTECTED] | need strength in numbers. http://people.debian.org/~branden/ | -- Jesse Ventura signature.asc Description: Digital signature
Processed: Re: Bug#267503: upgrading from potato -- /etc/X11/Xwrapper.config not created
Processing commands for [EMAIL PROTECTED]: > retitle 267503 xserver-common: /etc/X11/Xwrapper.config not created on > upgrades from Debian 2.2 ("potato") Bug#267503: upgrading from potato -- /etc/X11/Xwrapper.config not created Changed Bug title. > severity 267503 wishlist Bug#267503: xserver-common: /etc/X11/Xwrapper.config not created on upgrades from Debian 2.2 ("potato") Severity set to `wishlist'. > tag 267503 + patch Bug#267503: xserver-common: /etc/X11/Xwrapper.config not created on upgrades from Debian 2.2 ("potato") There were no tags set. Tags added: patch > On Thu, Jan 13, 2005 at 12:23:51AM -0500, Brian Sammon wrote: Unknown command or malformed arguments to command. > > > Nevertheless, I'll accept a patch if it's clean, as long as that's not Unknown command or malformed arguments to command. > > > interpreted as a guarantee of potato->sarge support in general. Unknown command or malformed arguments to command. > > Unknown command or malformed arguments to command. > > Okay, how's this? Unknown command or malformed arguments to command. Too many unknown commands, stopping here. Please contact me if you need assistance. Debian bug tracking system administrator (administrator, Debian Bugs database) -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]
Bug#267503: upgrading from potato -- /etc/X11/Xwrapper.config not created
> Nevertheless, I'll accept a patch if it's clean, as long as that's not > interpreted as a guarantee of potato->sarge support in general. Okay, how's this? I haven't actually downloaded the source and rebuilt the packages to test this yet, but it looks good... If someone else is willing to build some test binaries with this patch, I could test those a lot faster than I would get around to downloading & building the source myself. --- xserver-common.preinst.in.orig 2005-01-12 17:56:20.0 -0500 +++ xserver-common.preinst.in 2005-01-12 18:00:33.0 -0500 @@ -44,7 +44,7 @@ # if performing a fresh install, place config files under management if they # do *not* already exist - if [ "$1" = "install" ]; then + if [ "$1" = "install" ] || ["$1" = "upgrade"] && dpkg --compare-versions "$2" lt "4.0.1-6"; then if ! [ -e "$XWRAPPER_CONFIG" ]; then # only proceed if config file auxiliary directory exists if [ -d "$CONFIG_AUX_DIR" ]; then @@ -56,7 +56,7 @@ fi # if upgrading from < 4.2.1-10, migrate X wrapper config file - if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl "4.2.1-10"; then + if [ "$1" = "upgrade" ] && dpkg --compare-versions "$2" lt-nl "4.2.1-10" && dpkg --compare-versions "$2" ge "4.0.1-6"; then # do we have a configuration file to work with? if [ -e "$XWRAPPER_CONFIG" ]; then # only proceed if config file auxiliary directory exists
Bug#267503: upgrading from potato -- /etc/X11/Xwrapper.config not created
On Mon, Aug 23, 2004 at 01:42:35PM -0400, Kevin B. McCarty wrote: > > I upgraded xserver-common from 3.3.6-11potato32 to 4.3.0.dfsg.1-4 > > /etc/X11/Xwrapper.config was not created. > > Upgrading over more than one release at once (in your case, from potato > to sarge) isn't necessarily supported. Did you try first upgrading to > the woody package (4.1.0-16woody3) and then to the package in sarge? If > upgrading that way works fine, this bug ought to be downgraded to wishlist. > advisory opinion only :-) Nevertheless, I'll accept a patch if it's clean, as long as that's not interpreted as a guarantee of potato->sarge support in general. -- G. Branden Robinson|I have a truly elegant proof of the Debian GNU/Linux |above, but it is too long to fit [EMAIL PROTECTED] |into this .signature file. http://people.debian.org/~branden/ | signature.asc Description: Digital signature
Re: Bug#267503: upgrading from potato -- /etc/X11/Xwrapper.config not created
> I upgraded xserver-common from 3.3.6-11potato32 to 4.3.0.dfsg.1-4 > /etc/X11/Xwrapper.config was not created. Upgrading over more than one release at once (in your case, from potato to sarge) isn't necessarily supported. Did you try first upgrading to the woody package (4.1.0-16woody3) and then to the package in sarge? If upgrading that way works fine, this bug ought to be downgraded to wishlist. (n.b. I have nothing to do with the X packages, so consider this an advisory opinion only :-) regards, -- Kevin B. McCarty <[EMAIL PROTECTED]> Physics Department WWW: http://www.princeton.edu/~kmccarty/Princeton University GPG public key ID: 4F83C751 Princeton, NJ 08544
Bug#267503: upgrading from potato -- /etc/X11/Xwrapper.config not created
Package: xserver-common Version: 4.3.0.dfsg.1-4 Severity: important I upgraded xserver-common from 3.3.6-11potato32 to 4.3.0.dfsg.1-4 /etc/X11/Xwrapper.config was not created. I believe that the potato X packages did not use /etc/X11/Xwrapper.config. The end result was that I could not run X as a non-root user until I figured out what the problem was and how to manually fix it. It seems the problem is in the preinst script. I'll see if I can figure out how to create a patch. -- System Information: Debian Release: testing/unstable Architecture: i386 (i686) Kernel: Linux 2.4.26 Locale: LANG=en_US, LC_CTYPE=en_US Versions of packages xserver-common depends on: ii debconf [debconf-2.0] 1.4.30 Debian configuration management sy ii libc6 2.3.2.ds1-13 GNU C Library: Shared libraries an ii xfree86-common4.3.0.dfsg.1-1 X Window System (XFree86) infrastr -- debconf information excluded