The command ‘/bin/sh -c yum install libreoffice’ returned a non-zero code: 1
1. 异常信息
Isthis ok [y/d/N]:Exiting on user command
Your transaction was saved, rerun it with:yum load-transaction /tmp/yum_save_tx.2023-08-28.13-42.EftXfl.yumtx
The command '/bin/sh -c yum install libreoffice' returned a non-zero code:1
script returned exit code 1
2. 查看 Dockerfile
RUN yum install libreoffice
3. 添加 -y
```java
RUN yum install -y libreoffice
#### 4. 另外异常 Rpmdb checksum is invalid: dCDPT(pkg checksums) :avalon-logkit.noarch 0:2.1-14.el7 -u#### 5. 加 RUN rpm --rebuilddb 重建数据库```java
RUN rpm --rebuilddb && yum install -y libreoffice
2023智能通信与网络国际学术会议(ICN 2023)
2023 International Conference on Intelligent Communication and Networking (ICN2023)
2023智能通信与网络国际学术会议(ICN 2023)将于2023年11月10-12日在中国常州召开。ICN 2023…
Spring Boot 提供的自动配置非常强大,某些情况下,自动配置的功能可能不符合我们的需求,需要我们自定义配置,这个时候就需要排除/禁用 Spring Boot 某些类的自动化配置了。
比如:数据源、邮件,这些都是提供…