Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Failed to aptly publish drop if a trailing / remains in the prefix #607

Closed
frntn opened this issue Aug 2, 2017 · 0 comments
Closed

Failed to aptly publish drop if a trailing / remains in the prefix #607

frntn opened this issue Aug 2, 2017 · 0 comments
Labels

Comments

@frntn
Copy link

frntn commented Aug 2, 2017

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)
smira added a commit that referenced this issue Aug 8, 2017
smira added a commit that referenced this issue Aug 8, 2017
smira added a commit that referenced this issue Aug 8, 2017
@smira smira closed this as completed in #613 Aug 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants