ufw: To continue type in the phrase 'Yes, do as I say!'

Kernels & Hardware, configuring network, installing services

ufw: To continue type in the phrase 'Yes, do as I say!'

Postby 2trax » 2017-05-07 17:11

Hello fellow Debian users,

I'm having a bit of trouble installing the 'unomplicated fire wall' (ufw) package, and get the following warning:

The following packages will be REMOVED:
colord hplip init libpam-systemd policykit-1 printer-driver-postscript-hp
systemd systemd-sysv
The following NEW packages will be installed:
ufw
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
init systemd-sysv (due to init)
0 upgraded, 1 newly installed, 8 to remove and 0 not upgraded.
Need to get 138 kB of archives.
After this operation, 12.0 MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'

Is there a problem with ufw and systemd? Does it only play well on upstart based installs?

BTW I'm running Jessie as far as I can work out - the below are in my sources.list:

deb http://mirror.ox.ac.uk/debian/ jessie main
deb-src http://mirror.ox.ac.uk/debian/ jessie main

# jessie-updates, previously known as 'volatile'
deb http://mirror.ox.ac.uk/debian/ jessie-updates main
deb-src http://mirror.ox.ac.uk/debian/ jessie-updates main

#deb http://ftp.us.debian.org/debian testing main contrib non-free
deb http://ftp.debian.org/debian/ jessie-updates main contrib non-free

# Security
deb http://security.debian.org/ jessie/updates main contrib non-free

##### SOURCE
deb-src http://ftp.us.debian.org/debian testing main contrib non-free
deb-src http://ftp.debian.org/debian/ jessie-updates main contrib non-free
deb-src http://security.debian.org/ jessie/updates main contrib non-free

Thanks,

Sam
2trax
 
Posts: 3
Joined: 2017-05-07 16:49

Re: ufw: To continue type in the phrase 'Yes, do as I say!'

Postby 4D696B65 » 2017-05-07 17:27

2trax wrote:#deb http://ftp.us.debian.org/debian testing main contrib non-free


Did you install something from testing at one point?
User avatar
4D696B65
 
Posts: 1965
Joined: 2009-06-28 06:09

Re: ufw: To continue type in the phrase 'Yes, do as I say!'

Postby 2trax » 2017-05-07 17:34

Hmm. Probably.

But that's a source repository, and I'm 99.9% certain that I've not compiled any packages from source on this particular machine. Could it still be causing a conflict? Easy enough to check I guess, will let you know!
2trax
 
Posts: 3
Joined: 2017-05-07 16:49

Re: ufw: To continue type in the phrase 'Yes, do as I say!'

Postby 2trax » 2017-05-07 17:36

Nope, it's not that - I removed that line from sources.list, updated apt and tried to install ufw again with exactly the same results.
2trax
 
Posts: 3
Joined: 2017-05-07 16:49

Re: ufw: To continue type in the phrase 'Yes, do as I say!'

Postby 4D696B65 » 2017-05-07 17:37

2trax wrote:Hmm. Probably.

But that's a source repository, and I'm 99.9% certain that I've not compiled any packages from source on this particular machine. Could it still be causing a conflict? Easy enough to check I guess, will let you know!

No it is not source.
User avatar
4D696B65
 
Posts: 1965
Joined: 2009-06-28 06:09

Re: ufw: To continue type in the phrase 'Yes, do as I say!'

Postby debiman » 2017-05-07 17:38

there's also one testing repo that is NOT commented out.

fwiw, i have ufw on my jessie install and never had to uninstall systemd.

i strongly suspect there is some sources mixing involved here; if not now, then in the past.

also, did you run apt-get update and apt-get upgrade?
User avatar
debiman
 
Posts: 1017
Joined: 2013-03-12 07:18

Re: ufw: To continue type in the phrase 'Yes, do as I say!'

Postby phenest » 2017-05-07 17:44

2trax wrote:Is there a problem with ufw and systemd? Does it only play well on upstart based installs?

Do you have upstart installed?
NEC Spirit 550 P4 3.8GHz HT - 2GB RAM - nVidia 7600GT - Pioneer BDR-209DBK
ASUS Sabertooth P67 i7 3770K - 32GB RAM - 2x nVidia 660GTX SLI'd
User avatar
phenest
 
Posts: 1571
Joined: 2010-03-09 09:38
Location: The Matrix

Re: ufw: To continue type in the phrase 'Yes, do as I say!'

Postby stevepusser » 2017-05-07 18:30

What version of ufw and iptables does your system see as available?

Code: Select all
apt-cache policy ufw iptables


This is suspicious because it does not conflict with systemd or systemd-shim.

Your thread title could be made more clear, too--something along the lines of "ufw install want to remove my init system!"
The MX Linux repositories: Backports galore! If we don't have something, just ask and we'll try--we like challenges. New packages: AzPainter 2.0.6, Pale Moon 27.4.0, Liquorix kernel 4.11-9, mpv 0.25.0, Kodi 17.3, Ksnip 1.3.1, Mesa 13.0.6
User avatar
stevepusser
 
Posts: 8406
Joined: 2009-10-06 05:53


Return to System configuration

Who is online

Users browsing this forum: No registered users and 8 guests

fashionable