-
-
Notifications
You must be signed in to change notification settings - Fork 404
Closed
Labels
Description
Detailed Description
Failed to aptly publish drop if a trailing / remains in the prefix
Context
Starting from this :
aptly mirror create graylog http://packages.graylog2.org/repo/debian/ trusty 1.3
aptly mirror update graylog
aptly snapshot create graylog-20170801 from mirror graylog
aptly publish snapshot -passphrase-file=.publish -distribution=trusty graylog-20170801 :v16/mirror/packages.graylog2.org/repo/debian/
Trying to drop the published content using the extact prefix used for the previous publish snapshot (trailing /)
aptly publish drop trusty :v16/mirror/packages.graylog2.org/repo/debian/ # <-- FAIL
Successful completion occurs after removing that last character (trailing /)
aptly publish drop trusty :v16/mirror/packages.graylog2.org/repo/debian # <-- SUCCESS
Possible Implementation
Unrelevant
Your Environment
I'm on an up-to-date ubuntu trusty, using latest available aptly release, using ext4 filesystem
bash$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
bash$ aptly version
aptly version: 1.0.1
bash$ sudo file -sL /dev/mapper/vgdata-lvdata
/dev/mapper/vgdata-lvdata: Linux rev 1.0 ext4 filesystem data, UUID=d0e62b98-776f-11e7-b5a5-be2e44b06b34 (needs journal recovery) (extents) (large files) (huge files)