[TESTING] Kodi 17 (Krypton) builds for Raspberry Pi (continued)

I’m not sure of the solution for now.

…I’m sure you will come up with one soon…:grin:

Yeah i had a quick look at this. I’ve found it works if you use the direct FTP link that the subdomain forwards to and use the old ./ way of referencing the directory but it doesn’t seem to work with the modified approach.

So previously the apt repo was:

deb Index of /osmc/osmc/download/dev/gmc ./

which seems to have changed to

deb Index of /osmc/osmc/download/dev /gmc

This 404s for some reason when trying to contact the repo but using:

deb Index of /osmc/osmc/download/dev/gmc ./

seems to work…

I don’t recommend changing your apt repo to match this at this time as i’m sure Sam has his reasons for the repo structure but i thought i’d share my findings as it may lead to a better permanent solution.

Cheers

Andy

That will work for apt-get update, but dist-upgrade or installing anything will unfortunately fail.

Last night I made some changes to GMC’s downloads so they are routed through the CDN, rather than our fallback mirror. Our fallback mirror was FAU.

As @andrewjhough points out, FAU will work. They seem to employ an .htaccess or Apache2 configuration that resolves close links. For example, Packages was being resolved to Packages.gz automatically, and the correct MIME type was being sent.

I’ve hacked around that for now:

  if (req.http.host ~ "download.osmc.tv") {
    if (req.url ~ "^/gmc")
    {
        set req.url = "/osmc/download" + req.url;
        set req.http.x-Redir-Url = "http://ftp.fau.de/osmc" + req.url;
        return (synth(750, req.http.x-Redir-Url));
    }
    set req.http.host = "edge.samnazarko.co.uk";
    set req.url = "/osmc/download" + req.url;
    return (pass); # Do not cache result
  }

This isn’t ideal. Neither is using Trivial Archives, which is what we’re doing now for this repository. The plan is to use our CDN for faster downloads, and this will be important for 3rd party repositories as we grow our App Store.

Try changing it back to what it was earlier today and in the past. I’ve updated gmc’s first post to refresh your memory.

Please let me know if this issue persists. I’ll work on getting this done the right way. If it’s still not solved, then I’m still unsure of a solution yet, nor why this remains an issue.

Sam

1 Like

Sorry Sam, it failed again:
Install these packages without verification? [y/N] y
Err Index of /osmc/osmc/download/dev gmc/ armv7-libdvdnav-osmc 5.0.4-1
404 Not Found
Err Index of /osmc/osmc/download/dev gmc/ armv7-libdvdread-osmc 6.0.0-1
404 Not Found
Err Index of /osmc/osmc/download/dev gmc/ armv7-libdvdcss-osmc 1.4.0-1
404 Not Found
Err Index of /osmc/osmc/download/dev gmc/ rbp2-mediacenter-osmc 16.8-054
404 Not Found
E: Failed to fetch http://download.osmc.tv/dev/./armv7-libdvdnav-osmc-5.0.4-1.deb 404 Not Found

E: Failed to fetch http://download.osmc.tv/dev/./armv7-libdvdread-osmc-6.0.0-1.deb 404 Not Found

E: Failed to fetch http://download.osmc.tv/dev/./armv7-libdvdcss-osmc-1.4.0-1.deb 404 Not Found

E: Failed to fetch http://download.osmc.tv/dev/./rbp2-mediacenter-osmc-12042016.deb 404 Not Found

E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
osmc@osmc:~$

…with this deb as in the first post: deb Index of /osmc/osmc/download/dev gmc/

Update: Used @andrewjhough’s solution and now the update/dist-upgrade went fine.

@cloggy @andrewjhough please use the code tag or http://paste.osmc.io/ cause it gets hard to read when you just dump the logs in the forum

Last night I installed this build on top of a fresh install of osmc. The first time around the Estuary skin did not have any labels, I edited the sources and changed the repository to the ftp site per @andrewjhough’s post, and then did a sudo apt-get --reinstall install rbp2-mediacenter-osmc which fixed Estuary. But then I had a new problem, I no longer had the My OSMC addon or the OSMC skin. Not sure what to do at this point, I nuked and paved. I haven’t reinstalled the Krypton build yet, but I intend to once the repository gets sorted. Just to be sure, the My OSMC addon should have been there right, its not incompatible with these builds?

Working again if you change the repository back to

deb Index of /osmc/osmc/download/dev/gmc ./

1 Like

16.8-054, 11 April 2016: Based off OSMC commit (d388397) and newclock5 (bdb5c9)

Highlights

  • DVD playback has now been enabled. libdvdnav, libdvdread and libdvdcss should now be automatically installed.

newclock5

New commits in this build:

Revert “VideoPlayer: fix mem leak in subtitle processing” (8b24590e)
VideoPlayer: make videoRefClock an object of DVDClock’ (3695e8a7)
OMXPlayer: use SystemClock instead of DVDClock for a simple timer (ccaaa4d4)
fixup! VideoPlayer: move setting videoDelay from player to renderer (bdb5c941)

Commits no longer in build:

squash: fix build after WaitPresentTime (f33fcfc7)
squash skip (076fb357)

I’m still getting errors:

Get:1 http://security.debian.org jessie/updates InRelease [63.1 kB]
Ign http://ftp.debian.org jessie InRelease                                                                                    
Get:2 http://ftp.debian.org jessie-updates InRelease [142 kB]                   
Get:3 http://security.debian.org jessie/updates/main armhf Packages [222 kB]             
Ign http://download.osmc.tv ./ InRelease                                                                       
Get:4 http://security.debian.org jessie/updates/contrib armhf Packages [1,138 B]                                            
Hit http://apt.osmc.tv jessie InRelease                                                                                                               
Get:5 http://security.debian.org jessie/updates/non-free armhf Packages [14 B]                                         
Hit http://ftp.debian.org jessie Release.gpg                                                                                 
Get:6 http://security.debian.org jessie/updates/contrib Translation-en [1,211 B]                                      
Ign http://download.osmc.tv ./ Release.gpg                                                                                              
Get:7 http://security.debian.org jessie/updates/main Translation-en [127 kB]                 
Get:8 http://ftp.debian.org jessie-updates/main armhf Packages/DiffIndex [1,996 B]                                               
Get:9 http://security.debian.org jessie/updates/non-free Translation-en [14 B]                                                 
Get:10 http://ftp.debian.org jessie-updates/contrib armhf Packages [32 B]                                                      
Ign http://download.osmc.tv ./ Release                                                                    
Get:11 http://ftp.debian.org jessie-updates/non-free armhf Packages/DiffIndex [736 B]                                                         
Get:12 http://apt.osmc.tv jessie/main armhf Packages/DiffIndex [2,023 B]                                    
Get:13 http://ftp.debian.org jessie-updates/contrib Translation-en [14 B]
Get:14 http://ftp.debian.org jessie-updates/main Translation-en/DiffIndex [1,228 B]                 
Get:15 http://ftp.debian.org jessie-updates/non-free Translation-en/DiffIndex [736 B]                          
Err http://download.osmc.tv ./ Packages                               
  
Hit http://ftp.debian.org jessie Release        
Hit http://ftp.debian.org jessie/main armhf Packages                  
Hit http://ftp.debian.org jessie/contrib armhf Packages                              
Err http://download.osmc.tv ./ Packages                                              
  
Hit http://ftp.debian.org jessie/non-free armhf Packages                             
Hit http://ftp.debian.org jessie/contrib Translation-en                              
Hit http://ftp.debian.org jessie/main Translation-en           
Hit http://ftp.debian.org jessie/non-free Translation-en       
Err http://download.osmc.tv ./ Packages                        
  
Get:16 http://download.osmc.tv ./ Packages [10.5 kB]
Ign http://apt.osmc.tv jessie/main Translation-en_US                
Ign http://apt.osmc.tv jessie/main Translation-en
Ign http://download.osmc.tv ./ Translation-en_US                                                                                                      
Ign http://download.osmc.tv ./ Translation-en                                                                                                         
Fetched 575 kB in 15s (36.6 kB/s)                                                                                                                     
Reading package lists... Done

I’ve always had this error since the beginning but the files still download and install.

Err http://download.osmc.tv ./ Packages

Are the packages installing?

Hi, can confirm that despite the error, the packages download and install fine.

You need to perform a full dist-upgrade before installing the new build. A number of vulnerabilities were found in Samba. You can read more at OSMC Security Update for OSMC 2016.04-1 and earlier - OSMC.

Sam

It should remain.

There may be other dependencies that first need to be satisfied before installing a new test build in the future, and this post may help another user one day.

16.8-055, 13 April 2016: Based off OSMC commit (d388397) and newclock5 (047b6f)

Highlights

  • DVD playback has now been enabled. libdvdnav, libdvdread and libdvdcss should now be automatically installed.

newclock5

New commits in this build:
Revert “NFSFile: Chank ChunkSize to 1MB” (28b3c446)
Revert “[epg] avoid PVR thread to persist epg tables directly” (ae73ee68)
[pvr] skip persisting EGP on CreateChannelEpgs (047b6f10)

Commits no longer in build:

[rbp] Make sync playback to display the default option (cc36b20f)
stereoscopicmanager: Don’t treat mono as stereoscopic (81d3ca41)
Revert “[rbp] Make sync playback to display the default option” (566771a5)
[rbp] Refactor the vsync handle to support multiple callers (9acd9151)
[mmalrenderer] Wait for vsync before submitting to mmal when display sync is disabled (c89ce296)
MMALRenderer: Block in RenderUpdate to avoid high CPU with WaitPresentTime commits (5751bb73)
MMAL: Increase GetAllowedReferences to allow larger queue in RenderManager (fbab8942)

16.8-056, 14 April 2016: Based off OSMC commit (d388397) and newclock5 (b1b1657)

Highlights

  • DVD playback has now been enabled. libdvdnav, libdvdread and libdvdcss will now be automatically installed.

newclock5

New commits in this build:

VideoPlayer: some cleanup to interfaces (b1b16571)

Last night I went ahead and installed. Yes the packages did install, but I had two weird issues:

  1. After the install no fonts were rendering, ie no labels or words anywhere in the UI. After I reboot the Pi3 the fonts rendered.

  2. After the packages were installed there was no My OSMC addon. This is twice now I’ve tried to upgrade to the Krypton Nightlies and lost the My OSMC addon…

Ultimately I restored from a backup image and went back to the Jarvis stable version. Its a shame because I think Estuary is so good.

urgh how is this useful to finding out what actually took place in your machine when you describe what happened without logs …

totally useless

Yes, I realized I should have grabbed the logs after I had restored the backup. I will try again tonight and get the logs.

edit:

I reinstalled the Krypton build with the same results as above, ie, no My OSMC addon, no OSMC skin, and no fonts on first boot.

logs: http://paste.osmc.io/elomoculiz

For the MyOSMC addon did you check under Add-ons → Programs?
The current MyOSMC skin is not compatible with v17. If you want to do full testing then you would need to remove the old skin manually and install the new one from GitHub - fastcolors/skin.osmc