• Debian 12.8 synaptic refuses, calling for firmware in /media/cdrom

    From Roger Price@21:1/5 to All on Wed Dec 18 18:10:01 2024
    I tried using synaptic to load packages in my new Debian 12.8. After I specified many packages, I clicked on "Apply" and received the message:

    "Please insert disk labeled: Debian GNU/Linux 12.8.0 _Bookworm_ Official
    amd64 DVD Binary-1 with firmware 20241109-11:05 in drive /media/cdrom"

    I do not have such a CD. I installed from a USB stick.

    I tried to continue and received the message "Failed to fetch cdrom Debian GNU/Linux 12.8.0 _Bookworm_ Official amd64 DVD Binary-1/pool/main/r/rsync/rsync-3.2.7-1-arm64.deb".

    Why does synaptic need firmware? Is synaptic supposed to be usable on a fresh installation?

    Roger

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Andrew M.A. Cater@21:1/5 to Roger Price on Wed Dec 18 18:40:01 2024
    On Wed, Dec 18, 2024 at 06:07:45PM +0100, Roger Price wrote:
    I tried using synaptic to load packages in my new Debian 12.8. After I specified many packages, I clicked on "Apply" and received the message:

    "Please insert disk labeled: Debian GNU/Linux 12.8.0 _Bookworm_ Official
    amd64 DVD Binary-1 with firmware 20241109-11:05 in drive /media/cdrom"

    I do not have such a CD. I installed from a USB stick.

    I tried to continue and received the message "Failed to fetch cdrom Debian GNU/Linux 12.8.0 _Bookworm_ Official amd64 DVD Binary-1/pool/main/r/rsync/rsync-3.2.7-1-arm64.deb".

    Why does synaptic need firmware? Is synaptic supposed to be usable on a fresh installation?

    Roger


    Did you install from a DVD copied to the USB stick.

    If you weren't network connected at the time, check your /etc/apt/sources.list file.

    You may find that the DVD entry is uncommented and all other entries are commented out with a # sign.

    Edit the file to comment out the DVD entry and uncomment the network entries.

    Then apt-get update / aptitude update or whatever.

    And yes, this is by design: if you *only* have media and no network
    connection, you may still want to install packages and /etc/apt/sources.list
    is structured accordingly.

    Hope this helps - with every good wish, as ever,

    Andrew Cater
    (amacater@debian.org)

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Roger Price@21:1/5 to Andrew M.A. Cater on Wed Dec 18 19:00:01 2024
    On Wed, 18 Dec 2024, Andrew M.A. Cater wrote:

    On Wed, Dec 18, 2024 at 06:07:45PM +0100, Roger Price wrote:
    I tried using synaptic to load packages in my new Debian 12.8. After I
    specified many packages, I clicked on "Apply" and received the message:

    "Please insert disk labeled: Debian GNU/Linux 12.8.0 _Bookworm_ Official
    amd64 DVD Binary-1 with firmware 20241109-11:05 in drive /media/cdrom"

    Did you install from a DVD copied to the USB stick.

    I downloaded debian-12.8.0-amd64-DVD-1.iso from https://www.debian.org/CD/http-ftp/ and "dd"ed it to a USB stick.

    If you weren't network connected at the time, check your /etc/apt/sources.list
    file.

    I was network connected when attempting to use synaptic and I can ping deb.debian.org .

    You may find that the DVD entry is uncommented and all other entries are commented out with a # sign.

    I checked /etc/apt/sources.list, and the top entry for the cdrom is uncommented,
    as are the http entries.

    Edit the file to comment out the DVD entry and uncomment the network entries. Then apt-get update / aptitude update or whatever.

    Will do, when I master whatever editor is included in the base distribution.

    Hope this helps

    Yes it does, thanks, Roger

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joe@21:1/5 to Roger Price on Wed Dec 18 19:10:02 2024
    On Wed, 18 Dec 2024 18:07:45 +0100 (CET)
    Roger Price <debian@rogerprice.org> wrote:

    I tried using synaptic to load packages in my new Debian 12.8. After
    I specified many packages, I clicked on "Apply" and received the
    message:

    "Please insert disk labeled: Debian GNU/Linux 12.8.0 _Bookworm_
    Official amd64 DVD Binary-1 with firmware 20241109-11:05 in drive /media/cdrom"

    I do not have such a CD. I installed from a USB stick.

    I tried to continue and received the message "Failed to fetch cdrom
    Debian GNU/Linux 12.8.0 _Bookworm_ Official amd64 DVD Binary-1/pool/main/r/rsync/rsync-3.2.7-1-arm64.deb".

    Why does synaptic need firmware? Is synaptic supposed to be usable
    on a fresh installation?

    There was a minor problem with the installation. The supply of software
    during installation came from the CD (installation images work with
    either CDs or USB sticks) and one of the last installation stages is to
    change the software supply from the installation media to an Internet
    source. It looks like at least part of that didn't happen.

    The file /etc/apt/source.list should look something like this, maybe
    with other commented lines (my installation was from a netinstall
    image, not a DVD):

    ***************************************************************************

    # deb cdrom:[Debian GNU/Linux testing _Bookworm_ - Official Snapshot
    amd64 NETINST 20211021-15:01]/ bookworm main

    #deb cdrom:[Debian GNU/Linux testing _Bookworm_ - Official Snapshot
    amd64 NETINST 20211021-15:01]/ bookworm main

    deb http://deb.debian.org/debian/ bookworm main non-free contrib
    # deb-src http://deb.debian.org/debian/ bookworm main non-free contrib

    deb http://security.debian.org/debian-security bookworm-security main contrib non-free
    #
    deb-src http://security.debian.org/debian-security bookworm-security main contrib non-free

    # This system was installed using small removable media
    # (e.g. netinst, live or single CD). The matching "deb cdrom"
    # entries were disabled at the end of the installation process.
    # For information about how to configure apt package sources,
    # see the sources.list(5) manual.

    ****************************************************************************

    Make sure any CD lines are commented and that you have an uncommented
    line showing

    deb http://deb.debian.org/debian/ bookworm main non-free contrib

    maybe with a different URL. Now at a terminal, enter

    sudo apt update

    and see what happens. If there's an error, come back here with it. If
    it churns out many lines of text, you're probably good.

    There's nothing wrong with using Synaptic, and that should now run OK,
    it's just easier to see problems using apt.


    --
    Joe

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Joe@21:1/5 to Roger Price on Wed Dec 18 19:20:01 2024
    On Wed, 18 Dec 2024 18:51:50 +0100 (CET)
    Roger Price <debian@rogerprice.org> wrote:

    On Wed, 18 Dec 2024, Andrew M.A. Cater wrote:



    Edit the file to comment out the DVD entry and uncomment the
    network entries. Then apt-get update / aptitude update or whatever.


    Will do, when I master whatever editor is included in the base
    distribution.


    Mousepad is, but you shouldn't run anything graphical as root. The
    built-in editors that I know of are vim and the similar nano, run from
    a terminal. I never grew up with this style of editor, and I don't like
    them, but they're OK for emergencies. There should be plenty of web
    tutorials, you only need to do a few things.

    Once you have installation working, there are other editors. I like the
    editor in Midnight Commander (package name mc) for quick tweaks and
    Geany for coding work. Many people favour emacs, but I've never been
    that serious.

    --
    Joe

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Chris Green@21:1/5 to Joe on Wed Dec 18 20:50:01 2024
    Joe <joe@jretrading.com> wrote:
    On Wed, 18 Dec 2024 18:07:45 +0100 (CET)
    Roger Price <debian@rogerprice.org> wrote:

    I tried using synaptic to load packages in my new Debian 12.8. After
    I specified many packages, I clicked on "Apply" and received the
    message:

    "Please insert disk labeled: Debian GNU/Linux 12.8.0 _Bookworm_
    Official amd64 DVD Binary-1 with firmware 20241109-11:05 in drive /media/cdrom"

    I do not have such a CD. I installed from a USB stick.

    I tried to continue and received the message "Failed to fetch cdrom
    Debian GNU/Linux 12.8.0 _Bookworm_ Official amd64 DVD Binary-1/pool/main/r/rsync/rsync-3.2.7-1-arm64.deb".

    Why does synaptic need firmware? Is synaptic supposed to be usable
    on a fresh installation?

    There was a minor problem with the installation. The supply of software during installation came from the CD (installation images work with
    either CDs or USB sticks) and one of the last installation stages is to change the software supply from the installation media to an Internet
    source. It looks like at least part of that didn't happen.

    This happened to me when I installed 12.7 on a couple of systems a few
    weeks ago. The installation completed without any errors or anything
    but, like the OP, when I tried to add/update any packages apt tried to
    do it from a non-existent CD/DVD.

    This was a new installation done from an ISO on a USB stick.

    Easy to fix if you know what the problem is (and if you like using vi,
    as I do).

    --
    Chris Green
    ยท

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)
  • From Roger Price@21:1/5 to Joe on Wed Dec 18 22:30:01 2024
    On Wed, 18 Dec 2024, Joe wrote:

    The file /etc/apt/source.list should look something like this, maybe
    with other commented lines (my installation was from a netinstall
    image, not a DVD):

    ***************************************************************************

    # deb cdrom:[Debian GNU/Linux testing _Bookworm_ - Official Snapshot
    amd64 NETINST 20211021-15:01]/ bookworm main

    ****************************************************************************

    Make sure any CD lines are commented and that you have an uncommented
    line showing
    deb http://deb.debian.org/debian/ bookworm main non-free contrib

    I used xedit as root to comment out the deb cdrom line, so sources.list now looks like your example. Package installation now works correctly with synaptic.

    Roger

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)