I have RHEL6 system that is registered to rhn via subscription-manager. I'am trying to install package java-1.6.0-sun-devel which is in rhel-6-server-optional-rpms repository, According to this Redhat Documentation. My system is behind proxy, so I need to enter command: "subscription-manager repos --list --proxy=myproxy.com:666" but this gives an error: "no such option --proxy". Subscription-manager's man-page does include --proxy as common option and I have used it to register this machine. Can you guys tell what's wrong?
/var/log/rhsm/rhsm.log reports timed out connection.
Thank's from all the help!
edit 1. Some typos..