[Bug 820233] [NEW] conffile prompt during natty -> oneiric upgrade

Michael Vogt michael.vogt at ubuntu.com
Wed Aug 3 08:12:17 UTC 2011


Public bug reported:

During a natty -> oneiric upgrade I see the following conffile prompt:

Setting up base-files (6.4ubuntu3) ...
Installing new version of config file /etc/debian_version ...
Installing new version of config file /etc/issue ...
Installing new version of config file /etc/issue.net ...
Installing new version of config file /etc/lsb-release ...

Configuration file `/etc/update-motd.d/00-header'
 ==> 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     : start a shell to examine the situation
 The default action is to keep your current version.
*** 00-header (Y/I/N/O/D/Z) [default=N] ? d
--- /etc/update-motd.d/00-header	2010-10-21 13:12:20.000000000 +0000
+++ /etc/update-motd.d/00-header.dpkg-new	2011-07-14 22:13:56.000000000 +0
000
@@ -21,7 +21,7 @@
 
 [ -r /etc/lsb-release ] && . /etc/lsb-release
 
-if [ -z "$DISTRIB_DESCRIPTION" ]; then
+if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then
 	# Fall back to using the very slow lsb_release utility
 	DISTRIB_DESCRIPTION=$(lsb_release -s -d)
 fi


onfiguration file `/etc/update-motd.d/10-help-text'
 ==> 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     : start a shell to examine the situation
 The default action is to keep your current version.
*** 10-help-text (Y/I/N/O/D/Z) [default=N] ? d
--- /etc/update-motd.d/10-help-text	2010-10-21 13:12:00.000000000 +0000
+++ /etc/update-motd.d/10-help-text.dpkg-new	2011-07-14 22:13:56.000000000 +0
000
@@ -3,7 +3,8 @@
 #    10-help-text - print the help text associated with the distro
 #    Copyright (C) 2009-2010 Canonical Ltd.
 #
-#    Authors: Dustin Kirkland <kirkland at canonical.com>
+#    Authors: Dustin Kirkland <kirkland at canonical.com>,
+#             Brian Murray <brian at canonical.com>
 #
 #    This program is free software; you can redistribute it and/or modify
 #    it under the terms of the GNU General Public License as published by
@@ -19,9 +20,16 @@
 #    with this program; if not, write to the Free Software Foundation, Inc.,
 #    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
 
+[ -r /etc/lsb-release ] && . /etc/lsb-release
+
+if [ -z "$DISTRIB_RELEASE" ] && [ -x /usr/bin/lsb_release ]; then
+	# Fall back to using the very slow lsb_release utility
+	DISTRIB_RELEASE=$(lsb_release -sr)
+fi
+
 URL="https://help.ubuntu.com/"
 if uname -r | grep -qs "\-server"; then
-	URL="http://www.ubuntu.com/server/doc"
+	URL="https://help.ubuntu.com/$DISTRIB_RELEASE/serverguide/C"
 fi
 
 printf "\n * Documentation:  %s\n" "$URL"

** Affects: base-files (Ubuntu)
     Importance: High
         Status: Confirmed


** Tags: iso-testing

** Changed in: base-files (Ubuntu)
       Status: New => Confirmed

** Changed in: base-files (Ubuntu)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to base-files in Ubuntu.
https://bugs.launchpad.net/bugs/820233

Title:
  conffile prompt during natty -> oneiric upgrade

Status in “base-files” package in Ubuntu:
  Confirmed

Bug description:
  During a natty -> oneiric upgrade I see the following conffile prompt:

  Setting up base-files (6.4ubuntu3) ...
  Installing new version of config file /etc/debian_version ...
  Installing new version of config file /etc/issue ...
  Installing new version of config file /etc/issue.net ...
  Installing new version of config file /etc/lsb-release ...

  Configuration file `/etc/update-motd.d/00-header'
   ==> 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     : start a shell to examine the situation
   The default action is to keep your current version.
  *** 00-header (Y/I/N/O/D/Z) [default=N] ? d
  --- /etc/update-motd.d/00-header	2010-10-21 13:12:20.000000000 +0000
  +++ /etc/update-motd.d/00-header.dpkg-new	2011-07-14 22:13:56.000000000 +0
  000
  @@ -21,7 +21,7 @@
   
   [ -r /etc/lsb-release ] && . /etc/lsb-release
   
  -if [ -z "$DISTRIB_DESCRIPTION" ]; then
  +if [ -z "$DISTRIB_DESCRIPTION" ] && [ -x /usr/bin/lsb_release ]; then
   	# Fall back to using the very slow lsb_release utility
   	DISTRIB_DESCRIPTION=$(lsb_release -s -d)
   fi

  
  onfiguration file `/etc/update-motd.d/10-help-text'
   ==> 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     : start a shell to examine the situation
   The default action is to keep your current version.
  *** 10-help-text (Y/I/N/O/D/Z) [default=N] ? d
  --- /etc/update-motd.d/10-help-text	2010-10-21 13:12:00.000000000 +0000
  +++ /etc/update-motd.d/10-help-text.dpkg-new	2011-07-14 22:13:56.000000000 +0
  000
  @@ -3,7 +3,8 @@
   #    10-help-text - print the help text associated with the distro
   #    Copyright (C) 2009-2010 Canonical Ltd.
   #
  -#    Authors: Dustin Kirkland <kirkland at canonical.com>
  +#    Authors: Dustin Kirkland <kirkland at canonical.com>,
  +#             Brian Murray <brian at canonical.com>
   #
   #    This program is free software; you can redistribute it and/or modify
   #    it under the terms of the GNU General Public License as published by
  @@ -19,9 +20,16 @@
   #    with this program; if not, write to the Free Software Foundation, Inc.,
   #    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
   
  +[ -r /etc/lsb-release ] && . /etc/lsb-release
  +
  +if [ -z "$DISTRIB_RELEASE" ] && [ -x /usr/bin/lsb_release ]; then
  +	# Fall back to using the very slow lsb_release utility
  +	DISTRIB_RELEASE=$(lsb_release -sr)
  +fi
  +
   URL="https://help.ubuntu.com/"
   if uname -r | grep -qs "\-server"; then
  -	URL="http://www.ubuntu.com/server/doc"
  +	URL="https://help.ubuntu.com/$DISTRIB_RELEASE/serverguide/C"
   fi
   
   printf "\n * Documentation:  %s\n" "$URL"

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/base-files/+bug/820233/+subscriptions




More information about the foundations-bugs mailing list