[Touch-packages] [Bug 2022023] Re: package network-manager 1.42.4-1ubuntu4 failed to install/upgrade: installed network-manager package post-installation script subprocess returned error exit status 8

2023-06-01 Thread Launchpad Bug Tracker
This bug was fixed in the package network-manager - 1.42.4-1ubuntu5

---
network-manager (1.42.4-1ubuntu5) mantic; urgency=medium

  * d/network-manager.postinst: fix netplan migration logic.
The "continue" is being executed in a subshell so it's not skipping the
next commands. It will fail if Network Manager is not running. See LP: 
#2022023
  * d/network-manager.preinst: use /var/lib/NetworkManager for backups
/root is not a system directory so we shouldn't use it. It might not
even exist or the package manager might run in a sandbox and not have
access to it. See LP: #2021937

 -- Danilo Egea Gondolfo   Thu, 01
Jun 2023 15:17:57 +0100

** Changed in: network-manager (Ubuntu)
   Status: New => Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2022023

Title:
  package network-manager 1.42.4-1ubuntu4 failed to install/upgrade:
  installed network-manager package post-installation script subprocess
  returned error exit status 8

Status in network-manager package in Ubuntu:
  Fix Released

Bug description:
  I am using netplan for my network config.

  ProblemType: Package
  DistroRelease: Ubuntu 23.10
  Package: network-manager 1.42.4-1ubuntu4
  ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
  Uname: Linux 6.2.0-20-generic x86_64
  ApportVersion: 2.26.1-0ubuntu3
  Architecture: amd64
  CRDA: N/A
  CasperMD5CheckResult: unknown
  Date: Thu Jun  1 12:05:16 2023
  ErrorMessage: installed network-manager package post-installation script 
subprocess returned error exit status 8
  InstallationDate: Installed on 2020-04-25 (1131 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
  IpRoute:
   default via 192.168.56.1 dev enp7s0 proto static 
   192.168.56.0/30 dev enp7s0 proto kernel scope link src 192.168.56.2
  IwConfig:
   lono wireless extensions.
   
   enp7s0no wireless extensions.
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
  Python3Details: /usr/bin/python3.11, Python 3.11.3, python3-minimal, 3.11.2-1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.21.22ubuntu1
   apt  2.7.0
  RfKill:
   
  SourcePackage: network-manager
  Title: package network-manager 1.42.4-1ubuntu4 failed to install/upgrade: 
installed network-manager package post-installation script subprocess returned 
error exit status 8
  UpgradeStatus: Upgraded to mantic on 2023-06-01 (0 days ago)
  nmcli-con: Error: command ['nmcli', '-f', 'all', 'con'] failed with exit code 
8: Error: NetworkManager is not running.
  nmcli-dev: Error: command ['nmcli', '-f', 'all', 'dev'] failed with exit code 
8: Error: NetworkManager is not running.
  nmcli-nm: Error: command ['nmcli', '-f', 'all', 'gen'] failed with exit code 
8: Error: NetworkManager is not running.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2022023/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2022023] Re: package network-manager 1.42.4-1ubuntu4 failed to install/upgrade: installed network-manager package post-installation script subprocess returned error exit status 8

2023-06-01 Thread Launchpad Bug Tracker
** Merge proposal linked:
   
https://code.launchpad.net/~danilogondolfo/network-manager/+git/ubuntu-1/+merge/443876

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2022023

Title:
  package network-manager 1.42.4-1ubuntu4 failed to install/upgrade:
  installed network-manager package post-installation script subprocess
  returned error exit status 8

Status in network-manager package in Ubuntu:
  New

Bug description:
  I am using netplan for my network config.

  ProblemType: Package
  DistroRelease: Ubuntu 23.10
  Package: network-manager 1.42.4-1ubuntu4
  ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
  Uname: Linux 6.2.0-20-generic x86_64
  ApportVersion: 2.26.1-0ubuntu3
  Architecture: amd64
  CRDA: N/A
  CasperMD5CheckResult: unknown
  Date: Thu Jun  1 12:05:16 2023
  ErrorMessage: installed network-manager package post-installation script 
subprocess returned error exit status 8
  InstallationDate: Installed on 2020-04-25 (1131 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
  IpRoute:
   default via 192.168.56.1 dev enp7s0 proto static 
   192.168.56.0/30 dev enp7s0 proto kernel scope link src 192.168.56.2
  IwConfig:
   lono wireless extensions.
   
   enp7s0no wireless extensions.
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
  Python3Details: /usr/bin/python3.11, Python 3.11.3, python3-minimal, 3.11.2-1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.21.22ubuntu1
   apt  2.7.0
  RfKill:
   
  SourcePackage: network-manager
  Title: package network-manager 1.42.4-1ubuntu4 failed to install/upgrade: 
installed network-manager package post-installation script subprocess returned 
error exit status 8
  UpgradeStatus: Upgraded to mantic on 2023-06-01 (0 days ago)
  nmcli-con: Error: command ['nmcli', '-f', 'all', 'con'] failed with exit code 
8: Error: NetworkManager is not running.
  nmcli-dev: Error: command ['nmcli', '-f', 'all', 'dev'] failed with exit code 
8: Error: NetworkManager is not running.
  nmcli-nm: Error: command ['nmcli', '-f', 'all', 'gen'] failed with exit code 
8: Error: NetworkManager is not running.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2022023/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2022023] Re: package network-manager 1.42.4-1ubuntu4 failed to install/upgrade: installed network-manager package post-installation script subprocess returned error exit status 8

2023-06-01 Thread Danilo Egea Gondolfo
Thanks for your bug report.

This problem seems to be caused by the netplan migration logic in the
postinst script. I'm looking into it.

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2022023

Title:
  package network-manager 1.42.4-1ubuntu4 failed to install/upgrade:
  installed network-manager package post-installation script subprocess
  returned error exit status 8

Status in network-manager package in Ubuntu:
  New

Bug description:
  I am using netplan for my network config.

  ProblemType: Package
  DistroRelease: Ubuntu 23.10
  Package: network-manager 1.42.4-1ubuntu4
  ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
  Uname: Linux 6.2.0-20-generic x86_64
  ApportVersion: 2.26.1-0ubuntu3
  Architecture: amd64
  CRDA: N/A
  CasperMD5CheckResult: unknown
  Date: Thu Jun  1 12:05:16 2023
  ErrorMessage: installed network-manager package post-installation script 
subprocess returned error exit status 8
  InstallationDate: Installed on 2020-04-25 (1131 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
  IpRoute:
   default via 192.168.56.1 dev enp7s0 proto static 
   192.168.56.0/30 dev enp7s0 proto kernel scope link src 192.168.56.2
  IwConfig:
   lono wireless extensions.
   
   enp7s0no wireless extensions.
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
  Python3Details: /usr/bin/python3.11, Python 3.11.3, python3-minimal, 3.11.2-1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.21.22ubuntu1
   apt  2.7.0
  RfKill:
   
  SourcePackage: network-manager
  Title: package network-manager 1.42.4-1ubuntu4 failed to install/upgrade: 
installed network-manager package post-installation script subprocess returned 
error exit status 8
  UpgradeStatus: Upgraded to mantic on 2023-06-01 (0 days ago)
  nmcli-con: Error: command ['nmcli', '-f', 'all', 'con'] failed with exit code 
8: Error: NetworkManager is not running.
  nmcli-dev: Error: command ['nmcli', '-f', 'all', 'dev'] failed with exit code 
8: Error: NetworkManager is not running.
  nmcli-nm: Error: command ['nmcli', '-f', 'all', 'gen'] failed with exit code 
8: Error: NetworkManager is not running.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2022023/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp


[Touch-packages] [Bug 2022023] Re: package network-manager 1.42.4-1ubuntu4 failed to install/upgrade: installed network-manager package post-installation script subprocess returned error exit status 8

2023-05-31 Thread Apport retracing service
** Tags removed: need-duplicate-check

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to network-manager in Ubuntu.
https://bugs.launchpad.net/bugs/2022023

Title:
  package network-manager 1.42.4-1ubuntu4 failed to install/upgrade:
  installed network-manager package post-installation script subprocess
  returned error exit status 8

Status in network-manager package in Ubuntu:
  New

Bug description:
  I am using netplan for my network config.

  ProblemType: Package
  DistroRelease: Ubuntu 23.10
  Package: network-manager 1.42.4-1ubuntu4
  ProcVersionSignature: Ubuntu 6.2.0-20.20-generic 6.2.6
  Uname: Linux 6.2.0-20-generic x86_64
  ApportVersion: 2.26.1-0ubuntu3
  Architecture: amd64
  CRDA: N/A
  CasperMD5CheckResult: unknown
  Date: Thu Jun  1 12:05:16 2023
  ErrorMessage: installed network-manager package post-installation script 
subprocess returned error exit status 8
  InstallationDate: Installed on 2020-04-25 (1131 days ago)
  InstallationMedia: Ubuntu 20.04 LTS "Focal Fossa" - Beta amd64 (20200402)
  IpRoute:
   default via 192.168.56.1 dev enp7s0 proto static 
   192.168.56.0/30 dev enp7s0 proto kernel scope link src 192.168.56.2
  IwConfig:
   lono wireless extensions.
   
   enp7s0no wireless extensions.
  NetworkManager.state:
   [main]
   NetworkingEnabled=true
   WirelessEnabled=true
   WWANEnabled=true
  Python3Details: /usr/bin/python3.11, Python 3.11.3, python3-minimal, 3.11.2-1
  PythonDetails: N/A
  RebootRequiredPkgs: Error: path contained symlinks.
  RelatedPackageVersions:
   dpkg 1.21.22ubuntu1
   apt  2.7.0
  RfKill:
   
  SourcePackage: network-manager
  Title: package network-manager 1.42.4-1ubuntu4 failed to install/upgrade: 
installed network-manager package post-installation script subprocess returned 
error exit status 8
  UpgradeStatus: Upgraded to mantic on 2023-06-01 (0 days ago)
  nmcli-con: Error: command ['nmcli', '-f', 'all', 'con'] failed with exit code 
8: Error: NetworkManager is not running.
  nmcli-dev: Error: command ['nmcli', '-f', 'all', 'dev'] failed with exit code 
8: Error: NetworkManager is not running.
  nmcli-nm: Error: command ['nmcli', '-f', 'all', 'gen'] failed with exit code 
8: Error: NetworkManager is not running.

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/2022023/+subscriptions


-- 
Mailing list: https://launchpad.net/~touch-packages
Post to : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp