Performed the steps above exactly and getting the same errors.
Attaching my sources and install outputs.
type in
dpkg --configure -a
then try apt-get install php-curl
Performed the steps above exactly and getting the same errors.
Attaching my sources and install outputs.
type in
dpkg --configure -a
then try apt-get install php-curl
Alles anzeigenHello Wolf_vx.
I tried that but still no luck.
I tried to install php7.0-curl but I got the following error:
$ sudo apt-get install php7.0-curl
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:
php7.0-curl : Depends: php7.0-common (= 7.0.30-0+deb9u1) but 7.0.27-0+deb9u1 is to be installed
E: Unable to correct problems, you have held broken packages.
Then I tried to install the php7.0-common
$ sudo apt-get install php7.0-common
Reading package lists... Done
Building dependency tree
Reading state information... Done
php7.0-common is already the newest version (7.0.27-0+deb9u1).
php7.0-common set to manually installed.
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Any clue? I'm a complety newbie on Linux.
No luck here as well. I attached my sources.list, gui output and ssh install for reference. Also a bit of a newbie
Have both of you done apt-get update?
How I did the last test install:
1. Flash fresh image to SD card
2. Wait till it starts
3. Update to latest packages
4. Restart
5. Comment out security and backport lines (2 bottom ones) from sources.list
6. apt-get update
7. Enable docker repo
8. Install docker
9. Profit
EDIT:
You can test if you did things correctly by using apt-get install php-curl. If that doesn't ask to accept that new packages will be installed, you still haven't done something with apt or sources.
You need to apt-get update to make sure it forgets about security patches.
I am currently still testing but I think i found the solution. Not a great one though.
Comment out security update entry from your etc/apt/sources.list. It will allow to install php7.0-curl of the correct version instead of the 7.0.30 it wants.
Once docker is installed, return that entry back to working order
EDIT:
Yup, removing security updates entry from the sources.list allows docker to install.
Problem was that php-curl wanted php7.0-curl but for some reason apt wanted to install 7.0.30 instead of 7.0.27 which is the version of php-common that is already installed in omv