Why does reinstalling java-1.6.0-sun show messages like "cp target }/jre/lib/xxxx is not a directory" ?
Issue
- While reinstalling the rpm
java-1.6.0-sun-1.6.0.151-1jpp.1.el7_3.x86_64.rpm, it shows the messages as follows.
[root@localhost ~]# yum reinstall java-1.6.0-sun-1.6.0.151-1jpp.1.el7_3.x86_64.rpm
Loaded plugins: langpacks, product-id, rhnplugin, search-disabled-repos, subscription-manager
This system is receiving updates from RHN Classic or Red Hat Satellite.
Examining java-1.6.0-sun-1.6.0.151-1jpp.1.el7_3.x86_64.rpm: 1:java-1.6.0-sun-1.6.0.151-1jpp.1.el7_3.x86_64
Resolving Dependencies
--> Running transaction check
---> Package java-1.6.0-sun.x86_64 1:1.6.0.151-1jpp.1.el7_3 will be reinstalled
--> Finished Dependency Resolution
Dependencies Resolved
======================================================================================================================================================================
Package Arch Version Repository Size
======================================================================================================================================================================
Reinstalling:
java-1.6.0-sun x86_64 1:1.6.0.151-1jpp.1.el7_3 /java-1.6.0-sun-1.6.0.151-1jpp.1.el7_3.x86_64 90 M
Transaction Summary
======================================================================================================================================================================
Reinstall 1 Package
Total size: 90 M
Installed size: 90 M
Is this ok [y/d/N]: y
Downloading packages:
Running transaction check
Running transaction test
Transaction test succeeded
Running transaction
cp: target ‘}/jre/lib/calendars.properties’ is not a directory
cp: target ‘}/jre/lib/content-types.properties’ is not a directory
cp: target ‘}/jre/lib/flavormap.properties’ is not a directory
cp: target ‘}/jre/lib/logging.properties’ is not a directory
cp: target ‘}/jre/lib/net.properties’ is not a directory
cp: target ‘}/jre/lib/psfontj2d.properties’ is not a directory
cp: target ‘}/jre/lib/sound.properties’ is not a directory
cp: target ‘}/jre/lib/security/US_export_policy.jar’ is not a directory
cp: target ‘}/jre/lib/security/java.policy’ is not a directory
cp: target ‘}/jre/lib/security/java.security’ is not a directory
cp: target ‘}/jre/lib/security/local_policy.jar’ is not a directory
cp: target ‘}/jre/lib/ext’ is not a directory
Installing : 1:java-1.6.0-sun-1.6.0.151-1jpp.1.el7_3.x86_64 1/1
Verifying : 1:java-1.6.0-sun-1.6.0.151-1jpp.1.el7_3.x86_64 1/1
Installed:
java-1.6.0-sun.x86_64 1:1.6.0.151-1jpp.1.el7_3
Complete!
Environment
- Red Hat Enterprise Linux 7.3
java-1.6.0-sun-1.6.0.151-1jpp.1.el7_3.x86_64
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
