Public bug reported:

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-virtual-machine-3.local]
 3723 pts/1    S+     0:00 grep --color=auto vm

# reboot
......
# ps ax | grep vm
  358 ?        Ssl    0:00 /usr/bin/vmtoolsd  ---------------------> vmtoolsd 
is running.
  484 ?        Ss     0:00 avahi-daemon: running 
[vmware-virtual-machine-3.local]
 1836 pts/1    S+     0:00 grep --color=auto vm

# ps ax | grep -i vg
  476 ?        Ss     0:00 /usr/bin/VGAuthService ---------------------> vgauth 
is running.
 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://bugs.launchpad.net/ubuntu/+source/open-vm-
tools/+bug/1741390/comments/75.

# lsb_release -rd
Description:    Ubuntu 17.10
Release:        17.10
# apt-cache policy open-vm-tools
open-vm-tools:
  Installed: 2:10.2.0-3~ubuntu0.17.10.1
  Candidate: 2:10.2.0-3~ubuntu0.17.10.1
  Version table:
 *** 2:10.2.0-3~ubuntu0.17.10.1 500
        500 http://cn.archive.ubuntu.com/ubuntu artful-updates/main amd64 
Packages
        100 /var/lib/dpkg/status
     2:10.1.10-3 500
        500 http://cn.archive.ubuntu.com/ubuntu artful/main amd64 Packages


If need any other information, please kindly tell me.

Thanks!
Yanhui

** Affects: open-vm-tools (Ubuntu)
     Importance: Undecided
         Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1773931

Title:
  Ubuntu Desktop Artful 17.10 needs reboot to validate open-vm-tools
  usage

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/open-vm-tools/+bug/1773931/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to