Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8211012

[Linux] JDK 11, warning when uninstall rpm package "warning: %postun(jdk-11-2000:11-ga.x86_64) scriptlet failed, exit status 2

    Details

    • Subcomponent:
    • Resolved In Build:
      b13
    • CPU:
      x86_64
    • Verification:
      Verified

      Backports

        Description

        Download jdk 11+28 rpm package from
        https://java.se.oracle.com/artifactory/re-release-local/jdk/11/28/bundles/linux-x64/jdk-11_linux-x64_bin.rpm
         
        [testuser@emb-jh-01 staged]$ ls
        jdk-11_linux-x64_bin.rpm
        [testuser@emb-jh-01 staged]$ sudo rpm -ivh jdk-11_linux-x64_bin.rpm
        [sudo] password for testuser:
        Preparing... ################################# [100%]
        Updating / installing...
           1:jdk-11-2000:11-ga ################################# [100%]
        [testuser@emb-jh-01 staged]$ cd /usr/java
        [testuser@emb-jh-01 java]$ ls
        default jdk-11 latest
        [testuser@emb-jh-01 java]$ sudo rpm -e jdk-11
        failed to read link /usr/bin/javac: No such file or directory
        warning: %postun(jdk-11-2000:11-ga.x86_64) scriptlet failed, exit status 2
        [testuser@emb-jh-01 java]$

          Attachments

            Issue Links

              Activity

                People

                • Assignee:
                  asemenyuk Alexey Semenyuk
                  Reporter:
                  jchsiao Jeff Hsiao
                • Votes:
                  0 Vote for this issue
                  Watchers:
                  12 Start watching this issue

                  Dates

                  • Created:
                    Updated:
                    Resolved: