Skip to content

Commit

Permalink
Fix deb package recommended dependencies (#4176)
Browse files Browse the repository at this point in the history
When a package upgrade needs installing other dependency packages, `apt
upgrade` do not update the package to avoid adding other packages. You
have to use `apt dist-upgrade` or `apt install`.

By default, apt installs recommended dependencies. so having couchdb as
a recommended dependency blocks simple package upgrade from our legacy
package on debian buster.

This PR removes couchdb recommended dependency to ease debian buster
migration
  • Loading branch information
sblaisot authored Oct 18, 2023
2 parents 8b285c4 + 5100238 commit e77c463
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 3 deletions.
3 changes: 1 addition & 2 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ Architecture: any
Depends: ${misc:Depends}, ${shlibs:Depends},
adduser, members, curl, sed,
git, imagemagick, libprotobuf-c1, fonts-lato
Recommends: couchdb (>= 2.3), nginx,
debootstrap, lsb-release,
Recommends: nginx, debootstrap, lsb-release,
mail-transport-agent, nodejs (>= 16)
Description: Cozy: Simple, Versatile, Yours
Cozy (https://cozy.io) is a platform that brings all your web services
Expand Down
2 changes: 1 addition & 1 deletion scripts/packaging/buildpackage.sh
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

set -euo pipefail

if command -v go > /dev/null; then
if command -v go > /dev/null; then
eval "$(go env)"
export GOROOT GOPATH
else
Expand Down

0 comments on commit e77c463

Please sign in to comment.