Forums » Tutorial and setups »
Install problems/Ubuntu
Added by Pasi Porri over 9 years ago
I have a fresh install of Ubuntu 15.04. I have done
curl http://apt.tvheadend.org/repo.gpg.key | sudo apt-key add -
sudo apt-add-repository http://apt.tvheadend.org/stable
sudo apt-get update
I only get this and can't continue.
W: Failed to fetch http://apt.tvheadend.org/stable/dists/vivid/main/binary-amd64/Packages 404 Not Found [IP: 83.137.145.55 80]
W: Failed to fetch http://apt.tvheadend.org/stable/dists/vivid/main/binary-i386/Packages 404 Not Found [IP: 83.137.145.55 80]
E: Some index files failed to download. They have been ignored, or old ones used instead.
Replies (9)
RE: Install problems/Ubuntu - Added by Prof Yaffle over 9 years ago
There are no packages for 15.04 (Vivid) yet, which is why you're getting the 404. Use an earlier reference in your sources for the time being.
RE: Install problems/Ubuntu - Added by Pasi Porri over 9 years ago
Aaah ok! Could you write what I need to type in the terminal? I'm a not so skilled with Ubuntu
RE: Install problems/Ubuntu - Added by Prof Yaffle over 9 years ago
Have a look at /etc/apt/sources.list - it will contain lines such as (from memory, apologies):
deb http://apt.tvheadend.org/stable/dists vivid main
Find these and simply change them to:
deb http://apt.tvheadend.org/stable/dists trusty main
And then sudo apt-get update && sudo apt-get install tvheadend
You may want to look at the unstable channel, by the way - 3.4 (which is in stable) is looking old now - just be aware that unstable will give you 3.9, and you'll get very regular updates, but some might break. Your choice :-)
RE: Install problems/Ubuntu - Added by Pasi Porri over 9 years ago
Where do I find this /etc/apt/sources.list and how do I edit it?
RE: Install problems/Ubuntu - Added by Prof Yaffle over 9 years ago
Well, it's in /etc/apt, and it's called sources.list, but that's obviously not clear to you, so let's try this...
On a command line, cd /etc/apt
ls -la
at that point will show you:
- sources.list, which is a file that contains various sources, and
- sources.list.d, which is a directory that contains files that contain more sources
Most likely in sources.list
You need to edit it as root, so I'd use sudo vi <file>
. You may prefer something like sudo nano <file>
, though, or even sudo mousepad <file>
. It depends what GUI editors you have installed.
If you're entirely GUI-based, and want to avoid the command line, start the Ubuntu Software Centre - select Edit -> Software Sources, and that's doing the same in a more user-friendly format.
You can also get at it through the Synaptic Package Manager. There, the same editing window is under Settings -> Repositories.
Take your pick
RE: Install problems/Ubuntu - Added by Pasi Porri over 9 years ago
Thanks. I managed to install it but now have a new problem. I followed this https://www.youtube.com/watch?v=VtnwqZNT4p8 YouTube video and set my channels. However when the scan starts I get this error:
linuxdvb: DiBcom 7000PC : DVB-T #0 - failed to tune [e=Invalid argument]
Changed to my region in network settings and now I get this:
2015-05-10 22:00:05.789 subscription: 000F: "scan" subscribing to mux "477MHz", weight: 5, adapter: "DiBcom 7000PC : DVB-T #0", network: "A", service: "Raw PID Subscription"
2015-05-10 22:00:10.124 mpegts: 477MHz in A - scan no data, failed
RE: Install problems/Ubuntu - Added by Pasi Porri over 9 years ago
I got some channels with different region setting in network settings. CHannel search takes very long time.
RE: Install problems/Ubuntu - Added by Mihail sovaby over 9 years ago
Prof Yaffle wrote:
Have a look at /etc/apt/sources.list - it will contain lines such as (from memory, apologies):
deb http://apt.tvheadend.org/stable/dists vivid main
Find these and simply change them to:
deb http://apt.tvheadend.org/stable/dists trusty main
And then sudo apt-get update && sudo apt-get install tvheadend
You may want to look at the unstable channel, by the way - 3.4 (which is in stable) is looking old now - just be aware that unstable will give you 3.9, and you'll get very regular updates, but some might break. Your choice :-)
http://apt.tvheadend.org/unstable/pool/main/t/tvheadend/tvheadend_3.9.2849~gbdd0eb6~trusty_i386.deb HTTP 404
only utopic_i386 cannot amd64
http://apt.tvheadend.org/unstable/pool/main/t/tvheadend/tvheadend_3.9.2849~gbdd0eb6~utopic_i386.deb
For trusty deb only from 13-May-2015.
but here http://tvheadend.org/builds/tvheadend/build/10330 Status build done !
Sorry I am bad in English
RE: Install problems/Ubuntu - Added by Prof Yaffle over 9 years ago
Best to look here for 3.4/stable:
http://apt.tvheadend.org/stable/pool/main/t/tvheadend/
and here for 3.9/unstable/'nightly':
http://apt.tvheadend.org/unstable/pool/main/t/tvheadend/
You can see what builds exist for what distros and architecture.