package oscar 1.0.1-r1 failed to install/upgrade: installed oscar package post-installation script subprocess returned error exit status 1

Bug #1912827 reported by Carl B.
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oscar (Ubuntu)
New
Undecided
Unassigned

Bug Description

Description: Ubuntu 20.10
Release: 20.10

oscar:
  Installed: 1.0.1-r1
  Candidate: 1.1.1-1
  Version table:
     1.1.1-1 500
        500 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 Packages
 *** 1.0.1-r1 100
        100 /var/lib/dpkg/status

This machine is a fresh install (groovy gorilla, amd64) with "minimal" packages - so LibreOffice was not installed by default. I attempted to open an .xls file by clicking it in the file manager; responded to the resulting pop-up dialogue with "find an app to open this" and (from the list of three suggested apps) selecting LibreOffice Calc. The "Ubuntu Software" app popped up; I clicked "Install" - it sat at "0% completed" for a minute or two, then failed with the prompt to report this to Ubuntu as a bug and with "Unable to install 'LibreOffice Calc' as not supported.

An attempt to "apt install libreoffice" as root from the command line also fails, with:

# apt install libreoffice
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 80096 (packagekitd)
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbrotli1:i386 libbsd0:i386 libcairo2:i386 libexpat1:i386 libffi8ubuntu1:i386 libfontconfig1:i386 libfreetype6:i386
  libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 libpixman-1-0:i386 libpng16-16:i386
  libtiff5:i386 libwebp6:i386 libx11-6:i386 libxau6:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb1:i386 libxdmcp6:i386
  libxext6:i386 libxrender1:i386
Use 'apt autoremove' to remove them.
The following additional packages will be installed:
  firebird3.0-common firebird3.0-common-doc firebird3.0-server-core firebird3.0-utils fonts-crosextra-caladea
  fonts-crosextra-carlito fonts-dejavu fonts-linuxlibertine fonts-noto-core fonts-noto-extra fonts-noto-ui-core fonts-sil-gentium
  fonts-sil-gentium-basic gstreamer1.0-gtk3 libabw-0.1-1 libbsh-java libcommons-logging-java libe-book-0.1-1 libepubgen-0.1-1
  libfbclient2 libfreehand-0.1-1 libib-util libmspub-0.1-1 libpagemaker-0.0-0 libpq5 libreoffice-base libreoffice-base-drivers
  libreoffice-draw libreoffice-gnome libreoffice-gtk3 libreoffice-impress libreoffice-java-common libreoffice-math
  libreoffice-nlpsolver libreoffice-report-builder libreoffice-report-builder-bin libreoffice-script-provider-bsh
  libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-sdbc-firebird libreoffice-sdbc-mysql
  libreoffice-sdbc-postgresql libreoffice-style-elementary libreoffice-style-yaru libreoffice-wiki-publisher libreoffice-writer
  libtommath1 libunoil-java
Suggested packages:
  firebird3.0-server firebird3.0-doc libavalon-framework-java libcommons-logging-java-doc libexcalibur-logkit-java
  liblog4j1.2-java gpa hyphen-hyphenation-patterns libreoffice-grammarcheck libreoffice-help libreoffice-l10n
  libreoffice-librelogo myspell-dictionary mythes-thesaurus openclipart2-libreoffice | openclipart-libreoffice pstoedit unixodbc
  libofficebean-java libjtds-java libreoffice-sdbc-hsqldb libsqliteodbc | tdsodbc | odbc-mdbtools libreoffice-evolution
  libreofficekit-data postgresql mediawiki
The following NEW packages will be installed:
  firebird3.0-common firebird3.0-common-doc firebird3.0-server-core firebird3.0-utils fonts-crosextra-caladea
  fonts-crosextra-carlito fonts-dejavu fonts-linuxlibertine fonts-noto-core fonts-noto-extra fonts-noto-ui-core fonts-sil-gentium
  fonts-sil-gentium-basic gstreamer1.0-gtk3 libabw-0.1-1 libbsh-java libcommons-logging-java libe-book-0.1-1 libepubgen-0.1-1
  libfbclient2 libfreehand-0.1-1 libib-util libmspub-0.1-1 libpagemaker-0.0-0 libpq5 libreoffice libreoffice-base
  libreoffice-base-drivers libreoffice-draw libreoffice-gnome libreoffice-gtk3 libreoffice-impress libreoffice-java-common
  libreoffice-math libreoffice-nlpsolver libreoffice-report-builder libreoffice-report-builder-bin libreoffice-script-provider-bsh
  libreoffice-script-provider-js libreoffice-script-provider-python libreoffice-sdbc-firebird libreoffice-sdbc-mysql
  libreoffice-sdbc-postgresql libreoffice-style-elementary libreoffice-style-yaru libreoffice-wiki-publisher libreoffice-writer
  libtommath1 libunoil-java
0 upgraded, 49 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
Need to get 122 MB of archives.
After this operation, 519 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice-base-drivers amd64 1:7.0.3-0ubuntu0.20.10.1 [534 kB]
Get:2 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice-base amd64 1:7.0.3-0ubuntu0.20.10.1 [1,600 kB]
Get:3 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 firebird3.0-common-doc all 3.0.6.33328.ds4-2build1 [25.6 kB]
Get:4 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 firebird3.0-common all 3.0.6.33328.ds4-2build1 [14.9 kB]
Get:5 http://ca.archive.ubuntu.com/ubuntu groovy/main amd64 libtommath1 amd64 1.2.0-5 [52.0 kB]
Get:6 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 libfbclient2 amd64 3.0.6.33328.ds4-2build1 [531 kB]
Get:7 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 libib-util amd64 3.0.6.33328.ds4-2build1 [3,316 B]
Get:8 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 firebird3.0-server-core amd64 3.0.6.33328.ds4-2build1 [2,535 kB]
Get:9 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 firebird3.0-utils amd64 3.0.6.33328.ds4-2build1 [837 kB]
Get:10 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 fonts-crosextra-caladea all 20130214-2 [82.4 kB]
Get:11 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 fonts-crosextra-carlito all 20130920-1 [742 kB]
Get:12 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 fonts-dejavu all 2.37-2 [3,188 B]
Get:13 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 fonts-linuxlibertine all 5.3.0-4 [1,627 kB]
Get:14 http://ca.archive.ubuntu.com/ubuntu groovy/main amd64 fonts-noto-core all 20200323-1build1 [10.9 MB]
Get:15 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 fonts-noto-extra all 20200323-1build1 [68.8 MB]
Get:16 http://ca.archive.ubuntu.com/ubuntu groovy/main amd64 fonts-noto-ui-core all 20200323-1build1 [1,326 kB]
Get:17 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 fonts-sil-gentium all 20081126:1.03-3 [245 kB]
Get:18 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 fonts-sil-gentium-basic all 1.102-1 [384 kB]
Get:19 http://ca.archive.ubuntu.com/ubuntu groovy/main amd64 gstreamer1.0-gtk3 amd64 1.18.0-1ubuntu1 [27.7 kB]
Get:20 http://ca.archive.ubuntu.com/ubuntu groovy/main amd64 libabw-0.1-1 amd64 0.1.3-1build1 [114 kB]
Get:21 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 libbsh-java all 2.0b4-20 [289 kB]
Get:22 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 libcommons-logging-java all 1.2-2 [60.3 kB]
Get:23 http://ca.archive.ubuntu.com/ubuntu groovy/main amd64 libe-book-0.1-1 amd64 0.1.3-1build4 [162 kB]
Get:24 http://ca.archive.ubuntu.com/ubuntu groovy/main amd64 libepubgen-0.1-1 amd64 0.1.1-1ubuntu2 [138 kB]
Get:25 http://ca.archive.ubuntu.com/ubuntu groovy/main amd64 libfreehand-0.1-1 amd64 0.1.2-3 [246 kB]
Get:26 http://ca.archive.ubuntu.com/ubuntu groovy/main amd64 libmspub-0.1-1 amd64 0.1.4-3build1 [137 kB]
Get:27 http://ca.archive.ubuntu.com/ubuntu groovy/main amd64 libpagemaker-0.0-0 amd64 0.0.4-1build1 [62.0 kB]
Get:28 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libpq5 amd64 12.5-0ubuntu0.20.10.1 [115 kB]
Get:29 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libreoffice-draw amd64 1:7.0.3-0ubuntu0.20.10.1 [2,905 kB]
Get:30 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libreoffice-impress amd64 1:7.0.3-0ubuntu0.20.10.1 [1,107 kB]
Get:31 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libreoffice-math amd64 1:7.0.3-0ubuntu0.20.10.1 [415 kB]
Get:32 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice-report-builder-bin amd64 1:7.0.3-0ubuntu0.20.10.1 [853 kB]
Get:33 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libreoffice-writer amd64 1:7.0.3-0ubuntu0.20.10.1 [8,977 kB]
Get:34 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice amd64 1:7.0.3-0ubuntu0.20.10.1 [12.6 kB]
Get:35 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libreoffice-gnome amd64 1:7.0.3-0ubuntu0.20.10.1 [56.9 kB]
Get:36 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libreoffice-gtk3 amd64 1:7.0.3-0ubuntu0.20.10.1 [434 kB]
Get:37 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libunoil-java all 1:7.0.3-0ubuntu0.20.10.1 [7,476 B]
Get:38 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libreoffice-java-common all 1:7.0.3-0ubuntu0.20.10.1 [624 kB]
Get:39 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice-report-builder all 1:7.0.3-0ubuntu0.20.10.1 [2,120 kB]
Get:40 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice-script-provider-bsh all 1:7.0.3-0ubuntu0.20.10.1 [39.5 kB]
Get:41 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice-script-provider-js all 1:7.0.3-0ubuntu0.20.10.1 [650 kB]
Get:42 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice-script-provider-python all 1:7.0.3-0ubuntu0.20.10.1 [16.3 kB]
Get:43 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice-sdbc-firebird amd64 1:7.0.3-0ubuntu0.20.10.1 [144 kB]
Get:44 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice-sdbc-mysql amd64 1:7.0.3-0ubuntu0.20.10.1 [107 kB]
Get:45 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice-sdbc-postgresql amd64 1:7.0.3-0ubuntu0.20.10.1 [245 kB]
Get:46 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libreoffice-style-elementary all 1:7.0.3-0ubuntu0.20.10.1 [7,461 kB]
Get:47 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libreoffice-style-yaru all 1:7.0.3-0ubuntu0.20.10.1 [2,494 kB]
Get:48 http://ca.archive.ubuntu.com/ubuntu groovy-updates/universe amd64 libreoffice-wiki-publisher all 1.2.0+LibO7.0.3-0ubuntu0.20.10.1 [1,392 kB]
Get:49 http://ca.archive.ubuntu.com/ubuntu groovy-updates/main amd64 libreoffice-nlpsolver all 0.9+LibO7.0.3-0ubuntu0.20.10.1 [680 kB]
Fetched 122 MB in 58s (2,095 kB/s)
Extracting templates from packages: 100%
Selecting previously unselected package libreoffice-base-drivers.
(Reading database ... 284965 files and directories currently installed.)
Preparing to unpack .../00-libreoffice-base-drivers_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice-base-drivers (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-base.
Preparing to unpack .../01-libreoffice-base_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
No diversion 'diversion of /usr/lib/libreoffice/share/basic/dialog.xlc to /usr/lib/libreoffice/share/basic/dialog.xlc.noaccess by li
breoffice-base', none removed.
No diversion 'diversion of /usr/lib/libreoffice/share/basic/script.xlc to /usr/lib/libreoffice/share/basic/script.xlc.noaccess by li
breoffice-base', none removed.
Unpacking libreoffice-base (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package firebird3.0-common-doc.
Preparing to unpack .../02-firebird3.0-common-doc_3.0.6.33328.ds4-2build1_all.deb ...
Unpacking firebird3.0-common-doc (3.0.6.33328.ds4-2build1) ...
Selecting previously unselected package firebird3.0-common.
Preparing to unpack .../03-firebird3.0-common_3.0.6.33328.ds4-2build1_all.deb ...
Unpacking firebird3.0-common (3.0.6.33328.ds4-2build1) ...
Selecting previously unselected package libtommath1:amd64.
Preparing to unpack .../04-libtommath1_1.2.0-5_amd64.deb ...
Unpacking libtommath1:amd64 (1.2.0-5) ...
Selecting previously unselected package libfbclient2:amd64.
Preparing to unpack .../05-libfbclient2_3.0.6.33328.ds4-2build1_amd64.deb ...
Unpacking libfbclient2:amd64 (3.0.6.33328.ds4-2build1) ...
Selecting previously unselected package libib-util:amd64.
Preparing to unpack .../06-libib-util_3.0.6.33328.ds4-2build1_amd64.deb ...
Unpacking libib-util:amd64 (3.0.6.33328.ds4-2build1) ...
Selecting previously unselected package firebird3.0-server-core:amd64.
Preparing to unpack .../07-firebird3.0-server-core_3.0.6.33328.ds4-2build1_amd64.deb ...
Unpacking firebird3.0-server-core:amd64 (3.0.6.33328.ds4-2build1) ...
Selecting previously unselected package firebird3.0-utils.
Preparing to unpack .../08-firebird3.0-utils_3.0.6.33328.ds4-2build1_amd64.deb ...
Unpacking firebird3.0-utils (3.0.6.33328.ds4-2build1) ...
Selecting previously unselected package fonts-crosextra-caladea.
Preparing to unpack .../09-fonts-crosextra-caladea_20130214-2_all.deb ...
Unpacking fonts-crosextra-caladea (20130214-2) ...
Selecting previously unselected package fonts-crosextra-carlito.
Preparing to unpack .../10-fonts-crosextra-carlito_20130920-1_all.deb ...
Unpacking fonts-crosextra-carlito (20130920-1) ...
Selecting previously unselected package fonts-dejavu.
Preparing to unpack .../11-fonts-dejavu_2.37-2_all.deb ...
Unpacking fonts-dejavu (2.37-2) ...
Selecting previously unselected package fonts-linuxlibertine.
Preparing to unpack .../12-fonts-linuxlibertine_5.3.0-4_all.deb ...
Unpacking fonts-linuxlibertine (5.3.0-4) ...
Selecting previously unselected package fonts-noto-core.
Preparing to unpack .../13-fonts-noto-core_20200323-1build1_all.deb ...
Unpacking fonts-noto-core (20200323-1build1) ...
Selecting previously unselected package fonts-noto-extra.
Preparing to unpack .../14-fonts-noto-extra_20200323-1build1_all.deb ...
Unpacking fonts-noto-extra (20200323-1build1) ...
Selecting previously unselected package fonts-noto-ui-core.
Preparing to unpack .../15-fonts-noto-ui-core_20200323-1build1_all.deb ...
Unpacking fonts-noto-ui-core (20200323-1build1) ...
Selecting previously unselected package fonts-sil-gentium.
Preparing to unpack .../16-fonts-sil-gentium_20081126%3a1.03-3_all.deb ...
Unpacking fonts-sil-gentium (20081126:1.03-3) ...
Selecting previously unselected package fonts-sil-gentium-basic.
Preparing to unpack .../17-fonts-sil-gentium-basic_1.102-1_all.deb ...
Unpacking fonts-sil-gentium-basic (1.102-1) ...
Selecting previously unselected package gstreamer1.0-gtk3:amd64.
Preparing to unpack .../18-gstreamer1.0-gtk3_1.18.0-1ubuntu1_amd64.deb ...
Unpacking gstreamer1.0-gtk3:amd64 (1.18.0-1ubuntu1) ...
Selecting previously unselected package libabw-0.1-1:amd64.
Preparing to unpack .../19-libabw-0.1-1_0.1.3-1build1_amd64.deb ...
Unpacking libabw-0.1-1:amd64 (0.1.3-1build1) ...
Selecting previously unselected package libbsh-java.
Preparing to unpack .../20-libbsh-java_2.0b4-20_all.deb ...
Unpacking libbsh-java (2.0b4-20) ...
Selecting previously unselected package libcommons-logging-java.
Preparing to unpack .../21-libcommons-logging-java_1.2-2_all.deb ...
Unpacking libcommons-logging-java (1.2-2) ...
Selecting previously unselected package libe-book-0.1-1:amd64.
Preparing to unpack .../22-libe-book-0.1-1_0.1.3-1build4_amd64.deb ...
Unpacking libe-book-0.1-1:amd64 (0.1.3-1build4) ...
Selecting previously unselected package libepubgen-0.1-1:amd64.
Preparing to unpack .../23-libepubgen-0.1-1_0.1.1-1ubuntu2_amd64.deb ...
Unpacking libepubgen-0.1-1:amd64 (0.1.1-1ubuntu2) ...
Selecting previously unselected package libfreehand-0.1-1.
Preparing to unpack .../24-libfreehand-0.1-1_0.1.2-3_amd64.deb ...
Unpacking libfreehand-0.1-1 (0.1.2-3) ...
Selecting previously unselected package libmspub-0.1-1:amd64.
Preparing to unpack .../25-libmspub-0.1-1_0.1.4-3build1_amd64.deb ...
Unpacking libmspub-0.1-1:amd64 (0.1.4-3build1) ...
Selecting previously unselected package libpagemaker-0.0-0:amd64.
Preparing to unpack .../26-libpagemaker-0.0-0_0.0.4-1build1_amd64.deb ...
Unpacking libpagemaker-0.0-0:amd64 (0.0.4-1build1) ...
Selecting previously unselected package libpq5:amd64.
Preparing to unpack .../27-libpq5_12.5-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libpq5:amd64 (12.5-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-draw.
Preparing to unpack .../28-libreoffice-draw_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice-draw (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-impress.
Preparing to unpack .../29-libreoffice-impress_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice-impress (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-math.
Preparing to unpack .../30-libreoffice-math_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice-math (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-report-builder-bin.
Preparing to unpack .../31-libreoffice-report-builder-bin_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice-report-builder-bin (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-writer.
Preparing to unpack .../32-libreoffice-writer_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice-writer (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice.
Preparing to unpack .../33-libreoffice_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-gnome.
Preparing to unpack .../34-libreoffice-gnome_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice-gnome (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-gtk3.
Preparing to unpack .../35-libreoffice-gtk3_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice-gtk3 (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libunoil-java.
Preparing to unpack .../36-libunoil-java_1%3a7.0.3-0ubuntu0.20.10.1_all.deb ...
Unpacking libunoil-java (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-java-common.
Preparing to unpack .../37-libreoffice-java-common_1%3a7.0.3-0ubuntu0.20.10.1_all.deb ...
Unpacking libreoffice-java-common (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-report-builder.
Preparing to unpack .../38-libreoffice-report-builder_1%3a7.0.3-0ubuntu0.20.10.1_all.deb ...
Unpacking libreoffice-report-builder (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-script-provider-bsh.
Preparing to unpack .../39-libreoffice-script-provider-bsh_1%3a7.0.3-0ubuntu0.20.10.1_all.deb ...
Unpacking libreoffice-script-provider-bsh (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-script-provider-js.
Preparing to unpack .../40-libreoffice-script-provider-js_1%3a7.0.3-0ubuntu0.20.10.1_all.deb ...
Unpacking libreoffice-script-provider-js (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-script-provider-python.
Preparing to unpack .../41-libreoffice-script-provider-python_1%3a7.0.3-0ubuntu0.20.10.1_all.deb ...
Unpacking libreoffice-script-provider-python (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-sdbc-firebird.
Preparing to unpack .../42-libreoffice-sdbc-firebird_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice-sdbc-firebird (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-sdbc-mysql.
Preparing to unpack .../43-libreoffice-sdbc-mysql_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice-sdbc-mysql (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-sdbc-postgresql.
Preparing to unpack .../44-libreoffice-sdbc-postgresql_1%3a7.0.3-0ubuntu0.20.10.1_amd64.deb ...
Unpacking libreoffice-sdbc-postgresql (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-style-elementary.
Preparing to unpack .../45-libreoffice-style-elementary_1%3a7.0.3-0ubuntu0.20.10.1_all.deb ...
Unpacking libreoffice-style-elementary (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-style-yaru.
Preparing to unpack .../46-libreoffice-style-yaru_1%3a7.0.3-0ubuntu0.20.10.1_all.deb ...
Unpacking libreoffice-style-yaru (1:7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-wiki-publisher.
Preparing to unpack .../47-libreoffice-wiki-publisher_1.2.0+LibO7.0.3-0ubuntu0.20.10.1_all.deb ...
Unpacking libreoffice-wiki-publisher (1.2.0+LibO7.0.3-0ubuntu0.20.10.1) ...
Selecting previously unselected package libreoffice-nlpsolver.
Preparing to unpack .../48-libreoffice-nlpsolver_0.9+LibO7.0.3-0ubuntu0.20.10.1_all.deb ...
Unpacking libreoffice-nlpsolver (0.9+LibO7.0.3-0ubuntu0.20.10.1) ...
Setting up libreoffice-style-elementary (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up libreoffice-math (1:7.0.3-0ubuntu0.20.10.1) ...

Creating config file /etc/libreoffice/registry/math.xcd with new version
Setting up libreoffice-gtk3 (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up fonts-sil-gentium-basic (1.102-1) ...
Setting up fonts-dejavu (2.37-2) ...
Setting up libmspub-0.1-1:amd64 (0.1.4-3build1) ...
Setting up libtommath1:amd64 (1.2.0-5) ...
Setting up fonts-noto-extra (20200323-1build1) ...
Setting up oscar (1.0.1-r1) ...
mv: cannot stat '/opt/tempDir': No such file or directory
ln: failed to create symbolic link '/usr/bin/OSCAR': File exists
chown: cannot access '/home//Desktop/OSCAR.desktop': Not a directory
chmod: cannot access '/home//Desktop/OSCAR.desktop': Not a directory
dpkg: error processing package oscar (--configure):
 installed oscar package post-installation script subprocess returned error exit status 1
Setting up libreoffice-base-drivers (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up libunoil-java (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up libpq5:amd64 (12.5-0ubuntu0.20.10.1) ...
Setting up libcommons-logging-java (1.2-2) ...
Setting up libreoffice-script-provider-python (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up gstreamer1.0-gtk3:amd64 (1.18.0-1ubuntu1) ...
Setting up libpagemaker-0.0-0:amd64 (0.0.4-1build1) ...
Setting up libe-book-0.1-1:amd64 (0.1.3-1build4) ...
Setting up firebird3.0-common-doc (3.0.6.33328.ds4-2build1) ...
Setting up fonts-crosextra-carlito (20130920-1) ...
Setting up firebird3.0-common (3.0.6.33328.ds4-2build1) ...
Setting up fonts-sil-gentium (20081126:1.03-3) ...
Setting up libreoffice-sdbc-mysql (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up libfreehand-0.1-1 (0.1.2-3) ...
Setting up fonts-linuxlibertine (5.3.0-4) ...
Setting up libbsh-java (2.0b4-20) ...
Setting up libreoffice-gnome (1:7.0.3-0ubuntu0.20.10.1) ...

Creating config file /etc/libreoffice/registry/gnome.xcd with new version
Setting up libabw-0.1-1:amd64 (0.1.3-1build1) ...
Setting up libepubgen-0.1-1:amd64 (0.1.1-1ubuntu2) ...
Setting up fonts-crosextra-caladea (20130214-2) ...
Setting up libreoffice-style-yaru (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up libib-util:amd64 (3.0.6.33328.ds4-2build1) ...
Setting up fonts-noto-ui-core (20200323-1build1) ...
Setting up fonts-noto-core (20200323-1build1) ...
Setting up libreoffice-base (1:7.0.3-0ubuntu0.20.10.1) ...

Creating config file /etc/libreoffice/registry/base.xcd with new version
Setting up libreoffice-sdbc-postgresql (1:7.0.3-0ubuntu0.20.10.1) ...

Creating config file /etc/libreoffice/registry/postgresql.xcd with new version
Setting up libreoffice-writer (1:7.0.3-0ubuntu0.20.10.1) ...

Creating config file /etc/libreoffice/registry/writer.xcd with new version
Setting up libreoffice-draw (1:7.0.3-0ubuntu0.20.10.1) ...

Creating config file /etc/libreoffice/registry/draw.xcd with new version

Creating config file /etc/libreoffice/registry/graphicfilter.xcd with new version
Setting up libreoffice-java-common (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up libreoffice-wiki-publisher (1.2.0+LibO7.0.3-0ubuntu0.20.10.1) ...
Setting up libreoffice-nlpsolver (0.9+LibO7.0.3-0ubuntu0.20.10.1) ...
Setting up libreoffice-report-builder-bin (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up libfbclient2:amd64 (3.0.6.33328.ds4-2build1) ...
Setting up firebird3.0-utils (3.0.6.33328.ds4-2build1) ...
Setting up libreoffice-impress (1:7.0.3-0ubuntu0.20.10.1) ...

Creating config file /etc/libreoffice/registry/impress.xcd with new version

Creating config file /etc/libreoffice/registry/ogltrans.xcd with new version
Setting up libreoffice-script-provider-bsh (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up libreoffice-script-provider-js (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up libreoffice (1:7.0.3-0ubuntu0.20.10.1) ...
Setting up libreoffice-report-builder (1:7.0.3-0ubuntu0.20.10.1) ...

Creating config file /etc/libreoffice/registry/reportbuilder.xcd with new version
Setting up firebird3.0-server-core:amd64 (3.0.6.33328.ds4-2build1) ...
Setting up libreoffice-sdbc-firebird (1:7.0.3-0ubuntu0.20.10.1) ...
Processing triggers for fontconfig (2.13.1-2ubuntu3) ...
Processing triggers for desktop-file-utils (0.24-1ubuntu4) ...
Processing triggers for mime-support (3.64ubuntu1) ...
Processing triggers for gnome-menus (3.36.0-1ubuntu1) ...
Processing triggers for libc-bin (2.32-0ubuntu3) ...
Processing triggers for man-db (2.9.3-2) ...
Processing triggers for libreoffice-common (1:7.0.3-0ubuntu0.20.10.1) ...
Errors were encountered while processing:
 oscar
E: Sub-process /usr/bin/dpkg returned an error code (1)

Attempting to remove or reinstall the 'oscar' package also fails:

root@amdesktop:~/debs# apt remove oscar
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbrotli1:i386 libbsd0:i386 libcairo2:i386 libexpat1:i386 libffi8ubuntu1:i386 libfontconfig1:i386 libfreetype6:i386
  libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 libpixman-1-0:i386 libpng16-16:i386
  libqt5serialport5 libtiff5:i386 libwebp6:i386 libx11-6:i386 libxau6:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb1:i386
  libxdmcp6:i386 libxext6:i386 libxrender1:i386
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  oscar
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 9,927 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 290877 files and directories currently installed.)
Removing oscar (1.0.1-r1) ...
rm: cannot remove '/home//Desktop/OSCAR.desktop': Not a directory
dpkg: error processing package oscar (--remove):
 installed oscar package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
chown: cannot access '/home//Desktop/OSCAR.desktop': Not a directory
chmod: cannot access '/home//Desktop/OSCAR.desktop': Not a directory
dpkg: error while cleaning up:
 installed oscar package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 oscar
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@amdesktop:~/debs# apt remove oscar
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbrotli1:i386 libbsd0:i386 libcairo2:i386 libexpat1:i386 libffi8ubuntu1:i386 libfontconfig1:i386 libfreetype6:i386
  libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 libpixman-1-0:i386 libpng16-16:i386
  libqt5serialport5 libtiff5:i386 libwebp6:i386 libx11-6:i386 libxau6:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb1:i386
  libxdmcp6:i386 libxext6:i386 libxrender1:i386
Use 'apt autoremove' to remove them.
The following packages will be REMOVED:
  oscar
0 upgraded, 0 newly installed, 1 to remove and 0 not upgraded.
1 not fully installed or removed.
After this operation, 9,927 kB disk space will be freed.
Do you want to continue? [Y/n] y
(Reading database ... 290877 files and directories currently installed.)
Removing oscar (1.0.1-r1) ...
rm: cannot remove '/home//Desktop/OSCAR.desktop': Not a directory
dpkg: error processing package oscar (--remove):
 installed oscar package pre-removal script subprocess returned error exit status 1
dpkg: too many errors, stopping
chown: cannot access '/home//Desktop/OSCAR.desktop': Not a directory
chmod: cannot access '/home//Desktop/OSCAR.desktop': Not a directory
dpkg: error while cleaning up:
 installed oscar package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 oscar
Processing was halted because there were too many errors.
E: Sub-process /usr/bin/dpkg returned an error code (1)

root@amdesktop:~/debs# apt install --reinstall oscar
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libbrotli1:i386 libbsd0:i386 libcairo2:i386 libexpat1:i386 libffi8ubuntu1:i386 libfontconfig1:i386 libfreetype6:i386
  libgdk-pixbuf2.0-0:i386 libglib2.0-0:i386 libjbig0:i386 libjpeg-turbo8:i386 libjpeg8:i386 libpixman-1-0:i386 libpng16-16:i386
  libtiff5:i386 libwebp6:i386 libx11-6:i386 libxau6:i386 libxcb-render0:i386 libxcb-shm0:i386 libxcb1:i386 libxdmcp6:i386
  libxext6:i386 libxrender1:i386
Use 'apt autoremove' to remove them.
The following packages will be upgraded:
  oscar
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 3,357 kB of archives.
After this operation, 2,383 kB disk space will be freed.
Get:1 http://ca.archive.ubuntu.com/ubuntu groovy/universe amd64 oscar amd64 1.1.1-1 [3,357 kB]
Fetched 3,357 kB in 2s (1,844 kB/s)
(Reading database ... 290878 files and directories currently installed.)
Preparing to unpack .../oscar_1.1.1-1_amd64.deb ...
rm: cannot remove '/home//Desktop/OSCAR.desktop': Not a directory
dpkg: warning: old oscar package pre-removal script subprocess returned error exit status 1
dpkg: trying script from the new package instead ...
dpkg: error processing archive /var/cache/apt/archives/oscar_1.1.1-1_amd64.deb (--unpack):
 there is no script in the new version of the package - giving up
chown: cannot access '/home//Desktop/OSCAR.desktop': Not a directory
chmod: cannot access '/home//Desktop/OSCAR.desktop': Not a directory
dpkg: error while cleaning up:
 installed oscar package post-installation script subprocess returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/oscar_1.1.1-1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
root@amdesktop:~/debs#

root@amdesktop:~/debs# ls -l /home/Desktop
-rw-r--r-- 1 root root 194 Jan 22 12:56 /home/Desktop
root@amdesktop:~/debs# cat /home/Desktop
[Desktop Entry]
Version=1.1
Name=OSCAR
GenericName=CPAP Reporter
TryExec=OSCAR
Exec=OSCAR
Terminal=false
Icon=/opt/OSCAR/OSCAR.png
Type=Application
Categories=Education,Science,MedicalSoftware

Any attempt to delete /home//Desktop/OSCAR.desktop only sees it re-created on the next "apt" run. The only way past this is to delete /home/Desktop (a text file which looks to be a .desktop shortcut), then create /home/Desktop as a directory, then touch /home/Desktop/OSCAR.desktop so that the file exists. At that point, 'apt' may be used to either remove or reinstall the package:

# ls -l /home/Desktop
-rw-r--r-- 1 root root 194 Jan 22 12:59 /home/Desktop
# rm /home/Desktop
# mkdir /home/Desktop
# cp ~carlb/Desktop/OSCAR.desktop /home/Desktop/
# apt install --reinstall oscar

succeeds. No idea why this happened, no idea whether it's a bug or just one corrupted system.

ProblemType: Package
DistroRelease: Ubuntu 20.10
Package: oscar 1.0.1-r1
ProcVersionSignature: Ubuntu 5.8.0-40.45-generic 5.8.18
Uname: Linux 5.8.0-40-generic x86_64
ApportVersion: 2.20.11-0ubuntu50.3
Architecture: amd64
CasperMD5CheckResult: skip
Date: Fri Jan 22 12:27:36 2021
ErrorMessage: installed oscar package post-installation script subprocess returned error exit status 1
Python3Details: /usr/bin/python3.8, Python 3.8.6, python3-minimal, 3.8.6-0ubuntu1
PythonDetails: /usr/bin/python2.7, Python 2.7.18, python-is-python2, 2.7.17-4
RelatedPackageVersions:
 dpkg 1.20.5ubuntu2
 apt 2.1.10ubuntu0.2
SourcePackage: oscar
Title: package oscar 1.0.1-r1 failed to install/upgrade: installed oscar package post-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Carl B. (carlb) wrote :
tags: removed: need-duplicate-check
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.