Comments (7)
@jesongit 感谢反馈,这个也是之前我们预料到的问题,我们还没有对 docker
做过任何适配
- Docker 镜像中一般都没有
sudo
,但是目前我们很多外部程序运行时都加了sudo
- 你所反映的这个问题:不存在
/etc/apt/sources.list
,还是第一次见,我将考虑如何处理
我们将尽可能在下一次release v0.1.6
中解决该问题
from chsrc.
sudo
的问题已调整。
但没有sources.list
是一个非常糟糕的情况,我不想在代码里塞一整个文件内容(如果加了这个,那就还有其他镜像也可能需要加进来)。所以暂时可能解决不了这个问题。
from chsrc.
是否可以考虑在仓库加上对应系统的默认sources.list
, 如果文件不存在,用curl
之类的下载仓库文件中默认文件放在那即可,这样不影响后续替换内容的功能
from chsrc.
已添加支持。在Ubuntu
上已经测试过没有问题,Debian
还没有实际测试过。请下载使用最新版,如若测试无问题,请关闭此issue,谢谢
from chsrc.
问题场景测试没问题,感谢
from chsrc.
另外我测试的是 debian12,格式和之前有些不同,发现写入的默认源应该是有错的
正确的设置应该是下面这样,后缀和12之前系统有些不同,没pr过不太会,麻烦改下
deb https://mirrors.aliyun.com/debian/ bookworm main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian-security/ bookworm-security main non-free-firmware contrib
deb https://mirrors.aliyun.com/debian/ bookworm-updates main non-free non-free-firmware contrib
deb https://mirrors.aliyun.com/debian/ bookworm-backports main non-free non-free-firmware contrib
from chsrc.
感谢指出,已修复。可以重新测试一下 🤝
from chsrc.
Related Issues (20)
- 支持 `pdm`
- fork数不足 HOT 2
- `conda` 换源过程中提示信息有些含糊不清 HOT 5
- EndeavourOS 换源缺少 `arch` 命令 HOT 1
- 是否考虑支持更换docker源 HOT 3
- consider marking 0.1.5 tag as latest release HOT 5
- MacOS版本在x64的mac上执行显示bad cpu type HOT 2
- 如果换源方法有问题,或者还未支持该软件换源,我该如何贡献? HOT 3
- 提供一些源,仅供参考。 HOT 9
- 功能需求: 从配置文件中读取源信息而不是写死到.h文件里 HOT 3
- 执行chsrc后,mac终端出现zsh: command not found 报错 HOT 6
- dockerhub 可用源 HOT 8
- Windows 中文显示问题 HOT 13
- Add os armbian HOT 1
- 在Windows上使用Microsoft Store安装的Python换源会遇到权限问题 HOT 4
- 连续两次更换 ubuntu 的源会导致添加出错 HOT 5
- Arch 换源导致 404 HOT 3
- debian换源异常 HOT 2
- MAC换源brew异常 HOT 6
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from chsrc.