Author Topic: DVD libraries install 8.10  (Read 6369 times)

jamo

  • Guru
  • ****
  • Posts: 463
    • View Profile
    • LMCE user Page
DVD libraries install 8.10
« on: April 11, 2012, 08:23:55 am »
Had a brief issue adding the libdvdcss2 ilbarary to my 8.10 install, thought I'd mention it here in case it helps someone-

Code: [Select]
apt-get update
apt-get install libdvdcss2
ran fine until I got errors:
Code: [Select]
Setting up radvd (1:1.1-2ubuntu2) ...                                           
Starting radvd: [Apr 11 08:05:41] radvd: syntax error in /etc/radvd.conf, line 2:                                                                               
[Apr 11 08:05:41] radvd: error parsing or activating the config file: /etc/radvd.conf                                                                           
failed.                                                                         
invoke-rc.d: initscript radvd, action "start" failed.                           
dpkg: error processing radvd (--configure):                                     
 subprocess post-installation script returned error exit status 1               
Setting up libdvdcss2 (1.2.10-0.2medibuntu1) ...                               

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:   
 radvd                                       
E: Sub-process /usr/bin/dpkg returned an error code (1)
dcerouter_1027763:~# cp /usr/share/doc/radvd/examples/simple-radvd.conf /etc/radvd.conf   
I followed the steps in the following
I had the same issue.  I solved it by copying radvd.conf from /usr/share/doc/radvd/examples/simple-radvd.conf to /etc/radvd.conf, and then doing apt-get install to resume the upgrade.  I would concur with Murdock as it's likely an upstream issue.  The radvd.conf file that was installed by apt had two blank lines in it, which is why apt barfed an error on trying to restart the service.

/Mike

And that got past the initial errors but when I reran apt-get install libdvdcss2 I got errors relating to the eth0 card:

Code: [Select]
Setting up radvd (1:1.1-2ubuntu2) ...
Starting radvd: [Apr 11 08:11:51] radvd: interface eth0 is not RUNNING
[Apr 11 08:11:51] radvd: interface eth0 does not exist
[Apr 11 08:11:51] radvd: error parsing or activating the config file: /etc/radvd.conf
failed.
invoke-rc.d: initscript radvd, action "start" failed.
dpkg: error processing radvd (--configure):
 subprocess post-installation script returned error exit status 1
Errors were encountered while processing:
 radvd
E: Sub-process /usr/bin/dpkg returned an error code (1)
It seems that radvd was trying to do something with eth0 and on my system eth0 is actually the internal network... so I checked out the /etc/radvd.conf file and it had:
Code: [Select]
interface eth0
{
   AdvSendAdvert on;
   prefix 2001:db8::/64
   {
   };
};
So I switched the eth0 to eth1 in the above conf file and then the apt-get-install libdvdcss2 ran through fine.

I presume the above conf file needs to point to an external (internet) network.

Marie.O

  • Administrator
  • LinuxMCE God
  • *****
  • Posts: 3676
  • Wastes Life On LinuxMCE Since 2007
    • View Profile
    • My Home
Re: DVD libraries install 8.10
« Reply #1 on: April 11, 2012, 12:13:35 pm »
radvd has nothing to do with DVDs.

jamo

  • Guru
  • ****
  • Posts: 463
    • View Profile
    • LMCE user Page
Re: DVD libraries install 8.10
« Reply #2 on: April 11, 2012, 12:33:37 pm »
radvd has nothing to do with DVDs.
Indeed, but it was keen to get involved after I issued the command to install the libdvdcss2 package. Hmmmm.

I'm starting to suspect, though, after having subsequent issues with DisklessCreate script as well that I've mucked things up somewhere and it may be the judicious use of apt-get update.... I read on another thread recently that if you're using the 8.10 final snapshot, you shouldn't need to do this and could mess things up doing so...

I have started re-installing to test this theory and may have to come back and eat my words here before I lead others too far off track.

JaseP

  • Addicted
  • *
  • Posts: 526
    • View Profile
    • JaseP's LinuxMCE Wiki User page
Re: DVD libraries install 8.10
« Reply #3 on: April 11, 2012, 02:49:43 pm »
In my experience, errors installing packages often are a result of conflicting packages in the repositories. That is, a package in one repository having a dependency for a certain library, but that library is already installed by a package in another repository that conflicts with the package for the installation of it on the repository containing the package you want to install.  Make sense?!?! I know that sounds confusing.

What is in your /etc/apt/sources.list file???
See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).

jamo

  • Guru
  • ****
  • Posts: 463
    • View Profile
    • LMCE user Page
Re: DVD libraries install 8.10
« Reply #4 on: April 11, 2012, 02:55:23 pm »
I have started re-installing to test this theory and may have to come back and eat my words here before I lead others too far off track.
well, same error came up after clean 8.10 install- immediately after install I run
Code: [Select]
apt-get install libdvdcss2and I get
Code: [Select]
Reading package lists... Done                 
Building dependency tree                       
Reading state information... Done             
The following packages were automatically installed and are no longer required:
  nvidia-195-kernel-source nvidia-settings nvidia-195-libvdpau                 
Use 'apt-get autoremove' to remove them.                                       
The following NEW packages will be installed:                                 
  libdvdcss2                                                                   
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.                 
1 not fully installed or removed.                                             
Need to get 36.8kB of archives.                                               
After this operation, 111kB of additional disk space will be used.             
WARNING: The following packages cannot be authenticated!                       
  libdvdcss2
Authentication warning overridden.
Get:1 http://packages.medibuntu.org intrepid/free libdvdcss2 1.2.10-0.2medibuntu1 [36.8kB]
Fetched 36.8kB in 2s (18.3kB/s)
(Reading database ... 162393 files and directories currently installed.)
Unpacking libdvdcss2 (from .../libdvdcss2_1.2.10-0.2medibuntu1_i386.deb) ...
Setting up radvd (1:1.1-2ubuntu2) ...
Starting radvd: [Apr 11 13:54:11] radvd: syntax error in /etc/radvd.conf, line 2:
[Apr 11 13:54:11] radvd: error parsing or activating the config file: /etc/radvd.conf
failed.
invoke-rc.d: initscript radvd, action "start" failed.
dpkg: error processing radvd (--configure):
 subprocess post-installation script returned error exit status 1
Setting up libdvdcss2 (1.2.10-0.2medibuntu1) ...

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
Errors were encountered while processing:
 radvd
E: Sub-process /usr/bin/dpkg returned an error code (1)
Hmmm. I can fix as I did last time but it doesn't bode well for DisklessCreate..

sources, as requested by JaseP:
Code: [Select]
dcerouter_1027793:/etc/apt# cat /etc/apt/sources.list
deb file:/usr/pluto/deb-cache/ ./
deb http://debian.slimdevices.com/ stable  main
deb http://deb.linuxmce.org/ubuntu/ intrepid  beta2
deb http://old-releases.ubuntu.com/ubuntu/ intrepid  main restricted universe multiverse
deb http://old-releases.ubuntu.com/ubuntu/ intrepid-security  main restricted multiverse universe
deb http://old-releases.ubuntu.com/ubuntu/ intrepid-updates  main restricted multiverse universe
deb http://packages.medibuntu.org/ intrepid  free non-free
deb-src http://old-releases.ubuntu.com/ubuntu/ intrepid  main restricted multiverse universe
deb-src http://old-releases.ubuntu.com/ubuntu/ intrepid-security  main restricted multiverse universe
deb-src http://old-releases.ubuntu.com/ubuntu/ intrepid-updates  main restricted multiverse universe
deb http://archive.ubuntu.com/ubuntu/ intrepid  main universe multiverse
deb http://archive.ubuntu.com/ubuntu/ replacements_debian  main
deb http://archive.ubuntu.com/ubuntu/ main  main non-free contrib
deb http://deb.linuxmce.org/ubuntu/ 20dev_ubuntu  main

« Last Edit: April 11, 2012, 02:57:51 pm by jamo »

jamo

  • Guru
  • ****
  • Posts: 463
    • View Profile
    • LMCE user Page
Re: DVD libraries install 8.10
« Reply #5 on: April 11, 2012, 04:04:53 pm »
Aha, it's just a matter of using the right search terms...

Issue has been fixed in 10.04 long time ago, and in 0810 some weeks ago. After update / upgrade it should be ok.

Workaround is to simply delete /etc/radvd.conf

JaseP

  • Addicted
  • *
  • Posts: 526
    • View Profile
    • JaseP's LinuxMCE Wiki User page
Re: DVD libraries install 8.10
« Reply #6 on: April 11, 2012, 06:41:25 pm »
OK, then... Congrats on finding it...

It would still be interesting to figure out exactly what is causing the conflict (which packages from what repositories,  etc.).
See my User page on the LinuxMCE Wiki for a description of my system configuration (click the little globe under my profile pic).

l3mce

  • NEEDS to work for LinuxMCE
  • ***
  • Posts: 1084
    • View Profile
Re: DVD libraries install 8.10
« Reply #7 on: April 12, 2012, 06:40:01 pm »
It isn't a versioning/repo problem. There are a lot of moving parts, and we molest networking in our own particular way. The problem has to do with a newline at the end of radvd.conf and should not be doing this any more. radvd=router advertisement daemon for IPv6.
I never quit... I just ping out.