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
it's on the cleanly upgraded 22.04 --> 22.10 system
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 to upgrade, 1 to newly install, 0 to remove and 0 not to upgrade.
63 not fully installed or removed.
Need to get 0 B/6,356 B of archives.
After this operation, 55.3 kB of additional disk space will be used.
Preconfiguring packages ...
(Reading database ... 281232 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-22.10
error: requested a non-existing branch on latest/stable for snap "snapcraft":
ubuntu-22.10
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 22.10
Package: snapcraft (not installed)
ProcVersionSign
Uname: Linux 5.19.0-23-generic x86_64
NonfreeKernelMo
ApportVersion: 2.23.1-0ubuntu3
Architecture: amd64
CasperMD5CheckR
Date: Thu Oct 27 11:46:33 2022
ErrorMessage: new snapcraft package pre-installation script subprocess returned error exit status 1
InstallationDate: Installed on 2022-10-27 (0 days ago)
InstallationMedia: Ubuntu 22.04.1 LTS "Jammy Jellyfish" - Release amd64 (20220809.1)
Python3Details: /usr/bin/
PythonDetails: N/A
RelatedPackageV
dpkg 1.21.9ubuntu1
apt 2.5.3
SourcePackage: snapcraft
Title: package snapcraft (not installed) failed to install/upgrade: new snapcraft package pre-installation script subprocess returned error exit status 1
UpgradeStatus: Upgraded to kinetic on 2022-10-27 (0 days ago)
Status changed to 'Confirmed' because the bug affects multiple users.