4. XBPS Package Manager documentation is deadlocked
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 25/100
- Issue 类型
- 文档
- 描述清晰度
- 需要澄清
- 活跃度
- 停滞
调研方向
结合所引用的 XBPS man 页面和相关 issue,审阅第 3 节“配置”、第 4 节“XBPS 包管理器”、第 4.1 节“高级用法”以及第 11 节“Kernel”。首先确定一个聚焦的范围,并解决重复或缺失的说明;当已达成一致的 XBPS 维护指南前后一致且不再陷入僵局时,即视为完成。
由索引模型根据 Issue 内容生成。
描述
I collected some examples and arguments, and old issues like #616, to show how much could be won be harmonizing the XBPS pages at 4. and 4.1 with the rest and the man pages. In total accordance with 1.2 About This Handbook
purpose of this document is to explain how to install, configure, and maintain Void Linux systems
The "Void" is important. This specific "system maintenance" via XBPS commands is exactly what 4. XBPS Package Manager takes care of, after 2. Installation and 3. Configuration.
My initial motivation was to slip in sth about periodical --clean-cache, because I saw a reddit post and checked it, also with the docs. The cache is mentioned beside the man page link to xbps-remove, but it is up to the user to draw conclusions. The subtle problem behind it is, after cache cleaning, you have less to downgrade back to. But the solution is not to be silent and hope it will never overfill.
Then the "Switch to LTS series" question. IMO the only "trick" is to ignorepkg=linux, to deactivate the base-system dep, which is there for a good reason. "Ignoring Packages" in 4.1 Advanced Usage walks you through exactly that situation:
For example, you may wish to use doas(1) instead of sudo(8), but will be unable to remove the sudo package due to it being a dependency of the base-system package. To remove it, you will need to ignore the sudo package.
But now all this quite basic XBPS is repeated in 3. Configuration, 11. Kernel. One solution would be to mention xbps itself and the kernel as special packages: xbps can need a second update (and there is a static version), and the kernel is a package with "choices" (series, LTS, even DKMS) and a important (boot!) install-hook.
("Kernel configuration" is double unlucky: I associate this with kconfig, and I see the contents as a part of Void system maintenance via XBPS.)
xbps-reconfigure -f linux<x>.<y> is shown twice, once with xbps-alternatives and below with Install hooks.
install-hooks...Now I realise why I never found this:
* Executes the post ACTION on its INSTALL script (which can be shown by running `xbps-query --property=install-script pkg' ).
It is in man xbps-reconfigure. "install-script" is not mentioned in man xbps-query or the docs.
I stop here, you can check my comments in 3 other issues by sorting by updates, and also check the one about TOC panel navigation (I closed it already, it is technical). Plus some of the threads on voidlinux subreddit.
This is the best summary I can make -- so I give up for the moment. I don't regret at all my research and efforts, and I hope you don't misunderstand my tone.
- 主要语言
- CSS
- 星标
- 217
- 派生
- 212
- 平均合并
- 2 天 21 小时
- 30 天内合并 PR
- 1
贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
void-linux/void-docs 的其他 Issue
-
难度 2/5 1-3 小时 新手友好度 72/100
void-linux/void-docs#849 · 2 条评论 ·
-
bug good first issue
难度 1/5 1 小时以内 新手友好度 75/100
void-linux/void-docs#595 · 1 条评论 ·
-
难度 1/5 1 小时以内 新手友好度 62/100
void-linux/void-docs#532 ·
-
难度 4/5 3-5 天 新手友好度 48/100
void-linux/void-docs#899 · 5 条评论 · 2 个 reaction ·
-
难度 4/5 3-5 天 新手友好度 45/100
void-linux/void-docs#897 · 5 个 reaction ·
查看 void-linux/void-docs 的全部 Issue
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 95/100
Git-it-App/git-it-electron#1047 ·
-
难度 2/5 1-3 小时 新手友好度 75/100
neondatabase/website#5944 ·
-
📕documentation
难度 2/5 1-3 小时 新手友好度 75/100
db-ux-design-system/core-web#8239 ·
-
难度 2/5 1-3 小时 新手友好度 70/100
libsdl-org/sdlwiki#1008 ·
-
难度 2/5 1-3 小时 新手友好度 70/100