Portál AbcLinuxu, 11. května 2025 10:44
RTFM, -f nie je nazov ziadneho balika, takze sa nic nestane
-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 dselect(1) or 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.nedělá se nad žádným balíkem, kontroluje to "všechny" balíčky, zda neexistuje žádný, který má rozbité závislosti. Pokud nějaký balík má závislosti rozbité, pak se nabídne řešení...
povodny prikaz je "apt-get-install -f", v tomto pripade je "-f" parameter pre "install" teda nazov balika
navi:~# apt-get install elinks Reading package lists... Done Building dependency tree Reading state information... Done Some packages could not be installed. This may mean that you have requested an impossible situation or if you are using the unstable distribution that some required packages have not yet been created or been moved out of Incoming. The following information may help to resolve the situation: The following packages have unmet dependencies: libglib2.0-0 : Breaks: eog (< 3.2.2-3) but 3.0.2-2 is to be installed Breaks: gdm3 (< 3.0.3) but 2.30.5-10 is to be installed network-manager : Recommends: crda but it is not going to be installed Breaks: network-manager-gnome (< 0.9) but 0.8.4-3 is to be installed E: Broken packages
apt-get install -f --dry-run
Tiskni
Sdílej:
ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.