Portál AbcLinuxu, 26. dubna 2024 16:29


Dotaz: apt-get install -f

17.12.2012 14:54 depka | skóre: 20 | blog: eterity
apt-get install -f
Přečteno: 260×
Odpovědět | Admin
jak zjistim nad kterym balikem bude provedena tato operace a jaka? pokud jsem zapomel historii pokusu instalovani baliku
Nástroje: Začni sledovat (0) ?Zašle upozornění na váš email při vložení nového komentáře.

Odpovědi

17.12.2012 15:15 host
Rozbalit Rozbalit vše Re: apt-get install -f
Odpovědět | | Sbalit | Link | Blokovat | Admin

RTFM, -f nie je nazov ziadneho balika, takze sa nic nestane

Jakub Lucký avatar 17.12.2012 15:22 Jakub Lucký | skóre: 40 | Praha
Rozbalit Rozbalit vše Re: apt-get install -f
Odpovědět | | Sbalit | Link | Blokovat | Admin
       -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í...
If you understand, things are just as they are; if you do not understand, things are just as they are.
17.12.2012 15:43 host
Rozbalit Rozbalit vše Re: apt-get install -f

povodny prikaz je "apt-get-install -f", v tomto pripade je "-f" parameter pre "install" teda nazov balika

17.12.2012 15:45 depka | skóre: 20 | blog: eterity
Rozbalit Rozbalit vše Re: apt-get install -f
a lze to nejak potlacit aby nektroloval vsechny balicky kdyz se snazim nainstalovat uplne jiny?
17.12.2012 15:49 host
Rozbalit Rozbalit vše Re: apt-get install -f
ak chces kontrolovat balicky, tak bez toho "install". Vzdy sa bude snazit vyriesit vsetky chybne balicky.

17.12.2012 16:15 depka | skóre: 20 | blog: eterity
Rozbalit Rozbalit vše Re: apt-get install -f
ja se snazim nainstalovat jeden balicek a spadne mi to vzdy na nejakych nesouvisejicich baliccich, ktere maji rozbite zavislosti
17.12.2012 16:53 host
Rozbalit Rozbalit vše Re: apt-get install -f
a mozes byt konkretnejsi? Aka distribucia, aky balicek, vypis logu alebo screenshot...
17.12.2012 20:47 depka | skóre: 20 | blog: eterity
Rozbalit Rozbalit vše Re: apt-get install -f
jedna se o debian wheezy/sid
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
17.12.2012 17:00 2012
Rozbalit Rozbalit vše Re: apt-get install -f
Odpovědět | | Sbalit | Link | Blokovat | Admin
"apt-get install -f" ti doinstaluje zavislosti (pokud jsou v repozitari), aby si zjistil co se konkretne doinstaluje, tak to predtim pustis s dry-run:
apt-get install -f --dry-run

Založit nové vláknoNahoru

Tiskni Sdílej: Linkuj Jaggni to Vybrali.sme.sk Google Del.icio.us Facebook

ISSN 1214-1267, (c) 1999-2007 Stickfish s.r.o.