While verifying the fix on Zesty I observed a dpkg crash which is gone in 
artful and bionic:
root@z-test-gce:~# apt-get dselect-upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  openssh-server
The following packages will be upgraded:
  google-compute-engine-oslogin
1 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/371 kB of archives.
After this operation, 914 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
Preconfiguring packages ...
Selecting previously unselected package openssh-server.
(Reading database ... 26653 files and directories currently installed.)
Preparing to unpack .../openssh-server_1%3a7.4p1-10_amd64.deb ...
Unpacking openssh-server (1:7.4p1-10) ...
Preparing to unpack 
.../google-compute-engine-oslogin_20171025+dfsg1-0ubuntu1~17.04.0_amd64.deb ...
Deactivating Google Compute Engine OS Login.
cp: cannot stat '/etc/ssh/sshd_config': No such file or directory
sed: can't read /etc/ssh/sshd_config.new: No such file or directory
mv: cannot stat '/etc/ssh/sshd_config.new': No such file or directory
cp: cannot stat '/etc/pam.d/sshd': No such file or directory
sed: can't read /etc/pam.d/sshd.new: No such file or directory
mv: cannot stat '/etc/pam.d/sshd.new': No such file or directory
dpkg: warning: subprocess old pre-removal script returned error exit status 1
dpkg: trying script from the new package instead ...
dpkg: error processing archive 
/var/cache/apt/archives/google-compute-engine-oslogin_20171025+dfsg1-0ubuntu1~17.04.0_amd64.deb
 (--unpack):
 there is no script in the new version of the package - giving up
Activating Google Compute Engine OS Login.
cp: cannot stat '/etc/ssh/sshd_config': No such file or directory
sed: can't read /etc/ssh/sshd_config.new: No such file or directory
sed: can't read /etc/ssh/sshd_config.new: No such file or directory
sed: can't read /etc/ssh/sshd_config.new: No such file or directory
mv: cannot stat '/etc/ssh/sshd_config.new': No such file or directory
cp: cannot stat '/etc/pam.d/sshd': No such file or directory
sed: can't read /etc/pam.d/sshd.new: No such file or directory
sed: can't read /etc/pam.d/sshd.new: No such file or directory
sed: can't read /etc/pam.d/sshd.new: No such file or directory
sed: can't read /etc/pam.d/sshd.new: No such file or directory
mv: cannot stat '/etc/pam.d/sshd.new': No such file or directory
*** Error in `/usr/bin/dpkg': munmap_chunk(): invalid pointer: 
0x00005642d895b186 ***
======= Backtrace: =========
/lib/x86_64-linux-gnu/libc.so.6(+0x7908b)[0x7ff1f746e08b]
/lib/x86_64-linux-gnu/libc.so.6(cfree+0x1f8)[0x7ff1f747bed8]
/usr/bin/dpkg(+0x20cd0)[0x5642d6d78cd0]
/usr/bin/dpkg(+0x21119)[0x5642d6d79119]
/usr/bin/dpkg(+0x283cd)[0x5642d6d803cd]
/usr/bin/dpkg(+0x17737)[0x5642d6d6f737]
/usr/bin/dpkg(+0x17915)[0x5642d6d6f915]
/usr/bin/dpkg(+0x17b5d)[0x5642d6d6fb5d]
/usr/bin/dpkg(+0xaed7)[0x5642d6d62ed7]
/usr/bin/dpkg(+0x20c0b)[0x5642d6d78c0b]
/usr/bin/dpkg(+0x20e01)[0x5642d6d78e01]
/usr/bin/dpkg(+0xa962)[0x5642d6d62962]
/usr/bin/dpkg(+0x72fd)[0x5642d6d5f2fd]
/lib/x86_64-linux-gnu/libc.so.6(__libc_start_main+0xf1)[0x7ff1f74153f1]
/usr/bin/dpkg(+0x743a)[0x5642d6d5f43a]
======= Memory map: ========
...

** Tags removed: verification-needed verification-needed-artful 
verification-needed-xenial verification-needed-zesty
** Tags added: verification-done verification-done-artful 
verification-done-xenial verification-done-zesty

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

Title:
  package google-compute-engine-oslogin 20170718-0ubuntu1~16.04.0 failed
  to install/upgrade: there is no script in the new version of the
  package - giving up

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/gce-compute-image-packages/+bug/1733878/+subscriptions

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

Reply via email to