Username:
TITLE
APT ISSUE and PUM ISSUE - Docker public key
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Product version: Plesk Obsidian 18.0.54.2
OS version: Ubuntu 20.04 x86_64
Build date: 2023/07/28 15:00
Revision: 7addc2cf386263ca7765584cff8c160141fcfd84
PROBLEM DESCRIPTION
PROBLEM 1 : APT UPDATE ISSUE
Err:3 Index of linux/ubuntu/ focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
PROBLEM 2 : PUM ISSUE
As a result of problem 1, Plesk Package Manager results in
Reason: 2023-08-06 06:25:41 INFO: pum is called with arguments: ['--list', '--repo-info', '--json']
2023-08-06 06:25:42 ERROR: Apt cache fetch failed:
2023-08-06 06:25:42 ERROR:
2023-08-06 06:25:42 ERROR: Exited with returncode 1.
STEPS TO REPRODUCE
STR - PROBLEM 1 : run apt-get update
STR - PROBLEM 2 : plesk sbin pum --check
ACTUAL RESULT
RESULT FROM STR - PROBLEM 1
Err:3 Index of linux/ubuntu/ focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
.......
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: Index of linux/ubuntu/ focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/focal/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
W: Some index files failed to download. They have been ignored, or old ones used instead.
RESULT FROM STR - PROBLEM 2
2023-08-06 17:20:28 INFO: pum is called with arguments: ['--check']
2023-08-06 17:20:29 ERROR: Apt cache fetch failed:
2023-08-06 17:20:31 ERROR: Err:5 Index of linux/ubuntu/ focal InRelease
2023-08-06 17:20:31 ERROR: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
2023-08-06 17:20:31 ERROR:
2023-08-06 17:20:31 ERROR: Exited with returncode 1.
exit status 1
EXPECTED RESULT
NA
ANY ADDITIONAL INFORMATION
SOLUTION :
Add the key to the keyring and change the .list file, by following the steps :
1 - get the key - run command :
curl -sLS https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor | tee /etc/apt/keyrings/plesk-ext-docker.gpg > /dev/null
2 - declare repo variable - run command :
REPO=$(lsb_release -cs)
3 - create NEW .list file - run command
echo "deb [arch=`dpkg --print-architecture` signed-by=/etc/apt/keyrings/plesk-ext-docker.gpg] Index of linux/ubuntu/ $REPO stable" | tee /etc/apt/sources.list.d/plesk-docker.list
4 - resolve issues with double entries in double .list files :
mv plesk-ext-docker.list plesk-ext-docker.list.back
NOTES :
In step 3, the file plesk-docker.list has been chosen deliberately : it should become plesk-ext-docker.list in the patch!
Step 4 can be discarded when the patch has been applied
REQUEST
Please fix this issue (and similar issues) as soon as possible!
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug
TITLE
APT ISSUE and PUM ISSUE - Docker public key
PRODUCT, VERSION, OPERATING SYSTEM, ARCHITECTURE
Product version: Plesk Obsidian 18.0.54.2
OS version: Ubuntu 20.04 x86_64
Build date: 2023/07/28 15:00
Revision: 7addc2cf386263ca7765584cff8c160141fcfd84
PROBLEM DESCRIPTION
PROBLEM 1 : APT UPDATE ISSUE
Err:3 Index of linux/ubuntu/ focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
PROBLEM 2 : PUM ISSUE
As a result of problem 1, Plesk Package Manager results in
Reason: 2023-08-06 06:25:41 INFO: pum is called with arguments: ['--list', '--repo-info', '--json']
2023-08-06 06:25:42 ERROR: Apt cache fetch failed:
2023-08-06 06:25:42 ERROR:
2023-08-06 06:25:42 ERROR: Exited with returncode 1.
STEPS TO REPRODUCE
STR - PROBLEM 1 : run apt-get update
STR - PROBLEM 2 : plesk sbin pum --check
ACTUAL RESULT
RESULT FROM STR - PROBLEM 1
Err:3 Index of linux/ubuntu/ focal InRelease
The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
.......
W: An error occurred during the signature verification. The repository is not updated and the previous index files will be used. GPG error: Index of linux/ubuntu/ focal InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
W: Failed to fetch https://download.docker.com/linux/ubuntu/dists/focal/InRelease The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
W: Some index files failed to download. They have been ignored, or old ones used instead.
RESULT FROM STR - PROBLEM 2
2023-08-06 17:20:28 INFO: pum is called with arguments: ['--check']
2023-08-06 17:20:29 ERROR: Apt cache fetch failed:
2023-08-06 17:20:31 ERROR: Err:5 Index of linux/ubuntu/ focal InRelease
2023-08-06 17:20:31 ERROR: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 7EA0A9C3F273FCD8
2023-08-06 17:20:31 ERROR:
2023-08-06 17:20:31 ERROR: Exited with returncode 1.
exit status 1
EXPECTED RESULT
NA
ANY ADDITIONAL INFORMATION
SOLUTION :
Add the key to the keyring and change the .list file, by following the steps :
1 - get the key - run command :
curl -sLS https://download.docker.com/linux/ubuntu/gpg | gpg --dearmor | tee /etc/apt/keyrings/plesk-ext-docker.gpg > /dev/null
2 - declare repo variable - run command :
REPO=$(lsb_release -cs)
3 - create NEW .list file - run command
echo "deb [arch=`dpkg --print-architecture` signed-by=/etc/apt/keyrings/plesk-ext-docker.gpg] Index of linux/ubuntu/ $REPO stable" | tee /etc/apt/sources.list.d/plesk-docker.list
4 - resolve issues with double entries in double .list files :
mv plesk-ext-docker.list plesk-ext-docker.list.back
NOTES :
In step 3, the file plesk-docker.list has been chosen deliberately : it should become plesk-ext-docker.list in the patch!
Step 4 can be discarded when the patch has been applied
REQUEST
Please fix this issue (and similar issues) as soon as possible!
YOUR EXPECTATIONS FROM PLESK SERVICE TEAM
Confirm bug