浏览代码

ubuntu instructions updated

Denys Bashkatov 1 月之前
父节点
当前提交
73f31085bd
共有 2 个文件被更改,包括 36 次插入7 次删除
  1. 12 4
      README.md
  2. 24 3
      admin/app/routes/home/home.tsx

+ 12 - 4
README.md

@@ -168,9 +168,17 @@ To use the local repository on your Ubuntu systems, add the following to `/etc/a
 ```bash
 # Replace mirror.intra with your custom domain
 # For Ubuntu 24.04 (Noble)
-deb http://mirror.intra/archive.ubuntu.com/ noble main restricted universe multiverse
-deb http://mirror.intra/archive.ubuntu.com/ noble-updates main restricted universe multiverse
-deb http://mirror.intra/archive.ubuntu.com/ noble-security main restricted universe multiverse
+Types: deb
+URIs: http://mirror.intra/archive.ubuntu.com/ubuntu
+Suites: noble noble-updates noble-backports
+Components: main restricted universe multiverse
+Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
+
+Types: deb
+URIs: http://mirror.intra/archive.ubuntu.com/ubuntu
+Suites: noble-security
+Components: main restricted universe multiverse
+Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
 
 # For Debian 12 (Bookworm)
 deb http://mirror.intra/deb.debian.org/ bookworm main contrib non-free non-free-firmware
@@ -276,4 +284,4 @@ This project is licensed under the MIT License - see the LICENSE file for detail
 
 - [apt-mirror](https://github.com/apt-mirror/apt-mirror) - The APT mirroring tool
 - [nginx](https://nginx.org/) - Web server
-- [Docker](https://docker.com/) - Containerization platform
+- [Docker](https://docker.com/) - Containerization platform

+ 24 - 3
admin/app/routes/home/home.tsx

@@ -56,13 +56,34 @@ export default function Home() {
             Ubuntu
           </div>
           <div className="text-[12px] text-gray-500">
-            Main: deb {mirrorAddress}/archive.ubuntu.com/ jammy main restricted universe multiverse
+            Types: deb
           </div>
           <div className="text-[12px] text-gray-500">
-            Security: deb {mirrorAddress}/archive.ubuntu.com/ jammy-security main restricted universe multiverse
+            URIs: {mirrorAddress}/archive.ubuntu.com/ubuntu
           </div>
           <div className="text-[12px] text-gray-500">
-            Updates: deb {mirrorAddress}/archive.ubuntu.com/ jammy-updates main restricted universe multiverse
+            Suites: noble noble-updates noble-backports
+          </div>
+          <div className="text-[12px] text-gray-500">
+            Components: main restricted universe multiverse
+          </div>
+          <div className="text-[12px] text-gray-500">
+            Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
+          </div>
+          <div className="text-[12px] text-gray-500 mt-[8px]">
+            Types: deb
+          </div>
+          <div className="text-[12px] text-gray-500">
+            URIs: {mirrorAddress}/archive.ubuntu.com/ubuntu
+          </div>
+          <div className="text-[12px] text-gray-500">
+            Suites: noble-security
+          </div>
+          <div className="text-[12px] text-gray-500">
+            Components: main restricted universe multiverse
+          </div>
+          <div className="text-[12px] text-gray-500">
+            Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg
           </div>
         </div>