[Bug 971508] Re: string freeze exception for error message

Sebastian Heinlein 971508 at bugs.launchpad.net
Mon Apr 2 13:03:36 UTC 2012


** Description changed:

- If sessioninstaller can not find a given pkg its currently doing nothing. This is not ideal as the user is in the dark about
- what has happend.
+ 
+ To show the human readable name/description and information about possible restrictions in use (patents or copyright) of to be installed packages by the InstallPackageNames  method, session-installer needs to handle the case if the packages aren't available at all.
+ 
+ Currently in the case of not availabe packages session-installer blindly
+ calls aptdaemon and the user gets an aptdaemon message about a failed
+ installation.
+ 
+ The InstallPackageNames method is called by e.g. brasero to install cd
+ burning tools.
  
  Therefore I would like to ask for a string freeze exception for sessioninstaller that adds following error message(s):
  ...
  +            header = gettext.ngettext("Could not find requested package",
  +                                      "Could not find requested packages",
  +                                      len(failed_packages))
  +            if sender_name:
  +                message = gettext.ngettext("%s requests to install the "
  +                                           "following software package to "
  +                                           "provide "
  +                                           "additional features:",
  +                                           "%s requests to install the "
  +                                           "following "
  +                                           "software packages to provide "
  +                                           "additional features:",
  +                                           len(packages)) % sender_name
  +            else:
  +                message = gettext.ngettext("The follwing software package "
  +                                           "is required to provide "
  +                                           "additional features but cannot "
  +                                           "be installed:",
  +                                           "The following software "
  +                                           "packages are required to "
  +                                           "provide "
  +                                           "additional features but cannot "
  +                                           "be installed:",
  +                                           len(failed_packages))
  ...
  
  Thanks!
-  Michael
+  Michael

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

Title:
  string freeze exception for error message

Status in “sessioninstaller” package in Ubuntu:
  New

Bug description:
  
  To show the human readable name/description and information about possible restrictions in use (patents or copyright) of to be installed packages by the InstallPackageNames  method, session-installer needs to handle the case if the packages aren't available at all.

  Currently in the case of not availabe packages session-installer
  blindly calls aptdaemon and the user gets an aptdaemon message about a
  failed installation.

  The InstallPackageNames method is called by e.g. brasero to install cd
  burning tools.

  Therefore I would like to ask for a string freeze exception for sessioninstaller that adds following error message(s):
  ...
  +            header = gettext.ngettext("Could not find requested package",
  +                                      "Could not find requested packages",
  +                                      len(failed_packages))
  +            if sender_name:
  +                message = gettext.ngettext("%s requests to install the "
  +                                           "following software package to "
  +                                           "provide "
  +                                           "additional features:",
  +                                           "%s requests to install the "
  +                                           "following "
  +                                           "software packages to provide "
  +                                           "additional features:",
  +                                           len(packages)) % sender_name
  +            else:
  +                message = gettext.ngettext("The follwing software package "
  +                                           "is required to provide "
  +                                           "additional features but cannot "
  +                                           "be installed:",
  +                                           "The following software "
  +                                           "packages are required to "
  +                                           "provide "
  +                                           "additional features but cannot "
  +                                           "be installed:",
  +                                           len(failed_packages))
  ...

  Thanks!
   Michael

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




More information about the foundations-bugs mailing list