TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: What the hell libpcre1 is ?( a horror story for sysadmins )

1 点作者 adige01can将近 8 年前
demo video : https:&#x2F;&#x2F;youtu.be&#x2F;AnwAl25MxMU<p>I tried to remove libcpre1 on SLES 12SP1 and install again to downgrade. We are using cluster management software which automatically send yes to all zypper commands. After hitting enter on cluster management system it deleted about 700 packages in a few seconds and we lost tools from ssh to rpm which is crucial to reinstall lost packages. We can only access system via console connection. The only option is left to reinstall from yesterday backup but I wonder why this package remove all software on the system

1 comment

db48x将近 8 年前
libpcre1 is a C library that implements parsing and execution of regular expressions. A lot of packages need some kind of regular expressions, so rather than implement that themselves they use libpcre. Without libpcre they can&#x27;t function, so when you uninstall it you must also uninstall everything that requires it.<p>If you were downgrading in order to install some application which isn&#x27;t compatible with the current versoin of libpcre, then you should be aware that most of the rest of the system may not function with that older version. You should fix your application instead so that it can use the version that comes with SLES12. If you can&#x27;t you might be able to manually install a second copy of the libpcre1 package, but arrange for it to be in a different location than the normal version.<p>Have fun!