Hmm, I'm not sure but I think that should probably be
export https_proxy=http://my.proxy.ip:port
i.e. the connection to the proxy itself is still over http, you're just saying it should also be used for https connections
not sure about apt, I've never needed to set it up behind a proxy