Unable to locate package libvirt-clients error on ubuntu - openstack

I am seeing the below error when deploying devstack (openstack) on ubuntu:
E: Unable to locate package libvirt-clients
E: Unable to locate package libvirt-daemon-system
Any clues pls ?

I have this problem too and i use ubuntu trusty
according to this commit:
https://github.com/openstack-dev/devstack/commit/03fbc0d71bf4ee85820999ef1324dc319ef9d926?diff=split
they changed the repo packages 5 days ago and just for ubuntu xenial its the same as before : "install_package libvirt-bin libvirt-dev"
but other distros: "install_package libvirt-clients libvirt-daemon-system libvirt-dev"
I think we could better edit the file manually until better changes take place.

You're probably trying to install Devstack it on an unsupported version of Linux. Try Ubuntu 16.0.4 (worked for my today without a single problem) or the one that the installation guide says is supported.

Try sudo apt install qemu qemu-kvm virt-manager for more information check this out on github.

Related

Updating R to 3.5+ on Ubuntu 18.04

I'm looking to update R on our ubuntu 18.04 server to 3.5 or higher but I'm experiencing some difficulties.
Installing it via install r-base results in version 3.4.x, we need 3.5 or higher to run some specific scripts. I've also consulted this website: https://cran.ma.imperial.ac.uk/, and attempted add the repository listed (sudo add-apt-repository ppa:c2d4u.team/c2d4u4.0+) but this results in the following errors:
Cannot add PPA: 'ppa:~c2d4u.team/ubuntu/c2d4u4.0+'.
ERROR: '~c2d4u.team' user or team does not exist.
At this point, I'm at a loss. I'm wondering if it's potentially a firewall issue? or is there a setting I need to change.
What about downloading .deb(s) from https://cloud.r-project.org/bin/linux/ubuntu/bionic-cran40/ and installing them with dpkg / apt?

Openstack/devstack Installation - The conflict is caused by: oslo-vmware 3.9.1 depends on suds-jurko>=0.6

I am trying to install devstack on Ubuntu 18.04, using the guide in https://docs.openstack.org/devstack/latest/.
Installation fails with the error,
ERROR: Cannot install cinder because these package versions have conflicting dependencies.
The conflict is caused by:
oslo-vmware 3.9.1 depends on suds-jurko>=0.6
The user requested (constraint) suds-jurko===0.6
To fix this you could try to:
1. loosen the range of package versions you've specified
2. remove package versions to allow pip attempt to solve the dependency conflict
ERROR: ResolutionImpossible: for help visit https://pip.pypa.io/en/latest/user_guide/#fixing-conflicting-dependencies
I have 2 python versions on the machine
stack#stack:~/devstack$ which python
/usr/bin/python
stack#stack:~/devstack$ which python3
/usr/bin/python3
Am I missing something here?
Best Regards,
J
Just install setuptools 57.5.0
vim /opt/stack/requirements/upper-constraints.txt
like this:
#setuptools===58.2.0
setuptools===57.5.0
It works for me.
The issue is that suds-jurko is incompatible with the setuptools 58.0. You would need to downgrade to setuptools 57.5.0, e.g. pip install setuptools==57.5.0, but it's possible that devstack will upgrade it again.
The real solution is a set of upstream patches that are already in the works to fix this, but isn't merged yet (as of this post).
https://review.opendev.org/c/openstack/oslo.vmware/+/813377

Trouble with installing openstack through devstack script

I am facing a problem while installing openstack through devstack script on my Ubuntu 15 lts.
It says:
sorry, but this version only supports 100 named groups" AssertionError: sorry, but this version only supports 100 named groups ---------------------------------------- Rolling back uninstall of cryptography
Hi this is due to a pycparser 2.14 package update on pypi today. More details can be found in [1] and [2].
[1] http://lists.openstack.org/pipermail/openstack-dev/2016-October/104909.html
[2] https://github.com/eliben/pycparser/issues/147
Workaround to fix it is to change "pycparser===2.14"in /opt/stack/requirements/upper-constraints.txt to "pycparser===2.13"
Using pip to change the version will not work, because DevStack will uninstall 2.13 version and update it to 2.14, as required in the above file.
========================================================================
Update on 10/4(JST):
according to the update in [2], this bug has been resolved. :)
It's an issue with pythons pycparser lib, install the previous version by setting pycparser==2.13 in your requirements.txt file or via pip.
I have same problem and I resolve this issue after removing 'pycparser' package, using below command:
pip uninstall pycparser
The source package of pycparser doesn't have this problem, only the wheel seems to fail.
Using the --no-binary in your installation command or requirements file should make it work too.
I added --no-binary pycparser in the end of my requirements file and it did the job.
Just adding this so that it may help someone...
Our Devstack also failed because of this pycparser bug. We have just downgraded pycparser to 2.13 in requirement.txt/upper_requirement.txt and disabled 'tempest' service(This service will install cryptography and pycparser) in local.conf. After this, our Devstack installation was successful.
NOTE: comment the line 'RECLONE=yes' in local.conf file.
Thanks

Failed to install R on Centos 7

I have CentOS 7 (3.10.0-123.el7.x86_64) and I seem not be able to install R and then get Rstudio server working.
This is what I did:
rpm -Uvh http://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm
yum install R
Then I got this error:
Transaction check error:
file /usr/lib/systemd/system/blk-availability.service from install of device-mapper-7:1.02.107-5.el7_2.1.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
file /usr/sbin/blkdeactivate from install of device-mapper-7:1.02.107-5.el7_2.1.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
file /usr/share/man/man8/blkdeactivate.8.gz from install of device-mapper-7:1.02.107-5.el7_2.1.x86_64 conflicts with file from package lvm2-7:2.02.105-14.el7.x86_64
I am not sure what it is. There is nothing from whereis R because it didn't install.
If I install Rstudio Server, it would fail to start the service and said ERROR unable to find installation of R in the system
Can someone tell me how to install R properly on Centos 7?
That is not related to R. Your log shows a conflict between "device-mapper" and "lvm2", and these packages are used to operate with devices such as hard disks and partitions (before someone downvotes me, YES this is a crude simplification).
You should try to update your system with yum before installing R.
I resolved this problem by updating lvm2 firstly, then install R.
This idea was from: https://bugzilla.redhat.com/show_bug.cgi?id=1294128

R BayesVarSel on Ubuntu installation

I'm trying to install the BayesVarSel package on a ubuntu 12 box on AWS EC2. It works fine on my windows 7 machine (R 2.15.1).
I've attached a screenshot of the error message. It appears to be an issue with the GNU GSL library. I couldn't find a quick way to install GSL (ie sudo apt-get GSL, etc.) so I wanted to see if others have had a similar issue. I'm open to other packages with similar functionality.
EDIT:
A couple other things I've tried without luck :
I was able to recreate the error with Ubuntu 12.04.1 LTS (desktop) running in VirtualBox.
As #Dirk Eddelbuettel suggested, sudo apt-cache search libgsl produced a useful list of packages. It's not clear why that didn't work on your machine.
I installed libgsl with:
sudo apt-get install libgsl0ldbl
sudo apt-get install libgsl0-dev
Now BayesVarSel compiles and loads without error.
Do
apt-cache search libgsl
and everything should be a little clearer. Those packages have existed longer than either Ubuntu or Amazon EC2 so it really should not take superhuman effort to find them.
And if apt-cache search libgsl is too difficult, try packages.ubuntu.com
where you can search for the package containing the file in your error message (eg /usr/include/gsl/gsl_vector.h) and "Yes, Veronica" you can search for substrings too.
On Fedora the required package can be installed with dnf install gsl-devel.

Resources