升级 Debian
- font size decrease font size increase font size
- Print Email
由 5.0 (lenny) 升级至测试版本 (squeeze)
变身成系统使用者 (root) 的身份:
$ su passwd: #
将 /etc/apt/sources.list 中的 stable 或 lenny 转成 squeeze:
cd /etc/apt cp sources.list sources.list.bak sed -e 's/\<\(stable\|lenny\)\>/squeeze/g' sources.list.bak >sources.list
更新最新的套件资讯:
apt-get update
更新整个系统:
apt-get dist-upgrade
( ! ) Warning: count(): Parameter must be an array or an object that implements Countable in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 169 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0009 | 412312 | {main}( ) | .../index.php:0 |
2 | 0.1199 | 4262168 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1199 | 4262168 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4517 | 11453000 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4530 | 11477264 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4540 | 11532592 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4544 | 11559992 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4628 | 11959624 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4628 | 11959624 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4737 | 12610328 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4737 | 12610328 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4790 | 12981368 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4809 | 13001736 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5515 | 15820976 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5515 | 15820976 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5535 | 15993912 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in Debian
- Read 1390 times
( ! ) Notice: Only variables should be assigned by reference in /var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php on line 478 | ||||
---|---|---|---|---|
Call Stack | ||||
# | Time | Memory | Function | Location |
1 | 0.0009 | 412312 | {main}( ) | .../index.php:0 |
2 | 0.1199 | 4262168 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.1199 | 4262168 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.4517 | 11453000 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.4530 | 11477264 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.4540 | 11532592 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.4544 | 11559992 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.4628 | 11959624 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.4628 | 11959624 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.4737 | 12610328 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.4737 | 12610328 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.4790 | 12981368 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.4809 | 13001736 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.5515 | 15820976 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.5515 | 15820976 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.5535 | 15993912 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |