关于”running yum-complete-transaction first” 的提示信息
- font size decrease font size increase font size
今天在用yum升级一台新机器时,顾客用ssh远程把server重新启动了。之后,在使用yum 时总是有提示信息:
There are unfinished transactions remaining. You might consider running yum-complete-transaction first to finish them.
The program yum-complete-transaction is found in the yum-utils package.
意思是,有未完成的yum事务,建议先运行yum-complete-transaction命令清除。
处理步骤:
# 安装 yum-complete-transaction
yum install yum-utils
# 运行 yum-complete-transaction
yum-complete-transaction –cleanup-only
# 清除可能存在的重复包
package-cleanup –dupes
# 清除可能存在的损坏包
package-cleanup –problems
( ! ) 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.0003 | 416096 | {main}( ) | .../index.php:0 |
2 | 0.2203 | 4721560 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.2203 | 4721560 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.6262 | 12449936 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.6272 | 12474616 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.6283 | 12529944 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.6287 | 12558768 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.6402 | 12994176 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.6402 | 12994176 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.6534 | 13719376 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.6534 | 13719376 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.6595 | 14115744 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.6612 | 14136112 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.7648 | 17084064 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.7648 | 17084064 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.7669 | 17264264 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |
- Published in CentOS 6
- Read 2583 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.0003 | 416096 | {main}( ) | .../index.php:0 |
2 | 0.2203 | 4721560 | Joomla\CMS\Application\SiteApplication->execute( ) | .../index.php:49 |
3 | 0.2203 | 4721560 | Joomla\CMS\Application\SiteApplication->doExecute( ) | .../CMSApplication.php:196 |
4 | 0.6262 | 12449936 | Joomla\CMS\Application\SiteApplication->dispatch( ) | .../SiteApplication.php:233 |
5 | 0.6272 | 12474616 | Joomla\CMS\Component\ComponentHelper::renderComponent( ) | .../SiteApplication.php:194 |
6 | 0.6283 | 12529944 | Joomla\CMS\Component\ComponentHelper::executeComponent( ) | .../ComponentHelper.php:377 |
7 | 0.6287 | 12558768 | require_once( '/var/www/vhosts/shan.info/httpdocs/components/com_k2/k2.php' ) | .../ComponentHelper.php:402 |
8 | 0.6402 | 12994176 | K2ControllerItem->execute( ) | .../k2.php:64 |
9 | 0.6402 | 12994176 | K2ControllerItem->display( ) | .../BaseController.php:710 |
10 | 0.6534 | 13719376 | K2ControllerItem->display( ) | .../item.php:78 |
11 | 0.6534 | 13719376 | K2ControllerItem->display( ) | .../controller.php:19 |
12 | 0.6595 | 14115744 | Joomla\CMS\Cache\Controller\ViewController->get( ) | .../BaseController.php:663 |
13 | 0.6612 | 14136112 | K2ViewItem->display( ) | .../ViewController.php:102 |
14 | 0.7648 | 17084064 | K2ViewItem->display( ) | .../view.html.php:742 |
15 | 0.7648 | 17084064 | K2ViewItem->loadTemplate( ) | .../HtmlView.php:230 |
16 | 0.7669 | 17264264 | include( '/var/www/vhosts/shan.info/httpdocs/templates/gk_publisher/html/com_k2/templates/default/item.php' ) | .../HtmlView.php:701 |