I try to uninstall google-compute-engine-oslogin
but always I received errors like :
root@cocy-TECRA-A11:/var/lib/dpkg/info# sudo apt install 
google-compute-engine-oslogin
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following NEW packages will be installed:
  google-compute-engine-oslogin
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/34,1 kB of archives.
After this operation, 162 kB of additional disk space will be used.
Selecting previously unselected package google-compute-engine-oslogin.
(Reading database ... 297517 files and directories currently installed.)
Preparing to unpack 
.../google-compute-engine-oslogin_20170718-0ubuntu1~16.04.0_amd64.deb ...
Unpacking google-compute-engine-oslogin (20170718-0ubuntu1~16.04.0) ...
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Setting up google-compute-engine-oslogin (20170718-0ubuntu1~16.04.0) ...
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
dpkg: error processing package google-compute-engine-oslogin (--configure):
 subprocess installed post-installation script returned error exit status 1
Processing triggers for libc-bin (2.23-0ubuntu9) ...
Errors were encountered while processing:
 google-compute-engine-oslogin
E: Sub-process /usr/bin/dpkg returned an error code (1)



SOLUTION WHAT I FOUND IT:


 sudo apt-get install openssh-server
 sudo apt-get install openssh-client
 sudo apt install google-compute-engine-oslogin
 apt-get remove google-compute-engine-oslogin


the result was OK :

root@cocy-TECRA-A11:/var/lib/dpkg/info# apt-get remove 
google-compute-engine-oslogin 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  google-compute-engine-oslogin
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
After this operation, 162 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 297626 files and directories currently installed.)
Removing google-compute-engine-oslogin (20170718-0ubuntu1~16.04.0) ...
Deactivating Google Compute Engine OS Login.
Restarting sshd.
Processing triggers for libc-bin (2.23-0ubuntu9) ...

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

Title:
  google-compute-engine-oslogin 20170622-0ubuntu1~14.04.0 installation
  fails on Trusty

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

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

Reply via email to