AskOverflow.Dev

AskOverflow.Dev Logo AskOverflow.Dev Logo

AskOverflow.Dev Navigation

  • 主页
  • 系统&网络
  • Ubuntu
  • Unix
  • DBA
  • Computer
  • Coding
  • LangChain

Mobile menu

Close
  • 主页
  • 系统&网络
    • 最新
    • 热门
    • 标签
  • Ubuntu
    • 最新
    • 热门
    • 标签
  • Unix
    • 最新
    • 标签
  • DBA
    • 最新
    • 标签
  • Computer
    • 最新
    • 标签
  • Coding
    • 最新
    • 标签
主页 / user-99457

Sybil's questions

Martin Hope
Sybil
Asked: 2024-04-17 15:40:26 +0800 CST

固件升级“fwupd”在 Raspberry 和 MacBook Air 2014 上不起作用 - 警告:UEFI 封装更新在固件设置中不可用或启用

  • 5

我喜欢这个想法fwupd。但它不适用于 Ubuntu 机器(Rasperry PI 5 和 MacBook Air 2014)。

我总是收到此错误(所有命令都返回相同的错误,fwupdmgr get-devices并且fwupdmgr update)fwupdmgr refresh

WARNING: UEFI capsule updates not available or enabled in firmware setup  
See https://github.com/fwupd/fwupd/wiki/PluginFlag:capsules-unsupported for more information.  
Metadata is up to date; use --force to refresh again.  
WARNING: UEFI capsule updates not available or enabled in firmware setup  
See https://github.com/fwupd/fwupd/wiki/PluginFlag:capsules-unsupported for more information.  
No updatable devices

如何fwupd在这些设备上启用?错误消息中的 GitHub wiki 链接没有帮助。我的硬件不兼容吗?

raspberrypi
  • 1 个回答
  • 20 Views
Martin Hope
Sybil
Asked: 2022-04-23 19:55:10 +0800 CST

Raspberry:“do-release-upgrade”认为“Jammy Jellyfish”仍在开发中

  • 7

我希望将我的 Raspberry 升级为 Jammy Jellyfish。它昨天发布并在新闻中宣布。

但是在我的机器上它仍然显示那是测试版!

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"


# do-release-upgrade
Checking for a new Ubuntu release
No new release found.

# do-release-upgrade -p -m server
Checking for a new Ubuntu release
No new release found.

# do-release-upgrade -c -m server
Checking for a new Ubuntu release
No new release found.

# do-release-upgrade -c -m server --allow-third-party
Checking for a new Ubuntu release
No new release found.

# date
Sat Apr 23 07:49:28 CEST 2022

# do-release-upgrade -d
Checking for a new Ubuntu release

= Welcome to the Ubuntu 'Jammy Jellyfish' development release =

''This release is still in development.''

Thanks for your interest in this development release of Ubuntu.
The Ubuntu developers are moving very quickly to bring you the
absolute latest and greatest software the Open Source Community has to
offer. This development release brings you a taste of the newest features
for the next version of Ubuntu.

== Testing ==

Please help to test this development snapshot and report problems back to the
developers.  For more information about testing Ubuntu, please read:

  http://www.ubuntu.com/testing


== Reporting Bugs ==

This development release of Ubuntu contains bugs. If you want to help
out with bugs, the Bug Squad is always looking for help. Please read the
following information about reporting bugs

这是一些覆盆子特有的错误吗?

我做了

apt update && apt upgrade && apt dist-upgrade && apt autoremove && apt install update-manager-core
upgrade
  • 4 个回答
  • 2637 Views
Martin Hope
Sybil
Asked: 2022-03-25 11:19:15 +0800 CST

为什么在 aarch64 上使用纯文本 http“http://ports.ubuntu.com/ubuntu-ports”?[复制]

  • 3
这个问题在这里已经有了答案:
为什么ubuntu不使用https作为apt更新的默认值?[重复] (1 个回答)
6 个月前关闭。

我在 Raspberry 上安装了最新的 Ubuntu。在一次apt update我很惊讶通信没有加密。

为什么http://ports.ubuntu.com/ubuntu-ports使用而不使用https://ports.ubuntu.com/ubuntu-ports?这仍然是最新的吗?

# cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=21.10
DISTRIB_CODENAME=impish
DISTRIB_DESCRIPTION="Ubuntu 21.10"

# uname -a
Linux b96eebccc368 5.13.0-1022-raspi #24-Ubuntu SMP PREEMPT Wed Mar 16 07:19:33 UTC 2022 aarch64 aarch64 aarch64 GNU/Linux

# apt update && apt --with-new-pkgs upgrade -y
Hit:1 http://ports.ubuntu.com/ubuntu-ports impish InRelease
Get:2 http://ports.ubuntu.com/ubuntu-ports impish-updates InRelease [115 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports impish-backports InRelease [101 kB]
Hit:4 https://repo.jellyfin.org/ubuntu impish InRelease
Get:5 http://ports.ubuntu.com/ubuntu-ports impish-security InRelease [110 kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports impish-updates/main arm64 Packages [308 kB]
Get:7 http://ports.ubuntu.com/ubuntu-ports impish-updates/main Translation-en [85.1 kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports impish-updates/main arm64 c-n-f Metadata [5544 B]
Get:9 http://ports.ubuntu.com/ubuntu-ports impish-updates/universe arm64 Packages [166 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports impish-updates/universe arm64 c-n-f Metadata [4976 B]
Get:11 http://ports.ubuntu.com/ubuntu-ports impish-security/main arm64 Packages [249 kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports impish-security/main Translation-en [67.5 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports impish-security/main arm64 c-n-f Metadata [4012 B]
Get:14 http://ports.ubuntu.com/ubuntu-ports impish-security/universe arm64 Packages [130 kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports impish-security/universe arm64 c-n-f Metadata [4168 B]
Fetched 1350 kB in 4s (358 kB/s)
apt
  • 2 个回答
  • 250 Views
Martin Hope
Sybil
Asked: 2020-09-29 00:43:32 +0800 CST

如何列出我的盒子上安装的所有专有(许可字段)快照包?

  • 4

snap安装后如何sudo snap install [package]列出我的盒子上具有专有许可证的所有软件包?决定什么是开源的,什么不是我喜欢的Debian 自由软件指南。

例如spotify

Details for Spotify
License
    Proprietary
license snap
  • 1 个回答
  • 187 Views
Martin Hope
Sybil
Asked: 2020-08-09 23:29:13 +0800 CST

使用 apt(deb 包)安装了一些 Gnome Shell 扩展 - 如何启用它们?

  • 1

我做了:

sudo apt install gnome-shell-extension-show-ip
sudo apt install gnome-shell-extension-weather

我检查了 GUI“扩展”和“gnome-tweaks”,但在此列表中没有看到它们。如何启用和配置它们?

gnome gnome-shell gnome-shell-extension 20.04
  • 1 个回答
  • 120 Views
Martin Hope
Sybil
Asked: 2020-07-07 06:03:50 +0800 CST

什么是 /boot/firmware?它是干什么用的?

  • 2

这是我在 Raspberry Pi 4 上的分区布局(Ubuntu 20.04 LTS 映像)

root@jk4:/home/ubuntu# lsblk
NAME        MAJ:MIN RM  SIZE RO TYPE MOUNTPOINT
sda           8:0    0  3.7T  0 disk
└─sda1        8:1    0  3.7T  0 part
mmcblk0     179:0    0 29.1G  0 disk
├─mmcblk0p1 179:1    0  256M  0 part /boot/firmware
└─mmcblk0p2 179:2    0 28.9G  0 part /

我想知道/boot/firmware是什么?是覆盆子特有的吗?

在维基百科中我只找到了/boot,这也是我多年前从书中学到的。

root@jk4:/home/ubuntu# ls -al /boot/firmware
total 99020
drwxr-xr-x 3 root root     4096 Jan  1  1970 .
drwxr-xr-x 4 root root     4096 Jul  4 05:29 ..
-rwxr-xr-x 1 root root    26247 Jul  4 05:29 bcm2710-rpi-2-b.dtb
-rwxr-xr-x 1 root root    26247 Jul  4 05:28 bcm2710-rpi-2-b.dtb.bak
-rwxr-xr-x 1 root root    27288 Jul  4 05:29 bcm2710-rpi-3-b.dtb
-rwxr-xr-x 1 root root    27288 Jul  4 05:28 bcm2710-rpi-3-b.dtb.bak
-rwxr-xr-x 1 root root    27907 Jul  4 05:29 bcm2710-rpi-3-b-plus.dtb
-rwxr-xr-x 1 root root    27907 Jul  4 05:28 bcm2710-rpi-3-b-plus.dtb.bak
-rwxr-xr-x 1 root root    26102 Jul  4 05:29 bcm2710-rpi-cm3.dtb
-rwxr-xr-x 1 root root    26102 Jul  4 05:28 bcm2710-rpi-cm3.dtb.bak
-rwxr-xr-x 1 root root    46368 Jul  4 05:29 bcm2711-rpi-4-b.dtb
-rwxr-xr-x 1 root root    46368 Jul  4 05:28 bcm2711-rpi-4-b.dtb.bak
-rwxr-xr-x 1 root root    19924 Jul  4 05:29 bcm2837-rpi-3-a-plus.dtb
-rwxr-xr-x 1 root root    19924 Jul  4 05:28 bcm2837-rpi-3-a-plus.dtb.bak
-rwxr-xr-x 1 root root    20373 Jul  4 05:29 bcm2837-rpi-3-b.dtb
-rwxr-xr-x 1 root root    20373 Jul  4 05:28 bcm2837-rpi-3-b.dtb.bak
-rwxr-xr-x 1 root root    20793 Jul  4 05:29 bcm2837-rpi-3-b-plus.dtb
-rwxr-xr-x 1 root root    20793 Jul  4 05:28 bcm2837-rpi-3-b-plus.dtb.bak
-rwxr-xr-x 1 root root    19700 Jul  4 05:29 bcm2837-rpi-cm3-io3.dtb
-rwxr-xr-x 1 root root    19700 Jul  4 05:28 bcm2837-rpi-cm3-io3.dtb.bak
-rwxr-xr-x 1 root root    52304 Apr 23 15:12 bootcode.bin
-rwxr-xr-x 1 root root     2603 Jul  4 05:29 boot.scr
-rwxr-xr-x 1 root root     2603 Jul  4 05:28 boot.scr.bak
-rwxr-xr-x 1 root root      141 Apr 23 15:12 cmdline.txt
-rwxr-xr-x 1 root root     1117 Apr 23 15:12 config.txt
-rwxr-xr-x 1 root root     3112 Apr 23 15:12 fixup4cd.dat
-rwxr-xr-x 1 root root     6200 Apr 23 15:12 fixup4.dat
-rwxr-xr-x 1 root root     9192 Apr 23 15:12 fixup4db.dat
-rwxr-xr-x 1 root root     9192 Apr 23 15:12 fixup4x.dat
-rwxr-xr-x 1 root root     2656 Apr 23 15:12 fixup_cd.dat
-rwxr-xr-x 1 root root     6745 Apr 23 15:12 fixup.dat
-rwxr-xr-x 1 root root     9817 Apr 23 15:12 fixup_db.dat
-rwxr-xr-x 1 root root     9819 Apr 23 15:12 fixup_x.dat
-rwxr-xr-x 1 root root 29527996 Jul  4 05:29 initrd.img
-rwxr-xr-x 1 root root 29528551 Jul  4 05:28 initrd.img.bak
-rwxr-xr-x 1 root root      240 Apr 23 15:12 meta-data
-rwxr-xr-x 1 root root      770 Apr 23 15:12 network-config
-rwxr-xr-x 1 root root     1371 Jul  4 05:29 overlay_map.dtb
-rwxr-xr-x 1 root root     1371 Jul  4 05:28 overlay_map.dtb.bak
drwxr-xr-x 2 root root    34816 Jul  4 05:29 overlays
-rwxr-xr-x 1 root root     1514 Apr 23 15:12 README
-rwxr-xr-x 1 root root   784316 Apr 23 15:12 start4cd.elf
-rwxr-xr-x 1 root root  4593508 Apr 23 15:12 start4db.elf
-rwxr-xr-x 1 root root  2784800 Apr 23 15:12 start4.elf
-rwxr-xr-x 1 root root  3546468 Apr 23 15:12 start4x.elf
-rwxr-xr-x 1 root root   690884 Apr 23 15:12 start_cd.elf
-rwxr-xr-x 1 root root  4859912 Apr 23 15:12 start_db.elf
-rwxr-xr-x 1 root root  2883204 Apr 23 15:12 start.elf
-rwxr-xr-x 1 root root  3797384 Apr 23 15:12 start_x.elf
-rwxr-xr-x 1 root root      327 Apr 23 15:12 syscfg.txt
-rwxr-xr-x 1 root root   493528 Apr 23 15:12 uboot_rpi_3.bin
-rwxr-xr-x 1 root root   492824 Apr 23 15:12 uboot_rpi_4.bin
-rwxr-xr-x 1 root root      200 Apr 23 15:12 usercfg.txt
-rwxr-xr-x 1 root root     2114 Apr 23 15:12 user-data
-rwxr-xr-x 1 root root  8381742 Jul  4 05:29 vmlinuz
-rwxr-xr-x 1 root root  8381742 Jul  4 05:28 vmlinuz.bak

我认识一些文件,例如 Linux 内核。bcm*看起来像博通的东西。请提供有关它的详细信息。

boot broadcom raspberrypi 20.04
  • 1 个回答
  • 1755 Views
Martin Hope
Sybil
Asked: 2020-06-29 02:43:38 +0800 CST

'snap list' 显示 3 个已安装的软件包,我还能在 Ubuntu 20.04 LTS 上清除 snapd 吗?

  • 3

我用搜索机发现可以安全地删除 Ubuntu Server 上的 snap?. 在这篇文章中,他的snap list输出是空的。没有安装包。

在我这里列表不是空的..

版本,Raspberry Pi 4 硬件(64 位图像):

cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=20.04
DISTRIB_CODENAME=focal
DISTRIB_DESCRIPTION="Ubuntu 20.04 LTS"

快照信息

snap list
Name    Version    Rev    Tracking         Publisher   Notes
core    16-2.45.1  9441   latest/stable    canonical✓  core
core18  20200427   1753   latest/stable    canonical✓  base
lxd     4.2        15763  latest/stable/…  canonical✓  -

这是什么?core和是什么core18?lxd需要吗?

执行这些清理命令仍然安全吗?

sudo apt purge snapd
sudo apt autoremove
purge snap 20.04
  • 1 个回答
  • 859 Views
Martin Hope
Sybil
Asked: 2020-03-15 22:23:16 +0800 CST

如何在命令行 VR 视频中识别?..并批量删除它们

  • 1

有时我不小心下载了 VR(虚拟现实)视频。我无法在我的 Linux 机器上观看 VR 视频(即使在 macOS 上也无法正常工作)。

如何识别 VR 视频(mediainfo或类似工具)并将其删除到类似的文件夹中/torrents/complete?

这里示例视频元数据:

$ mediainfo example.mp4
General
Complete name                            : example.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 83.1 MiB
Duration                                 : 9 min 40 s
Overall bit rate                         : 1 201 kb/s
Writing application                      : Lavf58.0.100

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : [email protected]
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 9 min 40 s
Bit rate                                 : 1 067 kb/s
Width                                    : 1 440 pixels
Height                                   : 720 pixels
Display aspect ratio                     : 2.000
Frame rate mode                          : Constant
Frame rate                               : 25.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.041
Stream size                              : 73.8 MiB (89%)
Writing library                          : x264 core 152 r19 ba24899
Encoding settings                        : cabac=1 / ref=1 / deblock=1:0:0 / analyse=0x3:0x3 / me=dia / subme=1 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=0 / me_range=16 / chroma_me=1 / trellis=0 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=0 / threads=12 / lookahead_threads=2 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=1 / keyint=125 / keyint_min=12 / scenecut=0 / intra_refresh=0 / rc=crf / mbtree=0 / crf=26.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / pb_ratio=1.30 / aq=1:1.00
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 9 min 40 s
Bit rate mode                            : Constant
Bit rate                                 : 128 kb/s
Channel(s)                               : 6 channels
Channel layout                           : C L R Ls Rs LFE
Sampling rate                            : 48.0 kHz
Frame rate                               : 46.875 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 8.86 MiB (11%)
Default                                  : Yes
Alternate group                          : 1

谢谢:

我用了

find . -type f -name '[^.]*.mp4' -exec bash -c 'ratio=$(ffprobe -loglevel error -select_streams v:0 -show_entries stream=display_aspect_ratio -of csv=p=0 "$1"); if [[ "$ratio" == 2:1 ]]; then echo "$1"; fi' _ {} \;

似乎rtorrent创建了点文件。

我只去一个误报输出:

mediainfo xxx.mp4
General
Complete name                            : xxx.mp4
Format                                   : MPEG-4
Format profile                           : Base Media
Codec ID                                 : isom (isom/iso2/avc1/mp41)
File size                                : 613 MiB
Duration                                 : 27 min 38 s
Overall bit rate mode                    : Variable
Overall bit rate                         : 3 099 kb/s
Encoded date                             : UTC 2013-06-12 05:00:00
Tagged date                              : UTC 2013-06-12 05:00:00
Writing application                      : Lavf53.6.0

Video
ID                                       : 1
Format                                   : AVC
Format/Info                              : Advanced Video Codec
Format profile                           : High@L3
Format settings                          : CABAC / 4 Ref Frames
Format settings, CABAC                   : Yes
Format settings, ReFrames                : 4 frames
Codec ID                                 : avc1
Codec ID/Info                            : Advanced Video Coding
Duration                                 : 27 min 38 s
Bit rate                                 : 3 000 kb/s
Width                                    : 640 pixels
Height                                   : 320 pixels
Display aspect ratio                     : 2.000
Frame rate mode                          : Constant
Frame rate                               : 24.000 FPS
Color space                              : YUV
Chroma subsampling                       : 4:2:0
Bit depth                                : 8 bits
Scan type                                : Progressive
Bits/(Pixel*Frame)                       : 0.610
Stream size                              : 590 MiB (96%)
Writing library                          : x264 core 116
Encoding settings                        : cabac=1 / ref=3 / deblock=1:0:0 / analyse=0x3:0x113 / me=hex / subme=7 / psy=1 / psy_rd=1.00:0.00 / mixed_ref=1 / me_range=16 / chroma_me=1 / trellis=1 / 8x8dct=1 / cqm=0 / deadzone=21,11 / fast_pskip=1 / chroma_qp_offset=-2 / threads=1 / sliced_threads=0 / nr=0 / decimate=1 / interlaced=0 / bluray_compat=0 / constrained_intra=0 / bframes=3 / b_pyramid=2 / b_adapt=1 / b_bias=0 / direct=1 / weightb=1 / open_gop=0 / weightp=2 / keyint=250 / keyint_min=24 / scenecut=40 / intra_refresh=0 / rc_lookahead=40 / rc=abr / mbtree=1 / bitrate=3000 / ratetol=1.0 / qcomp=0.60 / qpmin=0 / qpmax=69 / qpstep=4 / ip_ratio=1.40 / aq=1:1.00
Language                                 : English
Encoded date                             : UTC 2013-06-12 05:00:00
Tagged date                              : UTC 2013-06-12 05:00:00
Codec configuration box                  : avcC

Audio
ID                                       : 2
Format                                   : AAC LC
Format/Info                              : Advanced Audio Codec Low Complexity
Codec ID                                 : mp4a-40-2
Duration                                 : 27 min 38 s
Bit rate mode                            : Variable
Bit rate                                 : 107 kb/s
Maximum bit rate                         : 128 kb/s
Channel(s)                               : 2 channels
Channel layout                           : L R
Sampling rate                            : 44.1 kHz
Frame rate                               : 43.066 FPS (1024 SPF)
Compression mode                         : Lossy
Stream size                              : 21.1 MiB (3%)
Language                                 : English
Encoded date                             : UTC 2013-06-12 05:00:00
Tagged date                              : UTC 2013-06-12 05:00:00
scripts command-line video ffmpeg
  • 1 个回答
  • 206 Views
Martin Hope
Sybil
Asked: 2016-08-06 07:31:37 +0800 CST

Docker 和 Snap 的主要区别是什么?

  • 118

在最近的 c't(可悲的是付费墙)中,有一篇关于 Snap 和 Flatpak 的文章。

在此处输入图像描述

这听起来和 Docker 很像,很多概念都是一样的。现在我的问题是 Snap 和 Docker 之间有什么区别?这些是不同的用例吗?

ubuntu-core
  • 1 个回答
  • 79662 Views
Martin Hope
Sybil
Asked: 2016-07-15 11:04:33 +0800 CST

错误:文件 /casper/vmlinux.efi 分配魔法的过早结束在 0x7a2d93c0 处被破坏:7a179da0 中止。按任何一个键退出

  • 1

希望在 MacBookAir6,2 上安装 Ubuntu 16.04 LTS(使用 macOS Sierra 进行双启动)。

我用 Ubuntu 映像创建了 USB 记忆棒。

brew cask install unetbootin

我在启动时按下 ALT 键并输入“安装 Ubuntu”并收到错误

error: premature end of file /casper/vmlinux.efi 
alloc magic is broken at 0x7a2d93c0: 7a179da0 
aborted. press any key to exit

在此处输入图像描述

当您搜索此错误消息时,没有命中。我在 MacBook Air 上配置了固件密码。出于安全考虑,我不想撤销它。

dual-boot
  • 1 个回答
  • 1409 Views
Martin Hope
Sybil
Asked: 2016-06-26 11:13:50 +0800 CST

snap 是否可以跨其他 UNIX(例如 macOS)移植?

  • 12

我喜欢 snap 背后的想法,并在 Ubuntu VM 上使用它。

快照概述

Snapcraft 是一个构建和打包工具,可帮助您将软件打包为快照。它使合并来自不同来源的组件和构建技术或解决方案变得容易。关键概念

Ubuntu Core 系统的 .snap 包包含其所有依赖项。与传统的基于 deb 或 rpm 的依赖处理相比,这有几个优点,最重要的是,开发人员始终可以确保不会因应用程序下的系统更改而触发回归。

Snapcraft 允许您在 snapcraft.yaml 文件中将它们指定为“部分”,从而使捆绑这些依赖项变得容易。活泼的

Snappy Ubuntu Core 是具有事务更新的 Ubuntu 的新版本 - 具有与当今 Ubuntu 相同的库的最小服务器映像,但通过更简单的机制提供应用程序。

Snappy 应用程序和 Ubuntu Core 本身可以自动升级并在需要时回滚。应用程序也受到严格限制和沙盒化,以保护您的数据和系统。

物联网 ›构建应用程序

快照基于哪些技术?架构和工具包看起来如何?snap 依赖于 Linux 内核特性吗?

我问,因为我想知道将来我是否也可以在 macOS 上使用相同的 snap 包?

澄清,在第一次评论后:

我知道 macOS 和 Ubuntu 不是二进制兼容的。需要重新编译。带有Homebrew的 macOS 几乎已经有任何可用的开源代码。当 snap(将来)可用于 macOS 时,开发人员可以在 macOS 上开发并在 Ubuntu 上部署。

package-management
  • 3 个回答
  • 4933 Views
Martin Hope
Sybil
Asked: 2016-05-02 03:16:21 +0800 CST

使用 snap - 命令安装的软件包不可用

  • 2

我看到它tmux可以与snap find和一起使用apt-cache。我决定安装snap. 现在怎么用tmux?

我是普通桌面用户,不是云计算。

# snap 
error: Please specify one command of: abort, ack, changes, connect, disconnect, find, install, interfaces, known, list, login, logout, refresh or remove
# snap install tmux
428.00 KB / 428.00 KB [============================================================================================] 100.00 % 452.28 KB/s 

# tmux new
The program 'tmux' is currently not installed. You can install it by typing:
apt install tmux
apt
  • 1 个回答
  • 1128 Views
Martin Hope
Sybil
Asked: 2015-01-25 12:17:14 +0800 CST

关于视频文件的简短摘要(分辨率、大小、持续时间、编解码器)

  • 5

我现在使用mediainfo。

太详细了

$ mediainfo vine.mp4 | wc -l
  66

我希望只有简短摘要的命令。6 行输出。

command-line
  • 2 个回答
  • 14414 Views

Sidebar

Stats

  • 问题 205573
  • 回答 270741
  • 最佳答案 135370
  • 用户 68524
  • 热门
  • 回答
  • Marko Smith

    如何运行 .sh 脚本?

    • 16 个回答
  • Marko Smith

    如何安装 .tar.gz(或 .tar.bz2)文件?

    • 14 个回答
  • Marko Smith

    如何列出所有已安装的软件包

    • 24 个回答
  • Marko Smith

    无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗?

    • 25 个回答
  • Martin Hope
    Flimm 如何在没有 sudo 的情况下使用 docker? 2014-06-07 00:17:43 +0800 CST
  • Martin Hope
    Ivan 如何列出所有已安装的软件包 2010-12-17 18:08:49 +0800 CST
  • Martin Hope
    La Ode Adam Saputra 无法锁定管理目录 (/var/lib/dpkg/) 是另一个进程在使用它吗? 2010-11-30 18:12:48 +0800 CST
  • Martin Hope
    David Barry 如何从命令行确定目录(文件夹)的总大小? 2010-08-06 10:20:23 +0800 CST
  • Martin Hope
    jfoucher “以下软件包已被保留:”为什么以及如何解决? 2010-08-01 13:59:22 +0800 CST
  • Martin Hope
    David Ashford 如何删除 PPA? 2010-07-30 01:09:42 +0800 CST

热门标签

10.10 10.04 gnome networking server command-line package-management software-recommendation sound xorg

Explore

  • 主页
  • 问题
    • 最新
    • 热门
  • 标签
  • 帮助

Footer

AskOverflow.Dev

关于我们

  • 关于我们
  • 联系我们

Legal Stuff

  • Privacy Policy

Language

  • Pt
  • Server
  • Unix

© 2023 AskOverflow.DEV All Rights Reserve