| Author |
Message |
|
|
Post subject: RE: Re: RE: vlc is broken
Posted: Jul 18, 2008 - 09:17 PM
|
|
Joined: Mar 20, 2008
Posts: 49
Location: Sofia, BUL
Status: Offline
|
|
Guys, doing this pinning thing results in "E: Invalid record in the preferences file, no Package header" when I try to install whatever. What have I done wrong?
==/edit/==
Actually, I had the wrong things written inside /etc/apt/preferences
Works fine now. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: vlc is broken
Posted: Jul 30, 2008 - 01:46 PM
|
|
Joined: Dec 11, 2006
Posts: 114
Status: Offline
|
|
| so i understand the message at the site from the french guy in the right way there are no more problems |
_________________ You've yet to have your finest hour ...
Beste Grüße, rh
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: vlc is broken
Posted: Aug 26, 2008 - 09:55 PM
|
|

Joined: Jun 13, 2007
Posts: 19
Status: Offline
|
|
Everything works now, but I want to re-enable the multimedia source.
I did a cut and paste to copy the pinning, and saved the file as /etc/apt/preferences
I got an error message Invalid record in the preferences file, no Package header.
I don't know much about /etc/apt/preferences, should I change something in the filename?
thanks.
(edit)
I had to correct etc/apt/preferences. works just fine now.
jaz |
Last edited by jazzmans on Aug 26, 2008 - 10:02 PM; edited 1 time in total
|
| |
|
|
|
 |
|
|
Post subject: Re: RE: vlc is broken
Posted: Aug 26, 2008 - 10:00 PM
|
|

Joined: Nov 30, 2006
Posts: 3481
Location: Budapest
Status: Offline
|
|
| You should have a file /apt/get/preferences with the following entry and a blank line at the end (there was an old bug, so you need that):
Code:
Package: ffmpeg libavcodec51 libavdevice52 libavformat52 libavutil49 libpostproc51 libswscale0
Pin: origin debian.org
Pin-Priority:999
This file ensures, that ffmpeg files are upgraded from the Debian repos and not the multimedia repo.
hubi |
_________________ Bonitas stultitiaque sodales sunt.
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: vlc is broken
Posted: Aug 28, 2008 - 03:53 PM
|
|
Joined: Apr 28, 2008
Posts: 12
Status: Offline
|
|
| i did install vlc 9.0 .aka the nightly build off a vew days ago works like a charm. Did not need to do anything but install, having the *multimedia* reposetories active. |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: vlc is broken
Posted: Aug 31, 2008 - 07:08 PM
|
|
Joined: Jan 16, 2008
Posts: 90
Status: Offline
|
|
| Why don't you write up a how-to then? Just saying you downloaded and installed it doesn't help. I downloaded sidux once and installed it. That wouldn't help someone who's having problems getting sidux on their computer, right? |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: vlc is broken
Posted: Sep 01, 2008 - 03:59 AM
|
|
Team Member

Joined: Nov 27, 2006
Posts: 1962
Location: underworld
Status: Offline
|
|
A safe way to install the nightly build of vlc
Code:
apt-get remove --purge vlc vlc-nox mozilla-plugin-vlc
Code:
apt-get clean
Add to your sources (exactly how it's written, copy & paste)
Code:
deb http://nightlies.videolan.org/build/sid-i386/arch ./
Code:
apt-get update && apt-get install vlc vlc-nox mozilla-plugin-vlc
|
_________________ .... _
... (0)>
... / / \
.. / / . )
.. V_/_sidux powered
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: vlc is broken
Posted: Sep 01, 2008 - 04:38 AM
|
|
Joined: Aug 28, 2008
Posts: 48
Status: Offline
|
|
| doesnt work... the repos still get IGNored when trying to update... |
|
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: vlc is broken
Posted: Sep 01, 2008 - 05:19 AM
|
|
Team Member

Joined: Nov 27, 2006
Posts: 1962
Location: underworld
Status: Offline
|
|
Works fine here, maybe change your sources
apt-cache policy vlc
vlc:
Installed: 1.0.0~git20080901-4
Candidate: 1.0.0~git20080901-4
Version table:
*** 1.0.0~git20080901-4 0
500 http://nightlies.videolan.org ./ Packages
100 /var/lib/dpkg/status
0.8.6.h-4 0
500 http://ftp.us.debian.org sid/main Packages |
_________________ .... _
... (0)>
... / / \
.. / / . )
.. V_/_sidux powered
|
| |
|
|
|
 |
|
|
Post subject: RE: Re: RE: vlc is broken
Posted: Sep 01, 2008 - 07:23 AM
|
|

Joined: Nov 30, 2006
Posts: 3481
Location: Budapest
Status: Offline
|
|
|
|
|
 |
|
|
Post subject: RE: Re: RE: vlc is broken
Posted: Sep 01, 2008 - 07:55 AM
|
|
Joined: Aug 28, 2008
Posts: 48
Status: Offline
|
|
oh works now idd!  |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 01, 2008 - 11:28 AM
|
|
Joined: Jan 16, 2008
Posts: 90
Status: Offline
|
|
Okay, adding the key allowed the new repo to appear in Synaptic (to name one example that shows I'm getting closer).
My question is 'can someone tell me how I can do this without using Synaptic or whether it's okay to use Synaptic for this install?'
I am familiar with it and I'm not sure of other ways although I believe using apt-get is preferred. However, in Synaptic, there is an option of upgrading vlc whereas the apt-get method seems to be one of removing the previous vlc version. I thought both piper and spion had good instructions. But, I have a question in reference to (for piper's instructions):
If I revised piper's instructions to be:
apt-get remove --purge vlc vlc-nox mozilla-plugin-vlc
apt-get clean
deb http://nightlies.videolan.org/build/sid-i386/arch ./
gpg --keyserver wwwkeys.eu.pgp.net --recv-keys AA5F4DE6 && apt-key add /root/.gnupg/pubring.gpg
apt-get update && apt-get install vlc vlc-nox mozilla-plugin-vlc
Would this work or should one re-arrange the order of steps here?
Also, how should I go about upgrading my vlc to the nightly build? Is the Synaptic way acceptable or do you recommend using the 'first-remove-old-vlc version-method' as piper illustrates above?
Why is it advisable to first remove the older version when you can upgrade which is what most installers do or is that just most graphical installers (e.g. Synaptic)?
Sorry for all the questions. Btw, I do google but sometimes it's easier to have someone explain it. If I find any answers through google or other linux sources, I will post 'I'm grasping it...' Thanks for the helpful posts and hopefully someone who is almost as clueless will benefit. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 01, 2008 - 12:03 PM
|
|
Joined: Aug 28, 2008
Posts: 48
Status: Offline
|
|
doing like piper suggested should be fine.
btw, everyone advises you not to use programs like synaptic on sidux.. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 01, 2008 - 12:07 PM
|
|

Joined: Nov 30, 2006
Posts: 3481
Location: Budapest
Status: Offline
|
|
|
tuxracer wrote:
Why is it advisable to first remove the older version when you can upgrade which is what most installers do or is that just most graphical installers (e.g. Synaptic)?Not just remove but purge (all config files should go away as well).
Reason: it is a third party repo, and videolan's debs of vlc* might be packaged totally differently to the Debian debs of vlc*.
More: the nightlie's vlc-plugin-mozilla depends on an outdated and very likely highly vulnerable xulrunner, which is not in Debian Sid anymore but by chance in the French multimedia repo for Sid.
I even do not have an idea why they call their nightly repo "sid" ... at least the gecko plugin for vlc is not installable on an uptodate plain Debian Sid installation.
I hope they fix that flaw, I prefer the vlc plugin to the "Hungarian" player's plugin.
hubi |
_________________ Bonitas stultitiaque sodales sunt.
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Sep 01, 2008 - 06:24 PM
|
|
Joined: Jan 16, 2008
Posts: 90
Status: Offline
|
|
I followed the 'remove' and 'update' (install) instructions. I had the repo already added. It's working now. Thanks, guys! I know to ask the sidux geniuses, hubi, piper, spion in particular!  |
|
|
| |
|
|
|
 |
|
|