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

    From Chris Green@cl@isbd.net to comp.sys.raspberry-pi on Fri Nov 29 21:09:44 2024
    From Newsgroup: comp.sys.raspberry-pi

    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
    ·
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Lawrence D'Oliveiro@ldo@nz.invalid to comp.sys.raspberry-pi on Fri Nov 29 21:59:55 2024
    From Newsgroup: comp.sys.raspberry-pi

    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>
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Chris Townley@news@cct-net.co.uk to comp.sys.raspberry-pi on Sat Nov 30 00:25:07 2024
    From Newsgroup: comp.sys.raspberry-pi

    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
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Richard Kettlewell@invalid@invalid.invalid to comp.sys.raspberry-pi on Sat Nov 30 18:02:46 2024
    From Newsgroup: comp.sys.raspberry-pi

    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/
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From Chris Green@cl@isbd.net to comp.sys.raspberry-pi on Sat Nov 30 20:06:44 2024
    From Newsgroup: comp.sys.raspberry-pi

    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
    ·
    --- Synchronet 3.20a-Linux NewsLink 1.114
  • From The Natural Philosopher@tnp@invalid.invalid to comp.sys.raspberry-pi on Sun Dec 1 11:46:52 2024
    From Newsgroup: comp.sys.raspberry-pi

    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"

    --- Synchronet 3.20a-Linux NewsLink 1.114