INTERACT FORUM

Please login or register.

Login with username, password and session length
Advanced search  
Pages: [1]   Go Down

Author Topic: Apt Repositories  (Read 27744 times)

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Apt Repositories
« on: February 20, 2015, 04:59:25 pm »

I've created a couple of repositories you can try out. You'll first need to get the key. As root do this:
wget -O - http://dist.jriver.com/mediacenter@jriver.com.gpg.key | apt-key add -

Then add the repository of your choice to /etc/apt/sources.list.d.
Create a file in that directory called mediacenter20.list
In that file, for the stable distribution put:
deb [arch=i386] http://dist.jriver.com/stable/mediacenter/ wheezy main
or for the latest:
deb [arch=i386] http://dist.jriver.com/latest/mediacenter/ wheezy main

update your apt and you should be ready to go.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Apt Repositories
« Reply #1 on: February 20, 2015, 05:31:14 pm »

I actually got this working in Ubuntu with some modifications and manual import of the key. Later when I get a little more time I'll post a tutorial on how to do this in the Ubuntu topic.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

linuxuser200

  • Recent member
  • *
  • Posts: 12
Re: Apt Repositories
« Reply #2 on: February 20, 2015, 07:41:57 pm »

Worked for me too (Ubuntu 14.04 64 bit). Thanks Bob!
Logged

danrien

  • Galactic Citizen
  • ****
  • Posts: 368
  • Chillin
Re: Apt Repositories
« Reply #3 on: February 21, 2015, 09:16:25 am »

Awesome! Thanks bob!

Update: the repository is working well on Linux Mint 17.1!
Logged
http://davidvedvick.info

"Always be yourself. Unless you can be Batman. Always be Batman." - Anonymous

mcollier

  • World Citizen
  • ***
  • Posts: 100
Re: Apt Repositories
« Reply #4 on: February 27, 2015, 08:43:22 pm »

Brilliant!

I believe the instructions for importing the key should read:

wget -O - http://dist.jriver.com/mediacenter@jriver.com.gpg.key | apt-key add -

Ubuntu users would likely need to do:

wget -O - http://dist.jriver.com/mediacenter@jriver.com.gpg.key | sudo apt-key add -

Thanks!  Great improvement.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #5 on: February 27, 2015, 10:46:54 pm »

Brilliant!

I believe the instructions for importing the key should read:

wget -O - http://dist.jriver.com/mediacenter@jriver.com.gpg.key | apt-key add -

Ubuntu users would likely need to do:

wget -O - http://dist.jriver.com/mediacenter@jriver.com.gpg.key | sudo apt-key add -

Thanks!  Great improvement.

Correct. For some reason my command got truncated...
Logged

aoqw76

  • Galactic Citizen
  • ****
  • Posts: 257
Re: Apt Repositories
« Reply #6 on: February 28, 2015, 12:26:16 pm »

Does this mean you can then do "sudo apt-get install mediacenter20"?
Logged
xubuntu lts 14.04 32 bit, running mc22.0.36 as anything later doesn't work properly over vnc. using linux mc22 as media server to windows mc22 last version / jremote on ipad.
I am the owner / sole admin for www.cyrusunofficial.co.uk ("fan" site for Cyrus Audio hifi)

imugli

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 1601
Re: Apt Repositories
« Reply #7 on: February 28, 2015, 04:49:16 pm »

Yes.

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Apt Repositories
« Reply #8 on: February 28, 2015, 04:51:19 pm »

And you can update MC via your package manager of choice.

Also you should use this for Ubuntu and Linux Mint to add the key via Terminal;

Code: [Select]
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

aoqw76

  • Galactic Citizen
  • ****
  • Posts: 257
Re: Apt Repositories
« Reply #9 on: March 01, 2015, 02:24:20 pm »

Thanks; guess that makes my auto-update CRON script slightly redundant, but I'll leave it running as it will still work as long as updates continue to be made available like this:
Code: [Select]
http://files.jriver.com/mediacenter/channels/v20/latest/MediaCenter-20.0.nn.deb
Logged
xubuntu lts 14.04 32 bit, running mc22.0.36 as anything later doesn't work properly over vnc. using linux mc22 as media server to windows mc22 last version / jremote on ipad.
I am the owner / sole admin for www.cyrusunofficial.co.uk ("fan" site for Cyrus Audio hifi)

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Apt Repositories
« Reply #10 on: March 05, 2015, 06:48:10 pm »

One suggestion, perhaps you guys should host both mediacenter20.list files on the server. Why? It'd only require 4 Terminal commands to add and install Media Center 20. Something like the following for the latest channel;

Code: [Select]
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
If this was added, for example in Ubuntu this would add the key, list and install MC20;

Code: [Select]
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20

This should work fine for Debian too.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #11 on: March 05, 2015, 09:56:01 pm »

One suggestion, perhaps you guys should host both mediacenter20.list files on the server. Why? It'd only require 4 Terminal commands to add and install Media Center 20. Something like the following for the latest channel;

Code: [Select]
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
If this was added, for example in Ubuntu this would add the key, list and install MC20;

Code: [Select]
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20

This should work fine for Debian too.
Thanks, that's a good idea.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #12 on: March 06, 2015, 02:57:36 pm »

One suggestion, perhaps you guys should host both mediacenter20.list files on the server. Why? It'd only require 4 Terminal commands to add and install Media Center 20. Something like the following for the latest channel;

Code: [Select]
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
If this was added, for example in Ubuntu this would add the key, list and install MC20;

Code: [Select]
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20

This should work fine for Debian too.
Ok, that's done.
I did list both architectures in the mediacenter20.list. I'm not sure that's the best idea since the amd64 is beta. We'll see...
Logged

audiolover

  • Junior Woodchuck
  • **
  • Posts: 93
Re: Apt Repositories
« Reply #13 on: March 11, 2015, 09:40:27 am »

I am a little bit lost as there have been changes in which code to use in this topic on how to add key and repositories.
Is it an idea to list the definite changes in code for Debian and Ubuntu in 1 "reply"?
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Apt Repositories
« Reply #14 on: March 11, 2015, 11:17:18 am »

If you want to add the repository and install Media Center 20 (in both Debian and Ubuntu), use the following Terminal commands;

Code: [Select]
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20

If you already have Media Center 20 manually installed, use the first three commands.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2239
Re: Apt Repositories
« Reply #15 on: April 02, 2015, 03:02:27 am »

If you want to add the repository and install Media Center 20 (in both Debian and Ubuntu), use the following Terminal commands;

Code: [Select]
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20

If you already have Media Center 20 manually installed, use the first three commands.

Question for those of us (well at least me) who are slow on the uptake. What do I have to do to ensure that I direct apt-get to pull down the 32 bit version?

I had a go at this the other week and had a melt down. Sorry, I had too much going on to post but I think the 64 bit repository was grabbed by mistake. I'll make sure I clonezilla the unit before trying again. Fortunately, I was able to do a rebuild but it was an old image and it took a bit of time to get back on the straight and narrow with other priorities that I had to deal with.
Logged
MC31, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

mwillems

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 5177
  • "Linux Merit Badge" Recipient
Re: Apt Repositories
« Reply #16 on: April 02, 2015, 05:23:51 am »

Question for those of us (well at least me) who are slow on the uptake. What do I have to do to ensure that I direct apt-get to pull down the 32 bit version?

I had a go at this the other week and had a melt down. Sorry, I had too much going on to post but I think the 64 bit repository was grabbed by mistake. I'll make sure I clonezilla the unit before trying again. Fortunately, I was able to do a rebuild but it was an old image and it took a bit of time to get back on the straight and narrow with other priorities that I had to deal with.

To specify the 32 bit version, try
Code: [Select]
sudo apt-get install mediacenter20:i386
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #17 on: April 02, 2015, 09:17:07 am »

To specify the 32 bit version, try
Code: [Select]
sudo apt-get install mediacenter20:i386
You can also specify the architecture in the place where you put the repository path.

i.e.

deb [arch=i386] ...
Logged

astromo

  • MC Beta Team
  • Citizen of the Universe
  • *****
  • Posts: 2239
Re: Apt Repositories
« Reply #18 on: April 05, 2015, 08:17:37 am »

Thanks all.

Success on Ubuntu 14.04 LTS.

Followed Bob's advice at the top and navigated to the directory:
    /etc/apt/sources.list.d.

Did a gksu gedit and edited in the dependency as noted with the qualifier ...  [arch=i386]

Worked a treat.

All set now. Nice one.
Logged
MC31, Win10 x64, HD-Plex H5 Gen2 Case, HD-Plex 400W Hi-Fi DC-ATX / AC-DC PSU, Gigabyte Z370 ULTRA Gaming 2.0 MoBo, Intel Core i7 8700 CPU, 4x8GB GSkill DDR4 RAM, Schiit Modi Multibit DAC, Freya Pre, Nelson Pass Aleph J DIY Clone, Ascension Timberwolf 8893BSRTL Speakers, BJC 5T00UP cables, DVB-T Tuner HDHR5-4DT

Weedos123

  • Junior Woodchuck
  • **
  • Posts: 75
Re: Apt Repositories
« Reply #19 on: April 12, 2015, 11:26:12 am »

I think I must be in need of a little more linux education.

I used the repository to install media centre (debian  v88) in the first place.  Now I come to try and get the latest update using sudo apt-get update and I get the following message:

"W: GPG error: http://dist.jriver.com wheezy Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY C30B25C6077765D5"

I thought I had to get a key right at the outset when I followed the instructions above.  If I didn't get a key how did it install? Or is this a different key being referred to?

many thanks

Paul
Logged
2012 i7 Mac Mini - Media Center for mac |
Debian Wheezy 64 bit - Media Center for linux| Exasound e28 DAC

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Apt Repositories
« Reply #20 on: April 12, 2015, 11:46:55 am »

Try using these commands;

Code: [Select]
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

Weedos123

  • Junior Woodchuck
  • **
  • Posts: 75
Re: Apt Repositories
« Reply #21 on: April 12, 2015, 03:00:57 pm »

Awesome

OK I confused now on several counts.

I ran those 4 commands, when I first installed media centre and was under the impression that all of them only needed to be run at the outset as mediacenter 20 would have been added to the "sources list" and I'd have the necessary key to be able to retrieve and install the package.  Therefore I'd only need to "apt-get update" to download and install any updates. Do I need to run all of them each time to update?

As you suggested I ran them and the update packages downloaded as before when I ran "apt-get update" which returned done this time, rather than the error, but when running the last command to install, it didn't do it as it says I am already on the latest version.  Checking in MC shows I' m on v88, but I thought I'd downloaded v93.

Thanks

Paul
Logged
2012 i7 Mac Mini - Media Center for mac |
Debian Wheezy 64 bit - Media Center for linux| Exasound e28 DAC

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Apt Repositories
« Reply #22 on: April 12, 2015, 05:11:59 pm »

Looks like 20.0.93 hasn't been added to the latest apt repository yet, that's why you're seeing that issue. Manually download the 20.0.93 AMD64 .deb file and install it via dpkg -i in the Terminal.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #23 on: May 05, 2015, 12:30:40 pm »

I added a Jessie apt repository.
It will be amd64 only for now.

It includes gnutls28-deb0. I need feedback on this for the unsupported distros. On Ubuntu 14.10 it just works since gnutls28-deb0 is already in the OS.

You can get the list file following the previous instructions replacing mediacenter20.list with mediacenter20jessie.list


Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Apt Repositories
« Reply #24 on: May 06, 2015, 07:36:38 am »

FYI guys, it's not recommended to use this new mediacenter20jessie.list on Ubuntu 15.04 as it'll try to update the existing gnutls28-deb0 and it WILL break the system.
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291
Re: Apt Repositories
« Reply #25 on: May 06, 2015, 06:52:54 pm »

Any chance of you adding ARM to the repository?

 ;D
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #26 on: May 07, 2015, 10:14:12 am »

FYI guys, it's not recommended to use this new mediacenter20jessie.list on Ubuntu 15.04 as it'll try to update the existing gnutls28-deb0 and it WILL break the system.
Shouldn't it use the one from the ubuntu servers? I'd think it's newer.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #27 on: May 07, 2015, 10:23:22 am »

Any chance of you adding ARM to the repository?

 ;D
Ok. Just did.
I've not added any extra packages, just MC at this time. It's build 20.0.101
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Apt Repositories
« Reply #28 on: May 07, 2015, 11:56:04 am »

Shouldn't it use the one from the ubuntu servers? I'd think it's newer.

Ubuntu 15.04 uses 3.3.8-3ubuntu3 whereas the one on the repository is 3.3.8-6.

Maybe a creating a Launchpad repository at some point for Ubuntu users might be beneficial?
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #29 on: May 07, 2015, 03:59:58 pm »

Ubuntu 15.04 uses 3.3.8-3ubuntu3 whereas the one on the repository is 3.3.8-6.
That's unfortunate. I wonder if renaming it (and perhaps repackaging it) to a slightly lower version would do the trick.
Quote
Maybe a creating a Launchpad repository at some point for Ubuntu users might be beneficial?
Perhaps, however we aren't in a place to add more things to maintain right now.
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Apt Repositories
« Reply #30 on: May 07, 2015, 05:15:50 pm »

That's unfortunate. I wonder if renaming it (and perhaps repackaging it) to a slightly lower version would do the trick.Perhaps, however we aren't in a place to add more things to maintain right now.

If so, would it conflict with any existing version, or would it just be used by MC?
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #31 on: May 07, 2015, 05:49:05 pm »

If so, would it conflict with any existing version, or would it just be used by MC?
It wouldn't get used if you have a newer version.
Another option would be to just take it out and see how many people that affects.

Logged

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291
Re: Apt Repositories
« Reply #32 on: May 07, 2015, 09:06:02 pm »

All works thanks Bob! :) That makes it a bit simpler!

pi@raspberrypi ~ $ sudo apt-get install mediacenter20
Reading package lists... Done
Building dependency tree
Reading state information... Done
mediacenter20 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.


PS. I just ran this from above, for those that want to make upgrading MC20 on Pi quicker.

Code: [Select]

wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
 
 
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #33 on: May 08, 2015, 10:40:08 am »

All works thanks Bob! :) That makes it a bit simpler!

pi@raspberrypi ~ $ sudo apt-get install mediacenter20
Reading package lists... Done
Building dependency tree
Reading state information... Done
mediacenter20 is already the newest version.
0 upgraded, 0 newly installed, 0 to remove and 21 not upgraded.


PS. I just ran this from above, for those that want to make upgrading MC20 on Pi quicker.

Code: [Select]

wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
 
 
The mediacenter20.list you reference above is multiarch for i386 and amd64. I added a native list that doesn't specify arches.
it's mediacenter20native.list
Logged

Hilton

  • Regular Member
  • Citizen of the Universe
  • *****
  • Posts: 1291
Re: Apt Repositories
« Reply #34 on: May 08, 2015, 10:51:40 am »

ok so this one is the right one now for ARM?
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20native.list -O /etc/apt/sources.list.d/mediacenter20native.list      
Logged

cassfras21

  • Junior Woodchuck
  • **
  • Posts: 93
Re: Apt Repositories
« Reply #35 on: May 11, 2015, 01:14:53 pm »

Hello,

I have an error 403 when trying to update to .105

Code: [Select]
W: Failed to fetch http://dist.jriver.com/latest/mediacenter/dists/wheezy/main/binary-i386/Packages  403  Forbidden
It worked fine to update to .95 and nothing changed in my setup.

Please can you check your web page permissions?
Logged
Media server: Synology DS916+ (Dockerised JRiver MC 22) || Media player: Intel NUC D54250WYKH - Windows 10 x64/JRiver MC 22
HiFi: Matrix i-mini Pro 2015 (USB DAC) >> Atoll IN80 SE (Int Amp) >> B&W CM1 S2 & subwoofer B&W ASW610

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Apt Repositories
« Reply #36 on: May 11, 2015, 01:34:16 pm »

ok so this one is the right one now for ARM?
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20native.list -O /etc/apt/sources.list.d/mediacenter20native.list       

Actually, I'd use this (and override the local mediacenter20.list if one's present);

Code: [Select]
wget -q "http://dist.jriver.com/mediacenter@jriver.com.gpg.key" -O- | sudo apt-key add -
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20native.list -O /etc/apt/sources.list.d/mediacenter20.list
sudo apt-get update
sudo apt-get install mediacenter20
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #37 on: May 11, 2015, 03:09:00 pm »

ok so this one is the right one now for ARM?
sudo wget http://dist.jriver.com/latest/mediacenter/mediacenter20native.list -O /etc/apt/sources.list.d/mediacenter20native.list      
Yes
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #38 on: May 11, 2015, 03:10:14 pm »

Hello,

I have an error 403 when trying to update to .105

Code: [Select]
W: Failed to fetch http://dist.jriver.com/latest/mediacenter/dists/wheezy/main/binary-i386/Packages  403  Forbidden
It worked fine to update to .95 and nothing changed in my setup.

Please can you check your web page permissions?

Access was restricted for testing. It's back up now.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #39 on: May 12, 2015, 05:49:40 pm »

I removed the libgnutls28-deb0 from the jessie amd64 apt repository.
Logged

crazikid

  • Member
  • *
  • Posts: 3
Re: Apt Repositories
« Reply #40 on: July 07, 2015, 10:59:10 pm »

W: Failed to fetch http://dist.jriver.com/latest/mediacenter/dists/wheezy/Release  Unable to find expected entry 'main/binary-armel/Packages' in Release file (Wrong sources.list entry or malformed file)


I'm stuck and hoping someone can give me tips to resolve install on beaglebone black.

i have updated my /etc/apt/sources.list to reflect deb [arch=i386] http://dist.jriver.com/latest/mediacenter/ wheezy main.

and also tried the 4 lines awesome donkey published using mediacenter20native.list

cheers
Logged

Awesome Donkey

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 7395
  • The color of Spring...
Re: Apt Repositories
« Reply #41 on: July 08, 2015, 01:53:39 pm »

Are you using ARM?
Logged
I don't work for JRiver... I help keep the forums safe from Viagra and other sources of sketchy pharmaceuticals.

Windows 11 2023 Update (23H2) 64-bit + Ubuntu 24.04 LTS Noble Numbat 64-bit | Windows 11 2023 Update (23H2) 64-bit (Intel N305 Fanless NUC 16GB RAM/256GB NVMe SSD)
JRiver Media Center 32 (Windows + Linux) | iFi ZEN DAC 3 | Edifier R2000DB Bookshelf Speakers | Audio-Technica ATH-M50x Headphones

crazikid

  • Member
  • *
  • Posts: 3
Re: Apt Repositories
« Reply #42 on: July 14, 2015, 01:41:12 am »

i see.. i was using debian,
I have just installed arch ARM for the beaglebone black.

Logged

jstruebel

  • Recent member
  • *
  • Posts: 5
Re: Apt Repositories
« Reply #43 on: July 18, 2015, 05:59:31 pm »

I'm trying to install MediaCenter on a Debian Wheezy machine from the APT repository, but I get the error "E: Unable to locate package mediacenter20" when I run

Code: [Select]
apt-get install mediacenter20
I'm following the instructions from https://yabb.jriver.com/interact/index.php?topic=97691.0 for the 32-bit Jessie install and they seemed to work fine but I get the error above when I try to do the actual install. Do I need to follow different steps since I'm on Wheezy?

Thanks,
Jonathan
Logged

JimH

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 71430
  • Where did I put my teeth?
Re: Apt Repositories
« Reply #44 on: July 18, 2015, 06:15:37 pm »

What is the hardware you're using?
Logged

jstruebel

  • Recent member
  • *
  • Posts: 5
Re: Apt Repositories
« Reply #45 on: July 18, 2015, 07:26:30 pm »

It's a VM running under KVM with 64-bit Debian Wheezy installed. It's part of my home server running on an Intel Celeron E3300. I'm planning on using it as a media server. So far I've just been using Media Center on a windows HTPC connected to my TV.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #46 on: July 19, 2015, 09:54:51 pm »

In the repository, wheezy is i386.
If you want amd64 you should use Jessie.
Logged

crazikid

  • Member
  • *
  • Posts: 3
Re: Apt Repositories
« Reply #47 on: July 20, 2015, 06:14:01 am »

looking for feedback on installation of MC on my BBB. debian wheezy -

I'm getting a Segmentation fault.

any help would be appreciated.
Logged

bob

  • Administrator
  • Citizen of the Universe
  • *****
  • Posts: 13516
Re: Apt Repositories
« Reply #48 on: July 20, 2015, 10:17:51 am »

looking for feedback on installation of MC on my BBB. debian wheezy -

I'm getting a Segmentation fault.

any help would be appreciated.
Your last post said you were using arch.

If you are using debian wheezy on your bbb make sure dependencies are satisfied (including installing xfonts-75dpi).
You must also be running in 24 bit video mode, not 16.
MC REQUIRES an XServer.
Logged

jstruebel

  • Recent member
  • *
  • Posts: 5
Re: Apt Repositories
« Reply #49 on: July 20, 2015, 08:49:15 pm »

Ok. So I tried just switching to the Jessie repository, but that broke with the dependencies as I suspected it might. I switched back to the Wheezy repository and ran the command:

Code: [Select]
dpkg --add-architecture i386
as recommended in http://yabb.jriver.com/interact/index.php?topic=85957.msg604793#msg604793. That did the trick and it updated dependencies and installed mediacenter. Now to see if it works.
Logged
Pages: [1]   Go Up