Skip to content

Commit

Permalink
Debian: Try fix compatible dependencies (#2209)
Browse files Browse the repository at this point in the history
  • Loading branch information
proller authored Apr 11, 2018
1 parent 50c2252 commit 2ae1c99
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 5 deletions.
8 changes: 3 additions & 5 deletions debian/control
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,8 @@ Description: Client binary for clickhouse
Package: clickhouse-common-static
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}
Replaces: clickhouse-server-common, clickhouse-server-base
Conflicts: clickhouse-server-common, clickhouse-server-base
Replaces: clickhouse-server-base
Provides: clickhouse-server-base
Description: Common files for clickhouse
Yandex ClickHouse is a column-oriented database management system
that allows generating analytical data reports in real time.
Expand All @@ -41,7 +41,7 @@ Package: clickhouse-server
Architecture: any
Depends: ${shlibs:Depends}, ${misc:Depends}, clickhouse-common-static (= ${binary:Version}), adduser, tzdata
Replaces: clickhouse-server-common, clickhouse-server-base
Conflicts: clickhouse-server-common, clickhouse-server-base
Provides: clickhouse-server-common
Description: Server binary for clickhouse
Yandex ClickHouse is a column-oriented database management system
that allows generating analytical data reports in real time.
Expand Down Expand Up @@ -72,12 +72,10 @@ Package: clickhouse-server-base
Architecture: any
Priority: optional
Depends: ${shlibs:Depends}, ${misc:Depends}, adduser, tzdata
Breaks: clickhouse-common-static, clickhouse-server
Description: DEPRECATED PACKAGE: Server binary for clickhouse

Package: clickhouse-server-common
Architecture: any
Priority: optional
Depends: ${shlibs:Depends}, ${misc:Depends}, clickhouse-server-base (= ${binary:Version})
Breaks: clickhouse-server
Description: DEPRECATED PACKAGE: Common configuration files for clickhouse-server-base package
7 changes: 7 additions & 0 deletions release
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,13 @@ else
export SET_BUILDRESULT=${SET_BUILDRESULT:=$CURDIR/..}
. $CURDIR/debian/.pbuilderrc

if [[ -z `which pbuilder` ]] ; then
sudo apt install -y pbuilder fakeroot debhelper debian-archive-keyring debian-keyring
fi

if [[ ! -e "/usr/share/debootstrap/scripts/${DIST}" ]] ; then
sudo ln -s gutsy /usr/share/debootstrap/scripts/${DIST}
fi

if [[ -n "$FORCE_PBUILDER_CREATE" || ! -e "$BASETGZ" ]] ; then
echo Creating base system $BASETGZ
Expand Down

0 comments on commit 2ae1c99

Please sign in to comment.