Results 1 to 2 of 2

Thread: apt-get update from a local mirror gives 404 not found

  1. #1
    Join Date
    Nov 2018
    Beans
    3

    apt-get update from a local mirror gives 404 not found

    hello
    i have set up a local mirror via apt-mirror
    this is the list

    Code:
    cat /etc/apt/mirror.listset nthreads     20
    set _tilde 0
    
    
    deb http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
    deb http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
    
    
    deb-src http://archive.ubuntu.com/ubuntu bionic main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu bionic-security main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu bionic-updates main restricted universe multiverse
    deb-src http://archive.ubuntu.com/ubuntu bionic-backports main restricted universe multiverse
    
    
    clean http://archive.ubuntu.com/ubuntu

    this is my apache2 conf

    Code:
    <VirtualHost *:80>    ServerName cdk-juju
        ServerAlias *
        DocumentRoot /var/spool/apt-mirror/mirror/archive.ubuntu.com/
        LogLevel info
        ErrorLog /var/log/apache2/mirror-archive.ubuntu.com-error.log
        CustomLog /var/log/apache2/mirror-archive.ubuntu.com-access.log combined
    
    
        <Directory /var/spool/apt-mirror/>
          Options Indexes FollowSymLinks
          AllowOverride None
          Require all granted
        </Directory>
    </VirtualHost>



    apt-get update errors

    Code:
    sudo apt updateIgn:1 http://10.100.1.156/ubuntu bionic InRelease
    Ign:2 http://10.100.1.156/ubuntu bionic-updates InRelease
    Ign:3 http://10.100.1.156/ubuntu bionic-backports InRelease
    Err:4 http://10.100.1.156/ubuntu bionic Release
      404  Not Found [IP: 10.100.1.156 80]
    Err:5 http://10.100.1.156/ubuntu bionic-updates Release
      404  Not Found [IP: 10.100.1.156 80]
    Err:6 http://10.100.1.156/ubuntu bionic-backports Release
      404  Not Found [IP: 10.100.1.156 80]
    Get:7 http://security.ubuntu.com/ubuntu bionic-security InRelease [83.2 kB]
    Reading package lists... Done
    what could be wrong ? thanks

  2. #2
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    13,617
    Distro
    Ubuntu

    Re: apt-get update from a local mirror gives 404 not found

    duplicate thread
    https://ubuntuforums.org/showthread.php?t=2407191
    thread closed
    Splat Double Splat Triple Splat
    Earn Your Keep
    Don't mind me, I'm only passing through.
    Once in a blue moon, I'm actually helpful
    .

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •