problem installing UFW

Questions about Grub, the liveCD and the installer
Forum rules
Before you post please read how to get help

problem installing UFW

Postby Riko on Fri Dec 06, 2013 4:31 pm

Hi all,

I try to install ufw but get the following error in synaptics:

E: ufw: subprocess installed post-installation script returned error exit status 1

It seems to be installed but not configured.

Any hints? Thanks!
Dell Latitude E6230 with Intel i7, 8GB RAM, 500 GB SSD
dual boot: LMDE and Antergos both running gnome-shell
surviving in a Windows world with VMware WS 10 and Crossover 13
Riko
Level 3
Level 3
 
Posts: 130
Joined: Fri Dec 09, 2011 9:10 am
Location: Hamburg, Germany

Linux Mint is funded by ads and donations.
 

Re: problem installing UFW

Postby Riko on Fri Dec 06, 2013 5:04 pm

OK, does not actually seem to be a problem with ufw but with a bad /etc/init.d file of minidlna:

Setting up ufw (0.31.1-2) ...
update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
insserv: warning: script 'modules_load_battery' missing LSB tags and overrides
insserv: There is a loop between service minidlna and modules_load_battery if stopped
insserv: loop involving service modules_load_battery at depth 2
insserv: loop involving service minidlna at depth 1
insserv: Stopping modules_load_battery depends on minidlna 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 ufw (--configure):
subprocess installed post-installation script returned error exit status 1


if I move /etc/init.d/mindnla to something else, ufw is configured properly.
Dell Latitude E6230 with Intel i7, 8GB RAM, 500 GB SSD
dual boot: LMDE and Antergos both running gnome-shell
surviving in a Windows world with VMware WS 10 and Crossover 13
Riko
Level 3
Level 3
 
Posts: 130
Joined: Fri Dec 09, 2011 9:10 am
Location: Hamburg, Germany

Re: problem installing UFW

Postby Monsta on Sun Dec 08, 2013 12:36 pm

Why don't you remove minidlna package if you don't need it?
Monsta
Level 9
Level 9
 
Posts: 2513
Joined: Fri Aug 19, 2011 3:46 am

Re: problem installing UFW

Postby Riko on Sun Dec 08, 2013 12:42 pm

because I do want mindlna! Feeding my mp3 collection to my AV receiver via wireless.
Dell Latitude E6230 with Intel i7, 8GB RAM, 500 GB SSD
dual boot: LMDE and Antergos both running gnome-shell
surviving in a Windows world with VMware WS 10 and Crossover 13
Riko
Level 3
Level 3
 
Posts: 130
Joined: Fri Dec 09, 2011 9:10 am
Location: Hamburg, Germany

Re: problem installing UFW

Postby Monsta on Mon Dec 09, 2013 3:07 am

Ah... but if you remove the file from /etc/init.d, it won't start automatically.

BTW, I looked at its package info page and found out that it's been removed from Testing just a few days after the snapshot for UP7 has been taken. So it won't be in UP8. Besides, there are a few security holes.
Monsta
Level 9
Level 9
 
Posts: 2513
Joined: Fri Aug 19, 2011 3:46 am

Re: problem installing UFW

Postby Riko on Mon Dec 09, 2013 4:05 am

Monsta wrote:Ah... but if you remove the file from /etc/init.d, it won't start automatically.


That's OK. I don't intend to start it automatically anyway but launch it from the terminal when I actually want to use it. So I think for me this work-around will do, but of course it's not really a solution, so I don't mark the thread as solved.

Monsta wrote:BTW, I looked at its package info page and found out that it's been removed from Testing just a few days after the snapshot for UP7 has been taken. So it won't be in UP8. Besides, there are a few security holes.


Hmm, that's too bad. I guess I have to compile it from sources then or find an alternative dnla server. Thanks for pointing that out.

Cheers!

ps: (Edit:) I guess rygel could be an alternative.
Dell Latitude E6230 with Intel i7, 8GB RAM, 500 GB SSD
dual boot: LMDE and Antergos both running gnome-shell
surviving in a Windows world with VMware WS 10 and Crossover 13
Riko
Level 3
Level 3
 
Posts: 130
Joined: Fri Dec 09, 2011 9:10 am
Location: Hamburg, Germany


Return to Installation & Boot

Who is online

Users browsing this forum: No registered users and 5 guests