package snapd parou de funcionar no dia 14/05/2023, tentei corrigir o erro e nos forum indicaram o comando "sudo apt autoremove --purge snapd" para desinstalar e reinstalar o Snap novamente.

Bug #2020258 reported by Rodrigo Oliveira dos Santos
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
snapd (Ubuntu)
New
Undecided
Unassigned

Bug Description

➜ systemctl status snapd.service
× snapd.service
     Loaded: masked (Reason: Unit snapd.service is masked.)
     Active: failed (Result: exit-code) since Sun 2023-05-21 04:23:48 -03; 13min ago
   Main PID: 36586 (code=exited, status=1/FAILURE)
        CPU: 49ms

mai 21 04:23:48 rodrigo-note systemd[1]: snapd.service: Scheduled restart job, restart counter is at 5.
mai 21 04:23:48 rodrigo-note systemd[1]: Stopped Snap Daemon.
mai 21 04:23:48 rodrigo-note systemd[1]: snapd.service: Start request repeated too quickly.
mai 21 04:23:48 rodrigo-note systemd[1]: snapd.service: Failed with result 'exit-code'.
mai 21 04:23:48 rodrigo-note systemd[1]: Failed to start Snap Daemon.
mai 21 04:23:48 rodrigo-note systemd[1]: snapd.service: Triggering OnFailure= dependencies.

 journalctl -xeu snapd.service

...
mai 21 04:23:48 rodrigo-note snapd[36586]: cannot run daemon: assert storage root unexpectedly world-writable: /var/lib/snapd/assertions/private-keys-v1
mai 21 04:23:48 rodrigo-note systemd[1]: snapd.service: Main process exited, code=exited, status=1/FAILURE
░░ Subject: Unit process exited
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ An ExecStart= process belonging to unit snapd.service has exited.
░░
░░ The process' exit code is 'exited' and its exit status is 1.
mai 21 04:23:48 rodrigo-note systemd[1]: snapd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit snapd.service has entered the 'failed' state with result 'exit-code'.
mai 21 04:23:48 rodrigo-note systemd[1]: Failed to start Snap Daemon.
░░ Subject: A start job for unit snapd.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit snapd.service has finished with a failure.
░░
░░ The job identifier is 14149 and the job result is failed.
mai 21 04:23:48 rodrigo-note systemd[1]: snapd.service: Scheduled restart job, restart counter is at 5.
░░ Subject: Automatic restarting of a unit has been scheduled
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ Automatic restarting of the unit snapd.service has been scheduled, as the result for
░░ the configured Restart= setting for the unit.
mai 21 04:23:48 rodrigo-note systemd[1]: Stopped Snap Daemon.
░░ Subject: A stop job for unit snapd.service has finished
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A stop job for unit snapd.service has finished.
░░
░░ The job identifier is 14358 and the job result is done.
mai 21 04:23:48 rodrigo-note systemd[1]: snapd.service: Start request repeated too quickly.
mai 21 04:23:48 rodrigo-note systemd[1]: snapd.service: Failed with result 'exit-code'.
░░ Subject: Unit failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ The unit snapd.service has entered the 'failed' state with result 'exit-code'.
mai 21 04:23:48 rodrigo-note systemd[1]: Failed to start Snap Daemon.
░░ Subject: A start job for unit snapd.service has failed
░░ Defined-By: systemd
░░ Support: http://www.ubuntu.com/support
░░
░░ A start job for unit snapd.service has finished with a failure.
░░
░░ The job identifier is 14358 and the job result is failed.
mai 21 04:23:48 rodrigo-note systemd[1]: snapd.service: Triggering OnFailure= dependencies.

ProblemType: Package
DistroRelease: Ubuntu 22.04
Package: snapd (not installed)
ProcVersionSignature: Ubuntu 5.19.0-41.42~22.04.1-generic 5.19.17
Uname: Linux 5.19.0-41-generic x86_64
NonfreeKernelModules: nvidia_modeset nvidia
ApportVersion: 2.20.11-0ubuntu82.4
AptOrdering:
 libnvidia-egl-wayland1:amd64: Purge
 snapd:amd64: Purge
 NULL: ConfigurePending
 NULL: PurgePending
 NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckResult: pass
Date: Sun May 21 04:31:27 2023
ErrorMessage: installed snapd package post-removal script subprocess returned error exit status 1
InstallationDate: Installed on 2023-05-07 (14 days ago)
InstallationMedia: Ubuntu 22.04.2 LTS "Jammy Jellyfish" - Release amd64 (20230223)
Python3Details: /usr/bin/python3.10, Python 3.10.6, python3-minimal, 3.10.6-1~22.04
PythonDetails: N/A
RelatedPackageVersions:
 dpkg 1.21.1ubuntu2.1
 apt 2.4.9
SourcePackage: snapd
Title: package snapd (not installed) failed to install/upgrade: installed snapd package post-removal script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)

Revision history for this message
Rodrigo Oliveira dos Santos (rodrigosantos.pel) wrote :
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.