On 20 Jan 2026 07:41:06 +1000 Computer Nerd Kev wrote:
[..]
If you want the same build to run on Debian and "Redhat / Mageia", then
static linking can achieve that more reliably. Note that it will prevent
security updates to gnutls being applied when running Mailutils with
encrypted connections, until you rebuild the static binary. You should
be able to use the Debian x86_64 Mailutils packages at least, so you
probably don't need to try running the Mageia build on there. Just
compile and install Mailutils normally on "Redhat / Mageia for intel"
and "debian for ARM" as two separate processes.
Yes, and now I try to install the GNU Mailutils source package on a Pi3B with Bullseye OS. Meaning, try to rebuild the (ancient) package as is, and as next steps, to replace the source tgz, do some adaptations and try to
By some reason, Synaptic install GUI does only show the sources for a few packages, and Mailutils is not among them.
/etc/apt/sources.list contains^^^^^^^^^^^^^^
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
Is there one more repo to activate, so that it shows up for downloading?
By some reason, Synaptic install GUI does only show the sources for a few packages, and Mailutils is not among them.
/etc/apt/sources.list contains
deb http://raspbian.raspberrypi.org/raspbian/ bullseye main contrib non-
free rpi
You could look at the Debian package info/downloads
on the web like LDO suggested.
On 20 Jan 2026 07:41:06 +1000 Computer Nerd Kev wrote:
[..]
If you want the same build to run on Debian and "Redhat / Mageia", then
static linking can achieve that more reliably. Note that it will prevent
security updates to gnutls being applied when running Mailutils with
encrypted connections, until you rebuild the static binary. You should
be able to use the Debian x86_64 Mailutils packages at least, so you
probably don't need to try running the Mageia build on there. Just
compile and install Mailutils normally on "Redhat / Mageia for intel"
and "debian for ARM" as two separate processes.
Yes, and now I try to install the GNU Mailutils source package on a Pi3B with Bullseye OS. Meaning, try to rebuild the (ancient) package as is, and as next steps, to replace the source tgz, do some adaptations and try to
get this built, also.
By some reason, Synaptic install GUI does only show the sources for a few packages, and Mailutils is not among them.
/etc/apt/sources.list contains
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
Is there one more repo to activate, so that it shows up for downloading?
As a guess: maybe the Raspbian package repo doesn't have sources
for packages they copied from Debian instead of rebuilding
themselves?
On 24/01/2026 01:25, Computer Nerd Kev wrote:
As a guess: maybe the Raspbian package repo doesn't have sources for
packages they copied from Debian instead of rebuilding themselves?
Raspbian doesn't copy packages from Debian, it just uses the Debian
repos. The Raspberry Pi's own repo doesn't contain userspace packages
unless they're pi-specific.
The issue is probably that /etc/apt/sources.list only has a line for
"deb" packages and not "deb-src" packages, by default.
Such a line is easy to add.
(If the OP were using Trixie it would be a matter of adding "deb-src"
after "deb" on the line starting "Types:" in /etc/apt/sources.list.d/debian.sources).
Daniel James <daniel@me.invalid> wrote:
On 24/01/2026 01:25, Computer Nerd Kev wrote:
As a guess: maybe the Raspbian package repo doesn't have sources
for packages they copied from Debian instead of rebuilding
themselves?
Raspbian doesn't copy packages from Debian, it just uses the Debian
repos. The Raspberry Pi's own repo doesn't contain userspace packages
unless they're pi-specific.
This is evidently untrue simply from looking at the Raspbian repo's
contents. I found out the hard way that some packages like Firefox
there are built only for Debian's target ARM architectures, not the
early Raspberry Pi boards.
Also I haven't seen the Debian repo used in Raspbian sources.list,
though I haven't used the more recent RPi OS versions.
Would this even work seeing as there'd be conflicting packages for the
same programs? In my experience with Debian on PC, it wouldn't since
Apt doesn't favour one repo over another - it just selects whichever
package versions look latest.
The issue is probably that /etc/apt/sources.list only has a line for
"deb" packages and not "deb-src" packages, by default.
He posted that there was a "deb-src" line already.
Anyway it still won't build him the latest Mailutils which would be
easy to do the same way he already did it on PC (providing the
dependency package names are changed to Debian ones), so I think I
give up at this point.
On 24/01/2026 01:25, Computer Nerd Kev wrote:
As a guess: maybe the Raspbian package repo doesn't have sources
for packages they copied from Debian instead of rebuilding
themselves?
Raspbian doesn't copy packages from Debian, it just uses the Debian
repos. The Raspberry Pi's own repo doesn't contain userspace packages
unless they're pi-specific.
The issue is probably that /etc/apt/sources.list only has a line for
"deb" packages and not "deb-src" packages, by default.
Raspbian doesn't copy packages from Debian, it just uses the
Debian repos. The Raspberry Pi's own repo doesn't contain
userspace packages unless they're pi-specific.
This is evidently untrue simply from looking at the Raspbian repo's contents. I found out the hard way that some packages like Firefox
there are built only for Debian's target ARM architectures, not the
early Raspberry Pi boards.
Also I haven't seen the Debian repo used in Raspbian sources.list,
though I haven't used the more recent RPi OS versions.
Would this even work seeing as there'd be conflicting packages for
the same programs? In my experience with Debian on PC, it wouldn't
since Apt doesn't favour one repo over another - it just selects
whichever package versions look latest.
not@telling.you.invalid (Computer Nerd Kev) writes:
Daniel James <daniel@me.invalid> wrote:
On 24/01/2026 01:25, Computer Nerd Kev wrote:
As a guess: maybe the Raspbian package repo doesn't have sources
for packages they copied from Debian instead of rebuilding
themselves?
Raspbian doesn't copy packages from Debian, it just uses the Debian
repos. The Raspberry Pi's own repo doesn't contain userspace packages
unless they're pi-specific.
This is evidently untrue simply from looking at the Raspbian repo's
contents. I found out the hard way that some packages like Firefox
there are built only for Debian's target ARM architectures, not the
early Raspberry Pi boards.
Also I haven't seen the Debian repo used in Raspbian sources.list,
though I haven't used the more recent RPi OS versions.
It uses both debian.org (or mirrors thereof) and raspberrypi.org. The
latter has RPi-specific packages (e.g. raspi-config) and RPi-specific rebuilds of standard packages (e.g. vlc), but excludes packages where
the binaries are shared with Debian (e.g. coreutils).
Would this even work seeing as there'd be conflicting packages for the
same programs? In my experience with Debian on PC, it wouldn't since
Apt doesn't favour one repo over another - it just selects whichever
package versions look latest.
It works fine...
The issue is probably that /etc/apt/sources.list only has a line for
"deb" packages and not "deb-src" packages, by default.
He posted that there was a "deb-src" line already.
Anyway it still won't build him the latest Mailutils which would be
easy to do the same way he already did it on PC (providing the
dependency package names are changed to Debian ones), so I think I
give up at this point.
The answer was clear from the original post: OP didn't know how to get
source packages.
Richard Kettlewell <invalid@invalid.invalid> wrote:
It uses both debian.org (or mirrors thereof) and raspberrypi.org. The
latter has RPi-specific packages (e.g. raspi-config) and RPi-specific
rebuilds of standard packages (e.g. vlc), but excludes packages where
the binaries are shared with Debian (e.g. coreutils).
OK, maybe the sources.list has changed in newer versions, but
coreutils _is_ there the RPi repo, and updated in 2025:
http://raspbian.raspberrypi.org/raspbian/pool/main/c/coreutils/
OP won't get source packages for the newer Mailutils version he wants
that way, just the old version used for the package, which he's not
happy with. But OP already has the sources he used for building the
latest version on PC, minus the Debian patches (which might not work
on the latest version anyway).
Computer Nerd Kev <not@telling.you.invalid> writes:
Richard Kettlewell <invalid@invalid.invalid> wrote:
It uses both debian.org (or mirrors thereof) and raspberrypi.org. The
latter has RPi-specific packages (e.g. raspi-config) and RPi-specific
rebuilds of standard packages (e.g. vlc), but excludes packages where
the binaries are shared with Debian (e.g. coreutils).
OK, maybe the sources.list has changed in newer versions, but
coreutils _is_ there the RPi repo, and updated in 2025:
http://raspbian.raspberrypi.org/raspbian/pool/main/c/coreutils/
Not in arm64 trixie.
$ curl -s https://archive.raspberrypi.org/debian/dists/trixie/main/binary-arm64/Packages | grep 'Package: coreutils'
$
| Sysop: | Jacob Catayoc |
|---|---|
| Location: | Pasay City, Metro Manila, Philippines |
| Users: | 5 |
| Nodes: | 4 (0 / 4) |
| Uptime: | 22:53:05 |
| Calls: | 117 |
| Calls today: | 117 |
| Files: | 367 |
| D/L today: |
560 files (257M bytes) |
| Messages: | 70,902 |
| Posted today: | 26 |