How to stop 'apt update' + 'apt upgrade' from updating one particular library?

Chris Green cl at isbd.net
Thu Nov 18 21:20:58 UTC 2021


On Thu, Nov 18, 2021 at 03:36:54PM +0000, Colin Law wrote:
> On Thu, 18 Nov 2021 at 15:23, Chris Green <cl at isbd.net> wrote:
> >
> > There is a bug in the version 10.37 of libpcre2-8-0:amd64 which installs
> > with [x]ubuntu 21.10.  The bug is not present in the previous version.
> >
> > Is there any way to prevent apt from updating that particular library
> > to the latest version when I do an overall 'apt update' and 'apt
> > upgrade'?
> 
> This should help.
> https://askubuntu.com/questions/18654/how-to-prevent-updating-of-a-specific-package
> 
> It was the first google hit for me.
> 
Yes, however I need to get back to the older version before putting it
on hold.  Currently I have version 10.37 installed and that has the bug.

-- 
Chris Green




More information about the ubuntu-users mailing list