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

Cannot find definition of upgrade-rule 'updates/debian-jessie' for distribution 'kui'! #12

Open
seacoastboy opened this issue Dec 5, 2016 · 7 comments

Comments

@seacoastboy
Copy link

seacoastboy commented Dec 5, 2016

sudo su reprepro
cd ~
reprepro update

Cannot find definition of upgrade-rule 'updates/debian-jessie' for distribution 'kui'!
There have been errors!

cat conf/distributions/debian_kui.conf

Update: updates/debian-jessie`
Uploaders: uploaders/deepin-kui
Pull: kui_deepin_from_staging
Tracking: keep
Description: Deepin production repository for Debian Jessie
Origin: Deepin
Label: jessie-deepin
Architectures: source amd64
Suite: stable
Codename: kui
Components: main
UDebComponents: main
SignWith: default
DebIndices: Packages Release . .gz .bz2
DscIndices: Sources Release .gz .bz2
Log: packages.debian-kui.log
--type=dsc email-changes.sh

cat conf/updates/debian-jessie.conf

Name: debian-jessie
Method: http://mirrors.163.com/debian
Suite: jessie
Fallback: http://mirrors.ustc.edu.cn/debian
VerifyRelease: 2B90D010
Components: main
UDebComponents: main
Architectures: amd64 source
GetInRelease: no`

@drybjed
Copy link
Member

drybjed commented Dec 5, 2016

Did you create your own distribution or release? I suppose that the role needs to be updated at some point, bugs are starting to show up.

@seacoastboy
Copy link
Author

The update file can only be a file, not a directory

@drybjed
Copy link
Member

drybjed commented Dec 6, 2016

@seacoastboy Thanks for investigating the issue! That explains a lot. I guess that the configuration could be assembled by Ansible in this case.

@seacoastboy
Copy link
Author

This is a bug? Or is a use error?

@drybjed
Copy link
Member

drybjed commented Dec 6, 2016

Hard to tell without knowing if you changed the default configuration of the role or not. Did you set some debops.reprepro-related variables in the inventory?

@seacoastboy
Copy link
Author

man reprepro, The update file can only be a file, not a directory.

@drybjed
Copy link
Member

drybjed commented Dec 10, 2016

OK, so the role needs to be remodeled to not have some configuration in conf.d/ directories then.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants