cyanarnofsky
Posts: 70
Joined: Tue Jul 31, 2012 11:33 pm

PPP Will not Install

Thu Dec 05, 2013 12:57 am

Hey guys, I am rather new to coding and was playing around with getting my 3g modem to work. Got it working great with wvdial. I left it for a while and now created another image for a new project and everytime I try to install PPP package I get the following. Obviously I have an error but am not 100% clear on how I clean this up. :/ anyideas?

Code: Select all

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Correcting dependencies... Done
The following extra packages will be installed:
  ppp
The following NEW packages will be installed:
  ppp
0 upgraded, 1 newly installed, 0 to remove and 316 not upgraded.
5 not fully installed or removed.
Need to get 0 B/354 kB of archives.
After this operation, 772 kB of additional disk space will be used.
Do you want to continue [Y/n]? y
(Reading database ... 65955 files and directories currently installed.)
Unpacking ppp (from .../ppp_2.4.5-5.1_armhf.deb) ...
update-rc.d: using dependency based boot sequencing
insserv: warning: script 'wireless-reconnect' missing LSB tags and overrides
insserv: There is a loop between service watchdog and wireless-reconnect if stopped
insserv:  loop involving service wireless-reconnect at depth 2
insserv:  loop involving service watchdog at depth 1
insserv: Stopping wireless-reconnect depends on watchdog and therefore on system facility `$all' which can not be true!
insserv: exiting now without changing boot order!
update-rc.d: error: insserv rejected the script header
dpkg: error processing /var/cache/apt/archives/ppp_2.4.5-5.1_armhf.deb (--unpack):
 subprocess new pre-installation script returned error exit status 1
Errors were encountered while processing:
 /var/cache/apt/archives/ppp_2.4.5-5.1_armhf.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


This is even after trying 'sudo apt-get -f install'

cyanarnofsky
Posts: 70
Joined: Tue Jul 31, 2012 11:33 pm

Re: PPP Will not Install

Thu Dec 05, 2013 9:53 pm

Fixed my own issue, corrected script LSB headers

Code: Select all

#!/bin/sh

### BEGIN INIT INFO
# Provides: vpnagentd_init
# Required-Start: $remote_fs $syslog
# Required-Stop: $remote_fs $syslog
# Default-Start: 2 3 4 5
# Default-Stop: 0 1 6
# Short-Description: Wireless-Reconnect
# Description: Wireless-Reconnect
### END INIT INFO
...

Return to “Networking and servers”