首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >Gitlab版本更新

Gitlab版本更新
EN

Stack Overflow用户
提问于 2022-04-11 10:03:17
回答 1查看 605关注 0票数 0

我正在尝试用ce版本将我的GitLab停靠容器从13.8.0升级到13.8.8。我尝试从下面的链接下载ubuntu焦点版本的Debian包:

https://packages.gitlab.com/gitlab/gitlab-ce/packages/ubuntu/focal/gitlab-ce_13.8.8-ce.0_amd64.deb

但是在安装软件包时,我会收到以下错误.

代码语言:javascript
运行
复制
root@2d66229ecf41:/tmp#dpkg -i gitlab-ce_13.8.8-ce.0_amd64.deb 
(Reading database ... 86705 files and directories currently installed.)
Preparing to unpack gitlab-ce_13.8.8-ce.0_amd64.deb ...
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libcrypt.so.1: version `XCRYPT_2.0' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.7)
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libm.so.6: version `GLIBC_2.29' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.7)
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.28' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.7)
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.25' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.7)
/opt/gitlab/embedded/bin/ruby: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.27' not found (required by /opt/gitlab/embedded/lib/libruby.so.2.7)
dpkg: error processing archive gitlab-ce_13.8.8-ce.0_amd64.deb (--install):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 gitlab-ce_13.8.8-ce.0_amd64.deb

我该怎么办?我的光盘空间也是免费的..。有什么问题吗?

有人能帮我解决这个问题吗?

EN

回答 1

Stack Overflow用户

发布于 2022-04-21 15:48:30

根据错误消息,ruby需要xcryptv2.0、glibc_2.xx,并且没有安装或找不到它们。

在执行备份之后,这是我要尝试的第一步

代码语言:javascript
运行
复制
sudo apt-get update && sudo apt-get upgrade && sudo apt-get dist-upgrade
sudo apt-get install -f

https://ubuntuforums.org/showthread.php?t=2438576

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/71825938

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档