I am trying to install freeipa-server on ubuntu but not getting it installed as i am getting below error:
sudo apt-get install freeipa-server
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package freeipa-server
I have tried it on ubuntu 14.04 and also on ubuntu 16.04 but no luck. freeipa-client gets installed fine but not freeipa-server. Any idea how can i get this resolved?
Many Thanks,
Deepak
The package seems to be available for 16.04 only. It's in universe, so please make sure you have it marked under "Software & Updates" and run sudo apt update.
To add the repository you can also edit /etc/apt/sources.list or invoke:
sudo add-apt-repository "deb http://archive.ubuntu.com/ubuntu $(lsb_release -sc) universe"
Related
I'm working on a project in which I've to compile a MicroPython stack and build a firmware file for my STM32 boards. At present, I'm following through the instruction set given on https://docs.micropython.org/en/latest/develop/gettingstarted.html. Hence, to compile the code, I need an ARM cross-compiler (mentioned on the website). After entering the following command on the terminal "sudo apt-get install arm-none-eabi-gcc arm-none-eabi-binutils arm-none-eabi-newlib", I'm getting some errors (basically, unable to locate packages). I tried googling a lot but didn't come across any relevant links. Does anyone know what I need to do?
My pc configurations are AMD Ryzen 5 processor (IdeaPad 3 15ALC6), and I'm using Ubuntu 22.04.1 LTS OS. The snippet of the error is given below:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package arm-none-eabi-gcc
E: Unable to locate package arm-none-eabi-binutils
E: Unable to locate package arm-none-eabi-newlib
I found the solution based on the discussion available at https://unix.stackexchange.com/questions/377345/installing-arm-none-eabi-gcc and the documentation available on https://mynewt.apache.org/latest/get_started/native_install/cross_tools.html#installing-the-arm-cross-toolchain.
The name and structure of the software changed over time. The arm-none-eabi-gcc is gcc-arm-none-eabi now, and so on.
$ sudo apt-get remove binutils-arm-none-eabi gcc-arm-none-eabi
$ sudo add-apt-repository ppa:team-gcc-arm-embedded/ppa
$ sudo apt-get update
$ sudo apt-get upgrade
$ sudo apt-get install gcc-arm-none-eabi
$ sudo apt-get install gdb-arm-none-eabi
And finally, to verify the downloads, you can run the following commands:
arm-none-eabi-gcc --version
arm-none-eabi-g++ --version
arm-none-eabi-size --version
In /etc/apt/sources.list, make sure the lines with universe are uncommented.
Re-run apt update and (as long as you have a working internter connection) it should work.
I am using LMDE 4 Debbie and I am trying to install Terraform on my laptop
I am following steps defined in https://learn.hashicorp.com/tutorials/terraform/install-cli
And when I run sudo apt updated I am getting the following error
Err:5 https://apt.releases.hashicorp.com debbie Release
404 Not Found [IP: 2a04:4e42:25::561 443]
and also when I try to install it says not found
$ sudo apt install terraform
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package terraform
debbie is likely the return of lsb_release -cs, and you need to replace that with a valid Debian distribution to subscribe to an existing apt repo. LMDE 4 is based on buster, so you can use the command:
sudo apt-add-repository "deb [arch=amd64] https://apt.releases.hashicorp.com buster main"
instead of the return of lsb_release -cs for the distro. That should fix your issue.
So I tried installing using apt
sudo apt update && sudo apt upgrade
sudo apt install curl
It returns done like this and then nothing happens
Reading package lists... Done
Building dependency tree
Reading state information... Done
So when checking
curl --version
nothing is returned.
Please note: Previously installed with snap but that has some issues because it couldn't install nodejs.
So removed it and trying to install from apt.
Please help.
I suggest trying to reinstall curl via apt:
sudo apt reinstall curl
I'm trying to install git for several hours but whatever I do I get this error:
sudo apt-get install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:
The following packages have unmet dependencies:
git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
I've read answers here and I've tried the following without success:
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install -f
I've tried solution from here:
https://superuser.com/questions/899311/apt-get-error-when-installing-git
I removed everything in /var/lib/apt/lists/* and ran sudo apt-get update
I also tried to install liberror-perl and then the folllowing error:
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package liberror-perl is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'liberror-perl' has no installation candidate
How could fix this issue with packages? Thanks.
Updated: Now I tried to install another package and I got the same error:
Package 'devscripts' has no installation candidate
Have you tried following the directions in this link?
https://tecadmin.net/install-git-on-ubuntu/
$ sudo add-apt-repository ppa:git-core/ppa
$ sudo apt-get update
$ sudo apt-get install git
Linux is totally new to me. i am trying to install .Net Core in ubuntu 14.05.
I try following command to install ubuntu
sudo sh -c 'echo "deb [arch=amd64] https://apt-mo.trafficmanager.net
/repos/dotnet-release/ trusty main" > /etc/apt/sources.list.d
/dotnetdev.list'
sudo apt-key adv --keyserver apt-mo.trafficmanager.net --recv-keys
417A0893
sudo apt-get update
These command run successfully when i run below command i got error
sudo apt-get install dotnet-dev-1.0.0-preview2-003131
My error is
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package dotnet-dev-1.0.0-preview1-002702
E: Couldn't find any package by regex 'dotnet-dev-1.0.0-preview1-002702
I met the same problem. It seems like .NET Core don't support 32-bit Ubuntu. I changed to 64-bit Ubuntu, the problem is solved.