-
-
Notifications
You must be signed in to change notification settings - Fork 375
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
Error: unable to publish: unable to process packages: link ... : no such file or directory #600
Comments
@limelime this happens if you switch between nightly (future 1.1.0) and 1.0.1. Nightly stores packages in a bit different way, so 1.0.1 can't handle it. If you stick with one version and import/publish on the same version it should be fine. Upgrade from 1.0.1 to nightly is supported and doesn't require any action, but going back is not supported. |
I'm seeing this error from a fresh nightly build where I erased the repo and rebuilt it. I'm not all that familiar with the source, but I'm wondering if https://github.com/smira/aptly/blob/master/deb/publish.go#L591 isn't using the new filename format (with the checksum) |
@colincoghill what do you mean by
It does use new format, as now package files track their location. And nightly should never have paths which look like |
Got a much better test case, for me, this dies with:
It dies the same way against many repos, I don't think it's anything to do with upstream.
|
@colincoghill error from above looks like you switched from nightly back to 1.0.1 version (guessing here, but most likely). Going back (nightly to pre-1.1.0) is not supported, while going forward is fine. You need to go back to nightly build (or 1.1.0 when it gets released) |
I was careful to create a fresh VM that had never had an older version of aptly and only used the nightly build. I've just repeated the process, but on MacOSX, on a machine that has never had aptly installed before.
I'm absolutely certain this is not a case of mixing aptly versions. |
@colincoghill thanks, I can reproduce that... I'll take a look to see what's up there |
@colincoghill thanks for reporting it! 1.1.1 (just released) and latest nightly contain the fix for this problem |
Ran
It generates the following error:
Yes, the file
google-chrome-stable_60.0.3112.78-1_amd64.deb
is indeed not found.but when I ran
Everything is handled by aptly, there is no manual intervention.
Why there is a prefix hash in front of
google-chrome-stable_60.0.3112.78-1_amd64.deb
?If I delete everything and start over, the same issue happens but might be other package from other mirror.
Context
aptly mirror ....
aptly repo import -architectures=amd64,i386 -with-deps=true google-main master_google-main Name
aptly publish repo -architectures='amd64,i386' -passphrase='secret.' master_google-main master_google-main
Your Environment
aptly version: 1.0.1
or nightly build has the same problem.Debian GNU/Linux 8 (jessie): 4.9.0-0.bpo.3-amd64
The text was updated successfully, but these errors were encountered: