Build and packaging library
  • Python 49.4%
  • Makefile 37%
  • Shell 13.6%
Find a file
Jan Lindemann bdb6ae69b3 apt-get install: Add --fix-broken to commandline

apt-get install suggests it wants to be called with -f to clean up some mess left behind from a previous install. Adding -f in the hope add it to the install options by default. OTOH, it wants to be called that without arguments, not sure if always passing it along is a good idea.

The man page says:

-f, --fix-broken

Fix; attempt to correct a system with broken dependencies in place. This option, when used with install/remove, can omit any packages to permit APT to deduce a likely solution. If packages are specified, these have to completely correct the problem. The option is sometimes necessary when running APT for the first time; APT itself does not allow broken package dependencies to exist on a system. It is possible that a system's dependency structure can be so corrupt as to require manual intervention (which usually means using dpkg --remove to eliminate some of the offending packages). Use of this option together with -m may produce an error in some situations. Configuration Item: APT::Get::Fix-Broken.

Also turn the short options -yq into long options --yes --quiet for more obvious debugging if something goes awry.

Signed-off-by: Jan Lindemann <jan@janware.com>
2026-02-15 16:13:12 +00:00
bin bin, make, scripts: Re-add files necessary for packaging jw-build 2025-11-14 11:22:50 +01:00
make defs.mk: Pass -f $(PKG_FORMAT) to pkg.sh log-install 2026-02-15 16:04:33 +00:00
scripts pkg.sh milk-install-log: Clean up Debian filters 2026-02-15 16:04:59 +00:00
src apt-get install: Add --fix-broken to commandline 2026-02-15 16:13:12 +00:00
.gitignore Everywhere: Rename package "jw-build" to "jw-pkg" 2025-11-28 13:35:56 +01:00
HASH Release 1.0.0-163@suse-tumbleweed/x86_64 2026-02-15 00:12:40 +00:00
Makefile $(TOPDIR)/Makefile: Remove superfluous SUBDIRS 2025-11-14 13:39:52 +01:00
RELEASES Release 1.0.0-163@suse-tumbleweed/x86_64 2026-02-15 00:12:40 +00:00
VERSION Start version: 1.0.0-163 2026-02-15 00:12:03 +00:00