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

Chris Green cl at isbd.net
Fri Nov 19 12:09:35 UTC 2021


On Thu, Nov 18, 2021 at 04:27:03PM -0600, Keith wrote:
> On 11/18/21 3:20 PM, Chris Green wrote:
> > 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.
> > 
> 
> Here's the package you can download and install locally.
> 
> http://archive.ubuntu.com/ubuntu/pool/main/p/pcre2/libpcre2-8-0_10.36-2ubuntu5_amd64.deb
> 
> There's a lot of packages that list libpcre2 as a dependency, and some
> of those may require a certain version higher than 10.36.
> 
I've checked and, at the moment, nothing that I have installed
requires >10.34.  Thanks for the link.

-- 
Chris Green




More information about the ubuntu-users mailing list