Skip to content

xfce容器导入小小容器后第一次更新软件包报错 #1

Open

Description

@misyakuji

Screenshot_2026-10-14-01-27-29-153_com.fct.tc4.jpg

Activity

  1. eyesonme1012 commented on Oct 26, 2026

    @eyesonme1012

    export PROOT_NO_SECCOMP=1; sudo rm -rf /tmp/libc6-fix 2>/dev/null; mkdir -p /tmp/libc6-fix && cd /tmp/libc6-fix && sudo apt update && sudo apt download libc6 && DEB=$(ls -1 /tmp/libc6-fix/libc6_.deb 2>/dev/null | head -1) && echo "包: $DEB" && sudo ar x "$DEB" && sudo mkdir -p /tmp/libc6-fix/ctrl && cd /tmp/libc6-fix/ctrl && sudo tar -xf ../control.tar. 2>/dev/null && sudo sh -c 'printf "#!/bin/sh\nexit 0\n" > /tmp/libc6-fix/ctrl/preinst && chmod +x /tmp/libc6-fix/ctrl/preinst && printf "#!/bin/sh\nexit 0\n" > /tmp/libc6-fix/ctrl/postinst && chmod +x /tmp/libc6-fix/ctrl/postinst' && sudo tar -cf /tmp/libc6-fix/control.tar . && cd /tmp/libc6-fix && sudo ar rcs /tmp/libc6-fix/libc6-fixed.deb debian-binary control.tar data.tar.* && echo "===== 安装 =" && sudo dpkg --force-overwrite --force-architecture -i /tmp/libc6-fix/libc6-fixed.deb 2>&1 | tail -5; sudo apt --fix-broken install -y 2>/dev/null || true; sudo apt full-upgrade -y && sudo rm -rf /tmp/libc6-fix && echo "= 全部完成 =====" && dpkg -l libc6 | grep '^ii'

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions