Raspberry Pi 3 - Error installing Docker
-
- OMV 4.x
- resolved
- iamaburrama
-
-
Ran an apt clean and then I ran an apt-get update. Then attempted an install php7.0-common:
root@omv:~# 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).
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
root@omv:~#Uncommented the sources.list for security and got the same error.
-
Your apt lists must not be updating then because 7.0.30 is available for all arches. Here is my arm64 board:
$ sudo apt-cache policy php7.0-common php7.0-curl
php7.0-common:
Installed: 7.0.30-0+deb9u1
Candidate: 7.0.30-0+deb9u1
Version table:
*** 7.0.30-0+deb9u1 500
500 http://httpredir.debian.org/debian stretch/main arm64 Packages
500 http://security.debian.org stretch/updates/main arm64 Packages
php7.0-curl:
Installed: 7.0.30-0+deb9u1
Candidate: 7.0.30-0+deb9u1
Version table:
*** 7.0.30-0+deb9u1 500
500 http://httpredir.debian.org/debian stretch/main arm64 Packages
500 http://security.debian.org stretch/updates/main arm64 Packages -
-
Is there any way to update this? This is a fresh image.
root@omv:~# apt-cache policy php7.0-common php7.0-curl
php7.0-common:
Installed: 7.0.27-0+deb9u1
Candidate: 7.0.27-0+deb9u1
Version table:
7.0.30-0+deb9u1 10
10 http://httpredir.debian.org/debian stretch/main armhf Packages
10 http://security.debian.org stretch/updates/main armhf Packages
*** 7.0.27-0+deb9u1 100
100 /var/lib/dpkg/status
php7.0-curl:
Installed: (none)
Candidate: 7.0.30-0+deb9u1
Version table:
7.0.30-0+deb9u1 10
10 http://httpredir.debian.org/debian stretch/main armhf Packages
10 http://security.debian.org stretch/updates/main armhf Packages
root@omv:~# -
What is the output of:
apt-get update
cat /etc/apt/sources.list -
Output of both commands attached.
-
-
Remove the backports line from /etc/apt/sources.list and then apt-get update. I am writing an sd card now to see what fixes it.
-
Commented out the sources.list then ran apt-get update. Also attached previous requests.
-
The problem is caused by the pinning which is only a problem when php7.0-curl is installed (since there is no 7.0.27 package anymore). Checking more.
-
-
The following lines are causing the php packages to pinned at 10 in /etc/apt/preferences.d/99raspberrypiorg which won't let them be upgraded.
Package: *
Pin: release n=stretch, origin archive.raspberrypi.org
Pin-Priority: 10Not sure why. I commented them out and everything upgrades fine but you risk installing packages from the raspberry pi repo (raspbian). Those lines look fine to me but the origin is being ignored. I will have to figure out why.
-
Just did this and it's installed successfully. Outputs are attached. I may re-install from scratch just to be sure I didn't mis-configure anything. Do I risk installing updates through the update management that shouldn't be?
-
If it is a package other than one of these: firmware-brcm80211 libraspberrypi-bin libraspberrypi0 raspberrypi-bootloader raspberrypi-kernel and it comes from the raspberrypi.org repo, then you probably don't want it. Your output doesn't show any.
-
-
Hi,
Just to clarify I just have to comment the lines in /etc/apt/preferences.d/99raspberrypiorg and then execute apt-get install php7.0-curl ?
Thanks
-
Just to clarify I just have to comment the lines in /etc/apt/preferences.d/99raspberrypiorg and then execute apt-get install php7.0-curl ?
Yep.
-
-
-
Hopefully, this is fixed with this:
RPI dependency issues with latest php7.0 7.0.30-0+deb9u1 (and their dependent packages)
-
Thank you so much
-
Just tried this and was able to get Docker installed successfully. Thank you for your help!
Me too. Worked just fine Thanks rodon!
-
-
I'm getting the following error message as part of the apt-get update output:
CodeHit:26 https://dl.bintray.com/openmediavault-plugin-developers/arrakis-docker stretch Release Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fb83ea81510> Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in remove TypeError: 'NoneType' object is not callable Exception ignored in: <function WeakValueDictionary.__init__.<locals>.remove at 0x7fb83ea81510> Traceback (most recent call last): File "/usr/lib/python3.5/weakref.py", line 117, in remove TypeError: 'NoneType' object is not callable Reading package lists... Done
I'm not sure whether it's connected, but there is also the following message when I enter apt-get upgrade:
CodeReading package lists... Done Building dependency tree Reading state information... Done Calculating upgrade... Done The following packages have been kept back: linux-image-amd64 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
I've posted in this thread because it's the closest one I can find to the issue I've had. However, I'm not sure whether to follow the steps suggested here because my system is an amd64, not a raspberry pi.
Can anyone help me to understand what's going wrong here?
Participate now!
Don’t have an account yet? Register yourself now and be a part of our community!