These forums are locked and archived, but all topics have been migrated to the new forum. You can search for this topic on the new forum: Search for Cant install php7.0-zip php7.1-zip php 7.3-zip i just keep getting "you have held broken packages error" on the new forum.
To some extent i am on the pathway to resolving my problem i think...i dumped the idea of using apt, and installed "aptitude"
Aptitude seems to be a much more powerful and has put me on the pathway to resolving some of those damned broken packages.
https://ajecreative.com.au
ok so for those on this forum who, when the "sound advice providers" on this forum go bye byes (which it appears they have recently...doing a great disservice to this brand on google searches), tear their hair out trying to get answers to simple questions...
Here is the answer to my problem (and i wont be the only one to experience this)
My only advice with using aptitude is this...
"with great power comes great responsibility"
A. if used incorrectly and without being absolutely sure of what allowing its recommendations will do you can easily stuff your webserver install. You must check that doing so wont wipe important stuff off your system! I inadvertently made a mistake first time trying this and uninstalled Virtulamin on a production webserver! (fortunately, i had a cloud backup that i could very quickly restore) B. ALWAYS HAVE CURRENT BACKUPS before doing this kind of thing!!!
sudo apt-get update
sudo apt-get install aptitude
sudo aptitude update
sudo aptitude install php7.0-common php7.0-zip -y (note i did not choose the "-y" option...i would suggest you first try without adding -y switch)
aptitude will make some recommendations...quite likely wanting to downgrade some stuff and possibly even remove a couple of php extensions that do not match up with the php7.0-zip extension repository version I was trying to install. For me this downgrading was necessary.
once it completed the downgrade it installed php7.0-zip without an issue.
Sorry i cant go into more detail...i am writing this an hour after sorting my problem. I am sure the guru's here can correct my omissions and ambiguity!
The solution was to use aptitude and not apt-get!
https://ajecreative.com.au