raspberry pi
Fresh Raspberry Pi 400, but package-manager ‘dead’
It’s never early enough to inspire, so my firstborn got two days ago her first own computer. I don’t want that she grows comfortable with touching a smartphone, but not knowing what happens in the “back”, so she got a Raspberry Pi 400.
I did not expect that the red-white color-combination of the keyboard-like module with it’s raspberry-button will spark so much joy!
The first evening we unwrapped everything and she put all cables in and we booted it right from the preconfigured sd-card. Nice, very comfortable.
Problem:
Then I wanted to run ‘apt-get’ to fix the updates and maybe install a paint-like program ..
Error
Repository ‘http://deb.debian.org/debian buster-updates InRelease’ changed its ‘Suite’ value from ‘stable-updates’ to ‘oldstable-updates’
So neither apt-get update or any of the first tips I checked, worked. Until I found this:
sudo apt-get update --allow-releaseinfo-change
Problem solved, but – would a newcomer or young person be able to fix this?
I doubt it. This isn’t really user-friendly ..
edit:
Anyway: Since update of the distribution from ‘buster’ to ‘bullseye’ by editing two package lists did not really go well, I’ve deployed a ‘real’ bullseye-image onto the sd-card and we fixed the rest of the configuration in minutes 🙂
external backups pt. II
The worst archivist?
Of course, I know him.
It’s me.
So, some month ago I was writing about how to create and maintain some external backup [link] from data stored on the NAS.
I’ve also put some fancy commands, but when I wanted to do the scheduled refresh of the backup, I noticed, that my ‘documentation’ is without any value.
And this is due to continued iterations of the setup and the used commands, but not updating the documentation.
- Setup
* activate the rsync-access on the DS213 via UI (else ‘permission denied’ is reported even when you can SSH in and check the rsync-version and then wonder what fails ..)
* plug the external HDD to the Raspberry Pi 3B

* run via VNC-remote-login in a bash on the RPi
rsync -avrh admin@ds213:/volume1/Photoshare_privat/ /media/pi/1.42.6-25556/Photoshare_privat/ && rsync -avrh admin@ds213:/volume1/homes/Marcel/ /media/pi/1.42.6-25556/homes/Marcel/ && rsync -avrh admin@ds213:/volume1/homes/ruzica/ /media/pi/1.42.6-25556/homes/ruzica/ && rsync -avrh admin@ds213:/volume1/homes/admin/ /media/pi/1.42.6-25556/homes/admin/ && rsync -avrh admin@ds213:/volume1/Camera/ /media/pi/1.42.6-25556/Camera/ && rsync -avrh admin@ds213:/volume1/photo/ /media/pi/1.42.6-25556/photo/ && rsync -avrh admin@ds213:/volume1/Musik/ /media/pi/1.42.6-25556/Musik/
to copy all relevant partitions
keep the catcam up to date
Fatal error: Uncaught Error: Call to a member function id() on array in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php:36 Stack trace: #0 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(538): CrayonFormatter::format_code('', Array, Object(CrayonHighlighter)) #1 [internal function]: CrayonFormatter::delim_to_internal(Array) #2 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php(516): preg_replace_callback('#()#msi', 'CrayonFormatter...', '#!/usr/bin/env ...') #3 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(166): CrayonFormatter::format_mixed_code('#!/usr/bin/env ...', Object(CrayonLang), Object(CrayonHighlighter)) #4 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_highlighter.class.php(186): CrayonHighlighter->process() #5 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_wp.class.php(703): CrayonHighlighter->output(true, false) #6 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/class-wp-hook.php(286): CrayonWP::the_content('<p>Logging in t...') #7 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/plugin.php(203): WP_Hook->apply_filters('<p>Logging in t...', Array) #8 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/post-template.php(240): apply_filters('the_content', 'Logging in to t...') #9 /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/themes/clean-black/loop.php(7): the_content('Read more...') #10 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/template.php(751): require('/users/marcelpe...') #11 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/template.php(708): load_template('/users/marcelpe...', false) #12 /users/marcelpetrick/www/wp_solutionsnotcode/wp-includes/general-template.php(155): locate_template in /users/marcelpetrick/www/wp_solutionsnotcode/wp-content/plugins/crayon-syntax-highlighter/crayon_formatter.class.php on line 36