Skip to content

Commit

Permalink
installer: directly create sources.list file for ondrej ppa
Browse files Browse the repository at this point in the history
On Mint Victoria add-apt-repository sets up an entry in a way which
doesn't work.

 # apt update
...
Get:12 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease [24.6 kB]
Err:12 https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease
  The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 71DAEAAB4AD4CAB6 NO_PUBKEY 4F4EA0AAE5267A6C
Reading package lists... Done
W: GPG error: https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 71DAEAAB4AD4CAB6 NO_PUBKEY 4F4EA0AAE5267A6C
E: The repository 'https://ppa.launchpadcontent.net/ondrej/php/ubuntu jammy 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.
root@mint-victoria-p:~# echo $?
100
  • Loading branch information
andrey-utkin committed Dec 12, 2024
1 parent 389b94a commit 826dc50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion installer/v3.sh
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jammy_install()
VERSION_CODENAME=jammy # don't say "vera" for Linux Mint at this point
: "${SRCLIST_URL:=https://dl.bluecherrydvr.com/sources.list.d/bluecherry-"$VERSION_CODENAME".list}"
wget --output-document=/etc/apt/sources.list.d/bluecherry-"$VERSION_CODENAME".list "$SRCLIST_URL"
add-apt-repository ppa:ondrej/php -y
echo "deb [trusted=yes] https://ppa.launchpadcontent.net/ondrej/php/ubuntu/ jammy main" > /etc/apt/sources.list.d/ondrej-ubuntu-php-jammy.list
apt -y update
apt -y install php7.4-fpm php7.4-sqlite3 php7.4-curl php7.4-mysql php7.4-gd php-mail php-mail-mime php-mysql php7.4-fpm php7.4-mysql
apt -y install bluecherry
Expand Down

0 comments on commit 826dc50

Please sign in to comment.