Ubuntu 18.04 cannot locate the package.

for example, the following command: sudo apt-get install pcre-devel
results as follows:
is reading the package list. Finish
analyzing the dependency tree of the package
is reading status information. Complete
E: unable to locate package pcre-devel

all devel packages report this error

none of these methods on the Internet can be solved:

 https://blog.csdn.net/mo3408/article/details/79934396
 https://blog.csdn.net/zhwisdom0427/article/details/72898772
 https://www.zhihu.com/question/41311332
 https://mirrors.tuna.tsinghua.edu.cn/help/ubuntu/
 
 
Mar.17,2021

https://pkgs.org/download/pcr.


use the search function of apt according to the installation package information you provided

sudo apt search libpcre

my ubuntu16, results are as follows

clisp-module-pcre/xenial 1:2.49-9ubuntu1 amd64
  clisp module that adds libpcre support

libpcrePP-dev/xenial 0.9.5-6.1 amd64
  CPP wrapper class for pcre (development)

libpcrePP0/precise 0.9.5-5.1 amd64
  CPP wrapper class for pcre (runtime)

libpcrePP0v5/xenial 0.9.5-6.1 amd64
  CPP wrapper class for pcre (runtime)

libpcre-ocaml/xenial 7.0.4-2build1 amd64
  OCaml bindings for PCRE (runtime)

libpcre-ocaml-dev/xenial 7.0.4-2build1 amd64
  OCaml bindings for PCRE (Perl Compatible Regular Expression)

libpcre16-3/xenial 2:8.38-3.1 amd64
  Perl 5 Compatible Regular Expression Library - 16 bit runtime files

libpcre2-16-0/xenial 10.21-1 amd64
  New Perl Compatible Regular Expression Library - 16 bit runtime files

libpcre2-32-0/xenial 10.21-1 amd64
  New Perl Compatible Regular Expression Library - 32 bit runtime files

libpcre2-8-0/xenial 10.21-1 amd64
  New Perl Compatible Regular Expression Library- 8 bit runtime files

libpcre2-dbg/xenial 10.21-1 amd64
  New Perl Compatible Regular Expression Library - debug symbols

libpcre2-dev/xenial 10.21-1 amd64
  New Perl Compatible Regular Expression Library - development files

libpcre2-posix0/xenial 10.21-1 amd64
  New Perl Compatible Regular Expression Library - posix-compatible runtime files

libpcre3/xenial,now 2:8.38-3.1 amd64 [installed]
  Perl 5 Compatible Regular Expression Library - runtime files

libpcre3-dbg/xenial 2:8.38-3.1 amd64
  Perl 5 Compatible Regular Expression Library - debug symbols

libpcre3-dev/xenial 2:8.38-3.1 amd64
  Perl 5 Compatible Regular Expression Library - development files

libpcre32-3/xenial 2:8.38-3.1 amd64
  Perl 5 Compatible Regular Expression Library - 32 bit runtime files

libpcrecpp0/precise 8.12-4 amd64
  Perl 5 Compatible Regular Expression Library - CPP runtime files

libpcrecpp0v5/xenial 2:8.38-3.1 amd64
  Perl 5 Compatible Regular Expression Library - CPP runtime files

pcre2-utils/xenial 10.21-1 amd64
  New Perl Compatible Regular Expression Library - utilities

pcregrep/xenial 2:8.38-3.1 amd64
  grep utility that uses perl 5 compatible regexes.

what you need to install should be libpcre2-dev, using

sudo apt install libpcre2-dev
MySQL Query : SELECT * FROM `codeshelper`.`v9_news` WHERE status=99 AND catid='6' ORDER BY rand() LIMIT 5
MySQL Error : Disk full (/tmp/#sql-temptable-64f5-1b35bcc-2bfcf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
MySQL Errno : 1021
Message : Disk full (/tmp/#sql-temptable-64f5-1b35bcc-2bfcf.MAI); waiting for someone to free some space... (errno: 28 "No space left on device")
Need Help?