serving icon indicating copy to clipboard operation
serving copied to clipboard

couldn't find 1.13.0 version in apt package

Open golisandeep3 opened this issue 7 years ago • 8 comments

Bug Report

If this is a bug report, please fill out the following form in full:

System information

  • Linux Ubuntu 18.04

Describe the problem

Couldn't install 1.13.0 version using apt command.

Exact Steps to Reproduce

apt-get install tensorflow-model-server=1.13.0

golisandeep3 avatar Jul 17 '19 03:07 golisandeep3

@golisandeep3 , Can you please provide the error message which you are getting. Also, can you please try installing TF Serving using Docker, as it is the recommended and the easy way and let us know on how it goes.

rmothukuru avatar Jul 17 '19 09:07 rmothukuru

There isn't anything really to describe: Tensorflow 1.13.0 has been removed from the apt repository.

root@3dac626c2e43:/# apt list -a tensorflow-model-server
Listing... Done
tensorflow-model-server/unknown,now 1.14.0 all [installed]

Running:

apt install tensorflow-model-server=1.13.0

Throws an error:

E: Version '1.13.0' for 'tensorflow-model-server' was not found

Docker is not suitable for all situations, and removing a package like this will break builds.

orf avatar Jul 17 '19 10:07 orf

@rmothukuru I am installing it using docker. We fix the tensorflow serving version inside the dockerfile.

golisandeep3 avatar Jul 17 '19 15:07 golisandeep3

@golisandeep3 , If I understand your comment correctly, you could install Tensorflow Serving successfully using Docker after changing the TF Serving Version inside the Dockerfile. Please confirm if my understanding is correct.

rmothukuru avatar Jul 18 '19 12:07 rmothukuru

@rmothukuru It doesn't matter where you install it, inside docker or not. The 1.13.0 version is removed from apt package. It has only 1.14.0. This command fails to run apt-get install tensorflow-model-server=1.13.0 This command apt-get install tensorflow-model-server works because it installs 1.14.0 version.

We have to add all previous versions to apt package.

golisandeep3 avatar Jul 18 '19 15:07 golisandeep3

we do not support installing older packages via apt presently.

you need to manually download the debian package and install it by hand. you can borrow the command line from here:

https://github.com/tensorflow/serving/blob/eeda7713f12be04a47b2facdb15f98a089a25eaf/tensorflow_serving/tools/docker/Dockerfile#L26

netfs avatar Jul 18 '19 18:07 netfs

Not gonna lie, that is ridiculous and should be documented in big bold text right after the apt instillation instructions. Something like: Warning: we don’t support pinning versions for reasons that are unclear, running this command more than once may result in completely different versions being installed with breaking changes

If you are not going to actually support apt (of which package versions are a huge part) then just give instructions on how to wget a binary from a bucket. Don’t bother with apt at all.

orf avatar Jul 18 '19 21:07 orf

@orf Closing the issue as it has been resolved. Please add additional comments and we can open the issue again. Thanks!

gowthamkpr avatar Jul 26 '19 17:07 gowthamkpr