** Description changed:

  I recently upgraded several of our servers with latest updates. After
  downgrading to 20.3 it works as expected again.
  
  For some reason it core dumps on apt commands
  # apt-get clean
  # apt update
- Hit:1 http://1tvsubu01.st.frejaeid.com/repository/standalone/elastic 
stable-elk-stable InRelease
- Hit:2 http://1tvsubu01.st.frejaeid.com/repository/standalone/elastic 
stable-elk7-stable InRelease
- Hit:3 http://1tvsubu01.st.frejaeid.com/repository/standalone/elastic 
stable-elk-curator InRelease
- Hit:4 http://1tvsubu01.st.frejaeid.com/repository/standalone/ubuntu focal 
InRelease
- Hit:5 http://1tvsubu01.st.frejaeid.com/repository/standalone/ubuntu 
focal-security InRelease
- Hit:6 http://1tvsubu01.st.frejaeid.com/repository/standalone/ubuntu 
focal-updates InRelease
- Hit:7 http://1tvsubu01.st.frejaeid.com/repository/standalone/ubuntu 
focal-zabbix InRelease
- Hit:8 http://1tvsubu01.st.frejaeid.com/repository/standalone/ubuntu 
focal-zabbix5 InRelease
+ Hit:1 http://localubu/repository/standalone/elastic stable-elk-stable 
InRelease
+ Hit:2 http://localubu/repository/standalone/elastic stable-elk7-stable 
InRelease
+ Hit:3 http://localubu/repository/standalone/elastic stable-elk-curator 
InRelease
+ Hit:4 http://localubu/repository/standalone/ubuntu focal InRelease
+ Hit:5 http://localubu/repository/standalone/ubuntu focal-security InRelease
+ Hit:6 http://localubu/repository/standalone/ubuntu focal-updates InRelease
+ Hit:7 http://localubu/repository/standalone/ubuntu focal-zabbix InRelease
+ Hit:8 http://localubu/repository/standalone/ubuntu focal-zabbix5 InRelease
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  4 packages can be upgraded. Run 'apt list --upgradable' to see them.
  Segmentation fault (core dumped)
- oot@1tvselk12:~# apt dist-upgrade
+ # apt dist-upgrade
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  Calculating upgrade... Done
  Segmentation fault (core dumped)
  The following packages have been kept back:
-   auditbeat elasticsearch filebeat kibana
+   auditbeat elasticsearch filebeat kibana
  0 upgraded, 0 newly installed, 0 to remove and 4 not upgraded.
  Segmentation fault (core dumped)
  # apt-cache policy ubuntu-advantage-tools
  ubuntu-advantage-tools:
-   Installed: 27.0.2~20.04.1
-   Candidate: 27.0.2~20.04.1
-   Version table:
-  *** 27.0.2~20.04.1 500
-         500 http://1tvsubu01.st.frejaeid.com/repository/standalone/ubuntu 
focal-updates/main amd64 Packages
-         100 /var/lib/dpkg/status
-      20.3 500
-         500 http://1tvsubu01.st.frejaeid.com/repository/standalone/ubuntu 
focal/main amd64 Packages
+   Installed: 27.0.2~20.04.1
+   Candidate: 27.0.2~20.04.1
+   Version table:
+  *** 27.0.2~20.04.1 500
+         500 http://localubu/repository/standalone/ubuntu focal-updates/main 
amd64 Packages
+         100 /var/lib/dpkg/status
+      20.3 500
+         500 http://localubu/repository/standalone/ubuntu focal/main amd64 
Packages
  # apt-get install ubuntu-advantage-tools=20.3
  Reading package lists... Done
  Building dependency tree
  Reading state information... Done
  The following package was automatically installed and is no longer required:
-   distro-info
+   distro-info
  Use 'apt autoremove' to remove it.
  The following packages will be DOWNGRADED:
-   ubuntu-advantage-tools
+   ubuntu-advantage-tools
  0 upgraded, 0 newly installed, 1 downgraded, 0 to remove and 4 not upgraded.
  Need to get 47.6 kB of archives.
  After this operation, 2331 kB disk space will be freed.
  Do you want to continue? [Y/n]
- Get:1 http://1tvsubu01.st.frejaeid.com/repository/standalone/ubuntu 
focal/main amd64 ubuntu-advantage-tools amd64 20.3 [47.6 kB]
+ Get:1 http://localubu/repository/standalone/ubuntu focal/main amd64 
ubuntu-advantage-tools amd64 20.3 [47.6 kB]
  Fetched 47.6 kB in 0s (1674 kB/s)
  Preconfiguring packages ...
  Can't exec "/tmp/ubuntu-advantage-tools.config.QQtxfG": Permission denied at 
/usr/share/perl/5.30/IPC/Open3.pm line 281.
  open2: exec of /tmp/ubuntu-advantage-tools.config.QQtxfG configure 
27.0.2~20.04.1 failed: Permission denied at 
/usr/share/perl5/Debconf/ConfModule.pm line 59.
  dpkg: warning: downgrading ubuntu-advantage-tools from 27.0.2~20.04.1 to 20.3
  (Reading database ... 187779 files and directories currently installed.)
  Preparing to unpack .../ubuntu-advantage-tools_20.3_amd64.deb ...
  Unpacking ubuntu-advantage-tools (20.3) over (27.0.2~20.04.1) ...
  Setting up ubuntu-advantage-tools (20.3) ...
  Installing new version of config file /etc/ubuntu-advantage/uaclient.conf ...
  Processing triggers for man-db (2.9.1-1) ...
  /usr/bin/mandb: can't open the manpath configuration file /etc/manpath.config

** Information type changed from Public to Private

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

Title:
  All apt commands failed after upgrade to 27.0.2~20.04.1

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

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

Reply via email to