Debian – what does “ gbp:error: upstream/1.5.13 is not a valid treeish” mean

compilingdebiangitpackaging

I want to build a debian package with git build package.(gbp)
I passed all steps, and at least, when I entered gbp buildpackage, This error appeared.

what does it mean?
and what should I do?

gbp:error: upstream/1.5.13 is not a valid treeish

Best Answer

The current tag/branch you are in, is not a Debian source tree, it doesn't contain the debian/ directory in its root. This is evident because you are using a "upstream/" branch, a name utilized to upload the pristine source tree to git repositories. Try using the branch stable, testing or unstable, or any branch that starts with Debian or a commit tagged using the Debian versioning scheme.

Related Question