| Server IP : 61.19.30.66 / Your IP : 216.73.216.15 Web Server : Apache/2.2.22 (Ubuntu) System : Linux klw 3.11.0-15-generic #25~precise1-Ubuntu SMP Thu Jan 30 17:39:31 UTC 2014 x86_64 User : www-data ( 33) PHP Version : 5.3.10-1ubuntu3.48 Disable Function : pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority, MySQL : ON | cURL : OFF | WGET : ON | Perl : ON | Python : ON | Sudo : ON | Pkexec : OFF Directory : /usr/share/pyshared/HweSupportStatus/ |
Upload File : |
import datetime
import gettext
gettext.install("update-manager")
from gettext import gettext as _
# the day on which the PRECISE (12.04) HWE stack goes out of support
PRECISE_HWE_EOL_DATE = datetime.date(2014, 8, 7)
# the date 14.04.1 is available
TRUSTY_DOT1_DATE = datetime.date(2014, 7, 16)
# the month in wich PRECISE (12.04) goes out of support
PRECISE_EOL_DATE = datetime.date(2017, 4, 1)
class Messages:
UM_UPGRADE = _("""
There is a graphics stack installed on this system. An upgrade to a
supported (or longer supported) configuration will become available
on %(date)s and can be invoked by running 'update-manager' in the
Dash.
""") % {'date': TRUSTY_DOT1_DATE.isoformat()
}
APT_UPGRADE = _("""
To upgrade to a supported (or longer supported) configuration:
* Upgrade from Ubuntu 12.04 LTS to Ubuntu 14.04 LTS by running:
sudo do-release-upgrade %s
OR
* Install a newer HWE version by running:
sudo apt-get install %s
and reboot your system.""")
# this message is shown if there is no clear upgrade path via a
# meta pkg that we recognize
APT_SHOW_UNSUPPORTED = _("""
The following packages are no longer supported:
%s
Please upgrade them to a supported HWE stack or remove them if you
no longer need them.
""")
HWE_SUPPORTED = _("Your Hardware Enablement Stack (HWE) is "
"supported until %(month)s %(year)s.") % {
'month': PRECISE_EOL_DATE.strftime("%B"),
'year': PRECISE_EOL_DATE.year,
}
HWE_SUPPORT_ENDS = _("""
Your current Hardware Enablement Stack (HWE) is going out of support
on %s. After this date security updates for critical parts (kernel
and graphics stack) of your system will no longer be available.
For more information, please see:
http://wiki.ubuntu.com/1204_HWE_EOL
""") % PRECISE_HWE_EOL_DATE.isoformat()
HWE_SUPPORT_HAS_ENDED = _("""
Your current Hardware Enablement Stack (HWE) is no longer supported
since %s. Security updates for critical parts (kernel
and graphics stack) of your system are no longer available.
For more information, please see:
http://wiki.ubuntu.com/1204_HWE_EOL
""") % PRECISE_HWE_EOL_DATE.isoformat()