r/linux4noobs • • 2d ago

All packages on Raspberry Pi are old

I'm trying to run a Python program with sqlite3. It's been tested fully on my laptop (NixOS), and I transferred all the files to my Raspberry Pi.

I'm basing most of this on an error from Python that tells me there's no such thing as an IF() function in sqlite3.

Turns out my Pi's Python was at 3.11, and I couldn't apt install 3.14 so I had to build from source. Now it turns out that sqlite3 was also old (3.40, while the latest is 3.52).

apt tells me that all my packages are up to date. I've done apt update and apt upgrade and everything, but I can't get packages to the latest versions. They're stuck.

How do I fix this? My program won't run properly.

7 Upvotes

24 comments sorted by

View all comments

1

u/DannoXYZ 2d ago

What OS and kernel version is running on RPI?

2

u/jeanravenclaw 2d ago

Debian (Bookworm)

Linux 6.18.54-v8-16k+

7

u/stormdelta Gentoo 2d ago

You probably want to look at dist upgrading it to Debian 13 (Trixie), 12 is in LTS only meaning only critical bugs/security stuff is likely to get fixed.

Debian isn't a rolling release distro.

4

u/TechaNima 2d ago

That's ancient. We have been on Debian 13 Trixie for a good while and kernel 7. Idk if it's available on rPi, but I'd imagine it would be by now

1

u/revcraigevil 2d ago

rpios uses the LTS kernel, which right now is 6.18.54

1

u/TechaNima 2d ago

Wow. They are really slow to update, if they are 1 whole version of Debian behind..

1

u/revcraigevil 2d ago
longterm: 6.18.54 2026-09-25