this post was submitted on 30 Apr 2024
6 points (75.0% liked)

Selfhosted

40379 readers
525 users here now

A place to share alternatives to popular online services that can be self-hosted without giving up privacy or locking you into a service you don't control.

Rules:

  1. Be civil: we're here to support and learn from one another. Insults won't be tolerated. Flame wars are frowned upon.

  2. No spam posting.

  3. Posts have to be centered around self-hosting. There are other communities for discussing hardware or home computing. If it's not obvious why your post topic revolves around selfhosting, please include details to make it clear.

  4. Don't duplicate the full text of your blog or github here. Just post the link for folks to click.

  5. Submission headline should match the article title (don’t cherry-pick information from the title to fit your agenda).

  6. No trolling.

Resources:

Any issues on the community? Report it using the report flag.

Questions? DM the mods!

founded 1 year ago
MODERATORS
 

So, I've had a Raspberry Pi 4 sitting brand new in a box for a few years, and decided to install BirdNetPi on it yesterday.

It's working like a champ, but because BirdNetPi needed a legacy version of Raspian, it's got old software on it.

Is there any way to update the software (i.e. RealVNC) without updating the OS? There is no built-in software updater, and I seem to very easily break Linux every time I make an attempt to use it. LOL

top 9 comments
sorted by: hot top controversial new old
[–] Deckweiss 9 points 6 months ago* (last edited 6 months ago) (1 children)

I don't know why your software or OS can not be updated.

According to the official instructions (https://github.com/mcguirepr89/BirdNET-Pi/wiki/Installation-Guide) is should just be a normal raspbian. Nothing on there says it needs a legacy version, but I may be overlooking something.

If you installed it some other way or did it long ago then maybe do the setup over again from scratch with the newest raspbian version? (Don't forget to backup any data you'd want to keep)

[–] [email protected] 5 points 6 months ago (2 children)

Nothing on there says it needs a legacy version, but I may be overlooking something.

It took several attempts (with failures) to get it installed on the latest Raspian version, then after some digging I saw that the requirements said to use "An SD Card with the 64-bit version of RaspiOS installed (please use Bullseye)".

With Bullseye installed, BirdNetPi works just fine, but it is old and comes with old software.

[–] Deckweiss 5 points 6 months ago* (last edited 6 months ago) (1 children)

Ah makes sense. Still there should be no issue with doing stuff the normal way.

apt update doesn't update your OS to a whole new version.

The command for an OS update is something like "do-release-upgrade" (but I forgot the exact name since I havent used debian for years)

[–] [email protected] 3 points 6 months ago

Only on Ubuntu based distros AFAIK but sudo do-release-upgrade is the correct command

[–] TechAdmin 2 points 6 months ago

Create a backup image from the working SD card. Write that backup image to a spare SD card and verify it works. Then try to do 'apt update' and see if anything breaks. If it breaks you got a spare SD card ready to go :)

[–] [email protected] 3 points 6 months ago (1 children)

Maybe sudo apt upgrade package-name

I hardly ever have to upgrade just one package. Otherwise, you'll need an updated .deb package and use dpkg

[–] [email protected] 1 points 6 months ago (1 children)

I'd rather update anything that's old, as long as it stays on the same OS version (Bullseye and not Bookworm).

With newer versions of Raspian or any version of Linux, there seems to be a software update GUI that makes this pretty easy, but I'm taking stabs in the dark with this legacy version.

[–] [email protected] 15 points 6 months ago (1 children)

As long as your apt sources (/etc/apt/sources.list) are set to bullseye (and not eg. stable) you won't "accidentally" upgrade to bookworm. At least that's how it works in Debian, I assume raspbian is the same.

[–] [email protected] 2 points 6 months ago

I appreciate that! Thanks.