Giter Site home page Giter Site logo

Comments (5)

ccmywish avatar ccmywish commented on July 23, 2024

你好 @JAM2199562

是的,按照现有的代码,确实会出现你所说的现象。但是这是跟你指定的URL相关的。

目前所有公开的Ubuntu的换源URL都是类似下图这样的,各大镜像站都不会指定后面的ubuntu具体版本数字,而是靠后面的 CODENAME(如jammy) 来指定版本。

image

你可以看下 https://mirrors.aliyun.com/ubuntu/ 的目录结构。

所以上述你提供的似乎是内部专用的Ubuntu源,该源是否搭建有问题?

from chsrc.

JAM2199562 avatar JAM2199562 commented on July 23, 2024

指定

您好 @ccmywish 确实是用 Sonatype Nexus Repository 搭建的源,我感觉正是因为是自建的可能才更需要自定义,比如公司不允许访问互联网的情况,不然内置的实际上已经足够啦。
我能够确认不是内部源搭建的问题,但是 repo 名字指定的可能确实有点冲突, 因为我如果只执行一次这个命令,它其实是能够正常工作的。

from chsrc.

ccmywish avatar ccmywish commented on July 23, 2024

@JAM2199562

我明白。所以你那边可以修改URL从而不带后面的版本号吗?

如果不能,有什么困难吗?如果困难很大,我这边可以调整chsrc的代码。

from chsrc.

JAM2199562 avatar JAM2199562 commented on July 23, 2024

@JAM2199562

我明白。所以你那边可以修改URL从而不带后面的版本号吗?

如果不能,有什么困难吗?如果困难很大,我这边可以调整chsrc的代码。

明白,我这边确实是可以改的,而且最简单的办法就是我不执行两次就行啦,所以这个也就是反馈一下,倒也不用您一定修改代码。谢谢!

from chsrc.

ccmywish avatar ccmywish commented on July 23, 2024

感谢理解👍

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.