• correct /etc/apt/sources.list for bullseye

    From Chris Green@3:770/3 to All on Friday, November 29, 2024 21:09:44
    I am getting errors about missing repository file on my 32-bit
    bullseye installation on an old[ish] Raspberry Pi system.

    So, when I run 'apt update' I see:-

    root@odinpi# apt update
    Hit:1 http://archive.raspberrypi.org/debian bullseye InRelease
    Hit:2 http://raspbian.raspberrypi.org/raspbian bullseye InRelease
    Ign:3 http://raspbian.raspberrypi.org/raspbian main InRelease
    Err:4 http://raspbian.raspberrypi.org/raspbian main Release
    404 Not Found [IP: 93.93.128.193 80]
    Get:5 https://apt.syncthing.net syncthing InRelease
    Reading package lists... Done

    E: The repository 'http://raspbian.raspberrypi.org/raspbian main Release' does not have a Release file.
    N: Updating from such a repository can't be done securely, and is therefore disabled by default.
    N: See apt-secure(8) manpage for repository creation and user configuration details.

    So, how do I get my /etc/apt/sources.list configured right? I've not
    manually edited it as far as I remember.

    The file /etc/apt/sources.list is currently:-

    deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
    # Uncomment line below then 'apt-get update' to enable 'apt-get source'
    #deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi
    deb http://raspbian.raspberrypi.org/raspbian/ main contrib non-free rpi

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Lawrence D'Oliveiro@3:770/3 to Chris Green on Friday, November 29, 2024 21:59:55
    On Fri, 29 Nov 2024 21:09:44 +0000, Chris Green wrote:

    Ign:3 http://raspbian.raspberrypi.org/raspbian main InRelease
    E: The repository 'http://raspbian.raspberrypi.org/raspbian main Release' does not have a Release file.

    I think that first word after the repo URL is supposed to be the name
    of the release. If you look in the repo <http://raspbian.raspberrypi.org/raspbian/dists/>, you will see there
    is no subdirectory named “main”.

    <https://manpages.debian.org/5/sources.list.5.en.html>

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Townley@3:770/3 to Lawrence D'Oliveiro on Saturday, November 30, 2024 00:25:07
    On 29/11/2024 21:59, Lawrence D'Oliveiro wrote:
    On Fri, 29 Nov 2024 21:09:44 +0000, Chris Green wrote:

    Ign:3 http://raspbian.raspberrypi.org/raspbian main InRelease
    E: The repository 'http://raspbian.raspberrypi.org/raspbian main Release' does not have a Release file.

    I think that first word after the repo URL is supposed to be the name
    of the release. If you look in the repo <http://raspbian.raspberrypi.org/raspbian/dists/>, you will see there
    is no subdirectory named “main”.

    <https://manpages.debian.org/5/sources.list.5.en.html>

    Fool troll. Raspian hasn't been a thing for years.

    --
    Chris

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Richard Kettlewell@3:770/3 to Chris Green on Saturday, November 30, 2024 18:02:46
    Chris Green <cl@isbd.net> writes:
    So, how do I get my /etc/apt/sources.list configured right? I've not manually edited it as far as I remember.

    The file /etc/apt/sources.list is currently:-

    deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

    You might need to add the ‘firmware’ component to this one. I can’t remember exactly what is needed for bullseye but there’s a firmware
    component there on the website.

    # Uncomment line below then 'apt-get update' to enable 'apt-get source'
    #deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

    deb http://raspbian.raspberrypi.org/raspbian/ main contrib non-free rpi

    This one is broken; it’s missing the distribution name. However it’s
    also redundant since it doesn’t add any components relative to the
    first.

    --
    https://www.greenend.org.uk/rjk/

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From Chris Green@3:770/3 to Richard Kettlewell on Saturday, November 30, 2024 20:06:44
    Richard Kettlewell <invalid@invalid.invalid> wrote:
    Chris Green <cl@isbd.net> writes:
    So, how do I get my /etc/apt/sources.list configured right? I've not manually edited it as far as I remember.

    The file /etc/apt/sources.list is currently:-

    deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

    You might need to add the ‘firmware’ component to this one. I can’t remember exactly what is needed for bullseye but there’s a firmware component there on the website.

    OK.

    # Uncomment line below then 'apt-get update' to enable 'apt-get source'
    #deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

    deb http://raspbian.raspberrypi.org/raspbian/ main contrib non-free rpi

    This one is broken; it’s missing the distribution name. However it’s also redundant since it doesn’t add any components relative to the
    first.

    Yes, I realised this when I stared at it a bit harder. I don't know
    how it got in there.

    --
    Chris Green
    ·

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)
  • From The Natural Philosopher@3:770/3 to Chris Green on Sunday, December 01, 2024 11:46:52
    On 30/11/2024 20:06, Chris Green wrote:
    Richard Kettlewell <invalid@invalid.invalid> wrote:
    Chris Green <cl@isbd.net> writes:
    So, how do I get my /etc/apt/sources.list configured right? I've not
    manually edited it as far as I remember.

    The file /etc/apt/sources.list is currently:-

    deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

    You might need to add the ‘firmware’ component to this one. I can’t
    remember exactly what is needed for bullseye but there’s a firmware
    component there on the website.

    OK.

    # Uncomment line below then 'apt-get update' to enable 'apt-get source'
    #deb-src http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-free rpi

    deb http://raspbian.raspberrypi.org/raspbian/ main contrib non-free rpi

    This one is broken; it’s missing the distribution name. However it’s
    also redundant since it doesn’t add any components relative to the
    first.

    Yes, I realised this when I stared at it a bit harder. I don't know
    how it got in there.

    If its any help this is an up to date bullseye file

    deb http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    deb http://deb.debian.org/debian-security/ bookworm-security main
    contrib non-free non-free-firmware
    deb http://deb.debian.org/debian bookworm-updates main contrib non-free non-free-firmware
    # Uncomment deb-src lines below then 'apt-get update' to enable 'apt-get source'
    #deb-src http://deb.debian.org/debian bookworm main contrib non-free non-free-firmware
    #deb-src http://deb.debian.org/debian-security/ bookworm-security main
    contrib non-free non-free-firmware
    #deb-src http://deb.debian.org/debian bookworm-updates main contrib
    non-free non-free-firmware

    --
    "I am inclined to tell the truth and dislike people who lie consistently.
    This makes me unfit for the company of people of a Left persuasion, and
    all women"

    --- SoupGate-Win32 v1.05
    * Origin: Agency HUB, Dunedin - New Zealand | Fido<>Usenet Gateway (3:770/3)