Jump to content

AlexON

Members
  • Posts

    83
  • Joined

  • Last visited

Recent Profile Visitors

979 profile views

AlexON's Achievements

Apprentice

Apprentice (3/14)

3

Reputation

2

Community Answers

  1. well yes, you are not reading what I am telling you and by the way, I am not from France. If this is how you deal with your problems Honestly, forget it!
  2. Ok, I understand that English is not my mother tongue but despite the sources I give you, you still don't understand. I seriously don't know what to do anymore by leading me to believe that you don't consult any sources... I don't see anything else. Seriously, I understand that you use apt-mirror from Debian to create your containers but for the version 22.02 of Ubuntu that you made, the bug is persistent and not corrected. I documented them and gave you the solution to fix it. Concerning myself, I think I managed to patch the problem on your docker but I must confirm it when it does its update at the time you gave it, i.e. 10 p.m. (home time) but as long as I don't I haven't checked, I'm not sure of anything.
  3. ahhh now I understand... Debian fixed the bug under apt-mirror and not Canonical Ubuntu. The version changed from 0.5.4-1 to 0.5.4.2. This explains why you don't see what I'm trying to explain. This also confirms that there is an unfixed bug in your docker without you knowing it. And which is not your fault but the Ubuntu editor. You have the fix now, if you are interested in fixing this bug. look by yourself.
  4. I declare that there is a bug not fixed for several years which affects the apt-mirror command when you want to create a mirror. Latest posts on github are from 2023 and also at https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/2044556. Afterwards, when I use a Debian LXC to do tests, I don't encounter any problems. But if you are using Debian/Ubuntu as your main system, you will definitely encounter this problem. I can always try via a Debian VM or whatever, but again, Debian/Ubuntu, it's the same thing chosen. In any case, I fixed (at least I think) the problem with the github that I gave you if you want to see and integrate it. I'm just waiting for docker to update (because I can't do it manually) and see if that permanently fixes the problem or not. To be continued EDIT: I'm looking through a Debian VM (I have your 2 dockers) to see if I encounter the same problem. Logically yes, but in any case, I come back to you because I myself want to understand what is happening.
  5. I think I understand that is a bug in apt-mirror witch dates back several years. The problem here and the solution here is that there is a script to issue via docker (probably) to correct this problem. If anything, what can we confirm? https://github.com/apt-mirror/apt-mirror/issues/102 Sorry I adding a new links... https://bugs.launchpad.net/ubuntu/+source/apt-mirror/+bug/2044556 and the fix https://github.com/Stifler6996/apt-mirror EDIT : @ich777Yep.. If you continue the github conversation, someone offers their own apt-mirror docker with the fix integrated. I don't know if you would be interested in doing the same on yours just in case. This also affects Debian apparently. Afterwards, no wonder, it's the same source code.
  6. Finally, things are finally moving forward but from what I can understand, he hasn't downloaded all the packages. Do you know how I can recover them? Because at the moment, I cannot do an apt-upgrade if necessary...
  7. What a surprise... I had left the container abandoned, in its unmodified version. I just installed the container as you posted it and put it aside. A few days later, I decided to take a look at it again and there, I see that the download was done automatically during the night.. (around 1:30-2 am). But naturally, this surprise was short-lived because I am not able despite the modification of the IP in my system to retrieve the updates via UNRAID. Can you share with me how you configured your /etc/apt/service.list (Your Debian in your case...)so that I can repair my error (I don't see where it could be by the way). Thank you. alexandre@alexandre-All-Series:/etc/apt$ sudo apt update Ign :1 http://192.168.1.87:980/ubuntu/dists jammy InRelease Ign :2 http://192.168.1.87:980/ubuntu/dists jammy-security InRelease Ign :3 http://192.168.1.87:980/ubuntu/dists jammy-updates InRelease Ign :4 http://192.168.1.87:980/ubuntu/dists jammy-backports InRelease Err :5 http://192.168.1.87:980/ubuntu/dists jammy Release 404 Not Found [IP : 192.168.1.87 980] Err:6 http://192.168.1.87:980/ubuntu/dists jammy-security Release 404 Not Found [IP: 192.168.1.87 980] Err:7 http://192.168.1.87:980/ubuntu/dists jammy-updates Release 404 Not Found [IP: 192.168.1.87 980] Err:8 http://192.168.1.87:980/ubuntu/dists jammy-backports Release 404 Not Found [IP: 192.168.1.87 980] Reading package lists... Done E: The repository http://192.168.1.87:980/ubuntu/dists jammy Release has no Release file. N: Updates from such a repository cannot be performed securely, and are disabled by default. N: See the apt-secure(8) man pages for repository creation and user configuration details. E: The http://192.168.1.87:980/ubuntu/dists jammy-security Release repository does not have a Release file. N: Updates from such a repository cannot be performed securely, and are disabled by default. N: See the apt-secure(8) man pages for repository creation and user configuration details. E: The http://192.168.1.87:980/ubuntu/dists jammy-updates Release repository does not have a Release file. N: Updates from such a repository cannot be performed securely, and are disabled by default. N: See the apt-secure(8) man pages for repository creation and user configuration details. E: The repository http://192.168.1.87:980/ubuntu/dists jammy-backports Release has no Release file. N: Updates from such a repository cannot be performed securely, and are disabled by default. N: See the apt-secure(8) man pages for repository creation and user configuration details.
  8. Do what you can, that's all you had in mind anyway. For me for Debian, it doesn't work either. So I'm going to make my own apt-mirror. Thanks.
  9. then nothing works... I even tried your debian-mirror and I have the problem. I don't see anything to configure. I follow this tutorial https://www.linuxtechi.com/setup-local-apt-repository-server-ubuntu/
  10. The only way I could find and confirm by tutorials is to run the apt-mirror command to start the download of the updates. It allowed me to understand how you built your docker at the same time. The download is in progress and it will take me several hours. I will then check when everything is finished.
  11. Yes finally... it's good to think about what uses Ubuntu...
  12. @ich777 I'm quite the opposite, I prefer Ubuntu for its ease of use. Debian frustrates me despite sharing the same source code.
  13. Same, I'm not sure what you want to see. But everything is original.
  14. ############# config ################## # set base_path /ubuntu-mirror/data # #set mirror_path $base_path/mirror #set skel_path $base_path/skel #set var_path $base_path/var #set postmirror_script $var_path/postmirror.sh #set defaultarch i386 #set run_postmirror 0 set nthreads 20 #set limit_rate 100m set _tilde 0 # Use --unlink with wget (for use with hardlinked directories) #set unlink 1 #set use_proxy off #set http_proxy 127.0.0.1:3128 #set proxy_user user #set proxy_password password # ############# end config ############## deb http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse deb http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse #deb-src http://archive.ubuntu.com/ubuntu jammy main restricted universe multiverse #deb-src http://archive.ubuntu.com/ubuntu jammy-security main restricted universe multiverse #deb-src http://archive.ubuntu.com/ubuntu jammy-updates main restricted universe multiverse #deb-src http://archive.ubuntu.com/ubuntu jammy-backports main restricted universe multiverse clean http://archive.ubuntu.com/ubuntu I'm not sure I understand but as you see, my file is original. But even if I make a modification, I still get this error message. Session terminated, killing shell... ...killed. Session terminated, killing shell... ...killed. Session terminated, killing shell... ...killed. ---Ensuring UID: 99 matches user--- ---Ensuring GID: 100 matches user--- ---Setting umask to 0000--- ---Checking for optional scripts--- ---No optional script found, continuing--- ---Starting cron--- ---Starting apache2--- ---Taking ownership of data...--- ---Starting...--- ---Please edit your 'mirror.list' file in your conig directory and restart the container when done!--- ---Ensuring UID: 99 matches user--- usermod: no changes ---Ensuring GID: 100 matches user--- usermod: no changes ---Setting umask to 0000--- ---Checking for optional scripts--- ---No optional script found, continuing--- ---Starting cron--- ---Starting apache2--- ---Taking ownership of data...--- ---Starting...--- ---Starting first mirror--- Downloading 152 index files using 20 threads... Begin time: Fri Jul 5 09:51:49 2024 [20]... [19]... [18]... [17]... [16]... [15]... [14]... [13]... [12]... [11]... [10]... [9]... [8]... [7]... [6]... [5]... [4]... [3]... [2]... ---Ensuring UID: 99 matches user--- usermod: no changes ---Ensuring GID: 100 matches user--- usermod: no changes ---Setting umask to 0000--- ---Checking for optional scripts--- ---No optional script found, continuing--- ---Starting cron--- ---Starting apache2--- ---Taking ownership of data...--- ---Starting...--- ---Something went horribly wrong, can't find the mirror directory!--- ---Ensuring UID: 99 matches user--- usermod: no changes ---Ensuring GID: 100 matches user--- usermod: no changes ---Setting umask to 0000--- ---Checking for optional scripts--- ---No optional script found, continuing--- ---Starting cron--- ---Starting apache2--- ---Taking ownership of data...--- ---Starting...---
  15. Hi there! Small question regarding the Ubuntu APT Mirror docker. You say to configure something in cd ubuntu-mirror/config/mirror.list but I don't see what to change there. The only way I noticed to use it was the apt-mirror command. It seems to download all Ubuntu packages (around 390 GB). And the end of the download. On the container web page, I don't see any File tree. And no way to make it use my server instead of the internet for updates. And I would really like to know if it is possible to put 2 Ubuntu sources? That is to say version 22.04 LTS and version 24.04 LTS. Thank you so much!
×
×
  • Create New...