Unable to install update-alternatives package
11,974
You already have update-alternatives
; there is nothing to install. Run which update-alternatives
to check where it is on your $PATH
.
Related videos on Youtube
Author by
Valencia Serrao
Updated on September 18, 2022Comments
-
Valencia Serrao almost 2 years
I am setting up my new Ubuntu 15.10 VM. I need to install
update-alternatives
on it. I ran the commandsudo apt-get install update-alternatives
, however, I get the following output in the terminal:Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package update-alternatives
I can install all other packages I've wanted till now, except
update-alternatives
. Is this a repo issue? Do I need to add a repo name in the sources? Any suggestions on this will be really helpful.-
Knud Larsen about 8 years
/usr/bin/update-alternatives
is provided by the packagedpkg
-
-
Valencia Serrao about 8 yearsYes! got it. It was in /usr/sbin. Thanks!
-
Valencia Serrao about 8 years@Knud Larsen.......Thanks for your pointers too
-
Valencia Serrao about 8 yearsI need to confirm one point. "A fresh Ubuntu setup by default has the "update-alternatives" package and there is no need to install it explicitly". Am I right ?
-
Knud Larsen about 8 yearsdpkg is always installed. Else no package handling. packages.ubuntu.com/wily-updates/amd64/dpkg/filelist
-
Valencia Serrao about 8 yearsok. Thanks, Knud Larsen. That was really helpful!