Debian: Try fix compatible dependencies (#2209)

This commit is contained in:
proller 2018-04-11 07:22:41 -07:00 committed by GitHub
parent 50c2252c31
commit 2ae1c99441
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 10 additions and 5 deletions

8
debian/control vendored
View File

@ -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.
@ -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.
@ -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

View File

@ -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