John Markey's picture
I recently downloaded and installed Owncload, The installation went great it's up and working just fine. Here is where I'm having an issue, When I try to update it I get this (Reading package lists... Done W: GPG error: https://packages.sury.org/php bookworm InRelease: The following signatures were invalid: EXPKEYSIG B188E2B695BD4743 DEB.SURY.ORG Automatic Signing Key E: The repository 'https://packages.sury.org/php bookworm InRelease' is not signed. 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'm not sure how to fix this issue. I have my Key for Turnkeylinux installed, if that's what it's referring to. Thank you Johnny
Forum: 
Jeremy Davis's picture

Thanks for the report, I'll have a closer look at that ASAP. In the meantime, try this:

keyfile=/usr/share/keyrings/php-sury.org.gpg
wget -O $keyfile https://packages.sury.org/php/apt.gpg

Then rerun:

apt update
And the error should be gone. Let me know if you continue to have issues.
John Markey's picture

I followed the instructions, but I'm still getting the same error. cURL error 60: SSL: no alternative certificate subject name matches target host name '10.9.70.175' (see https://curl.haxx.se/libcurl/c/libcurl-errors.html) for https://10.9.70.175/index.php/occ/config:list
Jeremy Davis's picture

Hi John, I just replied to your other thread. I don't think your new issue is related to the one you posted here. Let's continue the discussion over there.

Kenneth Mayfield's picture

Jeremy
When Upgrading the Owncloud Turnkey with APT UPGRADE it returns this Error:

During Unpacking and Preparing:
dpkg-deb: error: paste subprocess was killed by signal (Broken pipe) Preparing to unpack .../47-linux-image-amd64_6.1.123-1_amd64.deb ...

Once Finished:
Enumerating objects: 1706, done. Counting objects: 100% (1706/1706), done. Delta compression using up to 2 threads Compressing objects: 100% (1093/1093), done. Writing objects: 100% (1706/1706), done. Total 1706 (delta 82), reused 1676 (delta 70), pack-reused 0 E: Sub-process /usr/bin/dpkg returned an error code (1)

Jeremy Davis's picture

Hi Kenneth, I'm 99% sure that your issue isn't related to this one, so it might be better to start a new thread.

But while we're here, it seems that for some reason the updated kernel install failed?!

The first thing I'd check is that you have sufficient free space. TBH I'm not convinced that is the cause, but the first thing to check. I.e.:

df -h /

If that looks fine, I suggest that you first run an apt update again:

apt update

And then try:

apt install --fix-broken

Hopefully that might help...

John Markey's picture

root@owncloud ~# df -h / Filesystem Size Used Avail Use% Mounted on /dev/sda1 94G 3.6G 86G 5% / root@owncloud ~# apt update Reading package lists... Done Building dependency tree... Done Reading state information... Done 1 package can be upgraded. Run 'apt list --upgradable' to see it. apt list --upgradable Listing... Done php-mysql/stable 2:8.2+93 all [upgradable from: 2:7.4] root@owncloud ~# apt upgrade -y The following packages have been kept back: php-mysql 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. root@owncloud ~# apt install --fix-broken The following package was automatically installed and is no longer required: linux-image-6.1.0-28-amd64 Use 'apt autoremove' to remove it. 0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded. root@owncloud ~# apt autoremove The following packages will be REMOVED: linux-image-6.1.0-28-amd64

Add new comment