Discussion:
Help installing gdb package using apt
(too old to reply)
Demetrius Stanton
2024-07-15 12:10:02 UTC
Permalink
Hi!

My name is Demetrius Stanton. It was suggested that I reach out for a
problem I'm experiencing trying to install gdb on my system. I'm willing to
submit whatever information is necessary to try and get this issue
resolved.

I recently encountered a weird error, and I can't seem to find a fix
online. When I run the command ` sudo apt update && sudo apt install gdb -y
`, I receive an 404 error stating failed to fetch
https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u*4*_amd64.deb.
When I navigate to the https://deb.debian.org/debian/pool/main/g/glibc/ site,
I'm able to find libc6-dbg_2.36-9+deb12u*7*_amd64.deb. Though I'm
reasonably confident I could use wget to download and then dpkg to install
this file, I am concerned I could adversely affect the stability of my
system. I'm sure it would be safer for me to use apt to manage my packages.

How do I proceed forward from here?

I posed this question to <debian-***@lists.debian.org> and received the
following in response:

"
Welcome to Debian.

You might be able to resolve this issue you have by running

sudo apt update

followed by

sudo apt full-upgrade

and resolve resulting errors, if any occur, and then try reinstalling gdb.
The particular error - attempting to fetch and install what looks like an
out of date version of libc6-dbg_2.36-9 - suggests your system might not be
fully up to date. If that helps, good; otherwise:

You would do better to ask this question on the debian-user list (
debian-***@lists.debian.org). It is a fairly active list that includes
people with a wide range of knowledge and who generally are willing to help.

You should provide additional information (and will be asked to do so if
you do not), since what you give above is a bit sketchy. In particular, I
suggest you include in the question a copy of your /etc/apt/sources.list
and any files that are in the directory /etc/apt/sources.list.d. It might
also be useful to include a copy of your /etc/debian_version and
/etc/os-release files, which will establish the exact update level of your
system.

In general, it is probably a bad idea to poke around in /debian/pool/ in
the distribution repository for things to install. Those directories
contain software for several releases and mixing versions from different
releases may, as you suspect, result in an unstable system. Using apt is
much safer, but depends on correct setup of the files in the /etc/apt/
directory that describe the range of software installed.

Regards,
<redacted>
"
Attempting the prescribed fix yielded the following:

$ sudo apt update && sudo apt full-upgrade
[sudo] password for demetrius:
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://deb.debian.org/debian bookworm InRelease
Hit:3 https://packages.microsoft.com/repos/code stable InRelease
Hit:4 https://brave-browser-apt-release.s3.brave.com stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
N: Repository 'Debian bookworm' changed its 'firmware component' value from
'non-free' to 'non-free-firmware'
N: More information about this can be found online in the Release notes at:
https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt install gdb -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
The following additional packages will be installed:
libbabeltrace1 libboost-regex1.74.0 libc6-dbg libdebuginfod-common
libdebuginfod1 libipt2 libsource-highlight-common
libsource-highlight4v5
Suggested packages:
gdb-doc gdbserver
The following NEW packages will be installed:
gdb libbabeltrace1 libboost-regex1.74.0 libc6-dbg libdebuginfod-common
libdebuginfod1 libipt2 libsource-highlight-common
libsource-highlight4v5
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,458 kB/12.5 MB of archives.
After this operation, 28.4 MB of additional disk space will be used.
Err:1 https://deb.debian.org/debian bookworm/main amd64 libc6-dbg amd64
2.36-9+deb12u4
404 Not Found [IP: 2a04:4e42:d::644 443]
E: Failed to fetch
https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u4_amd64.deb
404 Not Found [IP: 2a04:4e42:d::644 443]
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?

So now I'm reaching out.
Here's the info that was recommended I add:

$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 DVD
Binary-1 with firmware 20231007-10:29]/ bookworm main non-free-firmware
deb https://deb.debian.org/debian/ bookworm main contrib
$ ls /etc/apt/sources.list.d/
brave-browser-release.list google-chrome.list vscode.list
$ cat /etc/apt/sources.list.d/brave-browser-release.list
deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg]
https://brave-browser-apt-release.s3.brave.com/ stable main
$ cat /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
$ cat /etc/apt/sources.list.d/vscode.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code
stable main
$ cat /etc/debian_version
12.5
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/"
SUPPORT_URL="https://www.debian.org/support"
BUG_REPORT_URL="https://bugs.debian.org/"

If there's anything you can suggest to help, it would be greatly
appreciated!

Demetrius Stanton
The Wanderer
2024-07-15 13:40:02 UTC
Permalink
Post by Demetrius Stanton
Hi!
My name is Demetrius Stanton. It was suggested that I reach out for a
problem I'm experiencing trying to install gdb on my system. I'm willing to
submit whatever information is necessary to try and get this issue
resolved.
I recently encountered a weird error, and I can't seem to find a fix
online. When I run the command ` sudo apt update && sudo apt install gdb -y
`, I receive an 404 error stating failed to fetch
https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u*4*_amd64.deb.
How do I proceed forward from here?
<snip>
Post by Demetrius Stanton
The particular error - attempting to fetch and install what looks like an
out of date version of libc6-dbg_2.36-9 - suggests your system might not be
fully up to date.
<snip>
Post by Demetrius Stanton
You should provide additional information (and will be asked to do so if
you do not), since what you give above is a bit sketchy. In particular, I
suggest you include in the question a copy of your /etc/apt/sources.list
and any files that are in the directory /etc/apt/sources.list.d.
<snip>
Post by Demetrius Stanton
$ sudo apt update && sudo apt full-upgrade
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://deb.debian.org/debian bookworm InRelease
Hit:3 https://packages.microsoft.com/repos/code stable InRelease
Hit:4 https://brave-browser-apt-release.s3.brave.com stable InRelease
<snip>
Post by Demetrius Stanton
Err:1 https://deb.debian.org/debian bookworm/main amd64 libc6-dbg amd64
2.36-9+deb12u4
404 Not Found [IP: 2a04:4e42:d::644 443]
E: Failed to fetch
https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u4_amd64.deb
404 Not Found [IP: 2a04:4e42:d::644 443]
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
So now I'm reaching out.
$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 DVD
Binary-1 with firmware 20231007-10:29]/ bookworm main non-free-firmware
deb https://deb.debian.org/debian/ bookworm main contrib
$ ls /etc/apt/sources.list.d/
brave-browser-release.list google-chrome.list vscode.list
$ cat /etc/apt/sources.list.d/brave-browser-release.list
deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg]
https://brave-browser-apt-release.s3.brave.com/ stable main
$ cat /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ stable main
$ cat /etc/apt/sources.list.d/vscode.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code
stable main
This sources.list file is missing entries for the portions of the
archive that contain the debug-symbols packages.

For comparison, here is a trio of successive lines from my own
Post by Demetrius Stanton
deb http://ftp.us.debian.org/debian/ testing main non-free non-free-firmware contrib
deb-src http://ftp.us.debian.org/debian/ testing main non-free non-free-firmware contrib
deb http://debug.mirrors.debian.org/debian-debug/ testing-debug main non-free non-free-firmware contrib
These specify where APT should look for A: the binary packages, B: the
source packages, and D: the debug-symbols packages, for Debian testing.

(I configure sources list with the names 'stable', 'testing', and 'sid',
rather than using the release codenames; I do this on purpose, but it is
typically recommended to use the release codenames, and you are probably
correct for your situation that you use them.)


Try adding

deb https://debug.mirrors.debian.org/debian-debug/ bookworm-debug main
contrib

(and/or similar for any other official Debian repositories you want to
get debug packages from), and repeating the suggested 'apt update'
command, then installing the desired package(s) again.

I don't think a full-upgrade will be necessary in your circumstances,
although it would *probably* not hurt. If the install attempt still
fails, you can try 'apt full-upgrade' and see whether it produces
something reasonable.
Post by Demetrius Stanton
If there's anything you can suggest to help, it would be greatly
appreciated!
I hope that is enough to lead you somewhere useful!
--
The Wanderer

The reasonable man adapts himself to the world; the unreasonable one
persists in trying to adapt the world to himself. Therefore all
progress depends on the unreasonable man. -- George Bernard Shaw
Pranjal Singh
2024-07-15 16:50:01 UTC
Permalink
Hi Demetrius,
Post by Demetrius Stanton
[...]
I recently encountered a weird error, and I can't seem to find a fix
online. When I run the command ` sudo apt update && sudo apt install
gdb -y `, I receive an 404 error stating failed to fetch
https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u*4*_amd64.deb.
When I navigate to the
https://deb.debian.org/debian/pool/main/g/glibc/ site, I'm able to
find  libc6-dbg_2.36-9+deb12u*7*_amd64.deb. Though I'm reasonably
confident I could use wget to download and then dpkg to install this
file, I am concerned I could adversely affect the stability of my
system. I'm sure it would be safer for me to use apt to manage my packages.
A quick fix might be to use a different Debian mirror:

https://www.debian.org/mirror/list

This is a bad solution, however, even if it works.
I am curious what it is and am looking forward to the big people
to diagnose and solve it.

Regards,
Pranjal
Lee
2024-07-15 19:10:01 UTC
Permalink
Hi!
My name is Demetrius Stanton. It was suggested that I reach out for a problem I'm experiencing trying to install gdb on my system. I'm willing to submit whatever information is necessary to try and get this issue resolved.
I recently encountered a weird error, and I can't seem to find a fix online. When I run the command ` sudo apt update && sudo apt install gdb -y `, I receive an 404 error stating failed to fetch https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u4_amd64.deb. When I navigate to the https://deb.debian.org/debian/pool/main/g/glibc/ site, I'm able to find libc6-dbg_2.36-9+deb12u7_amd64.deb. Though I'm reasonably confident I could use wget to download and then dpkg to install this file, I am concerned I could adversely affect the stability of my system. I'm sure it would be safer for me to use apt to manage my packages.
How do I proceed forward from here?
"
Welcome to Debian.
You might be able to resolve this issue you have by running
sudo apt update
followed by
sudo apt full-upgrade
<.. snip ..>
$ sudo apt update && sudo apt full-upgrade
Hit:1 https://dl.google.com/linux/chrome/deb stable InRelease
Hit:2 https://deb.debian.org/debian bookworm InRelease
Hit:3 https://packages.microsoft.com/repos/code stable InRelease
Hit:4 https://brave-browser-apt-release.s3.brave.com stable InRelease
You're missing bookworm-security and bookworm-updates from your
sources list. Try it again with them in your /etc/apt/sources.list

***@laptop:~$ cat /etc/apt/sources.list
#deb cdrom:[Debian GNU/Linux 12.5.0 _Bookworm_ - Official amd64
NETINST with firmware 20240210-11:27]/ bookworm contrib main
non-free-firmware

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

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

# bookworm-updates, to get updates before a point release is made;
# see https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main non-free-firmware

Regards,
Lee
Tom Dial
2024-07-15 23:30:01 UTC
Permalink
Hi Demetrius.

See the embedded observations below.
Hi!
My name is Demetrius Stanton. It was suggested that I reach out for a problem I'm experiencing trying to install gdb on my system. I'm willing to submit whatever information is necessary to try and get this issue resolved.
I recently encountered a weird error, and I can't seem to find a fix online. When I run the command ` sudo apt update && sudo apt install gdb -y `, I receive an 404 error stating failed to fetch https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u <https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u>*4*_amd64.deb. When I navigate to the https://deb.debian.org/debian/pool/main/g/glibc/ <https://deb.debian.org/debian/pool/main/g/glibc/> site, I'm able to find  libc6-dbg_2.36-9+deb12u*7*_amd64.deb. Though I'm reasonably confident I could use wget to download and then dpkg to install this file, I am concerned I could adversely affect the stability of my system. I'm sure it would be safer for me to use apt to manage my packages.
How do I proceed forward from here?
"
Welcome to Debian.
You might be able to resolve this issue you have by running
   sudo apt update
followed by
   sudo apt full-upgrade
You should provide additional information (and will be asked to do so if you do not), since what you give above is a bit sketchy. In particular, I suggest you include in the question a copy of your /etc/apt/sources.list and any files that are in the directory /etc/apt/sources.list.d. It might also be useful to include a copy of your /etc/debian_version and /etc/os-release files, which will establish the exact update level of your system.
In general, it is probably a bad idea to poke around in /debian/pool/ in the distribution repository for things to install. Those directories contain software for several releases and mixing versions from different releases may, as you suspect, result in an unstable system. Using apt is much safer, but depends on correct setup of the files in the /etc/apt/ directory that describe the range of software installed.
Regards,
<redacted>
"
$ sudo apt update && sudo apt full-upgrade
Hit:1 https://dl.google.com/linux/chrome/deb <https://dl.google.com/linux/chrome/deb> stable InRelease
Hit:2 https://deb.debian.org/debian <https://deb.debian.org/debian> bookworm InRelease
Hit:3 https://packages.microsoft.com/repos/code <https://packages.microsoft.com/repos/code> stable InRelease
Hit:4 https://brave-browser-apt-release.s3.brave.com <https://brave-browser-apt-release.s3.brave.com> stable InRelease
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
N: Repository 'Debian bookworm' changed its 'firmware component' value from 'non-free' to 'non-free-firmware'
N: More information about this can be found online in the Release notes at: https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split <https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split>
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt install gdb -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
  libbabeltrace1 libboost-regex1.74.0 libc6-dbg libdebuginfod-common libdebuginfod1 libipt2 libsource-highlight-common
  libsource-highlight4v5
  gdb-doc gdbserver
  gdb libbabeltrace1 libboost-regex1.74.0 libc6-dbg libdebuginfod-common libdebuginfod1 libipt2 libsource-highlight-common
  libsource-highlight4v5
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,458 kB/12.5 MB of archives.
After this operation, 28.4 MB of additional disk space will be used.
Err:1 https://deb.debian.org/debian <https://deb.debian.org/debian> bookworm/main amd64 libc6-dbg amd64 2.36-9+deb12u4
This version of libc6-dbg, 2.36-9+deb12u4, is not the current one, and it is not in the repository. This error may go away if you update your installation to the current release, 12.6 (see below, at the contents of /etc/debian_version).
  404  Not Found [IP: 2a04:4e42:d::644 443]
E: Failed to fetch https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u4_amd64.deb <https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u4_amd64.deb>  404  Not Found [IP: 2a04:4e42:d::644 443]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
So now I'm reaching out.
$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 DVD Binary-1 with firmware 20231007-10:29]/ bookworm main non-free-firmware
deb https://deb.debian.org/debian/ <https://deb.debian.org/debian/> bookworm main contrib
You probably should also include non-free-firmware in this entry unless you are certain your system has no hardware that might require it. Laptop wifi, some video and other peripheral devices may require proprietary/binary firmware from this section of the repository.

This probably did not cause your problem, however.
$ ls /etc/apt/sources.list.d/
brave-browser-release.list  google-chrome.list  vscode.list
$ cat /etc/apt/sources.list.d/brave-browser-release.list
deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg] https://brave-browser-apt-release.s3.brave.com/ <https://brave-browser-apt-release.s3.brave.com/> stable main
$ cat /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ <https://dl.google.com/linux/chrome/deb/> stable main
$ cat /etc/apt/sources.list.d/vscode.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be lost.
deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code <https://packages.microsoft.com/repos/code> stable main
$ cat /etc/debian_version
12.5
This indicates your Debian installation is not up to date. The present release level is 12.6, and the update to 12.7 will will be released in a few weeks. Fixing this may correct the problem in which apt tries to download an old version of libc6-dbg (probably the one corresponding to your installed version of libc6.

Regards,
Tom Dial
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/ <https://www.debian.org/>"
SUPPORT_URL="https://www.debian.org/support <https://www.debian.org/support>"
BUG_REPORT_URL="https://bugs.debian.org/ <https://bugs.debian.org/>"
If there's anything you can suggest to help, it would be greatly appreciated!
Demetrius Stanton
Demetrius Stanton
2024-07-16 01:40:01 UTC
Permalink
Hello everyone,

Thank you so much for your assistance on this matter. The solution was
found.

Updating the sources list to include:
deb http://deb.debian.org/debian/ bookworm main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm main non-free-firmware
deb http://security.debian.org/debian-security bookworm-security main
non-free-firmware
deb-src http://security.debian.org/debian-security bookworm-security main
non-free-firmware

# bookworm-updates, to get updates before a point release is made;
# see
https://www.debian.org/doc/manuals/debian-reference/ch02.en.html#_updates_and_backports
deb http://deb.debian.org/debian/ bookworm-updates main non-free-firmware
deb-src http://deb.debian.org/debian/ bookworm-updates main
non-free-firmware

seems to have fixed my issue.

I believe this is entirely a problem of my own causing. My initial plan for
this system was to keep it offline. I later decided to take it online. I
updated the sources list with a single source, thinking that one would be
necessary to get connected, and it worked... for a while.

Thanks again for all the help!

Demetrius Stanton
Post by Tom Dial
Hi Demetrius.
See the embedded observations below.
Post by Demetrius Stanton
Hi!
My name is Demetrius Stanton. It was suggested that I reach out for a
problem I'm experiencing trying to install gdb on my system. I'm willing to
submit whatever information is necessary to try and get this issue resolved.
Post by Demetrius Stanton
I recently encountered a weird error, and I can't seem to find a fix
online. When I run the command ` sudo apt update && sudo apt install gdb -y
`, I receive an 404 error stating failed to fetch
https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u
<https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u>*4*_amd64.deb.
When I navigate to the https://deb.debian.org/debian/pool/main/g/glibc/ <
https://deb.debian.org/debian/pool/main/g/glibc/> site, I'm able to find
libc6-dbg_2.36-9+deb12u*7*_amd64.deb. Though I'm reasonably confident I
could use wget to download and then dpkg to install this file, I am
concerned I could adversely affect the stability of my system. I'm sure it
would be safer for me to use apt to manage my packages.
Post by Demetrius Stanton
How do I proceed forward from here?
"
Welcome to Debian.
You might be able to resolve this issue you have by running
sudo apt update
followed by
sudo apt full-upgrade
and resolve resulting errors, if any occur, and then try reinstalling
gdb. The particular error - attempting to fetch and install what looks like
an out of date version of libc6-dbg_2.36-9 - suggests your system might not
Post by Demetrius Stanton
You would do better to ask this question on the debian-user list (
is a fairly active list that includes people with a wide range of knowledge
and who generally are willing to help.
Post by Demetrius Stanton
You should provide additional information (and will be asked to do so if
you do not), since what you give above is a bit sketchy. In particular, I
suggest you include in the question a copy of your /etc/apt/sources.list
and any files that are in the directory /etc/apt/sources.list.d. It might
also be useful to include a copy of your /etc/debian_version and
/etc/os-release files, which will establish the exact update level of your
system.
Post by Demetrius Stanton
In general, it is probably a bad idea to poke around in /debian/pool/ in
the distribution repository for things to install. Those directories
contain software for several releases and mixing versions from different
releases may, as you suspect, result in an unstable system. Using apt is
much safer, but depends on correct setup of the files in the /etc/apt/
directory that describe the range of software installed.
Post by Demetrius Stanton
Regards,
<redacted>
"
$ sudo apt update && sudo apt full-upgrade
Hit:1 https://dl.google.com/linux/chrome/deb <
https://dl.google.com/linux/chrome/deb> stable InRelease
Post by Demetrius Stanton
Hit:2 https://deb.debian.org/debian <https://deb.debian.org/debian>
bookworm InRelease
Post by Demetrius Stanton
Hit:3 https://packages.microsoft.com/repos/code <
https://packages.microsoft.com/repos/code> stable InRelease
Post by Demetrius Stanton
Hit:4 https://brave-browser-apt-release.s3.brave.com <
https://brave-browser-apt-release.s3.brave.com> stable InRelease
Post by Demetrius Stanton
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
N: Repository 'Debian bookworm' changed its 'firmware component' value
from 'non-free' to 'non-free-firmware'
Post by Demetrius Stanton
N: More information about this can be found online in the Release notes
https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
<
https://www.debian.org/releases/bookworm/amd64/release-notes/ch-information.html#non-free-split
Post by Demetrius Stanton
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
$ sudo apt install gdb -y
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
libbabeltrace1 libboost-regex1.74.0 libc6-dbg libdebuginfod-common
libdebuginfod1 libipt2 libsource-highlight-common
Post by Demetrius Stanton
libsource-highlight4v5
gdb-doc gdbserver
gdb libbabeltrace1 libboost-regex1.74.0 libc6-dbg
libdebuginfod-common libdebuginfod1 libipt2 libsource-highlight-common
Post by Demetrius Stanton
libsource-highlight4v5
0 upgraded, 9 newly installed, 0 to remove and 0 not upgraded.
Need to get 7,458 kB/12.5 MB of archives.
After this operation, 28.4 MB of additional disk space will be used.
Err:1 https://deb.debian.org/debian <https://deb.debian.org/debian>
bookworm/main amd64 libc6-dbg amd64 2.36-9+deb12u4
This version of libc6-dbg, 2.36-9+deb12u4, is not the current one, and it
is not in the repository. This error may go away if you update your
installation to the current release, 12.6 (see below, at the contents of
/etc/debian_version).
Post by Demetrius Stanton
404 Not Found [IP: 2a04:4e42:d::644 443]
E: Failed to fetch
https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u4_amd64.deb
<
https://deb.debian.org/debian/pool/main/g/glibc/libc6-dbg_2.36-9%2bdeb12u4_amd64.deb>
404 Not Found [IP: 2a04:4e42:d::644 443]
Post by Demetrius Stanton
E: Unable to fetch some archives, maybe run apt-get update or try with
--fix-missing?
Post by Demetrius Stanton
So now I'm reaching out.
$ cat /etc/apt/sources.list
# deb cdrom:[Debian GNU/Linux 12.2.0 _Bookworm_ - Official amd64 DVD
Binary-1 with firmware 20231007-10:29]/ bookworm main non-free-firmware
Post by Demetrius Stanton
deb https://deb.debian.org/debian/ <https://deb.debian.org/debian/>
bookworm main contrib
You probably should also include non-free-firmware in this entry unless
you are certain your system has no hardware that might require it. Laptop
wifi, some video and other peripheral devices may require
proprietary/binary firmware from this section of the repository.
This probably did not cause your problem, however.
Post by Demetrius Stanton
$ ls /etc/apt/sources.list.d/
brave-browser-release.list google-chrome.list vscode.list
$ cat /etc/apt/sources.list.d/brave-browser-release.list
deb [signed-by=/usr/share/keyrings/brave-browser-archive-keyring.gpg]
https://brave-browser-apt-release.s3.brave.com/ <
https://brave-browser-apt-release.s3.brave.com/> stable main
Post by Demetrius Stanton
$ cat /etc/apt/sources.list.d/google-chrome.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be
lost.
Post by Demetrius Stanton
deb [arch=amd64] https://dl.google.com/linux/chrome/deb/ <
https://dl.google.com/linux/chrome/deb/> stable main
Post by Demetrius Stanton
$ cat /etc/apt/sources.list.d/vscode.list
### THIS FILE IS AUTOMATICALLY CONFIGURED ###
# You may comment out this entry, but any other modifications may be
lost.
Post by Demetrius Stanton
deb [arch=amd64,arm64,armhf] https://packages.microsoft.com/repos/code <
https://packages.microsoft.com/repos/code> stable main
Post by Demetrius Stanton
$ cat /etc/debian_version
12.5
This indicates your Debian installation is not up to date. The present
release level is 12.6, and the update to 12.7 will will be released in a
few weeks. Fixing this may correct the problem in which apt tries to
download an old version of libc6-dbg (probably the one corresponding to
your installed version of libc6.
Regards,
Tom Dial
Post by Demetrius Stanton
$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 12 (bookworm)"
NAME="Debian GNU/Linux"
VERSION_ID="12"
VERSION="12 (bookworm)"
VERSION_CODENAME=bookworm
ID=debian
HOME_URL="https://www.debian.org/ <https://www.debian.org/>"
SUPPORT_URL="https://www.debian.org/support <
https://www.debian.org/support>"
Post by Demetrius Stanton
BUG_REPORT_URL="https://bugs.debian.org/ <https://bugs.debian.org/>"
If there's anything you can suggest to help, it would be greatly
appreciated!
Post by Demetrius Stanton
Demetrius Stanton
Loading...