Skip to content

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

Merged
ccmywish merged 3 commits into
RubyMetric:devfrom
daocoder2:fix/debian-old-line-stype
Aug 11, 2026
Merged

fix: 修复 Debian 换源后 sources.list.d/ 下旧格式 deb-src.list 残留官方源的问题#376
ccmywish merged 3 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。

@ccmywish ccmywish left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@ccmywish ccmywish added os_target os target Linux Linux相关 labels Aug 11, 2026
@ccmywish ccmywish added this to the v0.2.7 milestone Aug 11, 2026
@ccmywish
ccmywish merged commit d52dd9f into RubyMetric:dev Aug 11, 2026
@ccmywish

Copy link
Copy Markdown
Contributor

欢迎成为我们的贡献者! Happy changing source ~ ❤️

将在即将发布的 v0.2.6.2 中包含此更新。

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

Labels

Linux Linux相关 os_target os target

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants