E: Package 'gstreamer0.10-plugins-good' has no installation candidate - ubuntu-18.04

I am using Ubuntu 18.04 and I want to install gst-plugins-good-0.10.0.
When running this command:
sudo apt-get install gstreamer0.10-plugins-good
I get the following error:
E: Package 'gstreamer0.10-plugins-good' has no installation candidate
Can anyone help me with any other solution to install gst-plugins-good-0.10.0?

Related

PECL installation conflict isssue

I am trying to install Pear package using following command
sudo yum install php-dev php-pear
But it's giving me following error:
Transaction check error:
file /usr/bin/php from install of php-cli-5.4.16-48.el7.x86_64 conflicts with file from package ea-php-cli-1.0.0-9.13.1.cpanel.x86_64
I am installing this package for sqlsrv driver but I am not able to do.
It seems you using WHM/cpanel right? Don't install extensions using CLI. You can install it using PECL installer in WHM dashboard.
here the screenshot of PECL module installer
But if the module is not available on the GUI installer, you can install the module using built-in PHP from the cPanel. the path of pecl executable is /usr/bin/ea-phpVERSION-pecl.
an example if you want to install sqlsrv on php 7.3:
/usr/bin/ea-php73-pecl install pdo_sqlsrv
reference: https://support.cpanel.net/hc/en-us/articles/360053132353-How-install-pdo-sqlsrv-to-connect-to-MSSQL-Servers

wxPython Installation failure

I am trying to install wxPython on a new installation of Ubuntu 18.04 using the command
pip3 install wxPython
The build fails with
error: [Errno 2] No such file or directory: 'build/lib.linux-x86_64-3.6/wx/libwx_baseu-3.0.so'
----------------------------------------
Command "/usr/bin/python3 -u -c "import setuptools, tokenize;__file__='/tmp/pip-build-30uqzd2e/wxPython/setup.py';f=getattr(tokenize, 'open', open)(__file__);code=f.read().replace('\r\n', '\n');f.close();exec(compile(code, __file__, 'exec'))" install --record /tmp/pip-hynl659w-record/install-record.txt --single-version-externally-managed --compile --user --prefix=" failed with error code 1 in /tmp/pip-build-30uqzd2e/wxPython/
I have no idea where to look for a solution. Can someone please suggest where I might start
[EDIT 20200424 08:06]
I looked in
/usr/lib/x86_64-linux-gnu/
and
libwx_baseu-3.0.so.0
was absent. I have installed it from this site
It is now present, but the install fails with the same message
I have managed to install wxPython.
I reinstalled Ubuntu 18.04 and performed the following:
sudo apt install make gcc libgtk-3-dev libwebkitgtk-dev libwebkitgtk-3.0-dev libgstreamer-gl1.0-0 freeglut3 freeglut3-dev python-gst-1.0 python3-gst-1.0 libglib2.0-dev ubuntu-restricted-extras libgstreamer-plugins-base1.0-dev
pip3 install wxpython
I guess that when it was failing I had tried many fixes and somewhere along the line something was corrupted or there was a mismatch somewhere.
My solution was based on this answer
I Installed wx.python 4.1.0 yesterday with:
URL=https://extras.wxpython.org/wxPython4/extras/linux/gtk2/ubuntu-18.04
pip install -U -f $URL wxPython
See: https://extras.wxpython.org/wxPython4/extras/ for details.
For gtk3 simply replace gtk2 in the url above.

How to install ROS on Ubuntu 18.04?

Im running Ubuntu 18.04 and trying to install ROS for the first time on my machine. I have tried to follow the instructions at: http://wiki.ros.org/melodic/Installation/Ubuntu
I get stuck at this part.
sudo apt-get install ros-melodic-desktop-full
My attempts:
sudo apt -f install
sudo apt update --fix-missing
sudo dpkg --configure -a
sudo dpkg --remove --force-remove--reinstreq
sudo apt clean
sudo apt update
sudo rm /var/lib/apt/lists/lock
sudo rm /var/cache/apt/archives/lock
Nothing has worked so far.
Terminal commands:
$sudo apt-get install ros-melodic-desktop-full
Reading package lists… Finished
Builds dependency trees
Reading state information ... Finished
Some packages could not be installed. It may mean that you have requested
an impossible situation or, if you use the unstable distribution
that some necessary packages have not yet been created or moved
from "Incoming".
The following information may help to resolve the situation:
The following packages have dependencies that cannot be satisfied:
rose-melodic-desktop-full: Dependent on: rose-melodic-desktop but it will not be installed
Depending on: rose-melodic-perception but it will not be installed
Depending on: rose-melodic-simulators but it will not be installed
Depending on: ros-melodic-urdf-sim-tutorial but it will not be installed
E: Could not correct the problems, you have withheld broken packages.
Please help me install ROS
1 - After following ROS melodic Installation first steps (see link below), Try to install it with the link "click here" below the "sudo apt install ros-melodic-desktop-full" line
ROS melodic Installation page
If it's doesn't work
2 - check, "Software & Update" parameters
(if you cannot find it: launch "Ubuntu Software Center" and in the menu bar, on top, select "Software & Update")
In "Other Sofware" tab, the link
"http://pacckage.ros.org/ros/ubuntu bionic main"
is printed, and in "Autentication" tab a key from Open Robotics is printed
3 - Try to do 1- again, if it doesn't work, follow 4-
4 - In "Updates" tab, check "recommanded Updates", launch "Update Manager" and install updates (I don't do it properly on my PC)
5 - And finally you need to install manually rosdep with:
"sudo apt-get install python-rosdep"
Ubuntu (apt) does NOT allow packages with the same name but different versions to be installed.
Remove other versions first. For example: apt remove ros-desktop*
first of all install program on ubuntu.
sudo apt-get update
sudo apt-get upgrade
after update packet try follow the instructions at: enter link description here again
I got it working like so:
Install deps:
sudo apt install gazebo9-common libgazebo9-dev gazebo9 ros-melodic-gazebo-ros-pkgs ros-melodic-gazebo-dev ros-melodic-gazebo-ros-control ros-melodic-gazebo-ros ros-melodic-urdf-sim-tutorial ros-melodic-simulators
Install ros melodic
sudo apt-get install ros-melodic-desktop-full

wxHaskell not find module `Distribution.Compat.Exception'

I am trying install wxhaskell on ubuntu
(and I have already installed wxwidget and it works well in codeblock)
I run cabal install wxc in terminal
and here is output
/tmp/wxc-0.92.1.1-2711/wxc-0.92.1.1/Setup.hs:25:8:
Could not find module Distribution.Compat.Exception
It is a member of the hidden package Cabal-1.22.5.0.
it is a hidden module in the package Cabal-1.16.0
Use -v to see a list of the files searched for.
Failed to install wxc-0.92.1.1
cabal: Error: some packages failed to install:
wxc-0.92.1.1 failed during the configure step. The exception was:
ExitFailure 1
actually, I can find Distribution.Compat.Exception
and I tried sudo ghc-pkg expose Cabal-1.16.0
sudo ghc-pkg expose Cabal-1.22.5.0 but nothing changed
someone help me out, great thanks!
If you are using ubuntu I think I have a solution. If you install GHC in ubuntu via "apt-get install ghc", all ghc packages are installed in /usr/lib/ghc/xyz. If you have installed ghc manually, not with a package manager, I don't know a solution.
Try this:
sudo cabal install cabal-install --global
Then do all the wxHaskell specific cabal installs the same way. So:
sudo cabal install wxdirect --global
sudo cabal install wxc --global
...
If this doesn't work, try this:
rm -rf ~/.ghc

Install rst2man failed for varnish agent [fix]

I'm trying install varnish agent on ubuntu server using virtual box. There is a message in the middle installation process that say "you need rst2man installed to make dist".
When I tried install rst2man using "sudo apt-get install rst2man" another message come in :
Reading package list....done
Building dependecy tree
Reading state information....done
E: unable to locate package rst2man
"unable to locate package rst2man" what does it mean ? anyone know ? please help.
Problem fix:
I tried to install python-docutils for the rst2man.
rst2man is a virtual package, then you need install python-docutils package than provide rst2man and utilities for the documentation of Python modules.
sudo apt-get install python-docutils
After install this package, try the command:
sudo which rst2man
python-docutils wasn't working for me
I had to install the package docutils-common
sudo apt-get install docutils-common
In case if you installing varnish-agent-2 - after
sudo apt-get install python-docutils
you should execute again
./configure
Working on CentOS and likely RHEL as well:
yum install python-docutils

Resources