Questions tagged [update-alternatives]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
1
vote
0answers
19 views

Where can user inform Ubuntu Snap Store to update snap from third-party?

Where can user inform Ubuntu Snap Store to update snap from third-party? Example: Oracle provide VirtualBox latest statble version for Ubuntu. But Ubuntu SnapStore provide old version. So Where ...
0
votes
0answers
82 views

“python3” still refers to python 3.5 even after using update-alternatives command to set python3 to 3.6

I guess the question is self explanatory. Default python3 version in my ubuntu was 3.5.2. I installed python 3.6. I followed the answer here (https://askubuntu.com/a/1063760/1061308) and used update-...
1
vote
0answers
94 views

broken apt package in python

I installed python 3.7.5 on my ubuntu 18.04 and I updated alternatives for python and python3 to python 3.7.5. after that I had a lot of problems. when I use sudo apt-get update or sudo gdebi some ...
2
votes
0answers
48 views

`apt-get install` without running `update-alternatives` (or specifying own priority)

Is there a way to install a package using apt-get install without update-alternatives being invoked? Or at least being able to specify your own custom priority for the new links added by update-...
0
votes
0answers
90 views

update or upgrade ubuntu pc from another computer on the local workgroup network

How to share updates between ubuntu computers on the local workgroup network Any option like windows 10 os?
1
vote
1answer
857 views

Installing customized GDM theme: Replacing ubuntu.css vs Using “update-alternatives --install … gdm3.css”

I installed a customized css file for the GDM of Ubuntu 18.04 via 2 approaches. Surprisingly, they gave different results: Approach (A) I saved my customized GDM css file as /usr/share/gnome-shell/...
2
votes
1answer
572 views

How to assign a priority number to “update-alternatives --config gdm3.css” in a single cmdline?

I am able to run these commands in the terminal: $ sudo update-alternatives --install /usr/share/gnome-shell/theme/gdm3.css gdm3.css /usr/share/gnome-shell/theme/mytheme/mytheme.css 10 $ sudo update-...
1
vote
0answers
385 views

How can I install multiple version of clang/llvm?

I added the repo from llvm-apt. It contains llvm7 and llvm8. I want to install both versions. The main packages are installed fine. However, there is a problem for libc++, since both packages want to ...
5
votes
1answer
244 views

Why doesn't MATE respect `x-terminal-emulator`?

Running Ubuntu Mate 18.04.1, pretty vanilla install. Am trying to make Tilix my default terminal emulator. Have set it as per update-alternatives: me@mine:~$ sudo update-alternatives --config x-...
2
votes
2answers
938 views

Deepin-terminal not showing up in x-terminal-emulator list

Following this post I tried this command: sudo update-alternatives --config x-terminal-emulator But it doesn't list the deepin-terminal: There are 2 choices for the alternative x-terminal-emulator (...
0
votes
1answer
317 views

update-alternatives: error: alternative link /usr/share/java/clojure.jar is already managed by clojure

Having upgraded to 18.04, I get the error above when trying to reinstall this package (it also showed during the upgrade I think). It seems this package is a prerequisite for other packages such as ...
0
votes
1answer
131 views

I get how to install Nvidia drivers in Ubuntu from ppa. But how do I update them later when I need to?

As an owner of a 2080. This is something I'm going to need to know how to do.
5
votes
2answers
6k views

Java 11 to 8: update-alternatives: error: no alternatives for mozilla-javaplugin.so

I have Java 11 and 8 in my Ubuntu 18.04, side by side. I mean to set Java 8 as the default. What I get: $ sudo update-java-alternatives --set /usr/lib/jvm/java-1.8.0-openjdk-amd64 update-...
0
votes
0answers
27 views

Where this link ../bin/update-alternatives is located?

Trying to fix the problem, Your python install is corrupted. Please fix the /usr/bin/python symlink. on ubuntu 16.04 and ended up looking at the update-alternatives file(s) to see if the relevant ...
0
votes
1answer
2k views

how fix mistake made with update-alternatives?

In the process of installing OpenJDK 11 (via a download), and attempting to set the environment variable and defaults to invoke this version instead of the previously installed Java 10, I have messed ...
4
votes
1answer
1k views

update-alternatives for sh reports bash is used, but I still get dash

I just upgraded to Ubuntu 18.10 from Ubuntu 17.10. I have my box configured to use bash as the default shell rather than the default dash. I've made this change with sudo update-alternatives --...
1
vote
0answers
332 views

dpkg: error processing package cpp (--configure)

Out of a sudden I receive this error on every apt install or apt upgrade. Using Ubuntu 18.04 dpkg: dependency problems prevent configuration of gcc: gcc depends on cpp (>= 4:7.3.0-3ubuntu2.1); ...
6
votes
1answer
6k views

Can not install jdk11 using update-alternatives --install

to try out the new features of jdk11 I installed it into /opt/ and want to use it using update-alternatives, like so: sudo update-alternatives --install /etc/alternatives/java OpenJDK-11 /opt/jdk-11/...
3
votes
0answers
726 views

update-alternatives: error: no alternatives for mozilla-javaplugin.so

I'm trying to switch from Java Development Kit (JDK) 8 to JDK 11 in Bionic. Installation went fine: $ sudo apt-get install openjdk-11-jdk $ sudo update-java-alternatives -l java-1.11.0-openjdk-amd64 ...
0
votes
1answer
4k views

update-alternatives does not work due to /usr/local/bin precedence

I have faced with an issue that when I search proper version of python I every time found python 3.7: python3 --version Python 3.7.0 Then I have checked update-alternatives configuration: sudo ...
5
votes
1answer
1k views

update-java-alternatives jinfo file does not exist

I'm trying to learn how to quickly change which java version my system uses as described in this article: https://aboullaite.me/switching-between-java-versions-on-ubuntu-linux/ I've used apt-get ...
0
votes
0answers
279 views

how can i update the apt client as suggested on link #2

im running out of options on how to fix hash sum mismatch. I have used all the recommended solutions from here & here I tried around 4 servers ie: the nearest to my location / best server / ...
0
votes
1answer
1k views

Using update-alternatives to assign 'Python' to Python version 3.6

I am trying to use update-alternatives to assign python 3.6 ; Instead it is using python 3.52. update-alternatives --install /usr/bin/python python /usr/bin/python3 1 Any idea what I have to do ...
1
vote
1answer
324 views

accidentally removed cpp and some important softwares

I was trying to install latast version of gcc(gcc-7).When I execute the command sudo update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-7 60 --slave /usr/bin/g++ g++ /usr/bin/g++-7 I did ...
1
vote
1answer
1k views

How do I set a system wide node version installed via nvm?

I use nvm to manage my node versions, but programs that don't start a shell and don't include ~/.nvm/nvm.sh don't know where to find node. Intellij for example can start node programms via package....
1
vote
1answer
873 views

how to use Java 9 zulu from sdkman?

Netbeans is using JDK 8 per the source or binary format as shown here: How do i switch to zulu, which is 9? thufir@dur:~$ thufir@dur:~$ javac -version javac 9.0.0.15 thufir@dur:~$ thufir@dur:~$ ...
5
votes
1answer
4k views

How to add slave to existing update-alternatives link group?

I have installed gcc-7 and g++-7 using the answer at https://askubuntu.com/a/581497/333103. Then I realised that while this slaved the g++ version to the gcc version, I had forgotten to add a ...
0
votes
1answer
134 views

Why I am Seeing two java paths in `update-alternatives --config java`

when I type sudo update-alternatives --config java in termainl I get folowing output:- $ sudo update-alternatives --config java There are 3 choices for the alternative java (providing /usr/bin/java). ...
0
votes
0answers
20 views

Update Ubuntu 14

I want update my Ubuntu 14 to Ubuntu 16. The problem is in my root directory. It consist of 7.3GB and I have only 300MB free space. Can I update it using my home(where is my desctop) directory with ...
0
votes
0answers
85 views

Uninstall software if I don't know where I initially installed it

I'm sure this question has been answered, but I am unable to find it. A few years back I installed gnuplot 4.4 and now I am wanting to update it to 4.6. The problem is when I went to do sudo apt-...
2
votes
0answers
1k views

Alternative to Galternatives

Is there an alternative to galternatives (a GUI to update-alternatives)? It seems that the package is not maintained since 2015.
0
votes
1answer
691 views

What's the difference between auto and manual modes in update-alternatives?

I installed vim and ran update-alternatives. Then I installed vim-full and ran it again. I noticed that there are two entries for vim.basic: one in auto mode, and one in manual. What's the difference ...
6
votes
1answer
5k views

Can not change update-alternatives mvn

Ubuntu 14.04 After installing and changing the version of mvn via `update-alternatives, the configuration remains unchanged. Steps Install new version mvn sudo update-alternatives --install /usr/...
0
votes
1answer
279 views

Set java version on Ubuntu server

I have java version 6,7,8 installed on my Ubuntu server, the result of update-alternatives --config java is There are 3 choices for the alternative java (providing /usr/bin/java). Selection ...
4
votes
1answer
3k views

How can I add my desired editor to the “update-alternatives” interactive menu?

Ive just installed ubuntu 16.04.2 32 bit on a digital ocean server. Digital ocean has tweaked the ubuntu install a bit, for example they have installed full vim as part of the block image they use ...
2
votes
1answer
3k views

Can't update Android Studio to 2.3 version [duplicate]

I try update my android studio 2.2.3 to 2.3 on Linux 16.04. I click on check for update, update and restart. It starts to downloading patch file at the end of downloading it crashes android studio. ...
0
votes
1answer
888 views

Best way to get up-to-date kernel with Kubuntu

I installed Kubuntu 16.04 on a brand new Dell Laptop. I got kernel errors related to the graphics drivers and found out that the problem can be solved with a kernel >= 4.6. So the question now is: ...
3
votes
1answer
3k views

service lightdm modifing /etc/alternatives/x86_64-linux-gnu_gl_conf

I've installed nvidia-367 on my system (Ubuntu 16.04). For a reason i don't know, restarting the lightdm service leads to a modification of /etc/alternatives/x86_64-linux-gnu_gl_conf. I run manually: ...
1
vote
0answers
22 views

Ubuntu Server 16.04 Offline update [duplicate]

How to update/upgrade Ubuntu Server 16.04 offline ?. I have created a local mirror (150GB) using apt-mirror. How to configure offline server/system to update the system. Thanks in advance
2
votes
0answers
221 views

Remainders of Java 9: alternatives and lib directories

I had the Java 9 JDK (openjdk-9-jdk) installed, but purged it again and also ran apt autoremove --purge afterwards. Now only the Java 8 JDK (openjdk-8-jdk) is installed. However, there are still ...
1
vote
0answers
866 views

ld can't find libGL (16.04LTS x64 + Nvidia driver)

I used update-alternatives to select nvidia-367 as the provider for opengl. I ran ldconfig I checked that all the symlinks are valid and pointing to the correct folder· root@laptop:/etc/ld.so.conf....
0
votes
1answer
277 views

Is it possible to fix Ubuntu 16.04 by installing Ubuntu 16.04 over the top of the existing Ubuntu 16.04?

It was easy to install Ubuntu 16.04 over Ubuntu 15.10, and upgrading from version to version has always been easy, until I upgraded to 16.04 which seems to have been corrupted and is now seriously ...
1
vote
2answers
99 views

How do I upgrade OS to version 16 now that I have the ISO file

I need to know the safest way to install 16.04 from 14.04, retaining all the files, apps and config folders. I have downloaded the file named "ubuntu-16.04.1-desktop-amd64" and I'd like to install it ...
9
votes
2answers
20k views

apt-get update for ubuntu 10.04 [closed]

I know that Ubuntu 10.04 is no longer supported. But I am still using it, becuase I use virtual machine (VirtualBox), and on previous trials to use any more updated Ubuntu version was too heavy, and ...
1
vote
1answer
7k views

Unable to install update-alternatives package

I am setting up my new Ubuntu 15.10 VM. I need to install update-alternatives on it. I ran the command sudo apt-get install update-alternatives, however, I get the following output in the terminal: ...
11
votes
3answers
17k views

Set clang-3.8 as default

I have installed clang 3.0 and clang 3.8: $ sudo update-alternatives --config clang update-alternatives: error: no alternatives for clang. How can I set 3.8 as /usr/bin/clang?
3
votes
2answers
2k views

How to re-create the x-terminal-emulator alternative?

I've just installed Ubuntu Gnome 16.04 and while tryng to add "terminix" as the default terminal emulator I've messed up really bad the x-terminal-emulator alternative, totally my fault! I'd enter ...
1
vote
1answer
882 views

urxvt misbehaving when set as the default terminal

I'm on 16.04 and I've been exploring urxvt and it's features and gotten pretty attached to it. I have a simple configuration for now stored in ~/.Xdefaults. And it works fine whenever I launch it from ...
0
votes
1answer
717 views

How to redirect ant to use java from jdk in /usr instead from jre in /opt?

I have followed a blog set up jre on my machine in /opt/ directory. Then I redirected firefox to use libnpjp2.so from /opt/java/64/jre1.8.0_73/lib/amd64/libnpjp2.so. Now I have to install another ...
1
vote
0answers
745 views

Manually download flashplugin-installer

When my web browser informs me that my version of Flash is outdated, I update with the command $ sudo apt-get install flashplugin-installer Which works fine except the download is very slow (e.g., ...