Lintian reports php-wpcli_2.9.0_all.deb has two errors
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 38/100
- Issue type
- Bug
- Clarity
- Mostly clear
- Activity status
- Stale
- Domain
- build-system, cli
Research direction
Start with utils/wp-cli-updatedeb.sh and inspect how it builds php-wpcli_2.9.0_all.deb and declares package dependencies. Run the script and lintian on the generated package, then verify that the obsolete-package, PHP CLI dependency, and bin/sbin mismatch reports are resolved.
Written by the indexing model from the issue text.
Description
user@ubuntu:~/wp-cli-bundle$ utils/wp-cli-updatedeb.sh
...
E: php-wpcli: depends-on-obsolete-package Depends: mysql-client => default-mysql-client
E: php-wpcli: php-script-but-no-php-cli-dep php (does not satisfy php-cli:any) [usr/bin/wp]
X: php-wpcli: bin-sbin-mismatch usr/bin/wp bin/wp -> usr/bin/wp
sign it: dpkg-sig -k SIGNING-KEY -s builder "/home/user/wp-cli-bundle/php-wpcli_2.9.0_all.deb"
include in your repo: pushd /var/www/REPO-DIR
reprepro includedeb jessie "/home/user/wp-cli-bundle/php-wpcli_2.9.0_all.deb" && popd
user@ubuntu:~/wp-cli-bundle$ lintian php-wpcli_2.9.0_all.deb
E: php-wpcli: depends-on-obsolete-package Depends: mysql-client => default-mysql-client
E: php-wpcli: php-script-but-no-php-cli-dep php (does not satisfy php-cli:any) [usr/bin/wp]
- Dominant language
- Gherkin
- Stars
- 90
- Forks
- 34
- Avg merge
- 3h 19m
- Merged PRs (30d)
- 18
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from wp-cli/wp-cli-bundle
-
bug scope:documentation status:unconfirmed
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
wp-cli/wp-cli-bundle#1140 ·
-
scope:distribution
Difficulty 4/5 3-5 days Newbie friendliness 35/100
wp-cli/wp-cli-bundle#134 · 7 comments · 1 reaction ·
All issues in wp-cli/wp-cli-bundle
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
bazel-contrib/rules_go#4721 · 2 comments ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
-
agent-research-recommend agent-review-finding chore
Difficulty 2/5 1-3 hours Newbie friendliness 75/100
jordansmall/spindrift#3717 · 1 comment ·
-
type/automation type/tech-debt
Difficulty 2/5 1-3 hours Newbie friendliness 78/100