When a package is installing,i press Ctrl + c to stop installing.Now i install it again,a warning prompts in
terminal as below:
warning:waiting for transaction lock on /var/lib/
Solve method:Log out system,then login again,su user to root,re-install the package successfully.