[Bug 1259] Handling of EPROTONOSUPPORT in ebtables breaking Ubuntu 18.04 apt-get upgrade

bugzilla-daemon at netfilter.org bugzilla-daemon at netfilter.org
Fri Jun 1 03:21:23 CEST 2018


https://bugzilla.netfilter.org/show_bug.cgi?id=1259

--- Comment #1 from redbeardesq at outlook.com ---
eading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
  ebtables
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
5 not fully installed or removed.
Need to get 0 B/79.9 kB of archives.
After this operation, 0 B of additional disk space will be used.
Do you want to continue? [Y/n] y
(Reading database ... 84358 files and directories currently installed.)
Preparing to unpack .../ebtables_2.0.10.4-3.5ubuntu2.18.04.1_amd64.deb ...
invoke-rc.d: could not determine current runlevel
 * Error: insufficient privileges to access the ebtables rulesets.
invoke-rc.d: initscript ebtables, action "stop" failed.
dpkg: warning: old ebtables package pre-removal script subprocess returned
error exit status 1
dpkg: trying script from the new package instead ...
invoke-rc.d: could not determine current runlevel
 * Error: insufficient privileges to access the ebtables rulesets.
invoke-rc.d: initscript ebtables, action "stop" failed.
dpkg: error processing archive
/var/cache/apt/archives/ebtables_2.0.10.4-3.5ubuntu2.18.04.1_amd64.deb
(--unpack):
 new ebtables package pre-removal script subprocess returned error exit status
1
update-rc.d: warning: start and stop actions are no longer supported; falling
back to defaults
invoke-rc.d: could not determine current runlevel
Errors were encountered while processing:
 /var/cache/apt/archives/ebtables_2.0.10.4-3.5ubuntu2.18.04.1_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Contrary to the error messages though I do not believe it's a permissions error
because I can reproduce the error as root. 

On the other hand, someone has suggested that apt doesn't care if you are root.
https://github.com/Microsoft/WSL/issues/1761#issuecomment-371246054

-- 
You are receiving this mail because:
You are watching all bug changes.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.netfilter.org/pipermail/netfilter-buglog/attachments/20180601/c851d758/attachment.html>


More information about the netfilter-buglog mailing list