Skip to content

fix: 修复 Debian 换源后 sources.list.d/ 下旧格式 deb-src.list 残留官方源的问题 - #376

Open
daocoder2 wants to merge 2 commits into
RubyMetric:devfrom
daocoder2:fix/debian-old-line-stype
Open

fix: 修复 Debian 换源后 sources.list.d/ 下旧格式 deb-src.list 残留官方源的问题#376
daocoder2 wants to merge 2 commits into
RubyMetric:devfrom
daocoder2:fix/debian-old-line-stype

Conversation

@daocoder2

Copy link
Copy Markdown

问题描述

  1. 在一些容器镜像内对Debain源替换发现有部分源没有替换干净,实际排查为一些容器内 debian 换源后 sources.list.d/ 下旧格式 deb-src.list 残留官方源的问题。
  2. issue:deb-src.list 源码的源应该进行镜像源替换么 #368

方案与实现

因这个文件不能纯粹归结为新格式或老格式,现采取在新老格式后都添加deb-src.list替换,暂不进行公共函数提取。


@github-actions

github-actions Bot commented Aug 8, 2026

Copy link
Copy Markdown

Hi @daocoder2,

❤️ 感谢你的贡献!你的 PR 当前基于 main 分支,请修改使用 dev 分支

@daocoder2
daocoder2 force-pushed the fix/debian-old-line-stype branch from bebf1c3 to d68b730 Compare August 8, 2026 02:13
@daocoder2
daocoder2 changed the base branch from main to dev August 8, 2026 02:14
@daocoder2

Copy link
Copy Markdown
Author

基于最新dev分支按规范调整PR。

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant