[TESTING] Debian Stretch upgrade for OSMC

I’m trying to install Samba. What’s wrong with this one?

osmc@osmc:~$ sudo apt-get install smb-app-osmc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package smb-app-osmc 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 'smb-app-osmc' has no installation candidate

Any word on when this will become official?

Hi,

Have you tried installing samba from the app store in MyOsmc?

Thanks Tom.

It’s in stretch-devel.

So it did the second time? If not, could you post debug logs, please.

Thanks for testing.

seems to have worked the second time starting from scratch on a fresh install.

No stretch-devel here. I’ve reverted back to stretch after upgrade,.

osmc@osmc:~$ sudo apt-get update && sudo apt-get install smb-app-osmc
Ign:2 http://ftp.debian.org/debian stretch InRelease
Get:3 http://ftp.debian.org/debian stretch-updates InRelease [91.0 kB]
Hit:4 http://security.debian.org stretch/updates InRelease
Hit:1 http://ftp.fau.de/osmc/osmc/apt stretch InRelease
Hit:5 http://ftp.debian.org/debian stretch Release
Fetched 91.0 kB in 2s (39.7 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Package smb-app-osmc 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

The stretch repository is not finished at this moment. So you need to stay on stretch-devel to install the package.

Thanx, it helped! Removed -devel branch after samba installation just in case.

You will not be able to get any upgrades/fixes from the stretch repo until it is officially released. Probably safer to stay on stretch-devel and turn off automatic upgrades so you can test any changes to the active repo (or not).

Hi
after upgrading I have a problem with VNC

sudo systemctl start dispmanx_vncserver.service

can not start it?

Do no know how to find root cause
Service status -l does not show much so.

dmesg -T | grep vnc does not show anything?

where to look?

Thanks T

osmc@DEVosmc96RPI2:/var/log$ sudo systemctl status -l dispmanx_vncserver.service
● dispmanx_vncserver.service - VNC Server
Loaded: loaded (/etc/systemd/system/dispmanx_vncserver.service; enabled; vendor preset: enabled)
Active: activating (auto-restart) (Result: exit-code) since Fri 2017-12-15 16:21:42 CET; 7s ago
Process: 17161 ExecStart=/usr/bin/dispmanx_vncserver (code=exited, status=127)
Process: 17158 ExecStartPre=/sbin/modprobe evdev (code=exited, status=0/SUCCESS)
Main PID: 17161 (code=exited, status=127)
CGroup: /system.slice/dispmanx_vncserver.service

Dez 15 16:21:42 DEVosmc96RPI2 systemd[1]: dispmanx_vncserver.service: Failed with result ‘exit-code’.

You would need to recompile VNC following the original instructions as the shared libraries have changed

Hi , thanks for the fast response . ok will check

it worked. perfect.

just having another issue.
want to upgrade kodi leia from version: 17.8-120
but have this message:

Reinstallation of rbp2-mediacenter-osmc is not possible, it cannot be downloaded.

any hint here available?

strangewise it is running now again after update and upgrade…

so solved!!

Upgraded RPI2 and RPI3 without any hiccups.

1 Like

vsftpd

I’m stumbling over the file /etc/ftpusers. So, there was some idea of a concept to allow only specific users ftp access in the past … but with the current /etc/vsftpd.conf all users can have ftp access and transfer their passwords in clear text via network by that.

Suggestion:
By OSMC-default restrict ftp access only to user osmc and disallow all others.

So append

userlist_deny=NO
userlist_enable=YES
userlist_file=/etc/vsftpd/user_list

to /etc/vsftpd.conf and create a new file /etc/vsftpd/user_list with content

# /etc/vsftpd/user_list: list of users allowed FTP access. See also /etc/vsftpd.conf
osmc

For future updates after Debian Sketch introduction don’t touch /etc/vsftpd/user_list, so a customized allowed ftp user list will survive.

Not sure whether this is related to Debian Stretch upgrade!

Issue: When playing music the screensaver does not work here.
Using OSMC skin, set screensaver to 1 minute and disabled flag “Use vizualization if playing audio”.

Logs set playing “Rinding with the King”, waited for 3 minutes but not sure whether the screen saver works at all when debug logging is active:
https://paste.osmc.tv/onekoveyup

Addition:
Found that the setting

Settings -> Player -> Videos -> Adjust Display Refresh Rate = Always

is causing the maloperation of the screensaver when playing music. Setting this to “On Start/Stop” solved it here. :open_mouth:
Sorry for the bandwidth.

After first update i lost the hdmi cec control.
After second update there is only the sad face in a loop.

  1. How do you define first and second update?
  2. Upload Logs with grab-logs -A
  3. You might want to try with a fresh Kodi folder mv .kodi .kodi_backup

add jessie-devel to sources → 1. update
removed stretch-devel from sources → 2. update
https://paste.osmc.tv/vodijiwawa

Until the final version is released you can not update without stretch-devel so if your update wasn’t finished you need to add stretch-devel and update to ensure all file are up to date.