group.of.nepali.translators team mailing list archive
-
group.of.nepali.translators team
-
Mailing list archive
-
Message #24057
[Bug 1774120] Re: ebtables cannot be upgraded from 2.0.10.4-3.5ubuntu2 to 2.0.10.4-3.5ubuntu2.18.04.1 on WSL
This bug was fixed in the package ebtables - 2.0.10.4-3.5ubuntu4
---------------
ebtables (2.0.10.4-3.5ubuntu4) cosmic; urgency=medium
* Never return failure during ebtables.init stop(), it can cause
errors during package upgrade (LP: #1774120)
-- Dan Streetman <ddstreet@xxxxxxxxxxxxx> Thu, 31 May 2018 08:46:43
-0400
** Changed in: ebtables (Ubuntu Cosmic)
Status: Fix Committed => Fix Released
--
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1774120
Title:
ebtables cannot be upgraded from 2.0.10.4-3.5ubuntu2 to
2.0.10.4-3.5ubuntu2.18.04.1 on WSL
Status in ebtables package in Ubuntu:
Fix Released
Status in ebtables source package in Trusty:
In Progress
Status in ebtables source package in Xenial:
In Progress
Status in ebtables source package in Artful:
In Progress
Status in ebtables source package in Bionic:
In Progress
Status in ebtables source package in Cosmic:
Fix Released
Bug description:
[impact]
ebtables cannot be upgraded on Ubuntu 18.04 for WSL.
[test case]
on a WSL installation that already has ebtables installed (most
installations do), try to upgrade the package with apt or dpkg; its
prerm script will fail, and prevent the upgrade.
[regression potential]
the ebtables init script is changed to never return an error code when
called as 'stop', so anything that depends on the script returning an
error code when 'stop' fails will no longer work correctly. However,
nothing appears to use the 'stop' return value, besides the package's
prerm script, which is what is causing the upgrade failure.
Additionally, the prerm script is updated to ignore 'failed-upgrade'
failures, to allow upgrading over the previous version(s).
Finally note that the rpm-specific ebtables.spec file that is included
in the package specifically ignores the 'stop' return value, i.e.:
/sbin/service ebtables stop &>/dev/null || :
[other info]
note that ebtables is effectively dead upstream, so it's extremely
unlikely there will be many more package updates/srus, except to fix
minor bugs such as this.
[original description]
ebtables cannot be upgraded on Ubuntu 18.04 for WSL.
apt-get upgrade fails with the following error:
Reading package lists...
Building dependency tree...
Reading state information...
Calculating upgrade...
The following packages will be upgraded:
ebtables
1 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
Need to get 0 B/79.9 kB of archives.
After this operation, 0 B of additional disk space will be used.
(Reading database ...
(Reading database ... 5%
(Reading database ... 10%
(Reading database ... 15%
(Reading database ... 20%
(Reading database ... 25%
(Reading database ... 30%
(Reading database ... 35%
(Reading database ... 40%
(Reading database ... 45%
(Reading database ... 50%
(Reading database ... 55%
(Reading database ... 60%
(Reading database ... 65%
(Reading database ... 70%
(Reading database ... 75%
(Reading database ... 80%
(Reading database ... 85%
(Reading database ... 90%
(Reading database ... 95%
(Reading database ... 100%
(Reading database ... 47381 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
[31m*[39;49m 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
[31m*[39;49m 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
See https://github.com/Microsoft/WSL/issues/1761
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/ebtables/+bug/1774120/+subscriptions