Ubuntu corrupted by installing snapd - complete Ubuntu re-installation needed on VB

Bug #1781692 reported by Jean-Do Veuve
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd
Fix Released
Undecided
Unassigned
snapd (Ubuntu)
Fix Released
Undecided
Unassigned

Bug Description

          sudo apt install snapd
[sudo] Mot de passe de jdv :
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances
Lecture des informations d'état... Fait
Les NOUVEAUX paquets suivants seront installés :
  snapd
0 mis à jour, 1 nouvellement installés, 0 à enlever et 0 non mis à jour.
Il est nécessaire de prendre 12,4 Mo dans les archives.
Après cette opération, 57,8 Mo d'espace disque supplémentaires seront utilisés.
Réception de:1 http://archive.ubuntu.com/ubuntu cosmic/main amd64 snapd amd64 2.34~pre1+18.10.2 [12,4 MB]
12,4 Mo réceptionnés en 5s (2.507 ko/s)
Sélection du paquet snapd précédemment désélectionné.
(Lecture de la base de données... 116074 fichiers et répertoires déjà installés.)
Préparation du dépaquetage de .../snapd_2.34~pre1+18.10.2_amd64.deb ...
Dépaquetage de snapd (2.34~pre1+18.10.2) ...
Paramétrage de snapd (2.34~pre1+18.10.2) ...
Installation de la nouvelle version du fichier de configuration /etc/apparmor.d/usr.lib.snapd.snap-confine.real ...
Installation de la nouvelle version du fichier de configuration /etc/profile.d/apps-bin-path.sh ...
Created symlink /etc/systemd/system/multi-user.target.wants/snapd.apparmor.service → /lib/systemd/system/snapd.apparmor.service.
snapd.snap-repair.service is a disabled or a static unit, not starting it.
A dependency job for snapd.apparmor.service failed. See 'journalctl -xe' for details.

Progression : [ 67%] [###################################...................]

1.1) Description: Ubuntu Cosmic Cuttlefish (development branch)
Release: 18.10

1.2) Running on Oracle VM VirtualBox 5.2.12 (122591) Qt 5.6.1

2) snapd_2.34~pre1+18.10.2_amd64.deb

3) I expected a snapd install

4) The installation is locked + Corruption of install means no more install of any new program or updates. Have to reinstall the whole Ubuntu.

N.B. I repeated the problem twice, each on new installations. If needed to help resolving by collecting extra :
     a) an image of the present situation is still on my VB
     b) I can make a fresh install with suggestions to work around in minutes.

ProblemType: Bug
DistroRelease: Ubuntu 18.10
Package: snapd 2.34~pre1+18.10.2
ProcVersionSignature: Ubuntu 4.15.0-23.25-generic 4.15.18
Uname: Linux 4.15.0-23-generic x86_64
ApportVersion: 2.20.10-0ubuntu5
Architecture: amd64
CurrentDesktop: ubuntu:GNOME
Date: Sat Jul 14 07:47:53 2018
InstallationDate: Installed on 2018-07-07 (6 days ago)
InstallationMedia: Ubuntu 18.10 "Cosmic Cuttlefish" - Alpha amd64 (20180630)
ProcEnviron:
 PATH=(custom, no user)
 XDG_RUNTIME_DIR=<set>
 LANG=fr_BE.UTF-8
 SHELL=/bin/bash
SourcePackage: snapd
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Jean-Do Veuve (jeando) wrote :
Revision history for this message
Seth Arnold (seth-arnold) wrote :

Hello, I wonder if this is the same issue as https://bugs.launchpad.net/bugs/1781919 -- can you include some journalctl output around the time of this issue?

Thanks

Revision history for this message
Jean-Do Veuve (jeando) wrote :
Download full text (8.5 KiB)

journalctl -xe
-- Subject: Unit NetworkManager-dispatcher.service has finished start-up
-- Defined-By: systemd
-- Support: http://www.ubuntu.com/support
--
-- Unit NetworkManager-dispatcher.service has finished starting up.
--
-- The start-up result is RESULT.
Jul 15 19:21:10 VB-Ubu-64-Alpha dbus-daemon[723]: [session uid=1000 pid=723] Act
Jul 15 19:21:10 VB-Ubu-64-Alpha dbus-daemon[723]: [session uid=1000 pid=723] Act
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-DISKIO-MIB
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-AGENT
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-AGENT
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-AGENT
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-AGENT
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-AGENT
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-AGENT
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-AGENT
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-AGENT
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-EXTEN
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-EXTEN
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-EXTEN
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-EXTEN
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-EXTEN
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-EXTEN
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-AGENT
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-AGENT
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in NET-SNMP-AGENT
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ubu-64-Alpha colord[1201]: Cannot adopt OID in UCD-SNMP-MIB:
Jul 15 19:20:42 VB-Ub...

Read more...

Revision history for this message
Jean-Do Veuve (jeando) wrote :

Due to a manipulation error, I losted the original faulty french-speaking install.

I repeated twice an English-speaking install with the same error message while updating.

Revision history for this message
John Lenton (chipaca) wrote :

Hello, sorry it's taken so long for us to get back to you about this.

How can we reproduce this issue? Is it still happening?

Thank you.

Changed in snapd (Ubuntu):
status: New → Incomplete
Revision history for this message
John Lenton (chipaca) wrote :

(please set this bug status back to New when replying)

Jean-Do Veuve (jeando)
Changed in snapd (Ubuntu):
status: Incomplete → New
Revision history for this message
Jean-Do Veuve (jeando) wrote :

Bug doesn't appear on new version of Ubuntu. I don't use the 18.10 in my test.

I will make a new/fresh install with this peculiar version (18.10) in a few minutes and see if it still happen when installing the package via "sudo apt install snapd" as described 14 month ago.

Revision history for this message
Jean-Do Veuve (jeando) wrote :

Problem does NOT appear any more : tests use new version of snap or using Ubuntu 18.10 STABLE in place of "pre version" used 15 month ago.

Case can be closed from my point of view.

Revision history for this message
Jean-Do Veuve (jeando) wrote :

To be closed

Revision history for this message
Michael Vogt (mvo) wrote :

Thank you Jean-Do for testing this for us!

Revision history for this message
Michael Vogt (mvo) wrote :

Closing as suggested by the original reporter. Thanks again to Jean-Do for this report!

Changed in snapd:
status: New → Fix Released
Changed in snapd (Ubuntu):
status: New → Fix Released
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.