mikeB2210 26 Posted January 26, 2017 Share Posted January 26, 2017 Hi, since yesterday OMV 3 NAS offered offered me an update to emby server 3.1.283~beta13.1 Anybody knows what going on? Link to comment Share on other sites More sharing options...
Luke 36887 Posted January 26, 2017 Share Posted January 26, 2017 Hi, where are you seeing this? Link to comment Share on other sites More sharing options...
thatoneguy99 33 Posted January 26, 2017 Share Posted January 26, 2017 Same for me using apt-update in Ubuntu 16.04 Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
thatoneguy99 33 Posted January 26, 2017 Share Posted January 26, 2017 Hopefully the text isn't too small for you to see/read. This is a list of my apt sources. Sent from my iPhone using Tapatalk Link to comment Share on other sites More sharing options...
Bbqninja 1 Posted January 27, 2017 Share Posted January 27, 2017 Hey guys, to add details, you have uploaded an incorrect ubuntu package (possibly for other linux versions as well). This version is a beta, AND is versioned "3.1.283". IF you look here you will see the packages: http://download.opensuse.org/repositories/home:/emby/xUbuntu_16.10/ I don't know how it got there, but given the tilde in the name I'm guessing a build-bot messed up a regex? This will cause a huge and ongoing issue for people who install this package. ANYONE who has done a debian update since the 24th will have this issue!!!!!!!!!!!!!!!! Due to versioning, anyone who installs this version will never update emby again until you publish version 3.1.284 or 3.2. I was able to fix the issue locally adding the following text to /etc/apt/preferences.d/emby_bad (the file didn't exist before, I created it): Package: emby-server Pin: version 3.1.283~beta-13.1 Pin-Priority: -1 This code tells apt to NEVER install that version. I then had to run the following to get it to swap back to 3.1.4: sudo apt install emby-server=3.1.4-14.1 The way I see it there are 3 ways to fix the issue from the "emby guys" end: Put a notice on the web interface about the issue, with a link to a page with the information I've posted (really relies on people knowing how to toy with linux, so not a super-hot idea) update the current version, either to 3.2.1 or 3.1.284. It will look silly, but that's the issue we have now. Do some package shenanigans as detailed below. I warn you these instructions will work, but really are shenanigans... publish emby 3.1.4-14.2 which is the same as 3.1.4-14.1 but with the emby_bad file I detailed above included pblish emby-server 3.1.284, with a dependency on emby-server-fix 1.1.1 (an EXACT version match, not a normal >= 1.1.1 ) publish emby-server-fix 1.1.1 which creates emby_bad AND outputs some text with instructions on how to force the apt to downgrade emby-server (eg the command above). publish emby-server-fix 1.1.2 which has a dependancy on emby-server >= 3.1.4, but also still has the emby_bad file What this will happen is: anyone with 3.1.4 will upgrade to the new 3.1.4, which will then prevent the bad-version from ever showing up anyone with 3.1.283 will update to 3.1.284, which will auto-add the emby-server-fix package, which adds the emby_bad A version pin with -1 will NOT cause a package downgrade, hence emby-server-fix doing the prompt telling a user how to do it. I'm also fairly certain you cannot call apt yourslef from within a dpkg script... Anyone with ember-server-fix will now have the newer emby-server, AND the emby_bad file. End result is anyone who had the bad file now has it blocked, and everyone else goes on like normal (since users without the bad version will never have gotten the emby-server-fix package). There's possibly a way to make a dependant file FORCE the downgrade of another package, but I'm not 100% on how to do that. Happy to chat about it, I've got a bit of experience with linux packaging etc. 1 Link to comment Share on other sites More sharing options...
sualfred 677 Posted January 27, 2017 Share Posted January 27, 2017 Another solution: 1. sudo nano /var/lib/dpkg/status 2. find the emby-server entry block and remove it 3. save the file 4. apt-get update 5. apt-get install emby-server 2 Link to comment Share on other sites More sharing options...
Luke 36887 Posted January 27, 2017 Share Posted January 27, 2017 Thanks for reporting this. We will most likely move to 3.2 very soon, not only for this issue but for other reasons. That will get everybody updated and when we do that, we'll adjust our release process so that this never happens again. 1 Link to comment Share on other sites More sharing options...
saed 6 Posted January 28, 2017 Share Posted January 28, 2017 Another solution: 1. sudo nano /var/lib/dpkg/status 2. find the emby-server entry block and remove it 3. save the file 4. apt-get update 5. apt-get install emby-server Ok. I worked Thanks Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now