package chromium-browser (not installed) failed to install/upgrade: new chromium-browser package pre-installation script subprocess returned error exit status 1

Bug #1874281 reported by Norbert
20
This bug affects 4 people
Affects Status Importance Assigned to Milestone
chromium-browser (Ubuntu)
Invalid
Undecided
Unassigned
ubuntu-mate-welcome (Ubuntu)
Invalid
Undecided
Unassigned

Bug Description

Does not install from Ubuntu MATE Welcome.

Logs:

 installArchives() failed:

Selecting previously unselected package chromium-browser.
(Reading database ...
(Reading database ... 5%%
(Reading database ... 10%%
(Reading database ... 15%%
(Reading database ... 20%%
(Reading database ... 25%%
(Reading database ... 30%%
(Reading database ... 35%%
(Reading database ... 40%%
(Reading database ... 45%%
(Reading database ... 50%%
(Reading database ... 55%%
(Reading database ... 60%%
(Reading database ... 65%%
(Reading database ... 70%%
(Reading database ... 75%%
(Reading database ... 80%%
(Reading database ... 85%%
(Reading database ... 90%%
(Reading database ... 95%%
(Reading database ... 100%%
(Reading database ... 673766 files and directories currently installed.)
Preparing to unpack .../chromium-browser_80.0.3987.163-0ubuntu1_amd64.deb ...
=> Installing the chromium snap
==> Checking connectivity with the snap store
==> Installing the chromium snap
: cannot communicate with server: timeout exceeded while waiting for response
dpkg: error processing archive /var/cache/apt/archives/chromium-browser_80.0.3987.163-0ubuntu1_amd64.deb (--unpack):
 new chromium-browser package pre-installation script subprocess returned error exit status 1
Selecting previously unselected package chromium-browser-l10n.
Preparing to unpack .../chromium-browser-l10n_80.0.3987.163-0ubuntu1_all.deb ...
Unpacking chromium-browser-l10n (80.0.3987.163-0ubuntu1) ...
Errors were encountered while processing:
 /var/cache/apt/archives/chromium-browser_80.0.3987.163-0ubuntu1_amd64.deb
dpkg: dependency problems prevent configuration of chromium-browser-l10n:
 chromium-browser-l10n depends on chromium-browser (>= 80.0.3987.163-0ubuntu1); however:
  Package chromium-browser is not installed.

dpkg: error processing package chromium-browser-l10n (--configure):
 dependency problems - leaving unconfigured

---

 Следующие пакеты имеют неудовлетворённые зависимости:

chromium-browser-l10n: Depends: chromium-browser (>= 80.0.3987.163-0ubuntu1) но он не установлен

---

Следующие пакеты имеют неудовлетворённые зависимости:

chromium-browser-l10n: Depends: chromium-browser (>= 80.0.3987.163-0ubuntu1) но он не установлен

ProblemType: Package
DistroRelease: Ubuntu 20.04
Package: chromium-browser (not installed)
ProcVersionSignature: Ubuntu 5.4.0-26.30-generic 5.4.30
Uname: Linux 5.4.0-26-generic x86_64
ApportVersion: 2.20.11-0ubuntu27
AptOrdering:
 chromium-browser:amd64: Install
 chromium-browser-l10n:amd64: Install
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: skip
Date: Wed Apr 22 17:56:36 2020
ErrorMessage: new chromium-browser package pre-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2020-04-22 (0 days ago)
InstallationMedia: Ubuntu-MATE 20.04 LTS "Focal Fossa" - Release amd64 (20200421)
Python3Details: /usr/bin/python3.8, Python 3.8.2, python3-minimal, 3.8.2-0ubuntu2
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.19.7ubuntu3
 apt 2.0.2
SourcePackage: chromium-browser
Title: package chromium-browser (not installed) failed to install/upgrade: new chromium-browser package pre-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Norbert (nrbrtx) wrote :
tags: removed: need-duplicate-check
Revision history for this message
Olivier Tilloy (osomon) wrote :

This looks similar to bug #1874120.

Were you connected to the internet when installing chromium?

Could you try reinstalling it?

    sudo apt install --reinstall chromium-browser

Changed in chromium-browser (Ubuntu):
status: New → Incomplete
Revision history for this message
Norbert (nrbrtx) wrote :

Of course I was connected to the Internet, I have installed all stuff from MATE Welcome. It run `apt-get update`'s hundreds of times.

Now I do:

```
$ snap refresh
Все пакеты актуальны.

sudo apt install --reinstall chromium-browser
[sudo] пароль для mate:
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово

Следующие НОВЫЕ пакеты будут установлены:
  chromium-browser
Обновлено 0 пакетов, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Установлено или удалено не до конца 1 пакетов.
Необходимо скачать 0 B/48,3 kB архивов.
После данной операции объём занятого дискового пространства возрастёт на 164 kB.
Предварительная настройка пакетов …
(Чтение базы данных … на данный момент установлено 673769 файлов и каталогов.)
Подготовка к распаковке …/chromium-browser_80.0.3987.163-0ubuntu1_amd64.deb …
=> Installing the chromium snap
==> Checking connectivity with the snap store
==> Installing the chromium snap
snap "chromium" is already installed, see 'snap help refresh'
=> Snap installation complete
Распаковывается chromium-browser (80.0.3987.163-0ubuntu1) …
Настраивается пакет chromium-browser (80.0.3987.163-0ubuntu1) …
Настраивается пакет chromium-browser-l10n (80.0.3987.163-0ubuntu1) …
Обрабатываются триггеры для desktop-file-utils (0.24-1ubuntu2) …
Обрабатываются триггеры для mime-support (3.64ubuntu1) …
Обрабатываются триггеры для hicolor-icon-theme (0.17-2) …
Обрабатываются триггеры для gnome-menus (3.36.0-1ubuntu1) …
Обрабатываются триггеры для bamfdaemon (0.5.3+18.04.20180207.2-0ubuntu2) …
Rebuilding /usr/share/applications/bamf-2.index...

```

And

```
$ sudo apt install chromium-browser-l10n --reinstall
Чтение списков пакетов… Готово
Построение дерева зависимостей
Чтение информации о состоянии… Готово
Следующие НОВЫЕ пакеты будут установлены:
  chromium-browser-l10n
Обновлено 0 пакетов, установлено 1 новых пакетов, для удаления отмечено 0 пакетов, и 0 пакетов не обновлено.
Необходимо скачать 0 B/2 108 B архивов.
После данной операции объём занятого дискового пространства возрастёт на 69,6 kB.
Выбор ранее не выбранного пакета chromium-browser-l10n.
(Чтение базы данных … на данный момент установлено 673533 файла и каталога.)
Подготовка к распаковке …/chromium-browser-l10n_80.0.3987.163-0ubuntu1_all.deb …
Распаковывается chromium-browser-l10n (80.0.3987.163-0ubuntu1) …
Настраивается пакет chromium-browser-l10n (80.0.3987.163-0ubuntu1) …

```

So something weird is going on here.

Revision history for this message
Bill (franksmcb) (franksmcb) wrote :

I can install Chromium without issue via Welcome's Browser selector and Software Boutique.

Revision history for this message
Olivier Tilloy (osomon) wrote :

So the snap was eventually successfully installed for Norbert, either the first time around (despite the error message), or in a subsequent update.

This appears to be an intermittent failure, possibly caused by a failure to talk to the snap store at a given moment in time (it could be a problem on the snap store side).

Changed in chromium-browser (Ubuntu):
status: Incomplete → Invalid
Revision history for this message
Olivier Tilloy (osomon) wrote :

I'm closing the bug as there's nothing to further investigate, and the issue appears to be resolved for the reporter. Feel free to re-open if there's some additional evidence that could be used to look into the problem further.

Changed in ubuntu-mate-welcome (Ubuntu):
status: New → Invalid
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.