[Bug 1751016] Re: upgrade from ppa failed while testing 3152

2018-05-06 Thread Launchpad Bug Tracker
[Expired for open-vm-tools (Ubuntu) because there has been no activity
for 60 days.]

** Changed in: open-vm-tools (Ubuntu)
   Status: Incomplete => Expired

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

Title:
  upgrade from ppa failed while testing 3152

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1751016] Re: upgrade from ppa failed while testing 3152

2018-02-23 Thread ChristianEhrhardt
Your case is only a bit special (not everyone hits it), but I remember
plenty of issues due to the space in the name and all that.

That is already fixed in 2:10.1.5-5055683-4 and later.
There that would already be part of the proposed changes you are testing.

Looking forward to an extended statement to "Now it's working all fine." on the 
other bug eventually.
I'm marking this as incomplete (no issue left) for now, but please feel free to 
ask if needed.

** Changed in: open-vm-tools (Ubuntu)
   Status: New => Incomplete

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

Title:
  upgrade from ppa failed while testing 3152

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1751016] Re: upgrade from ppa failed while testing 3152

2018-02-22 Thread smattheis
"so you might have hit a time where
   this was partially updated?"

Maybe this is the case, because all the aptitude commands failed with the error 
message:
"Failed to stop run-vmblock-fuse.mount: Unit run-vmblock-fuse.mount not loaded."

I traced the problem to the deb-systemd-invoke command. After I changed
the pre-removal script of open-vm-tools, I could successfully purge
open-vm-tools and open-vm-tools-desktop, then successfully do "apt-get
upgrade" and again install open-vm-tools and open-vm-tools-desktop. Now
it's working all fine. I'm not sure if my case is special, but maybe you
could consider to fix the pre-removal script likewise? I would leave
that to you. :)

<--- old version that failed --->
cat /var/lib/dpkg/info/open-vm-tools-desktop.prerm 
#!/bin/sh
set -e

# workaround to avoid upgrade failures.
pkill -USR1 -f '(vmtoolsd.*vmusr|vmware-user)' || true 

if [ -d /run/systemd/system ]; then
deb-systemd-invoke stop run-vmblock\\x2dfuse.mount >/dev/null || true
fi

# Automatically added by dh_systemd_start
if [ -d /run/systemd/system ]; then
deb-systemd-invoke stop run-vmblock-fuse.mount >/dev/null
fi
# End automatically added section


<--- new version that succeeded to purge --->
$ cat /var/lib/dpkg/info/open-vm-tools-desktop.prerm 
#!/bin/sh
set -e

# workaround to avoid upgrade failures.
pkill -USR1 -f '(vmtoolsd.*vmusr|vmware-user)' || true 

if [ -d /run/systemd/system/run-vmblock\\x2dfuse.mount ]; then
deb-systemd-invoke stop run-vmblock\\x2dfuse.mount >/dev/null || true
fi

# Automatically added by dh_systemd_start
if [ -d /run/systemd/system/run-vmblock-fuse.mount ]; then
deb-systemd-invoke stop run-vmblock-fuse.mount >/dev/null
fi
# End automatically added section

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

Title:
  upgrade from ppa failed while testing 3152

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1751016] Re: upgrade from ppa failed while testing 3152

2018-02-22 Thread ChristianEhrhardt
I can also install open-vm-tools-desktop just fine if needed.

There are multiple things going on atm - so to unconfuse version numbers:
1. you added the ppa with the proposed backport, that is 
2:10.2.0-3ubuntu0.16.04.1~ppa2
   Up until this morning it was 2:10.2.0-3ubuntu0.16.04.1~ppa1 so you might 
have hit a time where 
   this was partially updated?
2. there is currently an SRU update to open-vm-tools (minor fix) in flight, 
that is
   10.0.7-3227872-5ubuntu1~16.04.1
   to
   10.0.7-3227872-5ubuntu1~16.04.1


Your error is:
open-vm-tools-desktop : Depends: open-vm-tools (= 
2:10.2.0-3ubuntu0.16.04.1~ppa1) but 2:10.2.0-3ubuntu0.16.04.1~ppa2 is installed

That is odd, as open-vm-tools-desktop is in the ppa as well.


Could you check if the following looks the same (after another apt update)?
# apt-cache policy open-vm-tools open-vm-tools-desktop
open-vm-tools:
  Installed: 2:10.2.0-3ubuntu0.16.04.1~ppa2
  Candidate: 2:10.2.0-3ubuntu0.16.04.1~ppa2
  Version table:
 *** 2:10.2.0-3ubuntu0.16.04.1~ppa2 500
500 http://ppa.launchpad.net/ci-train-ppa-service/3152/ubuntu 
xenial/main amd64 Packages
100 /var/lib/dpkg/status
 2:10.0.7-3227872-5ubuntu1~16.04.2 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
 2:10.0.7-3227872-2ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages
open-vm-tools-desktop:
  Installed: 2:10.2.0-3ubuntu0.16.04.1~ppa2
  Candidate: 2:10.2.0-3ubuntu0.16.04.1~ppa2
  Version table:
 *** 2:10.2.0-3ubuntu0.16.04.1~ppa2 500
500 http://ppa.launchpad.net/ci-train-ppa-service/3152/ubuntu 
xenial/main amd64 Packages
100 /var/lib/dpkg/status
 2:10.0.7-3227872-5ubuntu1~16.04.2 500
500 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 
Packages
 2:10.0.7-3227872-2ubuntu1 500
500 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages

That means both packages would be coming from the ppa.

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

Title:
  upgrade from ppa failed while testing 3152

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1751016] Re: upgrade from ppa failed while testing 3152

2018-02-22 Thread ChristianEhrhardt
First of all a log as comparison how it "should" be:
root@x2:~# dpkg -l '*open-vm-tools*' | tee
Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name  Version   Architecture 
Description
+++-=-=--=
ii  open-vm-tools 2:10.0.7-3227872-5ubuntu1~16.04.1 amd64Open 
VMware Tools for virtual machines hosted on VMware (CLI)
un  open-vm-tools-desktop(no 
description available)
root@x2:~# add-apt-repository ppa:ci-train-ppa-service/3152
 https://bileto.ubuntu.com/#/ticket/3152
 More info: https://launchpad.net/~ci-train-ppa-service/+archive/ubuntu/3152
Press [ENTER] to continue or ctrl-c to cancel adding it

gpg: keyring `/tmp/tmp2b8b3w92/secring.gpg' created
gpg: keyring `/tmp/tmp2b8b3w92/pubring.gpg' created
gpg: requesting key ECF1204C from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp2b8b3w92/trustdb.gpg: trustdb created
gpg: key ECF1204C: public key "Launchpad PPA for CI Train PPA Service Team" 
imported
gpg: Total number processed: 1
gpg:   imported: 1  (RSA: 1)
OK
root@x2:~# apt update
Get:1 http://security.ubuntu.com/ubuntu xenial-security InRelease [102 kB]
Hit:2 http://archive.ubuntu.com/ubuntu xenial InRelease 

Get:3 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [102 kB]
 
Get:4 http://ppa.launchpad.net/ci-train-ppa-service/3152/ubuntu xenial 
InRelease [23.8 kB]
Get:5 http://archive.ubuntu.com/ubuntu xenial-backports InRelease [102 kB]  
 
Get:6 http://archive.ubuntu.com/ubuntu xenial/main Sources [868 kB]
Get:7 http://security.ubuntu.com/ubuntu xenial-security/main Sources [116 kB]   
 
Get:8 http://archive.ubuntu.com/ubuntu xenial/restricted Sources [4808 B]   
 
Get:9 http://security.ubuntu.com/ubuntu xenial-security/restricted Sources 
[2116 B]  
Get:10 http://archive.ubuntu.com/ubuntu xenial/universe Sources [7728 kB]   
 
Get:11 http://security.ubuntu.com/ubuntu xenial-security/universe Sources [59.1 
kB]  
Get:12 http://security.ubuntu.com/ubuntu xenial-security/multiverse Sources 
[1516 B] 
Get:13 http://security.ubuntu.com/ubuntu xenial-security/main amd64 Packages 
[458 kB]
Get:14 http://security.ubuntu.com/ubuntu xenial-security/main Translation-en 
[197 kB]
Get:15 http://security.ubuntu.com/ubuntu xenial-security/universe amd64 
Packages [319 kB]
Get:16 http://security.ubuntu.com/ubuntu xenial-security/universe 
Translation-en [119 kB]
Get:17 http://ppa.launchpad.net/ci-train-ppa-service/3152/ubuntu xenial/main 
amd64 Packages [1276 B] 
Get:18 http://security.ubuntu.com/ubuntu xenial-security/multiverse amd64 
Packages [3208 B]  
Get:19 http://security.ubuntu.com/ubuntu xenial-security/multiverse 
Translation-en [1408 B]  
Get:20 http://ppa.launchpad.net/ci-train-ppa-service/3152/ubuntu xenial/main 
Translation-en [604 B]
Get:21 http://archive.ubuntu.com/ubuntu xenial/multiverse Sources [179 kB]
Get:22 http://archive.ubuntu.com/ubuntu xenial/universe amd64 Packages [7532 kB]
Get:23 http://archive.ubuntu.com/ubuntu xenial/universe Translation-en [4354 kB]
Get:24 http://archive.ubuntu.com/ubuntu xenial/multiverse amd64 Packages [144 
kB]
Get:25 http://archive.ubuntu.com/ubuntu xenial/multiverse Translation-en [106 
kB]
Get:26 http://archive.ubuntu.com/ubuntu xenial-updates/main Sources [298 kB]
Get:27 http://archive.ubuntu.com/ubuntu xenial-updates/restricted Sources [2524 
B]
Get:28 http://archive.ubuntu.com/ubuntu xenial-updates/universe Sources [191 kB]
Get:29 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse Sources [7968 
B]
Get:30 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages [734 
kB]
Get:31 http://archive.ubuntu.com/ubuntu xenial-updates/main Translation-en [305 
kB]
Get:32 http://archive.ubuntu.com/ubuntu xenial-updates/universe amd64 Packages 
[591 kB]
Get:33 http://archive.ubuntu.com/ubuntu xenial-updates/universe Translation-en 
[239 kB]
Get:34 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse amd64 
Packages [16.2 kB]
Get:35 http://archive.ubuntu.com/ubuntu xenial-updates/multiverse 
Translation-en [8052 B]
Get:36 http://archive.ubuntu.com/ubuntu xenial-backports/main Sources [3432 B]
Get:37 http://archive.ubuntu.com/ubuntu xenial-backports/universe Sources [4904 
B]
Get:38