[Bug 1705569] Re: package openvswitch-switch 2.5.2-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1

Corey Bryant corey.bryant at canonical.com
Thu Jul 27 13:18:14 UTC 2017


Hi Armin,

Thanks for reporting this. I'm not sure what the difference is but I'm
unable to recreate this.

root at x2:~# lsb_release -a                           
No LSB modules are available.                       
Distributor ID: Ubuntu                              
Description:    Ubuntu 16.04.2 LTS                  
Release:        16.04                               
Codename:       xenial                              
root at x2:~# apt-cache policy openvswitch-switch                                                                                                                                                                     
openvswitch-switch:                                 
  Installed: 2.5.2-0ubuntu0.16.04.1                 
  Candidate: 2.5.2-0ubuntu0.16.04.1                 
  Version table:                                    
 *** 2.5.2-0ubuntu0.16.04.1 500                     
        500 http://archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages                          
        100 /var/lib/dpkg/status                    
     2.5.0-0ubuntu1 500                             
        500 http://archive.ubuntu.com/ubuntu xenial/main amd64 Packages                                  
root at x2:~# systemctl status openvswitch-switch      
● openvswitch-switch.service - Open vSwitch         
   Loaded: loaded (/lib/systemd/system/openvswitch-switch.service; enabled; vendor preset: enabled)      
   Active: active (exited) since Thu 2017-07-27 13:03:30 UTC; 13min ago                                  
 Main PID: 1780 (code=exited, status=0/SUCCESS)     
    Tasks: 0                                        
   Memory: 0B                                       
      CPU: 0                                        
   CGroup: /system.slice/openvswitch-switch.service 

Jul 27 13:03:30 x2 systemd[1]: Starting Open vSwitch...                                                  
Jul 27 13:03:30 x2 systemd[1]: Started Open vSwitch.

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

Title:
  package openvswitch-switch 2.5.2-0ubuntu0.16.04.1 failed to
  install/upgrade: subprocess installed post-installation script
  returned error exit status 1

Status in openvswitch package in Ubuntu:
  New

Bug description:
  I installed using apt-get, following these steps:
  https://www.paloaltonetworks.com/documentation/80/virtualization/virtualization
  /set-up-the-vm-series-firewall-on-kvm/install-kvm-and-open-vswitch-on-
  ubuntu-16-04-1-lts

  but I am receiving the following output:

  A dependency job for openvswitch-switch.service failed. See 'journalctl -xe' for details.
  invoke-rc.d: initscript openvswitch-switch, action "start" failed.
  ● openvswitch-switch.service - Open vSwitch
     Loaded: loaded (/lib/systemd/system/openvswitch-switch.service; enabled; vendor preset: enabled)
     Active: inactive (dead)

  Jul 20 13:16:34 hahaha systemd[1]: Dependency failed for Open vSwitch.
  Jul 20 13:16:34 hahaha systemd[1]: openvswitch-switch.service: Job openvswi...'.
  Jul 20 13:25:41 hahaha systemd[1]: Stopped Open vSwitch.
  Jul 20 13:25:58 hahaha systemd[1]: Dependency failed for Open vSwitch.
  Jul 20 13:25:58 hahaha systemd[1]: openvswitch-switch.service: Job openvswi...'.
  Jul 20 13:27:59 hahaha systemd[1]: Stopped Open vSwitch.
  Jul 20 13:29:11 hahaha systemd[1]: Dependency failed for Open vSwitch.
  Jul 20 13:29:11 hahaha systemd[1]: openvswitch-switch.service: Job openvswi...'.
  Hint: Some lines were ellipsized, use -l to show in full.
  dpkg: error processing package openvswitch-switch (--configure):
   subprocess installed post-installation script returned error exit status 1
  Processing triggers for systemd (229-4ubuntu17) ...
  Processing triggers for ureadahead (0.100.0-19) ...
  Errors were encountered while processing:
   openvswitch-switch
  E: Sub-process /usr/bin/dpkg returned an error code (1)

  
  ----------------

  Let me know what I should do.

  Thanks,
  Armin

  ProblemType: Package
  DistroRelease: Ubuntu 16.04
  Package: openvswitch-switch 2.5.2-0ubuntu0.16.04.1
  ProcVersionSignature: Ubuntu 4.8.0-58.63~16.04.1-generic 4.8.17
  Uname: Linux 4.8.0-58-generic x86_64
  ApportVersion: 2.20.1-0ubuntu2.10
  AptOrdering:
   openvswitch-switch: Install
   openvswitch-switch: Configure
   NULL: ConfigurePending
  Architecture: amd64
  Date: Thu Jul 20 13:25:58 2017
  ErrorMessage: subprocess installed post-installation script returned error exit status 1
  InstallationDate: Installed on 2017-07-06 (13 days ago)
  InstallationMedia: Ubuntu 16.04.2 LTS "Xenial Xerus" - Release amd64 (20170215.2)
  RelatedPackageVersions:
   dpkg 1.18.4ubuntu1.2
   apt  1.2.20
  SourcePackage: openvswitch
  Title: package openvswitch-switch 2.5.2-0ubuntu0.16.04.1 failed to install/upgrade: subprocess installed post-installation script returned error exit status 1
  UpgradeStatus: No upgrade log present (probably fresh install)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/openvswitch/+bug/1705569/+subscriptions



More information about the Ubuntu-openstack-bugs mailing list