0

I want to install multiple packages with apt-get:

listOfPackages="packa packb packc"
listOfBlocked="badone"
apt-get install $listOfPackages

The selected packages recommend multiple packages. I want to install all but one of the recommended packages.

Is this possible? How? (Something like apt-get install $listOfPackages --BLOCKED=$listOfBlocked would be nice.)

0

To make a package unavailable for installation, upgrading or uninstallation, you can use the command:

sudo apt-mark hold <package>

To make a package available for update

sudo apt-mark unhold <package>
| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.