[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Some remarks on 4.2.1-0pre1v1



[debian-dpkg: I am not subscribed to this list; see Adrian's point 2.
below]

On Mon, Sep 16, 2002 at 08:46:57PM +0200, Adrian Bunk wrote:
> Hi Branden,
> 
> below are some remarks I have after successfully upgrading my machine
> (it has a Matrox G200) from 4.1.0-17 to 4.2.1-0pre1v1:
> 
> 1. AFAIR this problem isn't new, my debconf-generated /etc/X11/XF86Config-4
>    contains both lines
>      InputDevice     "Configured Mouse"
>      InputDevice     "Generic Mouse"
>    in Section "ServerLayout". I had to remove the "Generic Mouse" line in
>    order to successfully start X.

Using gpm as a repeater, aren't you?

xfree86 (4.2.1-0pre1v2) unstable; urgency=low

  * debian/local/dexconf: don't reference the Generic Mouse InputDevice
    section in the ServerLayout section if the Configured Mouse is a gpm
    repeater device

(That release is, of course, forthcoming.)

> 2. While upgrading dpkg asked because of changed configuration files
>    /etc/X11/xkb/symbols/czsk and /etc/X11/xkb/symbols/yu.
>    I'm wondering because I can't imagine any reason why I should have
>    changed these files.
>    In the first file only the XFree86 CVS notice in the head is changed
>    (the second one contains more differences).

This is a known issue which transcends any one package.  Here's the problem:

1) foo 1.0-1 contains a conffile /etc/bar
2) user upgrades to foo 1.0-2 which no longer contains conffile /etc/bar
2a) foo 1.0-2's conffiles list does not show /etc/bar, of course
2b) foo 1.0-1 was not purged, so /etc/bar is not removed from the system
    (review Debian Policy for handling conffiles)
3) user upgrades to foo 1.0-3, which ships the conffile /etc/bar again
4) dpkg prompts because it sees that /etc/bar already exists on the system
4a) user is confused as hell because he may not even have been aware of
    /etc/bar until then

Adam Heath is aware of this problem but people are still pondering the best
fix.

I have proposed that dpkg keep track of changes to an upgrading
package's old and new conffile lists, and for any disappearing
conffiles, prompt in a similar way that it does with updated conffiles.

> Configuration file `/etc/emacs/site-start.d/50gri-html-doc.el'
>  ==> File on system created by you or by a script.
>  ==> File also in package provided by package maintainer.
>    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     : background this process to examine the situation
>  The default action is to keep your current version.
> *** 50gri-html-doc.el (Y/I/N/O/D/Z) [default=N] ? 

Configuration file `%s'
===> File on system is disappearing from upgrading package.
   What would you like to do about it?  Your options are:
    Y or R  : remove the file from the system
    N or O  : keep your currently-installed version
      Z     : background this process to examine the situation
   The default is to keep your current version.
*** %s (Y/R/N/O/Z) [default=N] ?


> 3. mga.4x is outdated and doesn't mention that the G450 and the G550 are
>    supported in XFree86 4.2 . At least the patch below is needed, but
>    there might be additions to the chipset types in "CONFIGURATION
>    DETAILS" needed as well.
> 
> --- mga.4x.old	2002-09-16 20:42:56.000000000 +0200
> +++ mga.4x	2002-09-16 20:43:23.000000000 +0200
> @@ -44,6 +44,10 @@
>  Millennium G200 and Mystique G200
>  .TP 12
>  .B G400
> +.TP 12
> +.B G450
> +.TP 12
> +.B G550
>  .SH CONFIGURATION DETAILS
>  Please refer to XF86Config(5x) for general configuration
>  details.  This section only covers configuration details specific to this

Thanks for the patch!

-- 
G. Branden Robinson                |    I just wanted to see what it looked
Debian GNU/Linux                   |    like in a spotlight.
branden@debian.org                 |    -- Jim Morrison
http://people.debian.org/~branden/ |

Attachment: pgpO7aXNxgbt6.pgp
Description: PGP signature


Reply to: