Skip to content

ncp-dist-upgrade: Fix invalid target for apt-get on Raspbian#1457

Merged
theCalcaholic merged 1 commit intomasterfrom
fix/dist-upgrade-raspbian
Apr 11, 2022
Merged

ncp-dist-upgrade: Fix invalid target for apt-get on Raspbian#1457
theCalcaholic merged 1 commit intomasterfrom
fix/dist-upgrade-raspbian

Conversation

@theCalcaholic
Copy link
Copy Markdown
Collaborator

Should fix #1456

@richard2000
Copy link
Copy Markdown

I got an error:

ls: cannot access '/etc/php/7.4/fpm/conf.d/*-opcache.ini': No such file or directory
ls: cannot access '/etc/php/7.4/cli/conf.d/*-opcache.ini': No such file or directory

In /etc/php/ is only 7.3

@richard2000
Copy link
Copy Markdown

richard2000 commented Apr 9, 2022

I fixed it with this commands:

sudo apt install php7.4
sudo apt install php7.4-fpm
sudo a2enmod proxy-fcgi setenvif
sudo a2enconf php7.4-fpm
sudo apt install php7.4-intl
sudo apt install php7.4-xml
sudo apt install php7.4-zip
sudo apt install php7.4-mbstring
sudo apt install php7.4-gd
sudo apt install php7.4-curl

@theCalcaholic
Copy link
Copy Markdown
Collaborator Author

I got an error:

ls: cannot access '/etc/php/7.4/fpm/conf.d/*-opcache.ini': No such file or directory
ls: cannot access '/etc/php/7.4/cli/conf.d/*-opcache.ini': No such file or directory

In /etc/php/ is only 7.3

That should actually just be a warning and not cause the script to fail, iirc... 🤔

@theCalcaholic theCalcaholic merged commit 6b47bfc into master Apr 11, 2022
@delete-merged-branch delete-merged-branch Bot deleted the fix/dist-upgrade-raspbian branch April 11, 2022 15:30
@theCalcaholic
Copy link
Copy Markdown
Collaborator Author

I merged the PR anyway, since the issue @richard2000 mentioned is caused by the broken state due to the initial failure and not related to the fix itself.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

upgrade to Bullseye always popping up, but already upgraded

2 participants