failed to locate system libraries for CCS operation ibusb-0.1.so.4 - c

i have installed libsub with sudo apt-get install libusb-0.1-0-dev
but i get this error while installing CCS
failed to locate system libraries for CCS operation ibusb-0.1.so.4

it was solved with the following installation
sudo apt-get install libusb-0.1-4

Related

Package conflict while installing ms-sql in ubuntu. Broken packages

I am trying to install ms sql in Ubuntu 20.04. Even I have got it installed in 20.04 successfully following this guide but I sometime I have this problem multiple time and not sure why is this happening.
When I try to run following commads
curl https://packages.microsoft.com/config/ubuntu/18.04/prod.list | sudo tee /etc/apt/sources.list.d/msprod.list
sudo apt-get install mssql-tools unixodbc-dev
I end up having below errors:
The following packages have unmet dependencies:
mssql-tools : Depends: msodbcsql17 (>= 17.3.0.0) but it is not going to be installed
unixodbc-dev : Depends: unixodbc (= 2.3.7)
Depends: odbcinst1debian2 (= 2.3.7) but 2.3.6-0.1build1 is to be inst
E: Unable to correct problems, you have held broken packages.
sudo apt-cache policy <package> shows multiple versions available for these packages.
I tried installing the right versions for dependencies that did not help when I ran sudo apt-get install mssql-tools unixodbc-dev again.
When I checked msprod.list file, it looks like 'https://packages.microsoft.com/config/ubuntu/18.04/prod' the tailed .list is missing so I added that(not sure I should do that or not). Then I have got everything installed.
Now when I do sudo apt update it ends up with below error:
E: The repository 'https://packages.microsoft.com/ubuntu/18.04/prod.list bionic Release' does not have a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I really don't understand what is happening and what I have to do to get thing working in simplest way.
Do as follow:
apt install mssql-tools unixodbc-dev odbcinst1debian2 msodbcsql17 unixodbc libodbc1
apt-get install stuff caring about package conflict.
If you use apt only it will forcefully install the package without taking care if the installation is creating conflicts.

cannot install texStudio in ubuntu 18.04

I want to install texstudio in terminal by using this command: 'sudo apt-get install texstudio'
but get this error:
'The following packages have unmet dependencies: texstudio : Depends:
libpoppler-qt5-1 (>= 0.34.0) but it is not installable
Recommends: latex-beamer but it is not installable E: Unable to correct problems, you have held broken packages.'
I change the default settings of softwares & updates in ubuntu which looks like this:
is there anyway to fixed it? thanks.
You can try doing
sudo apt-get install -f
and then trying again

pip3 installation error - new ubuntu 18.04 installation

I'm rebuilding after a crash & subsequent upgrade to Ubuntu 18.04 LTS. Everything seems to be back to normal except for Python's pkg manager.
Below is launched by:
$sudo apt update
$sudo apt install python3-pip
The logs at first say that python3-pip is already installed:
python3-pip is already the newest version (9.0.1-2.3~ubuntu1.18.04.1).
Then the installation apparently bombs as shown:
dpkg: error processing package libclojure-java (--configure):
dpkg: dependency problems prevent configuration of librobert-hooke-clojure:
dpkg: error processing package librobert-hooke-clojure (--configure):
Also at the bottom of the error message:
E: Sub-process /usr/bin/dpkg returned an error code (1)
I understand dpkg is the Debian pkg manager but I am unsure of the best next step.
do you try to missing package by this command
sudo apt-get install -f
and then for update missing try
sudo apt-get update --fix-missing
and for upgrade missing package
sudo apt-get upgrade --fix-missing

Unable to locate msodbcsql17

I'm trying to install mssql drivers in my Raspberry PI3 (raspbian 10, apache2 and php 7.3.4), I followed Microsoft instructions at https://learn.microsoft.com/en-us/sql/connect/odbc/linux-mac/installing-the-microsoft-odbc-driver-for-sql-server?view=sql-server-2017 ,but when I run:
sudo ACCEPT_EULA=Y apt-get install msodbcsql17
I got an error :
Unable to locate package msodbcsql17
What did I miss ?
Thanks in advance.

How to install the latest version of octave in ubuntu 14.04

sudo apt-get build-dep octave is not working. The error message is "E: Build-Depends dependency for octave cannot be satisfied because the package automake cannot be found". I have modified the /etc/apt/sources.list file with deb replaced by deb-src. Even when I try sudo apt-get install octave, an error is displayed that the package is not located.
Octave packages http://wiki.octave.org/Octave_for_Debian_systems
Many Octave packages are also distributed by your Linux distribution. These are tested to work the best with your Octave version. For example:
sudo apt-get install octave-control octave-image octave-io octave-optim octave-signal octave-statistics
Octave's Personal Package Archive (PPA) for Ubuntu
sudo apt-add-repository ppa:octave/stable
sudo apt-get update
sudo apt-get install octave
Or
sudo apt-get autoclean
You can also Try with
wget ftp://ftp.gnu.org/gnu/octave/octave-4.0.0.tar.bz2
tar -xvf octave-4.0.0.tar.bz2
cd octave-4.0.0
./configure
make
sudo make install
More version are available at ftp://ftp.gnu.org/gnu/octave
Or
Adding a line to your /etc/apt/sources.list
amd64: http://packages.ubuntu.com/trusty/amd64/libgraphicsmagick3/filelist
i386: http://packages.ubuntu.com/trusty/i386/libgraphicsmagick3/download

Resources