You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
You can see a "space" charakter at the end of the Snapshotname (after the 9 - Chatakter)
When I try to delete the snapshot, I get an error message, that the Snapshot-name is not available
$ aptly snapshot drop -force focal-multiverse-snapshot-2023-09
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09 not found
--> I try again with single quotes:
$ aptly snapshot drop -force 'focal-multiverse-snapshot-2023-09 '
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09 not found
--> I try it with double quotes:
$ aptly snapshot drop -force "focal-multiverse-snapshot-2023-09 "
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09 not found
--> I try it with bakslah at the end before the "space"
$ aptly snapshot drop -force focal-multiverse-snapshot-2023-09
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09 not found
--> and of course i tried it with single and doule qotas
aptly snapshot drop -force 'focal-multiverse-snapshot-2023-09\ '
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09\ not found
aptly snapshot drop -force "focal-multiverse-snapshot-2023-09\ "
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09\ not found
I also tried to Rename the Snapshot in a name without Space at the end, same Result
Context
If we dont fix it, we will run in a more and more growing very big database --> Full disk in a frw Months !
--> We Need a fix for this. Thank you. :-)
How would you use it?
--> Delete a snapshot with in its Name is at the End a Space.
Change Suggestion:
Offer a Workaround / Solution how to Delete this Snapshot with the Space at the End of the Snapshot Name
Implement a check, so that space in a given Name prohibited when created
--> They will not run into the same Problem as we actually have
Snapshots cannot be deleted, when they have a space at the End of the name
Detailed Description
I have a snapshot with the exact name within the brackets: [focal-multiverse-snapshot-2023-09 ]
Detail:
You can see a "space" charakter at the end of the Snapshotname (after the 9 - Chatakter)
When I try to delete the snapshot, I get an error message, that the Snapshot-name is not available
$ aptly snapshot drop -force focal-multiverse-snapshot-2023-09
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09 not found
--> I try again with single quotes:
$ aptly snapshot drop -force 'focal-multiverse-snapshot-2023-09 '
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09 not found
--> I try it with double quotes:
$ aptly snapshot drop -force "focal-multiverse-snapshot-2023-09 "
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09 not found
--> I try it with bakslah at the end before the "space"
$ aptly snapshot drop -force focal-multiverse-snapshot-2023-09
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09 not found
--> and of course i tried it with single and doule qotas
aptly snapshot drop -force 'focal-multiverse-snapshot-2023-09\ '
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09\ not found
aptly snapshot drop -force "focal-multiverse-snapshot-2023-09\ "
ERROR: unable to drop: snapshot with name focal-multiverse-snapshot-2023-09\ not found
I also tried to Rename the Snapshot in a name without Space at the end, same Result
Context
If we dont fix it, we will run in a more and more growing very big database --> Full disk in a frw Months !--> We Need a fix for this. Thank you. :-)
How would you use it?
--> Delete a snapshot with in its Name is at the End a Space.
Change Suggestion:
--> They will not run into the same Problem as we actually have
Possible Implementation
Your Environment
Ubuntu 20.04 LTS, with Bash
$ cat /srv/aptly/.aptly.conf
{
"rootDir": "/srv/aptly/.aptly",
"downloadConcurrency": 4,
"downloadSpeedLimit": 0,
"downloadRetries": 0,
"downloader": "default",
"databaseOpenAttempts": -1,
"architectures": ["amd64"],
"dependencyFollowSuggests": false,
"dependencyFollowRecommends": false,
"dependencyFollowAllVariants": false,
"dependencyFollowSource": false,
"dependencyVerboseResolve": false,
"gpgDisableSign": false,
"gpgDisableVerify": true,
"gpgProvider": "gpg",
"downloadSourcePackages": false,
"skipLegacyPool": true,
"ppaDistributorID": "ubuntu",
"ppaCodename": "",
"skipContentsPublishing": false,
"skipBz2Publishing": false,
"FileSystemPublishEndpoints": {},
"S3PublishEndpoints": {},
"SwiftPublishEndpoints": {},
"AzurePublishEndpoints": {},
"AsyncAPI": false,
"enableMetricsEndpoint": false
}
The text was updated successfully, but these errors were encountered: