problem installing UFW

Archived topics about LMDE 1 and LMDE 2
Locked
Riko

problem installing UFW

Post by Riko »

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!
Last edited by LockBot on Wed Dec 28, 2022 7:16 am, edited 1 time in total.
Reason: Topic automatically closed 6 months after creation. New replies are no longer allowed.
Riko

Re: problem installing UFW

Post by Riko »

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.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: problem installing UFW

Post by Monsta »

Why don't you remove minidlna package if you don't need it?
Riko

Re: problem installing UFW

Post by Riko »

because I do want mindlna! Feeding my mp3 collection to my AV receiver via wireless.
Monsta
Level 10
Level 10
Posts: 3071
Joined: Fri Aug 19, 2011 3:46 am

Re: problem installing UFW

Post by Monsta »

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

BTW, I looked at its [url=http://packages.qa.debian.org/m/minidlna.html]package info page[/url] 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 [url=http://bugs.debian.org/717131]security holes[/url].
Riko

Re: problem installing UFW

Post by Riko »

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 [url=http://packages.qa.debian.org/m/minidlna.html]package info page[/url] 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 [url=http://bugs.debian.org/717131]security holes[/url].
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.
Locked

Return to “LMDE Archive”