Results 1 to 8 of 8

Thread: 18.04 on a raspberry pi 4

  1. #1
    Join Date
    Jan 2015
    Beans
    163
    Distro
    Ubuntu 20.04 Focal Fossa

    18.04 on a raspberry pi 4

    i run 18.04 on my raspberry pi for the purpose of using it as my own DNS server using pihole. problem is, pihole installation fails with this output:

    Code:
      [✗] Root user check
      [i] Script called with non-root privileges
          The Pi-hole requires elevated privileges to install and run
          Please check the installer for any concerns regarding this requirement
          Make sure to download this script from a trusted source
    
      [✓] Sudo utility check
    
      [✓] Root user check
    
                                                                 <pi-hole logo removed>
    
      [i] Existing PHP installation detected : PHP version 7.2.24-0ubuntu0.18.04.4
      [✓] Disk space check
      [✗] Update local cache of available packages
      Error: Unable to update package cache. Please try "apt-get update"
    at the end there it says Please try "apt-get update". problem is, sudo apt-get update also spits out some errors. here are the last few lines:

    Code:
    Ign:65 http://c.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
    Ign:67 http://c.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
    Err:31 http://c.archive.ubuntu.com/ubuntu bionic-backports/main arm64 Packages
      404  Not Found [IP: 91.189.91.39 80]
    Ign:32 http://c.archive.ubuntu.com/ubuntu bionic-backports/universe arm64 Packages
    Err:41 http://c.archive.ubuntu.com/ubuntu bionic-security/main arm64 Packages
      404  Not Found [IP: 91.189.91.39 80]
    Ign:43 http://c.archive.ubuntu.com/ubuntu bionic-security/restricted arm64 Packages
    Ign:44 http://c.archive.ubuntu.com/ubuntu bionic-security/universe arm64 Packages
    Ign:46 http://c.archive.ubuntu.com/ubuntu bionic-security/multiverse arm64 Packages
    Ign:63 http://c.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
    Ign:64 http://c.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
    Ign:65 http://c.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
    Ign:67 http://c.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
    Ign:63 http://c.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
    Ign:64 http://c.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
    Ign:65 http://c.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
    Ign:67 http://c.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
    Err:63 http://c.archive.ubuntu.com/ubuntu bionic/main arm64 Packages
      404  Not Found [IP: 91.189.91.39 80]
    Ign:64 http://c.archive.ubuntu.com/ubuntu bionic/restricted arm64 Packages
    Ign:65 http://c.archive.ubuntu.com/ubuntu bionic/universe arm64 Packages
    Ign:67 http://c.archive.ubuntu.com/ubuntu bionic/multiverse arm64 Packages
    Fetched 1,140 kB in 7s (164 kB/s)                                                                                                                       
    Reading package lists... Done
    E: Failed to fetch http://c.archive.ubuntu.com/ubuntu/dists/bionic-updates/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
    E: Failed to fetch http://c.archive.ubuntu.com/ubuntu/dists/bionic-backports/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
    E: Failed to fetch http://c.archive.ubuntu.com/ubuntu/dists/bionic-security/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
    E: Failed to fetch http://c.archive.ubuntu.com/ubuntu/dists/bionic/main/binary-arm64/Packages  404  Not Found [IP: 91.189.91.39 80]
    E: Some index files failed to download. They have been ignored, or old ones used instead.
    so what can i do about this?
    I TNO, therefore I am.

  2. #2
    Join Date
    May 2013
    Location
    Galiza
    Beans
    1,904
    Distro
    Ubuntu

    Re: 18.04 on a raspberry pi 4

    Perhaps a stupid question but... Do you have internet connection?

  3. #3
    Join Date
    Jan 2015
    Beans
    163
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: 18.04 on a raspberry pi 4

    if the pi didn't have an internet connection, sudo apt-get update couldn't have got as far as it did. it only failed on a couple of files but the others were downloaded ok. plus, i'm using the pi to type this.
    I TNO, therefore I am.

  4. #4
    Join Date
    May 2013
    Location
    Galiza
    Beans
    1,904
    Distro
    Ubuntu

    Re: 18.04 on a raspberry pi 4

    Change the mirror and try again.

  5. #5
    Join Date
    Jan 2015
    Beans
    163
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: 18.04 on a raspberry pi 4

    what URL should i use?
    I TNO, therefore I am.

  6. #6
    Join Date
    May 2013
    Location
    Galiza
    Beans
    1,904
    Distro
    Ubuntu

    Re: 18.04 on a raspberry pi 4


  7. #7
    Join Date
    Apr 2011
    Location
    Mystletainn Kick!
    Beans
    11,245
    Distro
    Ubuntu

    Re: 18.04 on a raspberry pi 4

    Afaik the ARM main archives are in the port repositories.
    I don't remember there ever being ARM/main in the regular repos.
    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
    .

  8. #8
    Join Date
    Jan 2015
    Beans
    163
    Distro
    Ubuntu 20.04 Focal Fossa

    Re: 18.04 on a raspberry pi 4

    you know what? screw this, i'm gonna reinstall everything.
    I TNO, therefore I am.

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
  •