package snapcraft (not installed) failed to install/upgrade: new snapcraft package pre-installation script subprocess returned error exit status 1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
snapcraft (Ubuntu) |
Confirmed
|
Undecided
|
Unassigned |
Bug Description
This is the output from attempting to install snapcraft
+++++++
=======
sudo apt install snapcraft
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following NEW packages will be installed:
snapcraft
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 6,356 B of archives.
After this operation, 55.3 kB of additional disk space will be used.
Get:1 http://
Fetched 6,356 B in 0s (29.9 kB/s)
Preconfiguring packages ...
Selecting previously unselected package snapcraft.
(Reading database ... 217732 files and directories currently installed.)
Preparing to unpack .../snapcraft_
=> Installing the Snapcraft snap
==> Checking connectivity with the snap store
==> Installing the Snapcraft snap for ubuntu-23.04
error: requested a non-existing branch on latest/stable for snap "snapcraft":
ubuntu-23.04
dpkg: error processing archive /var/cache/
deb (--unpack):
new snapcraft package pre-installation script subprocess returned error exit st
atus 1
Errors were encountered while processing:
/var/cache/
E: Sub-process /usr/bin/dpkg returned an error code (1)
ProblemType: Package
DistroRelease: Ubuntu 23.04
Package: snapcraft (not installed)
ProcVersionSign
Uname: Linux 6.2.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.26.1-0ubuntu2
AptOrdering:
snapcraft:amd64: Install
NULL: ConfigurePending
Architecture: amd64
CasperMD5CheckR
Date: Sat Jun 17 21:47:01 2023
ErrorMessage: new snapcraft package pre-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2023-04-28 (50 days ago)
InstallationMedia: Ubuntu 22.10 "Kinetic Kudu" - Release amd64 (20221020)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.21ubuntu1
apt 2.6.0
SourcePackage: snapcraft
Title: package snapcraft (not installed) failed to install/upgrade: new snapcraft package pre-installation script subprocess returned error exit status 1
UpgradeStatus: No upgrade log present (probably fresh install)
Status changed to 'Confirmed' because the bug affects multiple users.