I can't install chromium-chromedriver on my raspberry pi 4.
$ sudo apt-get install chromium-chromedriver
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
E: Unable to locate package chromium-chromedriver
$ cat sources.list
deb http://http.kali.org/kali kali-rolling main contrib non-free
# Additional line for source packages
deb http://security.debian.org/debian-security stretch/updates main
$ apt-get search chromedriver
E: Invalid operation search
$ apt search chromedriver
Sorting... Done
Full Text Search... Done
chromedriver/oldoldstable 72.0.3626.122-1~deb9u1 armhf
web browser - WebDriver support transitional package
ruby-chromedriver-helper/kali-rolling 2.1.0-7 all
Easy installation and use of chromedriver
Thank you in advance
Kali rolling is based on the latest stable version of Debian, which is currently Debian 11. The version of chromium-chromedriver that is compatible with Kali rolling is available from the default software repositories of Ubuntu 21.10 which is also based on Debian 11. To install chromium-chromedriver in Kali Linux open the terminal and type:
sudo apt update
wget http://mirrors.kernel.org/ubuntu/pool/universe/c/chromium-browser/chromium-chromedriver_85.0.4183.83-0ubuntu2_amd64.deb
sudo apt install ./chromium-chromedriver_85.0.4183.83-0ubuntu2_amd64.deb
Related
I tried installing the libdouble-conversion-dev package using sudo apt-get install libdouble-conversion-dev but failed with the following output:
Package libdouble-conversion-dev 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 'libdouble-conversion-dev' has no installation candidate
I have also tried running sudo apt-get update beforehand and got the same results, as well as installing from the debian file from https://packages.debian.org/buster/amd64/libdouble-conversion-dev/download but nothing seemed to have changed.
You can manually install a Debian package on a compatible Ubuntu host with sudo dpkg -i $name_of_package_file.
In preparation for supporting a Python 2 legacy application I just installed Ubuntu 18.04.5, which includes Python 3 but not Python 2. Pretty much every Python 2 install tutorial website shows the following command for installing Python 2:
sudo apt-get install python2
Upon which I get:
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package python2
Some sites list these commands first so I tried these as well:
sudo apt-get install software-properties-common
sudo add-apt-repository universe
sudo apt-get update
sudo apt-get install python2
This gives the same results as above.
I setup Ubuntu 20.04 on a different computer and installed Python 2 about a month ago and I could swear I used the same commands and at that time it worked. I also remember something about Python 2 being decommissioned at the end of January 2021 (which just passed).
Was the Python 2 pip package taken down? Is there some way I can verify this? If so, is there some special curl command that can still download Python 2 or a website I can download it from?
After searching the Ubuntu packages, it seems that for some odd reason for Ubuntu 20.04 the name of the Python 2 package is python2 but for Ubuntu 18.04 there is no package named python2. It seems that for Ubuntu 18.04 by running:
sudo apt-get install python-pip
This installs both pip for Python 2 and Python 2 itself, so this seems to be the best option
My vlc was working file but after installing octave vlc crashed.
I tried to reinstall it and repair it with below codes but it did't work
$ sudo apt-get purge vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package 'vlc' is not installed, so not removed
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
$sudo apt-get install vlc
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:
vlc : Depends: libgles1-mesa (>= 7.8.1) but it is not going to be installed or
libgles1
E: Unable to correct problems, you have held broken packages.
Then I tried installing libgles1-mesa
$ sudo apt-get install libgles1-mesa
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:
libgles1-mesa : Depends: libglapi-mesa (= 13.0.4-1ubuntu1~16.10~0.1) but
17.0.3~git20170404+17.0.71d2f05a-0ubuntu0ricotz2~yakkety is to be installed
E: Unable to correct problems, you have held broken packages.
Then I tried libglapi-mesa
$ sudo apt-get install libglapi-mesa
Reading package lists... Done
Building dependency tree
Reading state information... Done
libglapi-mesa is already the newest version (17.0.3~git20170404+17.0.71d2f05a- 0ubuntu0ricotz2~yakkety).
0 upgraded, 0 newly installed, 0 to remove and 11 not upgraded.
How am I supposed to solved it.
I only get it to work using master branch of VLC
https://launchpad.net/~videolan/+archive/ubuntu/master-daily
first add the repository
sudo add-apt-repository ppa:videolan/master-daily
sudo apt-get update
sudo apt-get install vlc
The vlc-nox package installs vlc
To remove, use:
sudo apt-get purge vlc-nox
Next, to reinstall vlc, use:
sudo apt-get update
sudo apt-get install vlc
% sudo snap install vlc
VLC for Debian and many other Linux distributions is also packaged using snap packages. This allows us to distribute latest and greatest VLC versions directly to end users, with security and critical bug fixes, full codec and optical media support.
To install via snap:
On a clean Debian 8 installation i had to install some gstreamer-plugins. While most of them were already installed or were easily installable via apt-get, gstreamer0.10-ffmpeg was not installable:
sudo apt-get install gstreamer0.10-ffmpeg
threw out following warnings:
Package gstreamer0.10-ffmpeg 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
'gstreamer0.10-ffmpeg' has no installation candidate
How can i install the package anyhow?
There is no package, so you cannot install it.
Debian has switched to libav in favour of ffmpeg, and the gstreamer0.10-ffmpeg package currently cannot be be build using libav. hence it is not jessie.
You might have luck (or not) using one of the gstreamer0.10-ffmpeg packages on some ubuntu PPAs (use them at your own risk).
Btw, gstreamer0.10 has reached it's end-of-life a while ago. Debian/stretch (the next Debian release) will have gstreamer0.10 removed.
Update: recently (2015/06) Debian has decided to switch back from libav to ffmpeg. However, I don't think that this will make gstreamer0.10-ffmpeg reappear.
I've been working with Qt & Qt Multimedia on Debian Jessie and I realized Qt Multimedia uses the GStreamer multimedia framework as the backend for audio and video playback on Linux.
The way of getting all the required packages which are not available in Debian Jessie was using the repo for the wheezy distribution.
Adding the next repository in /etc/apt/sources.list, the gstreamer0.10-ffmpeg pluging is available via apt-get.
deb http://ftp.uk.debian.org/debian/ wheezy main
deb-src http://ftp.uk.debian.org/debian/ wheezy main
A better solution is to install the Debian multimedia repository:
Add this line in /etc/apt/sources.list:
deb http://www.deb-multimedia.org jessie main non-free
Update apt:
sudo apt-get update
Then, you will need the key of this repo, that you can get with:
sudo apt-get install deb-multimedia-keyring
And now, again:
sudo apt-get update
After these steps above, you can safely execute:
sudo apt-get install gstreamer0.10-ffmpeg
My Debian 7 armel embedded system currently has g++ 4.6, and I'd like to upgrade to g++ 4.9 to use new C++11 features. How do I do that?
My current sources.list contents is:
deb http://security.debian.org/ wheezy/updates main
deb-src http://security.debian.org/ wheezy/updates main
deb http://ftp.us.debian.org/debian wheezy main non-free
deb-src http://ftp.us.debian.org/debian wheezy main non-free
A simple apt-get install of the package does not work:
root#arm:~# apt-get install g++-4.9
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Unable to locate package g++-4.9
E: Couldn't find any package by regex 'g++-4.9'
Another workaround could be to install the g++ 4.9 packages from "Jessie", according to this blog post. Briefly, you would have to tell APT to use the Jessie repos while you are installing the new G++. First bring the current Wheezy up-to-date:
sudo apt-get update
sudo apt-get upgrade
Then do a backup :-) and edit /etc/apt/sources.list so that you replace the string "wheezy" with "jessie":
sudo cp /etc/apt/sources.list /etc/apt/sources.list.WHEEZY
sudo vi /etc/apt/sources.list
Now update the package list and install the 4.9 version of GCC/G++:
sudo apt-get update
sudo apt-get install gcc-4.9 g++-4.9
After this revert to the "original" package list:
sudo cp /etc/apt/sources.list.WHEEZY /etc/apt/sources.list
sudo apt-get update
This leaves the original GCC,G++ in place. If you wish to compile with the 4.9 version, then either set the CC and CXX env vars accordingly or invoke the compilers as gcc-4.9 or g++-4.9 explicitly.
Probably-required: packaging-dev, ubuntu-dev-tools
Set up pbuilder
(this lets you build a package in a chroot without polluting your system with build-dependency packages)
sudo pbuilder create
if you want to build for a specific distribution, (pbuilder uses the build system release in a chroot) you can use pbuilder-dist [precise/oneric/trusy/etc...] create
Get debian source
pull-debian-source gcc-4.9 [4.9.0-6]
specific debian revision is optional, but can be useful if you want to pull experimental/unstable/testing/stable revisions
you can also pull from specific ubuntu distros by adding them to sources.list as a deb-src and using sudo apt-get src
Build Package
sudo pbuilder build gcc-4.9_4.9.0-6.dsc
In the files downloaded there is a .dsc file, for the most recent gcc it is gcc-4.9_4.9.0-6.dsc which is a package descriptor file. .orig.tar.[gz/xz] is the source tarball.
Create local Apt-repository
mkdir /convenient/place/for/repo
cp /var/cache/pbuilder/result/* /path/to/repo
cd /path/to/repo
apt-ftp archive packages . > Packages
sudo echo "deb [trusted=yes] file:/local/repo/Packages ./" > /etc/apt/sources.list.d/gcc-repo.list`
Note you can also do this step with .debs downloaded from anywhere (skip step 1-3)
Install
apt-get update; apt-get install gcc-4.9 g++-4.9
Instead of using the jessie packages, it would be better to check to see if it's been back-ported to wheezy. Add this to your /etc/apt/sources.list:
deb http://http.debian.net/debian wheezy-backports main
and do an apt-get update and see if you can install it then.
There is a gcc-4.9-backport now.
sudo apt-get update && sudo apt-get install gcc-4.9-backport