Thanks but... too risky! Eventually I found a post advising to delete the
package entries from /var/lib/dpkg/status, all of the lines from "Package:
shorewall" down to just before the next "Package:" line. And also
shorewall-core and shorewall-init (and for some people there might be
others).

So AFTER downloading and building the latest version (dpkg doesn't know
anything about that, but it results in running the current version) I
deleted the entries from /var/lib/dpkg/status with great care and for good
measure, also deleted the shorewall-related information from ./status-old
./available ./available-old - and finally ran rm
/var/lib/dpkg/info/shorewall*

The package manager still runs (whew!) and dpkg -l shorewall now returns
unknown & not installed. And of course this didn't affect the running,
current shorewall software at all.

Have you considered offering .deb packages for each current release as a
PPA?

On Thu, Aug 24, 2017 at 12:47 PM, Vieri Di Paola via Shorewall-users <
[email protected]> wrote:

>
> ________________________________
> From: Norman Henderson <[email protected]>
> >
>
> > I have a couple of remotely located systems with the Ubuntu-packaged
> shorewall 5.0.4 and would like to
>
> > move to building the current release 5.1.6 instead.
>
> On Gentoo, you can use slotted packages.
> I don't know about Ubuntu - I don't use it.
> In any case, I guess you can run "dpkg-query -L shorewall" to get a full
> list of the installed 5.0 files, back them up with all your custom config
> files. I'd create and run in the background an auto-reverting script while
> doing the upgrade to 5.1 from a remote location.
> If all goes well, kill the script once you ssh into the firewall again.
> If it fails, just wait until the script removes 5.1, restores the
> backed-up files, and restarts shorewall 5.0.
>
> Before doing so, make sure you also handle dependencies that may be pulled
> in, or not.
>
> Just a thought. Good luck.
>
> Vieri
>
> ------------------------------------------------------------
> ------------------
> Check out the vibrant tech community on one of the world's most
> engaging tech sites, Slashdot.org! http://sdm.link/slashdot
> _______________________________________________
> Shorewall-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/shorewall-users
>
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Shorewall-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/shorewall-users

Reply via email to