Author Topic: apt-get update fails on radvd.conf line 2  (Read 7175 times)

tmwillett

  • Veteran
  • ***
  • Posts: 63
    • View Profile
apt-get update fails on radvd.conf line 2
« on: October 29, 2011, 06:02:58 pm »
I just did an apt-get update/upgrade on my 8.10 core to fix an issue I had, and it fails to complete the upgrade.  When I run it again, I get the following:

dcerouter_1017654:~# apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages have been kept back:
  freepbx
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
1 not fully installed or removed.
After this operation, 0B of additional disk space will be used.
Do you want to continue [Y/n]? Y
Setting up radvd (1:1.3-1.1) ...
Starting radvd: [Oct 29 10:59:50] radvd: syntax error in /etc/radvd.conf, line 2:
[Oct 29 10:59:50] 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)


When I look into /etc/radvd.conf, it is empty..  How can I resolve this?

Thanks,


Foxi352

  • Veteran
  • ***
  • Posts: 52
    • View Profile
Re: apt-get update fails on radvd.conf line 2
« Reply #1 on: October 29, 2011, 06:56:05 pm »
Hi !

radvd.conf can not really be empty when it shows an error at line 2.
Empty means not even a blank line...

Empty or nonexistent radvd.conf files are ignored without an error.

Try to simply remove /etc/radvd.conf and retry your apt-get command ...

Serge

tmwillett

  • Veteran
  • ***
  • Posts: 63
    • View Profile
Re: apt-get update fails on radvd.conf line 2
« Reply #2 on: October 29, 2011, 10:28:20 pm »
That fixed it!!  Thanks

b4rney

  • Guru
  • ****
  • Posts: 454
    • View Profile
Re: apt-get update fails on radvd.conf line 2
« Reply #3 on: October 30, 2011, 12:34:18 am »
I also had this problem. I followed these instructions and removed the blank radvd.conf file and the install completed but I got the message radvd would not be started because of the missing conf file.

Don't think this is system critical though.
Barney

ultimbro

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: apt-get update fails on radvd.conf line 2
« Reply #4 on: October 30, 2011, 04:06:56 am »
I got a similar error msg when doing an update / upgrade

I'm not at home right now but it something like
/I_don't_remember_path_to/utils.sh no such file or directory
and it abort at this point. I looked into the folder and in fact this file is missing... anobody know why ?
a clue on how to fix this ?

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: apt-get update fails on radvd.conf line 2
« Reply #5 on: November 23, 2011, 06:07:29 am »
I also got a similar message with a brand new 8.10 final install

Roman

  • Regular Poster
  • **
  • Posts: 43
    • View Profile
Re: apt-get update fails on radvd.conf line 2
« Reply #6 on: November 23, 2011, 08:37:17 am »
I did also just delete the radvd.conf file ....
I guess it is all the same everywhere
cheers

Techstyle

  • Addicted
  • *
  • Posts: 674
    • View Profile
    • Techstyle UK Ltd.
Re: apt-get update fails on radvd.conf line 2
« Reply #7 on: November 23, 2011, 07:30:21 pm »

Foxi352

  • Veteran
  • ***
  • Posts: 52
    • View Profile
Re: apt-get update fails on radvd.conf line 2
« Reply #8 on: January 26, 2012, 05:42:47 pm »
Yes, the open ticket is for backporting. It is fixed in 10.04 for some month now, but it is still not backported to 8.10 ...

bongowongo

  • wants to work for LinuxMCE
  • **
  • Posts: 826
    • View Profile
Re: apt-get update fails on radvd.conf line 2
« Reply #9 on: January 26, 2012, 10:47:00 pm »
Yes, the open ticket is for backporting. It is fixed in 10.04 for some month now, but it is still not backported to 8.10 ...

http://forum.linuxmce.org/index.php/topic,12331.msg86968.html#msg86968