Better alternatives [Was: OpenJDK packaging bug in Fedora 19]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,
I think I will abandon whole update alternatives process and come
with direct remove/add as this is not firs time when alternatives
behaved .. as they do. But  until now it was always catch in time.
Please don't drop alternatives from OpenJDK. ;-)
It's a really messy way to get the wanted result (swapable java stacks). I
think we can do better. (...)

I always find

  $ rpm -qf `which java`
  file /usr/bin/java is not owned by any package

to be very frustrating.

We need a better which, that follow symlinks ? ;-)

I guess here the problem is with RPM. It won't allow the same file being owned by multipla packages.

Pardon if I'm talking about something you've already tried.

If you package a set of alternative configs as their own package, and make other Java packages depends on it? If I understand alternatives, it relies on symlinks that point to other symlinks. So the "top level" symlinks, like /usr/bin/java and /etc/alternatives/java, would be part of that java-alternatives package. Them the symlinks that point to real binaries would be owned by the specific jre or jdk package.

As anyone could install alternatives-java per se, it would have a dummy script that echoes "no default java selected" and exit an error code.

Am I being to simplicist?


[]s, Fernando Lozano

--
users mailing list
users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines
Have a question? Ask away: http://ask.fedoraproject.org




[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux