Lintian reports php-wpcli_2.9.0_all.deb has two errors
Open
Nobody has claimed this yet.
scope:distribution
- Dominant language
- Gherkin
- Stars
- 90
- Forks
- 34
- Avg merge
- 3h 19m
- Merged PRs (30d)
- 18
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]
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.
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.
Assessment
- Tech stack
- php, shell
- Domain
- build-system, cli
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 38/100