Powered by WHUK®

Announcement

Collapse
No announcement yet.

SAPI (System API) package not found on Ubuntu 16.04

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • SAPI (System API) package not found on Ubuntu 16.04

    Hello,

    I have tried to install SAPI (System API) package on Ubuntu 16.04.

    As per to tpm-2.0-tools, to build these tools, I have to install this package.

    I have been searching about and found out that libsapi is most likely the one I am looking for. So I installed libsapi but didn’t get the positive response.

    Where can I find the package or how could I install it?

  • #2
    What command did you type?

    Comment


    • #3
      Originally posted by Arthur View Post
      What command did you type?
      sudo apt-get install libsapi

      Comment


      • #4
        It is known as libsapi-utils (libsapi-dev) and is in Universe but there is only a version for Zesty (17.04).

        You can download the source packages from the links and use gdebi to install it.

        I found: libtss2-utils (and libtss2-dev):
        Code:
        xenial (16.04LTS) (utils): TPM2 Software stack library - TSS utilities [universe] 0.98+20160226.d4f23cc-0ubuntu2: amd64 arm64 armhf i386 powerpc ppc64el s390x
        Accordingly…
        sudo apt-get install libtss2-utils
        sudo apt-get install libtss2-dev
        edit: These 2 appear to be built from tpm2-tss (got there from this bugreport). So next try:
        Code:
        sudo apt-get install tpm2-tss

        Comment


        • #5
          I still received the following error, after I run configure provided by tpm-tools 2.0
          configure: error: Package requirements (sapi) were not met: No package 'sapi' found

          Comment


          • #6
            As per this bugs.debian.org/cgi-bin/bugreport.cgi?bug=815846 (references "System API (SAPI)”). There is also packages.ubuntu.com/source/xenial/tpm2-tss

            Can you install that one as well?

            Comment


            • #7
              The same result,
              E: Unable to locate package tpm2-tss

              Comment


              • #8
                Did you enable universe? Those packages must be there.

                Comment


                • #9
                  Thank you.
                  By the way, can you please tell that how can I install source package via gdebi? I have downloaded it.

                  Comment


                  • #10
                    Originally posted by Luca View Post
                    Thank you.
                    By the way, can you please tell that how can I install source package via gdebi? I have downloaded it.
                    sudo gdebi {package}.deb

                    Comment


                    • #11
                      In Zesty (17.04)

                      sudo apt-get install libsapi-dev

                      Comment


                      • #12
                        Not able to find package libsapi-dev, Is there anything I might be missing?

                        Comment


                        • #13
                          Here tpm2-tss for xenial appears to be deleted if you were trying that.

                          Comment

                          Working...
                          X