[TESTING] Debian 11 Bullseye

No problem, would just want the right solution for my situation :wink:

Just checking thread and I noticed I have updated my vero 4k from UI, checking my sources list I see :

deb Index of /debian bullseye main contrib non-free

deb Index of /debian bullseye-updates main contrib non-free

deb http://security.debian.org/ bullseye-security main contrib non-free

deb http://apt.osmc.tv bullseye main

deb https://apt.osmc.tv bullseye-devel main

But I see user above with last line from sources.list under a different folder , is this ok ?

Thankyou @grahamh that is exactly the same as mine.

This would imply you enabled the development repository manually some time ago, before we moved it to a separate list in our suggested responses. There’s no problem with this. But we’ve changed how we suggest enabling the staging repository so that we have a clean way of removing it after 14 days (unless the user opts out of this) so they don’t inadvertently keep getting testing updates when they may have only wanted to test a small fix at the time.

I’d suggest you remove the bullseye-devel line. We’ll keep pushing to the bullseye repository until we hit a stable, final release, and we’ll only push stable updates

Cheers

Sam

1 Like

What should I do? I have never changed anything regarding sshd in the config, so would love to know why it is tripping over something.

Hi, today I decided to try the test version. I followed the instruction but instead of doing that by GUI I typed sudo dist-upgrade && sudo reboot. After the reboot I have a sad face boot loop. I am not able to login locally as after typing password it resets terminal. SSH is up but it denies my password, it might be because of the loop. What I was able to do is to get to the recovery console by holding shift and grab logs.

https://paste.osmc.tv/ibipeqezis.xml

I hope the system can still be saved :slight_smile:

If you have a console, try doing it again (properly).

sudo apt-get update
sudo apt-get dist-upgrade

It should re-boot automatically when it needs to.

I hope @sam_nazarko or someone else who knows more about apt than I do can help you.

1 Like

Unfortunately, I cannot do that as the recovery console doesn’t have networking enabled.

I suggest a new install on a new card and copy across the .kodi directory from your old one.

It looks like you changed the default shell to zsh.
This likely caused some issues when upgrading

Sam

Your issue is interesting:

Log started: 2022-05-18  16:52:08
Removing ssh-app-osmc (1.2.5) ...
Removing 'diversion of /etc/ssh/sshd_config to /etc/ssh/sshd_config.distributed by ssh-app-osmc'
dpkg-divert: error: rename involves overwriting '/etc/ssh/sshd_config' with
  different file '/etc/ssh/sshd_config.distributed', not allowed
dpkg: error processing package ssh-app-osmc (--remove):
 installed ssh-app-osmc package post-removal script subprocess returned error exit status 2
dpkg: too many errors, stopping
Errors were encountered while processing:
 ssh-app-osmc
Processing was halted because there were too many errors.
Log ended: 2022-05-18  16:52:09

@DBMandrake knows more about conffiles than me.

Did you definitely update via My OSMC and not the command line?
It should be trivial for us to fix this and won’t require a reinstall, but, I want to know more about how you got in this situation.

Sam

I changed the entry like you mentioned in post #1 and checked for updates right after within My OSMC, that’s how I always do it, I just tried command-line dist-upgrade after that to see what is still available and if that would work after.

tried the update from the command line, here’s what I get

osmc@osmc:~$ sudo apt-get update
Err:1 http://apt.oscmc.tv buster-devel InRelease
  Something wicked happened resolving 'apt.oscmc.tv:http' (-5 - No address associated with hostname)
Hit:2 http://security.debian.org buster/updates InRelease
Hit:3 http://ftp.debian.org/debian buster InRelease
Hit:4 http://ftp.debian.org/debian buster-updates InRelease
Hit:5 http://ftp.fau.de/osmc/osmc/apt buster InRelease
Reading package lists... Done
W: Failed to fetch http://apt.oscmc.tv/dists/buster-devel/InRelease  Something wicked happened resolving 'apt.oscmc.tv:http' (-5 -                             No address associated with hostname)
W: Some index files failed to download. They have been ignored, or old ones used instead.

You have a typo in sources list file - should be apt.osmc.tv, not apt.oscmc.tv.

doh! :slight_smile:

breaks Netflix? Message about “crypto” being missing, guess I can dig out the instructions again, but if it’s likely to fail I can hang on.

Not to my knowledge.

just tried this from the Netflix thread as the add-on seems broken.

osmc@osmc:~$ sudo apt-get install python3-crypto python3-pip python3-pycryptodome
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Package python3-crypto is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source

E: Package 'python3-crypto' has no installation candidate

It’s probably python3-cryptography instead.