TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: JIM JACKSON
from: BOB PROHASKA
date: 2020-03-01 22:57:00
subject: Re: self hosting on the P

Jim Jackson  wrote:
>
>
> In a Debian system, the source for every package is available as a sopurce
> package. You need the right lines in your /etc/apt/sources.list file.
> This includes the source for the kernel.
>
> As Raspbian is essentially Debian, I'd expect it to be the same. Indeed
> on my (very) old out-of-date Raspbian system I can download source files -
> I simply added a "deb-src" line that the same as my "deb" line, and did
>
>   apt-get source some-package-name
>
> in some directory where I want the source files to be stored.
>
> This is documented on the debian wiki at
>
>  https://wiki.debian.org/Packaging/SourcePackage
>

Ok, this is a good start. I find
bob@raspberrypi:~ $ more /etc/apt/sources.list
deb http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free rpi
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
#deb-src http://raspbian.raspberrypi.org/raspbian/ buster main contrib non-free
rpi

but AIUI apt-get triggers a complete download/overwrite of whatever
got downloaded before. That's likely to be wasteful, slow and hard on flash.
Is there an option switch like CVS or subversion that fetches changes only?

Thank you very much!

bob prohaska

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

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.