Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

error: 'deepin-wine-wechat-3.9.0.28-3-x86_64.pkg.tar.zst': could not find or read package #64

Open
cyxinda opened this issue Apr 28, 2024 · 1 comment

Comments

@cyxinda
Copy link

cyxinda commented Apr 28, 2024

I use dockerfile to build image.The error happens:

 cyxinda@oldsix  /cyxinda/wechat/docker-wechat/archlinux  ➦ f222e68  docker build -t knodi.com/wechat:v3.9.0.28 . -f Dockerfile 
DEPRECATED: The legacy builder is deprecated and will be removed in a future release.
            Install the buildx component to build images with BuildKit:
            https://docs.docker.com/go/buildx/

Sending build context to Docker daemon  286.7MB
Step 1/13 : FROM archlinux:latest
 ---> 0cda8061254a
Step 2/13 : LABEL maintainer='Peter Wu <[email protected]>'
 ---> Using cache
 ---> 43d4231441e5
Step 3/13 : ENV APP=WeChat     AUDIO_GID=63     VIDEO_GID=39     GID=1000     UID=1000
 ---> Using cache
 ---> 8d2f6827c165
Step 4/13 : COPY zh_CN /tmp/
 ---> Using cache
 ---> 1a2bc2ec3004
Step 5/13 : RUN groupadd -o -g $GID wechat &&     groupmod -o -g $AUDIO_GID audio &&     groupmod -o -g $VIDEO_GID video &&     useradd -d "/home/wechat" -m -o -u $UID -g wechat -G audio,video wechat &&     echo "wechat ALL=(ALL) NOPASSWD: ALL" >> /etc/sudoers &&     mkdir /WeChatFiles &&     chown -R wechat:wechat /WeChatFiles &&     ln -s "/WeChatFiles" "/home/wechat/WeChat Files" &&     echo -e "[multilib]\nInclude = /etc/pacman.d/mirrorlist" >> /etc/pacman.conf &&     sed -i '1i Server = https://mirror.sjtu.edu.cn/archlinux/$repo/os/$arch' /etc/pacman.d/mirrorlist &&     pacman-key --init &&     pacman -Syu --noconfirm sudo &&     mv /tmp/zh_CN /usr/share/i18n/locales/ &&     sed -i '$a zh_CN.UTF-8 UTF-8' /etc/locale.gen &&     locale-gen
 ---> Using cache
 ---> 0f59095503e0
Step 6/13 : USER wechat
 ---> Using cache
 ---> 1649fb70fbac
Step 7/13 : COPY *.pkg.tar.zst /tmp/
 ---> Using cache
 ---> dec51052c1fc
Step 8/13 : RUN cd /tmp/ &&     sudo pacman -U --noconfirm     lib32-udis86-git-1.7.2.186.g5336633-1-x86_64.pkg.tar.zst     deepin-wine-helper-5.1.45_1-1-x86_64.pkg.tar.zst     deepin-wine6-stable-6.0.0.46-1-x86_64.pkg.tar.zst     deepin-wine-wechat-3.9.0.28-3-x86_64.pkg.tar.zst &&     sudo pacman -Scc --noconfirm &&     sudo rm -fr /tmp/* /var/cache/*
 ---> Running in 61c311c28500
error: 'deepin-wine-wechat-3.9.0.28-3-x86_64.pkg.tar.zst': could not find or read package
loading packages...
The command '/bin/sh -c cd /tmp/ &&     sudo pacman -U --noconfirm     lib32-udis86-git-1.7.2.186.g5336633-1-x86_64.pkg.tar.zst     deepin-wine-helper-5.1.45_1-1-x86_64.pkg.tar.zst     deepin-wine6-stable-6.0.0.46-1-x86_64.pkg.tar.zst     deepin-wine-wechat-3.9.0.28-3-x86_64.pkg.tar.zst &&     sudo pacman -Scc --noconfirm &&     sudo rm -fr /tmp/* /var/cache/*' returned a non-zero code: 1

11111

@gredae
Copy link

gredae commented May 21, 2024

sudo apt-get install p7zip-full p7zip-rar
7z x deepin-wine-wechat-3.9.0.28-3-x86_64.pkg.tar.zst.7z.001
but running run.sh seems to have an error

截图 2024-05-21 10-19-14

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants