I am getting this error on my Ubuntu 16.04 LTS system :
The following packages have unmet dependencies:
plesk-php56-snmp : Depends: libsnmp30 (>= 5.7.3+dfsg-1ubuntu4.1~dfsg) but 5.7.3+dfsg-1ubuntu4 is to be installed
plesk-php70-snmp : Depends: libsnmp30 (>= 5.7.3+dfsg-1ubuntu4.1~dfsg) but 5.7.3+dfsg-1ubuntu4 is to be installed
plesk-php71-snmp : Depends: libsnmp30 (>= 5.7.3+dfsg-1ubuntu4.1~dfsg) but 5.7.3+dfsg-1ubuntu4 is to be installed
plesk-php72-snmp : Depends: libsnmp30 (>= 5.7.3+dfsg-1ubuntu4.1~dfsg) but 5.7.3+dfsg-1ubuntu4 is to be installed
output of lsb_release -a :
Distributor ID: Ubuntu
Description: Ubuntu 16.04.3 LTS
Release: 16.04
Codename: xenial
I tried a lot of things , installed a lot of packages, stopped some services but can't resolve.
I have 3 domains and will add some more too , so I want to use plesk for easy configurations, but can't install.
How can I install plesk on my system?
It seems that you encountered system repositories misconfiguration.
Plesk requires that the system repositories were enabled.
For experiment sake I installed OS from official ubuntu-16.04.3-server-amd64.iso with default settings (just enter-enter-enter):
# cat /etc/*release | grep VERSION
VERSION="16.04.3 LTS (Xenial Xerus)"
VERSION_ID="16.04"
VERSION_CODENAME=xenial
Then Plesk Onyx 17.8 (which is currently default) using one-click installer.
Installation went successfully.
I can see, that mentioned packages depends on libsnmp30, but not the specific version:
# apt-cache depends plesk-php56-snmp
plesk-php56-snmp
Depends: libc6
Depends: libsnmp30
Depends: plesk-php56
However, the version which you were missing was already installed:
# dpkg -l | grep libsnmp30
ii libsnmp30:amd64 5.7.3+dfsg-1ubuntu4.1 amd64 SNMP (Simple Network Management Protocol) library
It comes from xenial-updates main repository, which is enabled by default:
# apt-cache showpkg libsnmp30 | grep 4.1 | grep binary-amd64
5.7.3+dfsg-1ubuntu4.1 (/var/lib/apt/lists/us.archive.ubuntu.com_ubuntu_dists_xenial-updates_main_binary-amd64_Packages) (/var/lib/dpkg/status)
Just in case, here is my sources.list:
# cat /etc/apt/sources.list | grep -v "^#"
deb http://us.archive.ubuntu.com/ubuntu/ xenial main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates main restricted
deb http://us.archive.ubuntu.com/ubuntu/ xenial universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates universe
deb http://us.archive.ubuntu.com/ubuntu/ xenial multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-updates multiverse
deb http://us.archive.ubuntu.com/ubuntu/ xenial-backports main restricted universe multiverse
deb http://security.ubuntu.com/ubuntu xenial-security main restricted
deb http://security.ubuntu.com/ubuntu xenial-security universe
deb http://security.ubuntu.com/ubuntu xenial-security multiverse
i am not sure why this happens but its definitely sure you need to install libsnmp30 dependency try this one
sudo apt-get install snmpd libsnmp30 libsnmp-base
or this one If that still gives you errors and prevents installation (though, it doesn't look like it should that appears to be a different problem) try this:
sudo apt-get install snmpd libsnmp30 libsnmp-base linux-image-generic linux-image-3.13.0-40-generic linux-image-extra-3.13.0-40-generic
I got the problem at the end, it's all about my version : it was 16.04.3 , not 16.04
So , i had to reinstall operating system, changed operating system to 16.04 LTS (not 16.04.3 ) , and now I able to install Plesk.
It means , Plesk Supports only 16.04 solely , don't waste your time if you use another version of 16.04 , look for another control panel or change your operating system, there is no other way i think.
I wish it helps someone who will waste time cause of this simple information..
EDIT :
#Elvis Plesky answered the question, I think so Plesk supports minor versions. Maybe my configurations were incorrect , I don't know, because already reinstalled OS.
Maybe it is about 'systemd' thing that I found on Plesk documentation :
Plesk only supports Debian 8 and Ubuntu 16.04 servers running the
‘systemd’ init system. Compatibility with ‘sysvinit’ has not been
tested and is not guaranteed.
I am not an experienced user so don't understand what is it about..
Related
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
just so you know I'm pretty new at Linux.
I just made the jump from Ubuntu 19.10 to Ubuntu 20.04.1 LTS because I thought there wouldn't be a problem with VirtualBox.
When the upgrade was finished I noticed VirtualBox was gone, I tried to install it following the instruction on the official website and other sites.
I don't know what you guys exactly need to help me solve the problem so here's some informations :
Here's what appears when I do sudo apt update :
Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Get:2 http://archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:3 http://security.ubuntu.com/ubuntu focal-security InRelease [109 kB]
Hit:4 http://download.virtualbox.org/virtualbox/debian focal InRelease
Get:5 http://security.ubuntu.com/ubuntu focal-security/main i386 Packages [169 kB]
Get:6 http://security.ubuntu.com/ubuntu focal-security/main amd64 Packages [412 kB]
Get:7 http://security.ubuntu.com/ubuntu focal-security/main Translation-en [93,5 kB]
Get:8 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 Packages [724 kB]
Get:9 http://archive.ubuntu.com/ubuntu focal-updates/main i386 Packages [399 kB]
Get:10 http://archive.ubuntu.com/ubuntu focal-updates/main Translation-en [180 kB]
Get:11 http://archive.ubuntu.com/ubuntu focal-updates/main amd64 c-n-f Metadata [11,4 kB]
Get:12 http://archive.ubuntu.com/ubuntu focal-updates/restricted i386 Packages [13,4 kB]
Get:13 http://archive.ubuntu.com/ubuntu focal-updates/restricted amd64 Packages [110 kB]
Get:14 http://archive.ubuntu.com/ubuntu focal-updates/restricted Translation-en [16,5 kB]
Fetched 2 352 kB in 1s (2 345 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
10 packages can be upgraded. Run 'apt list --upgradable' to see them.
Now sudo apt install virtualbox virtualbox-ext-pack :
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package virtualbox is a virtual package provided by:
virtualbox-6.1 6.1.16-140961~Ubuntu~eoan
virtualbox-6.0 6.0.24-139119~Ubuntu~eoan
You should explicitly select one to install.
Package virtualbox-ext-pack 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 'virtualbox' has no installation candidate
E: Package 'virtualbox-ext-pack' has no installation candidate
Or when I do sudo apt install virtualbox-6.0 :
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:
virtualbox-6.0 : Depends: libqt5printsupport5 (>= 5.0.2) but it is not installable
Depends: python (< 2.8) but it is not installable
Depends: python (>= 2.7) but it is not installable
Depends: python:any (>= 2.6.6-7~)
Recommends: libsdl-ttf2.0-0 but it is not installable
Recommends: gcc but it is not going to be installed
Recommends: make but it is not going to be installed or
build-essential but it is not going to be installed or
dpkg-dev but it is not going to be installed
Recommends: binutils but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
I did
$ wget -q https://www.virtualbox.org/download/oracle_vbox_2016.asc -O- | sudo apt-key add -
$ wget -q https://www.virtualbox.org/download/oracle_vbox.asc -O- | sudo apt-key add -
and
echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -cs) contrib" | \
sudo tee -a /etc/apt/sources.list.d/virtualbox.list
without any problems.
I hope everyone is having a good day :)
#Just Download a debian file:
https://download.virtualbox.org/virtualbox/6.1.16/virtualbox-6.1_6.1.16-140961~Ubuntu~eoan_amd64.deb
And install with :
sudo dpkg -i virtualbox-6.1_6.1.16-140961~Ubuntu~eoan_amd64.deb
#If get's Any error
sudo apt install -f
Just add a repository to your system to download the package virtualbox needs:
deb http://deb.debian.org/debian buster main contrib non-free
And then reinstall with the command:
sudo apt install virtualbox-6.1
It worked with me.
I solved it in the following way
sudo add-apt-repository universe
sudo add-apt-repository multiverse
sudo add-apt-repository "deb http://download.virtualbox.org/virtualbox/debian bionic contrib"
sudo apt-get update
If when doing apt-get update it appears:
N: Skipping acquire of configured file 'contrib/binary-i386/Packages'
as repository 'http://download.virtualbox.org/virtualbox/debian bionic
InRelease' doesn't support architecture 'i386'
then:
echo "deb [arch=amd64] http://download.virtualbox.org/virtualbox/debian $(lsb_release -sc) contrib" | sudo tee /etc/apt/sources.list
continue:
sudo apt-get update
sudo apt-get upgrade -y
sudo apt-get install libpng16-16 libqt5core5a libqt5printsupport5 libqt5widgets5 libqt5x11extras5
sudo apt-get install virtualbox-6.0 -y
I tried to install Ruby with version specified 2.5.1 (the version is just example), and tried following script, but I got an error as follows. Is it possible to install Ruby with a version using apt installing so I can deal with Ruby version dependency issue?
$ sudo apt update ; sudo apt install ruby-full=2.5.1
Hit:1 http://dl.google.com/linux/chrome/deb stable InRelease
Get:2 https://download.docker.com/linux/ubuntu bionic InRelease [64.4 kB]
Hit:3 http://us.archive.ubuntu.com/ubuntu bionic InRelease
Hit:4 http://ppa.launchpad.net/kelleyk/emacs/ubuntu bionic InRelease
Hit:5 http://security.ubuntu.com/ubuntu bionic-security InRelease
Hit:6 http://us.archive.ubuntu.com/ubuntu bionic-updates InRelease
Hit:7 http://us.archive.ubuntu.com/ubuntu bionic-backports InRelease
Hit:8 http://ppa.launchpad.net/ondrej/php/ubuntu bionic InRelease
Hit:9 http://ppa.launchpad.net/teejee2008/timeshift/ubuntu bionic InRelease
Fetched 64.4 kB in 2s (41.9 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
40 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree
Reading state information... Done
E: Version '2.5.1' for 'ruby-full' was not found
You can install rbenv which is a Ruby Environment and then you can install the version of Ruby you want over it.
Refer to this answer.
The specific version of ruby you want to install has to be a package available in your Ubuntu distro's package repository. A quick way to check this is using apt list | grep ruby-full or apt list | grep ruby.
If you don't find the version you're looking for, you can add a repository and download it from there. Brightbox is a widely used repository maintaining several ruby version packages. Their installation docs should help you.
Note: I still recommend that you use a ruby version manager like rbenv or rvm.
so I'm currently trying to upgrade the python version in the bash on ubuntu on windows subsystem. However from my understanding it is not easy to update python from the command line. Lastly, "where" exactly is my unix subsystem? For example, is there something like a unix portion on my file system, where I can just drag files into? Thanks
It is an older question, however I had to do the same thing today (use python3.6 on my windows 10 laptop).
Press Windows + R (to open the run command dialog)
Type: bash + press Enter
You will get a new windows bash prompt window.
Type first lsb_release -a to check that you run the latest bash/ubuntu environment on your Windows Machine (might be ubuntu 14.04, while 16.04 is the current one).
raz#HOSTNAME:~/myPlayground$ lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 16.04.4 LTS
Release: 16.04
Codename: xenial
If you are running an older version upgrade by running do-release-upgrade
raz#HOSTNAME:~/myPlayground$ sudo do-release-upgrade
[sudo] password for raz:
Checking for a new Ubuntu release
No new release found.
Add the PPA custom repository (the standard apt repos have only 3.5 for now)
raz#HOSTNAME:~/myPlayground$ sudo add-apt-repository ppa:jonathonf/python-3.6
A plain backport of *just* Python 3.6. System extensions/Python libraries may or may not work.
Don't remove Python 3.5 from your system - it will break.
More info: https://launchpad.net/~jonathonf/+archive/ubuntu/python-3.6
Press [ENTER] to continue or ctrl-c to cancel adding it
gpg: keyring `/tmp/tmp5vq72la1/secring.gpg' created
gpg: keyring `/tmp/tmp5vq72la1/pubring.gpg' created
gpg: requesting key F06FC659 from hkp server keyserver.ubuntu.com
gpg: /tmp/tmp5vq72la1/trustdb.gpg: trustdb created
gpg: key F06FC659: public key "Launchpad PPA for J Fernyhough" imported
gpg: Total number processed: 1
gpg: imported: 1 (RSA: 1)
OK
Update the apt information:
raz#HOSTNAME:~/myPlayground$ sudo apt-get update
Hit:1 http://archive.ubuntu.com/ubuntu xenial InRelease
Get:2 http://archive.ubuntu.com/ubuntu xenial-updates InRelease [109 kB]
Get:3 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial InRelease [18.0 kB]
Get:4 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 Packages [4,760 B]
Get:5 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main Translation-en [2,128 B]
Get:6 http://security.ubuntu.com/ubuntu xenial-security InRelease [107 kB]
Fetched 241 kB in 10s (22.2 kB/s)
Reading package lists... Done
Finally install python3.6:
raz#HOSTNAME:~/myPlayground$ sudo apt-get install python3.6
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
libpython3.6-minimal libpython3.6-stdlib python3.6-minimal
Suggested packages:
python3.6-venv python3.6-doc binfmt-support
The following NEW packages will be installed:
libpython3.6-minimal libpython3.6-stdlib python3.6 python3.6-minimal
0 upgraded, 4 newly installed, 0 to remove and 3 not upgraded.
Need to get 4,505 kB of archives.
After this operation, 23.1 MB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Get:1 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 libpython3.6-minimal amd64 3.6.5-5~16.04.york1 [574 kB]
Get:2 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 python3.6-minimal amd64 3.6.5-5~16.04.york1 [1,712 kB]
Get:3 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 libpython3.6-stdlib amd64 3.6.5-5~16.04.york1 [1,989 kB]
Get:4 http://ppa.launchpad.net/jonathonf/python-3.6/ubuntu xenial/main amd64 python3.6 amd64 3.6.5-5~16.04.york1 [230 kB]
Fetched 4,505 kB in 4s (979 kB/s)
Selecting previously unselected package libpython3.6-minimal:amd64.
(Reading database ... 31944 files and directories currently installed.)
Preparing to unpack .../libpython3.6-minimal_3.6.5-5~16.04.york1_amd64.deb ...
Unpacking libpython3.6-minimal:amd64 (3.6.5-5~16.04.york1) ...
Selecting previously unselected package python3.6-minimal.
Preparing to unpack .../python3.6-minimal_3.6.5-5~16.04.york1_amd64.deb ...
Unpacking python3.6-minimal (3.6.5-5~16.04.york1) ...
Selecting previously unselected package libpython3.6-stdlib:amd64.
Preparing to unpack .../libpython3.6-stdlib_3.6.5-5~16.04.york1_amd64.deb ...
Unpacking libpython3.6-stdlib:amd64 (3.6.5-5~16.04.york1) ...
Selecting previously unselected package python3.6.
Preparing to unpack .../python3.6_3.6.5-5~16.04.york1_amd64.deb ...
Unpacking python3.6 (3.6.5-5~16.04.york1) ...
Processing triggers for man-db (2.7.5-1) ...
Processing triggers for mime-support (3.59ubuntu1) ...
Setting up libpython3.6-minimal:amd64 (3.6.5-5~16.04.york1) ...
Setting up python3.6-minimal (3.6.5-5~16.04.york1) ...
Setting up libpython3.6-stdlib:amd64 (3.6.5-5~16.04.york1) ...
Setting up python3.6 (3.6.5-5~16.04.york1) ...
raz#HOSTNAME:~/myPlayground$
Check your python versions:
raz#HOSTNAME:~/myPlayground$ python -V
Python 2.7.12
raz#HOSTNAME:~/myPlayground$ python3 -V
Python 3.5.2
raz#HOSTNAME:~/myPlayground$ python3.6 -V
Python 3.6.5
You can search your 'Start Menu' for 'Bash' and get the app that will open a command prompt from within Ubuntu Linux (not Unix).
AFAIK you cannot drag and drop into this from Explorer.exe but you may be able to run a Linux file app that can do this with X11 installed.
Finally, from Bash on Ubuntu command line app, you can run 'sudo apt-get install python3' to get latest for Ubuntu.
I am using Win10 Linux substyem which is
Description: Ubuntu 14.04.5 LTS
Release: 14.04
Codename: trusty
Then I tried to follow the libneo4j-client-dev installation guide for ubuntu
$ sudo add-apt-repository ppa:cleishm/neo4j
$ sudo apt-get update
$ sudo apt-get install neo4j-client libneo4j-client-dev
when executing the 'apt-get update', I found:
....
Err http://ppa.launchpad.net trusty/main amd64 Packages
404 Not Found
....
W: Failed to fetch http://ppa.launchpad.net/cleishm/neo4j/ubuntu/dists/trusty/main/binary-amd64/Packages 404 Not Found
E: Some index files failed to download. They have been ignored, or old ones used instead.
I once guessed it might be my system's fault, but after removing this ppa repository, this missing packages come back to appear again.
Has anyone seen the same problem and solved?
Thanks for your attention in advance.
EDIT: More information
The ppa information related is
/etc/apt/sources.list.d/cleishm-neo4j-trusty.list:deb http://ppa.launchpad.net/cleishm/neo4j/ubuntu trusty main
For comparison, the related ppa information on my ubuntu-virtualBox which libneo4j-client-dev is successfully installed is
/etc/apt/sources.list.d/cleishm-ubuntu-neo4j-xenial.list:deb http://ppa.launchpad.net/cleishm/neo4j/ubuntu xenial main
Launchpad was only publishing artifacts for the Xenial distribution. I've copied the packages to the Trusty distribution as well, so it might work now. Otherwise, I suggest upgrading to Xenial.