[ Technical exchange] pica还得优化一下,不知啥原因,pica下载2次我并未声明的deb
Tofloor
poster avatar
ipaddr
deepin
2024-12-02 16:35
Author

adep 时并未指明需要 libgstreamer1.0-0_1.24.6-1_amd64.deb 结果他pica下载两次并安装两次,是我的操作错了吗

ll-pica adep -d "libwebkit2gtk-4.0-37,valac-0.56-vapi"
2024-12-02T16:06:04.577+0800    INFO    load /home/test/.pica/config.json
2024-12-02T16:06:04.577+0800    INFO    load /media/test/WorkSpace1T/deepin/AppImage2Linglong/bambu_studio/io.github.bambulab.BambuStudio/linglong.yaml
Downloading https://community-packages.deepin.com/beige/dists/beige/Release...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/Release...
Success downloading https://community-packages.deepin.com/beige/dists/beige/Release
ERROR: unable to add mirror: mirror with name beige already exists
Downloading https://community-packages.deepin.com/beige/dists/beige/Release...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/Release...
Success downloading https://community-packages.deepin.com/beige/dists/beige/Release
Downloading & parsing package files...
Downloading https://community-packages.deepin.com/beige/dists/beige/main/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/main/binary-amd64/Packages.gz
Downloading https://community-packages.deepin.com/beige/dists/beige/commercial/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/commercial/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/commercial/binary-amd64/Packages.gz
Downloading https://community-packages.deepin.com/beige/dists/beige/community/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/community/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/community/binary-amd64/Packages.gz
Applying filter...
Packages filtered: 32405 -> 1.
Building download queue...
Download queue: 1 items (1.31 MiB)
Downloading https://community-packages.deepin.com/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb...
Following redirect to https://community-packages.deepin.com/deepin/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb...
Success downloading https://community-packages.deepin.com/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb
2024-12-02T16:07:35.250+0800    INFO    load /home/test/.pica/config.json
2024-12-02T16:07:35.311+0800    INFO    out: code: -1
message:
main:org.deepin.base/23.1.0.3/x86_64 is already installed

2024-12-02T16:07:35.367+0800    INFO    load /home/test/.pica/config.json
2024-12-02T16:07:35.423+0800    INFO    out: code: -1
message:
main:org.deepin.runtime.dtk/23.1.0.0/x86_64 is already installed

Downloading https://community-packages.deepin.com/beige/dists/beige/Release...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/Release...
Success downloading https://community-packages.deepin.com/beige/dists/beige/Release
ERROR: unable to add mirror: mirror with name beige already exists
Downloading https://community-packages.deepin.com/beige/dists/beige/Release...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/Release...
Success downloading https://community-packages.deepin.com/beige/dists/beige/Release
Downloading & parsing package files...
Downloading https://community-packages.deepin.com/beige/dists/beige/main/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/main/binary-amd64/Packages.gz
Downloading https://community-packages.deepin.com/beige/dists/beige/commercial/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/commercial/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/commercial/binary-amd64/Packages.gz
Downloading https://community-packages.deepin.com/beige/dists/beige/community/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/community/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/community/binary-amd64/Packages.gz
Applying filter...
Packages filtered: 32405 -> 1.
Building download queue...
Download queue: 1 items (1.31 MiB)
Downloading https://community-packages.deepin.com/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb...
Following redirect to https://community-packages.deepin.com/deepin/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb...
Success downloading https://community-packages.deepin.com/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb
Downloading https://community-packages.deepin.com/beige/dists/beige/Release...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/Release...
Success downloading https://community-packages.deepin.com/beige/dists/beige/Release
ERROR: unable to add mirror: mirror with name beige already exists
Downloading https://community-packages.deepin.com/beige/dists/beige/Release...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/Release...
Success downloading https://community-packages.deepin.com/beige/dists/beige/Release
Downloading & parsing package files...
Downloading https://community-packages.deepin.com/beige/dists/beige/main/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/main/binary-amd64/Packages.gz
Downloading https://community-packages.deepin.com/beige/dists/beige/commercial/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/commercial/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/commercial/binary-amd64/Packages.gz
Downloading https://community-packages.deepin.com/beige/dists/beige/community/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/community/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/community/binary-amd64/Packages.gz
Applying filter...
Packages filtered: 32405 -> 1.
Building download queue...
Download queue: 1 items (1.31 MiB)
Downloading https://community-packages.deepin.com/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb...
Following redirect to https://community-packages.deepin.com/deepin/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb...
Success downloading https://community-packages.deepin.com/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb
2024-12-02T16:10:51.197+0800    INFO    load /home/test/.pica/config.json
2024-12-02T16:10:51.256+0800    INFO    out: code: -1
message:
main:org.deepin.base/23.1.0.3/x86_64 is already installed

2024-12-02T16:10:51.313+0800    INFO    load /home/test/.pica/config.json
2024-12-02T16:10:51.362+0800    INFO    out: code: -1
message:
main:org.deepin.runtime.dtk/23.1.0.0/x86_64 is already installed

Downloading https://community-packages.deepin.com/beige/dists/beige/Release...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/Release...
Success downloading https://community-packages.deepin.com/beige/dists/beige/Release
ERROR: unable to add mirror: mirror with name beige already exists
Downloading https://community-packages.deepin.com/beige/dists/beige/Release...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/Release...
Success downloading https://community-packages.deepin.com/beige/dists/beige/Release
Downloading & parsing package files...
Downloading https://community-packages.deepin.com/beige/dists/beige/main/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/main/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/main/binary-amd64/Packages.gz
Downloading https://community-packages.deepin.com/beige/dists/beige/commercial/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/commercial/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/commercial/binary-amd64/Packages.gz
Downloading https://community-packages.deepin.com/beige/dists/beige/community/binary-amd64/Packages.gz...
Following redirect to https://community-packages.deepin.com/deepin/beige/dists/beige/community/binary-amd64/Packages.gz...
Success downloading https://community-packages.deepin.com/beige/dists/beige/community/binary-amd64/Packages.gz
Applying filter...
Packages filtered: 32405 -> 1.
Building download queue...
Download queue: 1 items (1.31 MiB)
Downloading https://community-packages.deepin.com/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb...
Following redirect to https://community-packages.deepin.com/deepin/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb...
Success downloading https://community-packages.deepin.com/beige/pool/main/g/gstreamer1.0/libgstreamer1.0-0_1.24.6-1_amd64.deb
2024-12-02T16:12:17.729+0800    INFO    generate linglong.yaml success.
Reply Favorite View the author
All Replies
Ziggy
deepin
2024-12-02 16:47
#1
libwebkit2gtk依赖 libgstreamer呢

❯ apt depends libwebkit2gtk-4.0-37 |grep libgstreamer

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

依赖: libgstreamer-gl1.0-0 (>= 1.14.0)
依赖: libgstreamer-plugins-base1.0-0 (>= 1.14.0)
依赖: libgstreamer1.0-0 (>= 1.14.0)

如果是重复下载, 可以看下pica和系统环境是什么版本

Reply View the author
ipaddr
deepin
2024-12-02 16:54
#2
Ziggy
libwebkit2gtk依赖 libgstreamer呢

❯ apt depends libwebkit2gtk-4.0-37 |grep libgstreamer

WARNING: apt does not have a stable CLI interface. Use with caution in scripts.

依赖: libgstreamer-gl1.0-0 (>= 1.14.0)
依赖: libgstreamer-plugins-base1.0-0 (>= 1.14.0)
依赖: libgstreamer1.0-0 (>= 1.14.0)

如果是重复下载, 可以看下pica和系统环境是什么版本

pica 版本

ll-pica -v
pica version 1.2.2

当前系统版本

lsb_release -a
No LSB modules are available.
Distributor ID: Deepin
Description:    Deepin 23
Release:        23
Codename:       beige

工程中的base和runtime

base: org.deepin.base/23.1.0
runtime: 
Reply View the author
Ziggy
deepin
2024-12-02 17:16
#3
ipaddr

pica 版本

ll-pica -v
pica version 1.2.2

当前系统版本

lsb_release -a
No LSB modules are available.
Distributor ID: Deepin
Description:    Deepin 23
Release:        23
Codename:       beige

工程中的base和runtime

base: org.deepin.base/23.1.0
runtime: 

最新是1.2.3-1,可以到应用商店更新一下

adep会下载你选定的包和它所依赖的其他依赖包, 正如上面的结果一样, 还是有可能会出现一个lib包需要依赖于其他lib的情况

Reply View the author
ipaddr
deepin
2024-12-02 17:37
#4
Ziggy

最新是1.2.3-1,可以到应用商店更新一下

adep会下载你选定的包和它所依赖的其他依赖包, 正如上面的结果一样, 还是有可能会出现一个lib包需要依赖于其他lib的情况

我发现这个了,而且表示有些疑惑,不知道啥原因,使用的是阿里云镜像

apt search linglong-pica
正在排序... 完成
全文搜索... 完成
linglong-pica/stable,now 1.2.3-1 amd64 [已安装]
Linglong transform package tools. Linglong transform package command line tool from deb.

但是

ll-pica -v
pica version 1.2.2
Reply View the author