MaxScale: BUILD/install_build_deps.sh: deprecated --force-yes

16 views
Skip to first unread message

Salar Nosrati-Ershad

unread,
Feb 20, 2024, 3:49:33 PM2/20/24
to MaxScale
Hi dear MaxScale contributors
I've tried to build MaxScale from source code on 23.08 and noticed the use of `--force-yes` flag with apt-get which is deprecated in 1.1 version of apt-get and results a warning log:
    W: --force-yes is deprecated, use one of the options starting with --allow instead.
I think we should use --allow even we should all --allow flags, but also I think not all them are useful.
Here is complete list:
    --allow-downgrades
    --allow-remove-essential
    --allow-change-held-packages
    --allow-unauthenticated
    --allow-insecure-repositories
    --allow-releaseinfo-change

I'll research on real use cases and open a PR if you confirm on this email. I'm also interested on background of this flag and the reason it used as it should used in very special cases.

Sincerely,
Salar Nosrati-Ershad

Markus Mäkelä

unread,
Feb 21, 2024, 1:05:53 AM2/21/24
to maxs...@googlegroups.com

Hi,

The --force-yes has been there for a long time. I don't think it's even needed and should probably just be removed. The change is simple to implementbut the problem is testing it on all of the Ubuntu/Debian versions that MaxScale supports. If you want to, you can open a Jira issue and the MaxScale developers can fix it as we have the capability to easily verify that it doesn't break the builds.

Markus

--
You received this message because you are subscribed to the Google Groups "MaxScale" group.
To unsubscribe from this group and stop receiving emails from it, send an email to maxscale+u...@googlegroups.com.
To view this discussion on the web, visit https://groups.google.com/d/msgid/maxscale/8d3168d3-8d7d-41b1-bca1-028730b8679cn%40googlegroups.com.
-- 
Markus Mäkelä, Senior Software Engineer
MariaDB Corporation
Reply all
Reply to author
Forward
0 new messages