← Back to team overview

ubuntu-x-swat team mailing list archive

[Bug 903143] Re: lucid->precise upgrade - prompt to update unmodified conf file: /etc/init/failsafe-x.conf

 

I cannot reproduce this with doing a (partial) lucid->precise upgrade in
a lucid live system. However, I think I see one thing which could go
wrong:

/var/lib/dpkg/info/x11-common.preinst correctly does

   if dpkg --compare-versions "$2" lt-nl "1:7.6+7ubuntu7"; then
    remove_conffile_lookup x11-common "/etc/init/failsafe-x.conf"
  fi

to clean up its own old conffile, so that xdiagnose can put its own.
xdiagnose also Replaces: x11-common (<< 1:7.6+7ubuntu1), but that
doesn't prevent xdiagnose from being unpacked before x11-common is
upgraded. So I think xdiagnose should grow a

  Conflicts: x11-common (<< 1:7.6+7ubuntu1)

to ensure that x11-common gets upgraded before xdiagnose gets installed.
This should make sure that there is no conffile prompt.

-- 
You received this bug notification because you are a member of Ubuntu-X,
which is subscribed to xdiagnose in Ubuntu.
https://bugs.launchpad.net/bugs/903143

Title:
  lucid->precise upgrade - prompt to update unmodified conf file:
  /etc/init/failsafe-x.conf

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/xdiagnose/+bug/903143/+subscriptions


References