Git Product home page Git Product logo

Comments (7)

ccmywish avatar ccmywish commented on July 21, 2024

@jesongit 感谢反馈,这个也是之前我们预料到的问题,我们还没有对 docker 做过任何适配

  1. Docker 镜像中一般都没有 sudo,但是目前我们很多外部程序运行时都加了 sudo
  2. 你所反映的这个问题:不存在 /etc/apt/sources.list,还是第一次见,我将考虑如何处理

我们将尽可能在下一次release v0.1.6 中解决该问题

from chsrc.

ccmywish avatar ccmywish commented on July 21, 2024

sudo 的问题已调整。

但没有sources.list是一个非常糟糕的情况,我不想在代码里塞一整个文件内容(如果加了这个,那就还有其他镜像也可能需要加进来)。所以暂时可能解决不了这个问题。

from chsrc.

jesongit avatar jesongit commented on July 21, 2024

是否可以考虑在仓库加上对应系统的默认sources.list, 如果文件不存在,用curl之类的下载仓库文件中默认文件放在那即可,这样不影响后续替换内容的功能

from chsrc.

ccmywish avatar ccmywish commented on July 21, 2024

@jesongit

已添加支持。在Ubuntu上已经测试过没有问题,Debian 还没有实际测试过。请下载使用最新版,如若测试无问题,请关闭此issue,谢谢

from chsrc.

jesongit avatar jesongit commented on July 21, 2024

问题场景测试没问题,感谢

from chsrc.

jesongit avatar jesongit commented on July 21, 2024

另外我测试的是 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.

ccmywish avatar ccmywish commented on July 21, 2024

@jesongit

感谢指出,已修复。可以重新测试一下 🤝

from chsrc.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.