The update-alternatives tag has no wiki summary.
0
votes
0answers
13 views
How do I update alternatives to use sendmail?
this is an expansion of my question: Linux mail command not working like it used to which I would considered answered but I need a little more clarification.
In my previous question I learned that ...
0
votes
0answers
38 views
I can't switch from OpenJDK's Java 7 to Oracle's via update-alternatives
x5ives@aperture:~$ sudo update-alternatives --config java
[sudo] password for x5ives:
There is only one alternative in link group java (providing /usr/bin/java): /usr/lib ...
0
votes
2answers
75 views
Chromium doesn't show up to be selected as default browser
I installed Chromium, but can not select it as my default browser. Where does Ubuntu keep the list of applications shown in this menu?
I use Ubuntu 12.04 with Unity as my environment.
I also tried ...
1
vote
0answers
40 views
why doesn't the standardized way to change default terminal work?
Why doesn't: sudo update-alternatives --config x-terminal-emulator
Work to change the default terminal in 12.10 ubuntu-one nautilus? I find it
confusing.
1
vote
2answers
386 views
update-alternatives: “alternative path doesn't exist” issue while updating JDK7
I decided to update my JDK7 to recent version from here.
Corresponding x64 tag.gz archive for my architecture has been downloaded and extracted to /usr/lib/jvm as usual. All previous versions of Java ...
1
vote
2answers
147 views
Set emacs -nw as default editor
When editing files like sudoers, I want to use emacs instead of nano. So I ran this command
sudo update-alternatives --config editor
And I selected emacs. The only issue is I like emacs in no ...
6
votes
1answer
1k views
What exactly does `update-alternatives` do?
What is the command update-alternatives used for?
Take this example:
sudo update-alternatives --install /usr/bin/java java /usr/local/java/jre1.7.0_09/bin/java 1
What does it do? How is it ...
2
votes
1answer
90 views
Why doesn't java -version return anything with Oracle's JRE 7?
I've been following these steps and got up to the check version of new JRE installation part but java -version doesn't return anything.
I have run sudo update-alternatives --install /usr/bin/java ...
0
votes
1answer
225 views
Java problems installing Glassfish 3.1.2 on Ubuntu Lucid
I'm trying to install Glassfish v3.1.2 on Ubuntu 10.04 by obtaining corresponding .sh from Oracle website and running sudo ./glassfish-installer-file.sh. However following error appears:
Could not ...
2
votes
0answers
157 views
Two equal items in alternatives list
I want to have two JDKs. The first one was installed a long time ago to /usr/lib/jvm/java-7-oracle/. I installed the second version and executed following commands to add it to alternatives:
...
7
votes
1answer
191 views
What's the difference between x-www-browser and gnome-www-browser?
What's the difference between x-www-browser and gnome-www-browser?
I came across it here: Setting the default browser when update-alternatives fails.
1
vote
1answer
3k views
How to use GCC 4.7 in place of 4.6 (Ubuntu 12.04)
So I'm working on a project and I wanted to use some C11 features for C. To use those features GCC 4.7 is required, so I went to synaptic and looked up 4.7, and I found the packages gcc-4.7-base so I ...
1
vote
0answers
792 views
How to force update-alternatives to update jdk?
I've got java-6-openjdk and java-7-openjdk running on Natty (11.04) on one machine and successfully toggle between them using update-alternatives --config java (or javac).
For some reason this ...
0
votes
0answers
15 views
Cant update or upgrade [duplicate]
Possible Duplicate:
How do I fix a “Problem with MergeList” error when trying to do an update?
I removed all the duplicate entries and still have one problem left. New to this ...
1
vote
1answer
86 views
Errors when apt-get upgrade
I recently updated an server from 8.04 to 10.04, the update ran basically flawlessly, but now every time i use apt-get I get strange error messages.
:~# apt-get upgrade
Reading package lists... Done
...
0
votes
0answers
21 views
Could not update Ubuntu 12.04 [duplicate]
Possible Duplicate:
How do I fix a “Problem with MergeList” error when trying to do an update?
While I was trying to update Ubuntu 12.04 I am repeatedly having problems showing ...
0
votes
1answer
412 views
Install Ruby Ubuntu With update-alternatives Command [duplicate]
Possible Duplicate:
No ruby alternatives on 11.04 / 11.10?
I have 2 questions about ruby on ubuntu.
I've already install ruby1.8 and ruby1.9.1 on ubuntu lucid but when I run ...
1
vote
1answer
420 views
How to add a link group to update-alternatives?
Edit: Solved, see resolution below
Is it possible to add a custom link group to update-alternatives that is not already there by default?
For example, I want to add Scala and all its supporting ...
