No package 'libpostproc' found

博客内容展示了一条命令,即使用sudo apt-get install来安装libpostproc-dev,这是在信息技术领域中进行软件包安装的常见操作。

摘要生成于 C知道 ,由 DeepSeek-R1 满血版支持, 前往体验 >

sudo apt-get install libpostproc-dev
(base) unitree@ubuntu:~$ sudo apt-get install ffmpeg Reading package lists... Done Building dependency tree Reading state information... Done The following packages were automatically installed and are no longer required: apt-clone archdetect-deb bogl-bterm busybox-static cryptsetup-bin dctrl-tools dpkg-repack gir1.2-timezonemap-1.0 gir1.2-xkl-1.0 grub-common libavresample-dev libavresample4 libdc1394-22-dev libdebian-installer4 libexif-dev libgdcm-dev libgphoto2-dev libgtsam4 libilmbase-dev libmetis-dev libmetis5 libopencv4.2-java libopencv4.2-jni libopenexr-dev libraw1394-dev libtimezonemap-data libtimezonemap1 os-prober python3-icu python3-pam rdate tasksel tasksel-data Use 'sudo apt autoremove' to remove them. The following NEW packages will be installed: ffmpeg 0 upgraded, 1 newly installed, 0 to remove and 156 not upgraded. 1 not fully installed or removed. Need to get 0 B/14.3 MB of archives. After this operation, 52.4 MB of additional disk space will be used. debconf: delaying package configuration, since apt-utils is not installed (Reading database ... 264161 files and directories currently installed.) Preparing to unpack .../ffmpeg_7%3a4.2.7-nvidia_arm64.deb ... Unpacking ffmpeg (7:4.2.7-nvidia) ... Replacing files in old package libavcodec-dev:arm64 (7:4.2.7-0ubuntu0.1) ... Replacing files in old package libavdevice-dev:arm64 (7:4.2.7-0ubuntu0.1) ... Replacing files in old package libavfilter-dev:arm64 (7:4.2.7-0ubuntu0.1) ... Replacing files in old package libavformat-dev:arm64 (7:4.2.7-0ubuntu0.1) ... Replacing files in old package libavresample-dev:arm64 (7:4.2.7-0ubuntu0.1) ... Replacing files in old package libavutil-dev:arm64 (7:4.2.7-0ubuntu0.1) ... dpkg: error processing archive /var/cache/apt/archives/ffmpeg_7%3a4.2.7-nvidia_arm64.deb (--unpack): trying to overwrite '/usr/include/aarch64-linux-gnu/libpostproc/postprocess.h', which is also in package libpostproc-dev:arm64 7:4.2.7-0ubuntu0.1 怎么解决
04-01
root@srv771551:~# chmod +x *.AppImage root@srv771551:~# which tabby # 应输出安装路径 tabby --version Command 'tabby' not found, did you mean: command 'ktabby' from deb kgames (2.3-1) Try: apt install <deb name> root@srv771551:~# ^C root@srv771551:~# ^C root@srv771551:~# wget https://github.com/Eugeny/tabby/releases/download/v1.0.209/tabby-1.0.209-linux-x64.AppImage --2025-05-28 02:18:08-- https://github.com/Eugeny/tabby/releases/download/v1.0.209/tabby-1.0.209-linux-x64.AppImage Resolving github.com (github.com)... 20.207.73.82 Connecting to github.com (github.com)|20.207.73.82|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/77213120/6838174f-aae8-46a8-875f-4adc31805938?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250528%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250528T021602Z&X-Amz-Expires=300&X-Amz-Signature=366b06d105ad23c750d2b24dfa63c80757d01eaaa1a2827052e5bdca604a9001&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dtabby-1.0.209-linux-x64.AppImage&response-content-type=application%2Foctet-stream [following] --2025-05-28 02:18:08-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/77213120/6838174f-aae8-46a8-875f-4adc31805938?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250528%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250528T021602Z&X-Amz-Expires=300&X-Amz-Signature=366b06d105ad23c750d2b24dfa63c80757d01eaaa1a2827052e5bdca604a9001&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dtabby-1.0.209-linux-x64.AppImage&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.110.133, 185.199.108.133, 185.199.111.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.110.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 134111099 (128M) [application/octet-stream] Saving to: 'tabby-1.0.209-linux-x64.AppImage.2' tabby-1.0.209-linux-x64.AppImage.2 100%[=================================================================================================================================>] 127.90M 49.2MB/s in 2.6s 2025-05-28 02:18:12 (49.2 MB/s) - 'tabby-1.0.209-linux-x64.AppImage.2' saved [134111099/134111099] root@srv771551:~# sudo apt install libfuse2 # AppImage运行必需的基础依赖[^2] Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'libfuse2t64' instead of 'libfuse2' libfuse2t64 is already the newest version (2.9.9-8.1build1). libfuse2t64 set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@srv771551:~# chmod +x tabby-*.AppImage root@srv771551:~# ./tabby-*.AppImage [0528/021833.570631:FATAL:electron_main_delegate.cc(294)] Running as root without --no-sandbox is not supported. See https://crbug.com/638180. Trace/breakpoint trap (core dumped) root@srv771551:~# # 将Tabby添加到应用程序菜单 sudo mkdir -p /usr/local/bin sudo mv tabby-*.AppImage /usr/local/bin/tabby root@srv771551:~# sudo apt install fuse3 Reading package lists... Done Building dependency tree... Done Reading state information... Done fuse3 is already the newest version (3.14.0-5build1). fuse3 set to manually installed. 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@srv771551:~# sha256sum tabby-*.AppImage | grep $(curl -sL 发布页 | grep sha256) sha256sum: 'tabby-*.AppImage': No such file or directory Usage: grep [OPTION]... PATTERNS [FILE]... Try 'grep --help' for more information. root@srv771551:~# ^C root@srv771551:~# ^C root@srv771551:~# # 启用universe仓库并安装gconf2 sudo add-apt-repository universe sudo apt update sudo apt install libgconf-2-4 # Ubuntu 24.04中替代旧版gconf2的兼容库[^2] Adding component(s) 'universe' to all repositories. Press [ENTER] to continue or Ctrl-c to cancel. Hit:1 https://repository.monarx.com/repository/ubuntu-noble noble InRelease Hit:2 http://in.archive.ubuntu.com/ubuntu noble InRelease Get:3 http://in.archive.ubuntu.com/ubuntu noble-updates InRelease [126 kB] Hit:4 http://in.archive.ubuntu.com/ubuntu noble-backports InRelease Hit:5 http://in.archive.ubuntu.com/ubuntu noble-security InRelease Fetched 126 kB in 1s (85.5 kB/s) Reading package lists... Done Hit:1 https://repository.monarx.com/repository/ubuntu-noble noble InRelease Hit:2 http://in.archive.ubuntu.com/ubuntu noble InRelease Hit:3 http://in.archive.ubuntu.com/ubuntu noble-updates InRelease Hit:4 http://in.archive.ubuntu.com/ubuntu noble-backports InRelease Hit:5 http://in.archive.ubuntu.com/ubuntu noble-security InRelease Reading package lists... Done Building dependency tree... Done Reading state information... Done All packages are up to date. Reading package lists... Done Building dependency tree... Done Reading state information... Done E: Unable to locate package libgconf-2-4 root@srv771551:~# # 下载最新AppImage(需替换版本号) wget https://github.com/Eugeny/tabby/releases/download/v1.0.209/tabby-1.0.209-linux-x64.AppImage # 安装运行时依赖 sudo apt install libfuse2 libgtk-3-0 libnss3 libasound2 # GUI应用基础依赖[^2] # 赋予执行权限 chmod +x tabby-*.AppImage --2025-05-28 02:21:43-- https://github.com/Eugeny/tabby/releases/download/v1.0.209/tabby-1.0.209-linux-x64.AppImage Resolving github.com (github.com)... 20.207.73.82 Connecting to github.com (github.com)|20.207.73.82|:443... connected. HTTP request sent, awaiting response... 302 Found Location: https://objects.githubusercontent.com/github-production-release-asset-2e65be/77213120/6838174f-aae8-46a8-875f-4adc31805938?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250528%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250528T022143Z&X-Amz-Expires=300&X-Amz-Signature=df4d6c5bf9de994902474c1591582aa3677b65da50a2235344d5f54aab0dbae4&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dtabby-1.0.209-linux-x64.AppImage&response-content-type=application%2Foctet-stream [following] --2025-05-28 02:21:43-- https://objects.githubusercontent.com/github-production-release-asset-2e65be/77213120/6838174f-aae8-46a8-875f-4adc31805938?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Credential=releaseassetproduction%2F20250528%2Fus-east-1%2Fs3%2Faws4_request&X-Amz-Date=20250528T022143Z&X-Amz-Expires=300&X-Amz-Signature=df4d6c5bf9de994902474c1591582aa3677b65da50a2235344d5f54aab0dbae4&X-Amz-SignedHeaders=host&response-content-disposition=attachment%3B%20filename%3Dtabby-1.0.209-linux-x64.AppImage&response-content-type=application%2Foctet-stream Resolving objects.githubusercontent.com (objects.githubusercontent.com)... 185.199.108.133, 185.199.109.133, 185.199.111.133, ... Connecting to objects.githubusercontent.com (objects.githubusercontent.com)|185.199.108.133|:443... connected. HTTP request sent, awaiting response... 200 OK Length: 134111099 (128M) [application/octet-stream] Saving to: 'tabby-1.0.209-linux-x64.AppImage' tabby-1.0.209-linux-x64.AppImage 100%[================================================================================================================================>] 127.90M 42.1MB/s in 3.0s 2025-05-28 02:21:47 (42.1 MB/s) - 'tabby-1.0.209-linux-x64.AppImage' saved [134111099/134111099] Reading package lists... Done Building dependency tree... Done Reading state information... Done Note, selecting 'libfuse2t64' instead of 'libfuse2' Note, selecting 'libgtk-3-0t64' instead of 'libgtk-3-0' Package libasound2 is a virtual package provided by: liboss4-salsa-asound2 4.2-build2020-1ubuntu3 libasound2t64 1.2.11-1build2 (= 1.2.11-1build2) You should explicitly select one to install. E: Package 'libasound2' has no installation candidate root@srv771551:~# # 以普通用户身份运行(推荐) ./tabby-*.AppImage --no-sandbox # 若必须使用root: echo 'alias tabby="~/tabby-*.AppImage --no-sandbox"' >> ~/.bashrc source ~/.bashrc [2670:0528/022155.492429:ERROR:ozone_platform_x11.cc(240)] Missing X server or $DISPLAY [2670:0528/022155.492527:ERROR:env.cc(255)] The platform failed to initialize. Exiting. root@srv771551:~# # 创建桌面快捷方式 cat > ~/.local/share/applications/tabby.desktop <<EOF [Desktop Entry] Name=Tabby Exec=/path/to/tabby.AppImage --no-sandbox Icon=/path/to/icon.png Type=Application Categories=Development; EOF -bash: /root/.local/share/applications/tabby.desktop: No such file or directory root@srv771551:~# sudo apt upgrade Reading package lists... Done Building dependency tree... Done Reading state information... Done Calculating upgrade... Done Get more security updates through Ubuntu Pro with 'esm-apps' enabled: libzvbi-common libwinpr2-2t64 libcjson1 libpostproc57 libavcodec60 libzvbi0t64 libavutil58 libswscale7 libfreerdp-server2-2t64 libswresample4 7zip libavformat60 libfreerdp2-2t64 libavfilter9 Learn more about Ubuntu Pro at https://ubuntu.com/pro 0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded. root@srv771551:~# sudo ubuntu-drivers autoinstall All the available drivers are already installed. root@srv771551:~# export GTK_IM_MODULE=ibus root@srv771551:~#
最新发布
05-29
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值