Mag Mell
    • Create new note
    • Create a note from template
      • Sharing URL Link copied
      • /edit
      • View mode
        • Edit mode
        • View mode
        • Book mode
        • Slide mode
        Edit mode View mode Book mode Slide mode
      • Customize slides
      • Note Permission
      • Read
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Write
        • Only me
        • Signed-in users
        • Everyone
        Only me Signed-in users Everyone
      • Engagement control Commenting, Suggest edit, Emoji Reply
    • Invite by email
      Invitee

      This note has no invitees

    • Publish Note

      Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

      Your note will be visible on your profile and discoverable by anyone.
      Your note is now live.
      This note is visible on your profile and discoverable online.
      Everyone on the web can find and read all notes of this public team.
      See published notes
      Unpublish note
      Please check the box to agree to the Community Guidelines.
      View profile
    • Commenting
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
      • Everyone
    • Suggest edit
      Permission
      Disabled Forbidden Owners Signed-in users Everyone
    • Enable
    • Permission
      • Forbidden
      • Owners
      • Signed-in users
    • Emoji Reply
    • Enable
    • Versions and GitHub Sync
    • Note settings
    • Note Insights
    • Engagement control
    • Transfer ownership
    • Delete this note
    • Save as template
    • Insert from template
    • Import from
      • Dropbox
      • Google Drive
      • Gist
      • Clipboard
    • Export to
      • Dropbox
      • Google Drive
      • Gist
    • Download
      • Markdown
      • HTML
      • Raw HTML
Menu Note settings Versions and GitHub Sync Note Insights Sharing URL Create Help
Create Create new note Create a note from template
Menu
Options
Engagement control Transfer ownership Delete this note
Import from
Dropbox Google Drive Gist Clipboard
Export to
Dropbox Google Drive Gist
Download
Markdown HTML Raw HTML
Back
Sharing URL Link copied
/edit
View mode
  • Edit mode
  • View mode
  • Book mode
  • Slide mode
Edit mode View mode Book mode Slide mode
Customize slides
Note Permission
Read
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Write
Only me
  • Only me
  • Signed-in users
  • Everyone
Only me Signed-in users Everyone
Engagement control Commenting, Suggest edit, Emoji Reply
  • Invite by email
    Invitee

    This note has no invitees

  • Publish Note

    Share your work with the world Congratulations! 🎉 Your note is out in the world Publish Note

    Your note will be visible on your profile and discoverable by anyone.
    Your note is now live.
    This note is visible on your profile and discoverable online.
    Everyone on the web can find and read all notes of this public team.
    See published notes
    Unpublish note
    Please check the box to agree to the Community Guidelines.
    View profile
    Engagement control
    Commenting
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    • Everyone
    Suggest edit
    Permission
    Disabled Forbidden Owners Signed-in users Everyone
    Enable
    Permission
    • Forbidden
    • Owners
    • Signed-in users
    Emoji Reply
    Enable
    Import from Dropbox Google Drive Gist Clipboard
       owned this note    owned this note      
    Published Linked with GitHub
    Subscribed
    • Any changes
      Be notified of any changes
    • Mention me
      Be notified of mention me
    • Unsubscribe
    Subscribe
    小熊猫包管理 (oma) 1.18 更新日志 === ![oma-1.18](https://hackmd.io/_uploads/SJZ0JM4fex.jpg) > 不就是小熊猫上树吗,你瞅啥? 小熊猫包管理 (oma) v1.18 来啦!本版更新,我们引入了用于依赖树分析的`tree` 及 `why` 命令、增强了软件包信息查阅功能,还对现有界面操作逻辑进行优化并修复了数个细节问题。 让我们来一起详细了解本版 oma 的新特性和修复吧~ 安装指南 --- 安同 OS 可通过系统更新直接获取 oma 1.18 更新。 Debian、Ubuntu 及衍生版,Linux Mint、deepin 及 openKylin 用户可通过如下命令获取 oma: ``` curl -sSf https://repo.aosc.io/get-oma.sh | sudo sh ``` 如果您在使用 oma 的过程中遇到问题或有任何建议,欢迎您来我社[各聊天群组](https://aosc.io/contact)与我们联系反馈。 <!-- 测试指南 --- 安同 OS 可通过如下命令获取 oma 1.18 测试版更新: ``` oma topics --opt-in oma-1.18.0-rc.3 ``` Debian、Ubuntu 及衍生版,Linux Mint、deepin 及 openKylin 用户可通过如下命令获取 oma(目前暂未区分测试源及稳定源,可直接获取 1.18 版更新): ``` curl -sSf https://repo.aosc.io/get-oma.sh | sudo sh ``` 如果您在测试 oma 的过程中遇到问题或有任何建议,欢迎您来我社各聊天群组与我们联系反馈。--> 新特性 --- ### 上树探路:软件包依赖树分析器 继 oma 1.17 引入软件包磁盘占用分析器后,oma 1.18 针对用户希望分析系统存储占用、查看软件包安装情况的需求,新增了依赖树分析器功能。依赖树分析器使用十分简单,输入如下命令: - **`oma tree [软件包]`** - 查阅某个软件包的依赖树 - **`oma why [软件包]`** - 查阅某个软件包的反向依赖(即“为什么这个软件包安装在了我的电脑上?”) ![](https://hackmd.io/_uploads/ByY_dbVfex.png) oma 会如上图一样,针对您指定的软件包,将依赖关系以树状图的方式呈现出来。 ### 查阅功能增强:本地软件包元信息读取支持 为方便用户朋友直接查看本地或第三方软件包的依赖等信息,oma 1.18 引入了本地软件包元信息读取支持。 ![Screenshot_20250528_081311](https://hackmd.io/_uploads/S1SdYZEMlg.png) 如同先前 `show`(查看基础信息), `depends`(查看依赖)及 `rdepends`(查看逆向依赖)命令一般,除了可以如 `oma show bash` 一样显示 `bash` 软件包的基础信息外,现在还支持如上图一样在安装前查阅如腾讯 QQ 这样的第三方软件包的基础信息、依赖和逆向依赖,实现“指哪打哪”的功能一致性。 ### 少卡一步:无 D-Bus 环境操作体验优化 在 chroot、Docker 等无 D-Bus 环境下使用过 oma 的朋友应该遇到过这样一个小麻烦:oma 会因为无法在这种环境下探测系统运行状态(如是否接入交流电)警告用户,并要求其附加 `--no-check-dbus` 参数或修改配置文件才能继续操作。 然而,一两次还好,(尤其是在 chroot 环境修复系统的时候)多了血压就高了对吧?这可不行。于是乎,oma 1.18 对这一警告进行了修改并引入了是/否询问: ![Screenshot_20250528_081637](https://hackmd.io/_uploads/ryfls-4fxl.png) 这样一来,有急事 chroot 的时候,相信您也能稍微少点烦恼了。 问题修复 --- oma 1.18 除了特性及功能修改外,还修复了数个界面和使用问题。 ### 强迫症狂喜:下载进度条对齐修正 说来 oma 有个老毛病:在软件包或版本号名较长的时候,进度条可能无法正确对齐,这让强迫症患者们很是苦恼。oma 1.18 通过重构这一部分界面的绘制和布局计算逻辑,彻底修复了这一问题: ![](https://hackmd.io/_uploads/SJoUjZ4fxg.png) 看,这多整齐啊—— ### 提权提示修复 先前版本的 oma 未正确设置其可执行文件的路径,导致图形化提权无法正确显示提权原因。oma 1.18 已修正这一问题: ![](https://hackmd.io/_uploads/B1gv3bEzlx.png) ### 其他问题修复 - 修复 `command-not-found`(未知命令提示)功能错误列出模拟运行时环境(如 EmuKit)中的可执行文件的问题,提示信息更可靠 - 修复使用 `--dry-run`(试运行)模式执行 oma 管理操作时,oma 仍执行 dpkg 状态修复流程的问题 - 修复 `oma provides`(软件包文件反查)无法正确补全系统文件路径的问题 - 修复下载失败时,oma 依然显示 `oma undo` 撤销更改提示的问题 - 修复阅读界面中搜索高亮对比度不足的问题 - 修复英文及繁体中文确认界面中安全更新提示重复提及“安全更新”的问题 - 修复非安同 OS 环境下依然尝试拉取软件更新主题元数据 (Topic Update Manifest) 的问题

    Import from clipboard

    Paste your markdown or webpage here...

    Advanced permission required

    Your current role can only read. Ask the system administrator to acquire write and comment permission.

    This team is disabled

    Sorry, this team is disabled. You can't edit this note.

    This note is locked

    Sorry, only owner can edit this note.

    Reach the limit

    Sorry, you've reached the max length this note can be.
    Please reduce the content or divide it to more notes, thank you!

    Import from Gist

    Import from Snippet

    or

    Export to Snippet

    Are you sure?

    Do you really want to delete this note?
    All users will lose their connection.

    Create a note from template

    Create a note from template

    Oops...
    This template has been removed or transferred.
    Upgrade
    All
    • All
    • Team
    No template.

    Create a template

    Upgrade

    Delete template

    Do you really want to delete this template?
    Turn this template into a regular note and keep its content, versions, and comments.

    This page need refresh

    You have an incompatible client version.
    Refresh to update.
    New version available!
    See releases notes here
    Refresh to enjoy new features.
    Your user state has changed.
    Refresh to load new user state.

    Sign in

    Forgot password

    or

    By clicking below, you agree to our terms of service.

    Sign in via Facebook Sign in via Twitter Sign in via GitHub Sign in via Dropbox Sign in with Wallet
    Wallet ( )
    Connect another wallet

    New to HackMD? Sign up

    Help

    • English
    • 中文
    • Français
    • Deutsch
    • 日本語
    • Español
    • Català
    • Ελληνικά
    • Português
    • italiano
    • Türkçe
    • Русский
    • Nederlands
    • hrvatski jezik
    • język polski
    • Українська
    • हिन्दी
    • svenska
    • Esperanto
    • dansk

    Documents

    Help & Tutorial

    How to use Book mode

    Slide Example

    API Docs

    Edit in VSCode

    Install browser extension

    Contacts

    Feedback

    Discord

    Send us email

    Resources

    Releases

    Pricing

    Blog

    Policy

    Terms

    Privacy

    Cheatsheet

    Syntax Example Reference
    # Header Header 基本排版
    - Unordered List
    • Unordered List
    1. Ordered List
    1. Ordered List
    - [ ] Todo List
    • Todo List
    > Blockquote
    Blockquote
    **Bold font** Bold font
    *Italics font* Italics font
    ~~Strikethrough~~ Strikethrough
    19^th^ 19th
    H~2~O H2O
    ++Inserted text++ Inserted text
    ==Marked text== Marked text
    [link text](https:// "title") Link
    ![image alt](https:// "title") Image
    `Code` Code 在筆記中貼入程式碼
    ```javascript
    var i = 0;
    ```
    var i = 0;
    :smile: :smile: Emoji list
    {%youtube youtube_id %} Externals
    $L^aT_eX$ LaTeX
    :::info
    This is a alert area.
    :::

    This is a alert area.

    Versions and GitHub Sync
    Get Full History Access

    • Edit version name
    • Delete

    revision author avatar     named on  

    More Less

    Note content is identical to the latest version.
    Compare
      Choose a version
      No search result
      Version not found
    Sign in to link this note to GitHub
    Learn more
    This note is not linked with GitHub
     

    Feedback

    Submission failed, please try again

    Thanks for your support.

    On a scale of 0-10, how likely is it that you would recommend HackMD to your friends, family or business associates?

    Please give us some advice and help us improve HackMD.

     

    Thanks for your feedback

    Remove version name

    Do you want to remove this version name and description?

    Transfer ownership

    Transfer to
      Warning: is a public team. If you transfer note to this team, everyone on the web can find and read this note.

        Link with GitHub

        Please authorize HackMD on GitHub
        • Please sign in to GitHub and install the HackMD app on your GitHub repo.
        • HackMD links with GitHub through a GitHub App. You can choose which repo to install our App.
        Learn more  Sign in to GitHub

        Push the note to GitHub Push to GitHub Pull a file from GitHub

          Authorize again
         

        Choose which file to push to

        Select repo
        Refresh Authorize more repos
        Select branch
        Select file
        Select branch
        Choose version(s) to push
        • Save a new version and push
        • Choose from existing versions
        Include title and tags
        Available push count

        Pull from GitHub

         
        File from GitHub
        File from HackMD

        GitHub Link Settings

        File linked

        Linked by
        File path
        Last synced branch
        Available push count

        Danger Zone

        Unlink
        You will no longer receive notification when GitHub file changes after unlink.

        Syncing

        Push failed

        Push successfully