carbonian.org / manual pages
CARBONIAN-SYNC(8) Carbonian Manual CARBONIAN-SYNC(8)

carbonian-sync - install what Carbonian's factory published

/usr/lib/carbonian/carbonian-sync

carbonian-sync brings the packages that Carbonian's factory published to the machine, by itself. carbonian-sync.timer runs it every 15 minutes, the first time 30 minutes after the boot. Each run:

1.
refreshes the Carbonian archive only (the apt source in /etc/apt/sources.list.d/carbonian.sources or carbonian.list);
2.
chooses the installed packages whose new version comes from the Carbonian archive (origin Carbonian), from a simulated upgrade; a version the archive moved down is followed too (the Raspberry Pi 2 pins its archive at 1001);
3.
upgrades those with apt-get install --only-upgrade, with what they declare as dependencies (Depends and Pre-Depends): a new kernel, a package new in carbonian-desktop's Depends, a newer Debian library that one of them needs. Recommends are not followed, and nothing is removed: when the packages together need a removal, each is tried alone and the one that still needs it is held back (logged).

Nothing else is upgraded: an update of Debian's own packages is the user's to install (apt upgrade).

carbonian-sync never waits for apt's lock (it passes DPkg::Lock::Timeout=0): when another apt or dpkg holds it, the run is skipped (logged) and the next one tries again. While carbonian-sync installs, a user's apt and apt-get wait for it, up to 10 minutes, instead of failing with "Could not get lock" (/etc/apt/apt.conf.d/50carbonian-sync).

/var/log/carbonian-sync.log
/etc/apt/apt.conf.d/50carbonian-sync
/usr/lib/systemd/system/carbonian-sync.timer

Run it now and read what it did:

sudo systemctl start carbonian-sync.service
tail /var/log/carbonian-sync.log

apt-get(8), apt_preferences(5), carbonian(7)

October 2026 Carbonian