When attempting to update packages through ssh, I get "E: Repository 'Index of /raspbian buster InRelease' changed its 'Suite' value from 'stable' to 'oldstable'" which makes sense since Bullseye replaced Buster. Is it a bad idea to update to Bullseye? This is a fresh Octopi install, my old had had the SD card fail, so any issues wouldn't cost me my configuration since it's already gone.
I'm running OctoPrint 1.6.1 and OctoPi 0.18.0 on a RPi 4.
It will break OctoPrint's install since the Python version changed. If you know what you are doing & can re-create the virtualenv then it is fixable, otherwise don't bother.
You can accept the change of repository with sudo apt update --allow-releaseinfo-change
(I think I typed that right!)
I would recommend staying with buster for the time being. I had the same thought when I saw the suite change, but after trying some things out after upgrading to bullseye it would appear that some packages are in flux and things may not be stable yet.
Notably, the package that installs the development files for the HW OMX encoding has changed the location where it installs and even seems to be missing files. This may not impact you, but if you are using the HLS webcam streamer instead of mjpg-streamer, it probably will. See my issue on uStreamer for details:
opened 02:24PM - 11 Sep 21 UTC
It would appear that `libraspberrypi-dev` has changed recently, at least in bull⦠seye.
Attempting to build with `make WITH_OMX=1` ends with the error:
```
In file included from ustreamer/encoder.h:45,
from ustreamer/encoder.c:23:
ustreamer/encoders/omx/encoder.h:33:10: fatal error: IL/OMX_Core.h: No such file or directory
33 | #include <IL/OMX_Core.h>
| ^~~~~~~~~~~~~~~
compilation terminated.
```
`libraspberrypi-dev` is indeed installed:
```terminal
taylor@printerpi:~/ustreamer $ apt search libraspberrypi-dev
Sorting... Done
Full Text Search... Done
libraspberrypi-dev/unstable,now 1:2+git20210719~113532+97bc818-3 armhf [installed]
EGL/GLES/OpenVG/etc. libraries for the Raspberry Pi's VideoCore IV (headers)
```
but it doesn't put the files in `/opt/vc` anymore and the OMX headers appear to be completely gone:
```terminal
taylor@printerpi:~/ustreamer $ dpkg-query -L libraspberrypi-dev
/.
/usr
/usr/include
/usr/include/bcm_host.h
/usr/include/interface
/usr/include/interface/debug_sym
/usr/include/interface/debug_sym/debug_sym.h
/usr/include/interface/mmal
/usr/include/interface/mmal/core
/usr/include/interface/mmal/core/mmal_buffer_private.h
/usr/include/interface/mmal/core/mmal_clock_private.h
/usr/include/interface/mmal/core/mmal_component_private.h
/usr/include/interface/mmal/core/mmal_core_private.h
/usr/include/interface/mmal/core/mmal_events_private.h
/usr/include/interface/mmal/core/mmal_port_private.h
/usr/include/interface/mmal/mmal.h
/usr/include/interface/mmal/mmal_buffer.h
/usr/include/interface/mmal/mmal_clock.h
/usr/include/interface/mmal/mmal_common.h
/usr/include/interface/mmal/mmal_component.h
/usr/include/interface/mmal/mmal_encodings.h
/usr/include/interface/mmal/mmal_events.h
/usr/include/interface/mmal/mmal_format.h
/usr/include/interface/mmal/mmal_logging.h
/usr/include/interface/mmal/mmal_parameters.h
/usr/include/interface/mmal/mmal_parameters_audio.h
/usr/include/interface/mmal/mmal_parameters_camera.h
/usr/include/interface/mmal/mmal_parameters_clock.h
/usr/include/interface/mmal/mmal_parameters_common.h
/usr/include/interface/mmal/mmal_parameters_video.h
/usr/include/interface/mmal/mmal_pool.h
/usr/include/interface/mmal/mmal_port.h
/usr/include/interface/mmal/mmal_queue.h
/usr/include/interface/mmal/mmal_types.h
/usr/include/interface/mmal/util
/usr/include/interface/mmal/util/mmal_component_wrapper.h
/usr/include/interface/mmal/util/mmal_connection.h
/usr/include/interface/mmal/util/mmal_default_components.h
/usr/include/interface/mmal/util/mmal_graph.h
/usr/include/interface/mmal/util/mmal_il.h
/usr/include/interface/mmal/util/mmal_list.h
/usr/include/interface/mmal/util/mmal_param_convert.h
/usr/include/interface/mmal/util/mmal_util.h
/usr/include/interface/mmal/util/mmal_util_params.h
/usr/include/interface/mmal/util/mmal_util_rational.h
/usr/include/interface/mmal/vc
/usr/include/interface/mmal/vc/mmal_vc_api.h
/usr/include/interface/mmal/vc/mmal_vc_api_drm.h
/usr/include/interface/mmal/vc/mmal_vc_client_priv.h
/usr/include/interface/mmal/vc/mmal_vc_msgnames.h
/usr/include/interface/mmal/vc/mmal_vc_msgs.h
/usr/include/interface/mmal/vc/mmal_vc_opaque_alloc.h
/usr/include/interface/mmal/vc/mmal_vc_shm.h
/usr/include/interface/peer
/usr/include/interface/peer/vc_vchi_dispmanx_common.h
/usr/include/interface/vchi
/usr/include/interface/vchi/common
/usr/include/interface/vchi/common/endian.h
/usr/include/interface/vchi/connections
/usr/include/interface/vchi/connections/connection.h
/usr/include/interface/vchi/message_drivers
/usr/include/interface/vchi/message_drivers/message.h
/usr/include/interface/vchi/vchi.h
/usr/include/interface/vchi/vchi_cfg.h
/usr/include/interface/vchi/vchi_cfg_internal.h
/usr/include/interface/vchi/vchi_common.h
/usr/include/interface/vchi/vchi_mh.h
/usr/include/interface/vchiq_arm
/usr/include/interface/vchiq_arm/vchiq.h
/usr/include/interface/vchiq_arm/vchiq_cfg.h
/usr/include/interface/vchiq_arm/vchiq_if.h
/usr/include/interface/vchiq_arm/vchiq_ioctl.h
/usr/include/interface/vchiq_arm/vchiq_test.h
/usr/include/interface/vchiq_arm/vchiq_test_if.h
/usr/include/interface/vchiq_arm/vchiq_util.h
/usr/include/interface/vcos
/usr/include/interface/vcos/generic
/usr/include/interface/vcos/generic/vcos_common.h
/usr/include/interface/vcos/generic/vcos_deprecated.h
/usr/include/interface/vcos/generic/vcos_generic_blockpool.h
/usr/include/interface/vcos/generic/vcos_generic_event_flags.h
/usr/include/interface/vcos/generic/vcos_generic_named_sem.h
/usr/include/interface/vcos/generic/vcos_generic_quickslow_mutex.h
/usr/include/interface/vcos/generic/vcos_generic_reentrant_mtx.h
/usr/include/interface/vcos/generic/vcos_generic_tls.h
/usr/include/interface/vcos/generic/vcos_joinable_thread_from_plain.h
/usr/include/interface/vcos/generic/vcos_latch_from_sem.h
/usr/include/interface/vcos/generic/vcos_mem_from_malloc.h
/usr/include/interface/vcos/generic/vcos_mutexes_are_reentrant.h
/usr/include/interface/vcos/generic/vcos_thread_reaper.h
/usr/include/interface/vcos/glibc
/usr/include/interface/vcos/pthreads
/usr/include/interface/vcos/pthreads/vcos_futex_mutex.h
/usr/include/interface/vcos/pthreads/vcos_platform.h
/usr/include/interface/vcos/pthreads/vcos_platform_types.h
/usr/include/interface/vcos/user_nodefs.h
/usr/include/interface/vcos/vcos.h
/usr/include/interface/vcos/vcos_assert.h
/usr/include/interface/vcos/vcos_atomic_flags.h
/usr/include/interface/vcos/vcos_attr.h
/usr/include/interface/vcos/vcos_blockpool.h
/usr/include/interface/vcos/vcos_build_info.h
/usr/include/interface/vcos/vcos_cfg.h
/usr/include/interface/vcos/vcos_cmd.h
/usr/include/interface/vcos/vcos_ctype.h
/usr/include/interface/vcos/vcos_dlfcn.h
/usr/include/interface/vcos/vcos_event.h
/usr/include/interface/vcos/vcos_event_flags.h
/usr/include/interface/vcos/vcos_init.h
/usr/include/interface/vcos/vcos_inttypes.h
/usr/include/interface/vcos/vcos_isr.h
/usr/include/interface/vcos/vcos_legacy_isr.h
/usr/include/interface/vcos/vcos_logging.h
/usr/include/interface/vcos/vcos_logging_control.h
/usr/include/interface/vcos/vcos_lowlevel_thread.h
/usr/include/interface/vcos/vcos_mem.h
/usr/include/interface/vcos/vcos_mempool.h
/usr/include/interface/vcos/vcos_msgqueue.h
/usr/include/interface/vcos/vcos_mutex.h
/usr/include/interface/vcos/vcos_named_semaphore.h
/usr/include/interface/vcos/vcos_once.h
/usr/include/interface/vcos/vcos_queue.h
/usr/include/interface/vcos/vcos_quickslow_mutex.h
/usr/include/interface/vcos/vcos_reentrant_mutex.h
/usr/include/interface/vcos/vcos_semaphore.h
/usr/include/interface/vcos/vcos_stdbool.h
/usr/include/interface/vcos/vcos_stdint.h
/usr/include/interface/vcos/vcos_string.h
/usr/include/interface/vcos/vcos_thread.h
/usr/include/interface/vcos/vcos_thread_attr.h
/usr/include/interface/vcos/vcos_timer.h
/usr/include/interface/vcos/vcos_tls.h
/usr/include/interface/vcos/vcos_types.h
/usr/include/interface/vcsm
/usr/include/interface/vcsm/user-vcsm.h
/usr/include/interface/vctypes
/usr/include/interface/vctypes/vc_display_types.h
/usr/include/interface/vctypes/vc_image_structs.h
/usr/include/interface/vctypes/vc_image_types.h
/usr/include/interface/vmcs_host
/usr/include/interface/vmcs_host/khronos
/usr/include/interface/vmcs_host/linux
/usr/include/interface/vmcs_host/linux/vchost_config.h
/usr/include/interface/vmcs_host/vc_cec.h
/usr/include/interface/vmcs_host/vc_cecservice.h
/usr/include/interface/vmcs_host/vc_cecservice_defs.h
/usr/include/interface/vmcs_host/vc_cma.h
/usr/include/interface/vmcs_host/vc_dispmanx.h
/usr/include/interface/vmcs_host/vc_dispmanx_types.h
/usr/include/interface/vmcs_host/vc_dispservice_defs.h
/usr/include/interface/vmcs_host/vc_dispservice_x_defs.h
/usr/include/interface/vmcs_host/vc_gencmd_defs.h
/usr/include/interface/vmcs_host/vc_hdmi.h
/usr/include/interface/vmcs_host/vc_hdmi_property.h
/usr/include/interface/vmcs_host/vc_ilcs_defs.h
/usr/include/interface/vmcs_host/vc_imageconv_defs.h
/usr/include/interface/vmcs_host/vc_sdtv.h
/usr/include/interface/vmcs_host/vc_service_common.h
/usr/include/interface/vmcs_host/vc_tvservice.h
/usr/include/interface/vmcs_host/vc_tvservice_defs.h
/usr/include/interface/vmcs_host/vc_vchi_audioserv_defs.h
/usr/include/interface/vmcs_host/vc_vchi_bufman.h
/usr/include/interface/vmcs_host/vc_vchi_bufman_defs.h
/usr/include/interface/vmcs_host/vc_vchi_dispmanx.h
/usr/include/interface/vmcs_host/vc_vchi_gencmd.h
/usr/include/interface/vmcs_host/vc_vchi_gpuserv.h
/usr/include/interface/vmcs_host/vcgencmd.h
/usr/include/interface/vmcs_host/vchost.h
/usr/include/interface/vmcs_host/vchost_platform_config.h
/usr/include/interface/vmcs_host/vcilcs.h
/usr/include/interface/vmcs_host/vcilcs_common.h
/usr/include/vcinclude
/usr/include/vcinclude/common.h
/usr/include/vcinclude/vc_image_types.h
/usr/include/vcinclude/vcore.h
/usr/lib
/usr/lib/arm-linux-gnueabihf
/usr/lib/arm-linux-gnueabihf/libdebug_sym_static.a
/usr/lib/arm-linux-gnueabihf/libvchostif.a
/usr/lib/arm-linux-gnueabihf/pkgconfig
/usr/lib/arm-linux-gnueabihf/pkgconfig/bcm_host.pc
/usr/lib/arm-linux-gnueabihf/pkgconfig/mmal.pc
/usr/lib/arm-linux-gnueabihf/pkgconfig/vcsm.pc
/usr/share
/usr/share/doc
/usr/share/doc/libraspberrypi-dev
/usr/share/doc/libraspberrypi-dev/changelog.Debian.gz
/usr/lib/arm-linux-gnueabihf/libbcm_host.so
/usr/lib/arm-linux-gnueabihf/libcontainers.so
/usr/lib/arm-linux-gnueabihf/libdebug_sym.so
/usr/lib/arm-linux-gnueabihf/libdtovl.so
/usr/lib/arm-linux-gnueabihf/libmmal.so
/usr/lib/arm-linux-gnueabihf/libmmal_components.so
/usr/lib/arm-linux-gnueabihf/libmmal_core.so
/usr/lib/arm-linux-gnueabihf/libmmal_util.so
/usr/lib/arm-linux-gnueabihf/libmmal_vc_client.so
/usr/lib/arm-linux-gnueabihf/libvchiq_arm.so
/usr/lib/arm-linux-gnueabihf/libvcos.so
/usr/lib/arm-linux-gnueabihf/libvcsm.so
```
This is on a raspberry pi 4, running Raspberry Pi OS bullseye (32bit).
The libraspberrypi-dev package:
```terminal
taylor@printerpi:~/ustreamer $ apt show libraspberrypi-dev
Package: libraspberrypi-dev
Version: 1:2+git20210719~113532+97bc818-3
Priority: optional
Section: libdevel
Source: raspberrypi-userland
Maintainer: Serge Schneider <serge@raspberrypi.org>
Installed-Size: 1,223 kB
Depends: libraspberrypi0 (= 1:2+git20210719~113532+97bc818-3)
Homepage: https://github.com/raspberrypi/userland
Download-Size: 180 kB
APT-Manual-Installed: yes
APT-Sources: http://archive.raspberrypi.org/debian bullseye/main armhf Packages
Description: EGL/GLES/OpenVG/etc. libraries for the Raspberry Pi's VideoCore IV (headers)
This package contains headers and other development files for implementations
of EGL, OpenGL ES, OpenVG, OpenWF Composition, and others for the Raspberry
Pi's VideoCore IV multimedia processor.
```
There also seemed to be some weirdness with wifi being disabled upon bootup, but I'm not sure if that was due to upgrading or something else I had going on.
I imagine that when things are ready bullseye will be the default for new images...
1 Like
Also buster is still supported until 2022 and even got LTS until 2024.