Ubuntu Desktop Artful 17.10 needs reboot to validate open-vm-tools usage
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
open-vm-tools (Ubuntu) |
Invalid
|
Undecided
|
Unassigned |
Bug Description
When install open-vm-tools in Ubuntu Desktop 17.10 VM, there are 2 problems.
1) Could not get lock /var/lib/dpkg/lock
------Actual Result------
# apt update
# apt install open-vm-tools
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
# rm /var/lib/dpkg/lock
After delete, the installation can be continued.
------Expected Result------
Have no this prompt.
2) Need to reboot after install open-vm-tools
------Actual Result------
# vmtoolsd -v
VMware Tools daemon, version 10.2.0.1608 (build-7253323)
# ps ax | grep vm
608 ? Ss 0:00 avahi-daemon: running [vmware-
3723 pts/1 S+ 0:00 grep --color=auto vm
# reboot
......
# ps ax | grep vm
358 ? Ssl 0:00 /usr/bin/vmtoolsd -------
484 ? Ss 0:00 avahi-daemon: running [vmware-
1836 pts/1 S+ 0:00 grep --color=auto vm
# ps ax | grep -i vg
476 ? Ss 0:00 /usr/bin/
1838 pts/1 S+ 0:00 grep --color=auto -i vg
------Expected Result------
It doesn't need to reboot to validate the open-vm-tools usage.
The other Ubuntu VMs are also tested, but they have no these 2 problems, such as:
* Ubuntu Server 17.10
* Ubuntu Desktop 16.04.4
* Ubuntu Server 16.04.4
* Ubuntu Desktop 18.04
* Ubuntu Server 18.04
It is also stated in https:/
# lsb_release -rd
Description: Ubuntu 17.10
Release: 17.10
# apt-cache policy open-vm-tools
open-vm-tools:
Installed: 2:10.2.
Candidate: 2:10.2.
Version table:
*** 2:10.2.
500 http://
100 /var/lib/
2:10.1.10-3 500
500 http://
If need any other information, please kindly tell me.
Thanks!
Yanhui
#1 is due to the system updating right after being spawned
You could just wait and it would resolve, not an issue
Looking at #2 now ...