3

I want the virtualbox-ext-package package not to be updated because it always ends up freezing apt.

I tried to make a PIN in nano /etc/apt/preferences.d/virtualbox-ext-pack-pin-99 but I don't know how to fill in the PIN release data correctly

    Package: *
Pin: release o=LP-PPA-????
Pin-Priority: 99

Thanks for your help!

Zanna
  • 70,465

1 Answers1

1

You already have all the elements from https://packages.ubuntu.com/focal/virtualbox-ext-pack page.

To create pin-file you can use single command below:

cat <<EOF | sudo tee /etc/apt/preferences.d/pin-vbox-ext
Package: virtualbox-ext-pack
Pin: version 6.1.6-1
Pin-Priority: 1337
EOF

It will lock virtualbox-ext-pack package at 6.1.6-1 version forever.

N0rbert
  • 99,918