The tag has no wiki summary.

learn more… | top users | synonyms

0
votes
0answers
11 views

What's the preferred method for offline updating [on hold]

There are quite a few offline update methods out there, e.g. apt-offline, apt-get, AptMedium, Keryx, etc. Is there any differences in terms of convenience, integrity, or security? Which one is ...
0
votes
1answer
46 views

What are the differences between vim.basic and vim.tiny? [duplicate]

My favorite editor is Vim, so I decided to change the default editor of my ubuntu installation with the following command: sudo update-alternatives --config editor A prompt (with listed options) ...
-1
votes
1answer
79 views

Every reboot alternatives for x86_64-linux-gnu_gl_conf and i386-linux-gnu_gl_conf are dropped to mesa

That is. I've removed nvidia drivers with running nvidia-installer.run --uninstall, rebooted, installed fglrx, rebooted again and found that amdconfig is not found. I've googled the solution and ...
0
votes
0answers
71 views

Android ROM building. Issue with JDK

The other day I was trying to build Android ROM using the AOSP code. I had setup the environment according to the steps mentioned in their guide but I keep getting this error during the same ...
1
vote
0answers
21 views

Change location of log file for “update-alternatives”

I am currently managing my logging system but while setting all log location a problem occured: I want to change the location of the file /var/log/alternatives.log and I have done some research. This ...
0
votes
2answers
33 views

How to remove dummy packages?

I have searched and I believe there is no a question like this one. Whenever my laptop finds updates the Software Updater application comes up as usual however it is always showing the package ...
6
votes
1answer
436 views

Why I can't use update-alternatives to select Python 2 or 3?

Is there a particular reason on why update-alternatives is not working with Python since ubuntu comes bundled with different versions?
0
votes
0answers
39 views

Switching from java 6 jdk to java 7 jdk…now showing for update-alternatives

Alright so i'm not sure if i'm just stupid or what but i installed java 7 jdk by doing sudo apt-get install openjdk-7-jdk and then i try to do sudo update-alternatives --config java and it only lists ...
0
votes
0answers
22 views

How can I update the text splash before Ubiquity

I am customizing a Kubuntu distribution and I am struggling to change the text splash screen before Ubiquity starts. The screen that says "Kubuntu 13.10" with dots for the progress bar. I understand ...
1
vote
1answer
27 views

Update 10.04 to 12.04

In home PC Ubuntu 10.04 installed and no internet connection. I want to update it to 12.04. i want download from my office PC (it is connected with internet) Can I download only updated portion not ...
0
votes
0answers
78 views

Problem installing old version of gcc with --remove-all

Im on Ubuntu 13.10 and need gcc 4.6 to install cuda 5.5. Im following these instructions (top answer) Anyone has successfully installed CUDA 5.5 on Ubuntu 13.10 64-bit? but am runnning into trouble ...
0
votes
1answer
114 views

Where do I get the update-java-alternatives command. What package does it come from?

Where do I get the 'update-java-alternatives' command. What package does it come from? My understanding is that you use 'update-alternatives' to initially add a Java instance to your system but once ...
0
votes
0answers
75 views

Manual installation. Where do I start?

I have never done any actual manual installation, since I started using ubuntu 2 years ago. I'm trying to install some updates, little by little. I'm using my blackberry to download and transfer all ...
2
votes
1answer
1k views

Run different java based on command line parameter

I have multiple java installations on my machine and need to use different versions all the time. I have found that the currently used JVM can be changed by the commands update-alternatives and ...
5
votes
1answer
2k views

How to prevent openjdk-6-jre-headless from clobbering Oracle JDK installation?

My automated build server runs a job that depends on Apache Ant. The script invokes apt-get install ant. Ant depends on openjdk-6-jre-headless which runs update-alternatives making itself the default ...
1
vote
1answer
342 views

Duplicate entries in update-alternatives

I have two entries for vim when I input sudo update-alternatives --config editor Selection Path Priority Status ------------------------------------------------------------ * 0 ...
2
votes
0answers
536 views

Changing default GCC Compiler in 12.04

I just downgraded from 13.04, which seems to have some stability problems right now, and moved back to 12.04.LTS. I installed the GCC 4.8 compiler, which is not the default GCC compiler on 12.04. I ...
3
votes
1answer
510 views

How to use multiple instances of gcc?

I have both gcc 4.7.3 and 4.8.1 installed But on running gcc --version I get gcc (Ubuntu/Linaro 4.7.3-1ubuntu1) 4.7.3 Copyright (C) 2012 Free Software Foundation, Inc. This is free software; see ...
3
votes
4answers
6k views

How to set the default Java version

I have been using Java 6 on Ubuntu 11.10, but now I want to update to version 7. I've installed version 7 via PPA as described here. If I run sudo update-alternatives --config java I get the ...
1
vote
0answers
169 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 ...
1
vote
2answers
420 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 ...
0
votes
1answer
135 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.
3
votes
2answers
5k 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 ...
2
votes
2answers
2k 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 ...
23
votes
1answer
13k 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
167 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
1k 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 ...
3
votes
2answers
241 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: ...
8
votes
1answer
998 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.
3
votes
2answers
11k views

How to use GCC 4.7 in place of 4.6?

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
1k 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 For some reason this doesn't seem ...
1
vote
1answer
113 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
25 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
614 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
2answers
778 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 ...