Re: questions diverses
Quoting Thomas Labourdette:
> Dans ce cas pourquoi si je vide le fichier available, il se rempli
> uniquement si je met à jour un paquet ou si j'en installe un ? En
> aucun cas lorsque je fais un update.
> Je précise que je n'utilise jamais dselect mais apt.
Comment utilises-tu apt ?
J'ai rapidement regardé les sources de apt, mais je ne vois rien qui
indique qu'il mettrait à jour le fichier "available" par lui-même.
Au contraire dans le fichier doc/dpkg-tech.sgml il confirme :
---
Dpkg keeps a variety of files in its status area. These are discussed later
on in this document, but a quick summary of the files is here:-
<list>
<item>available - this file contains a concatenation of control information
from all the packages which dpkg knows about. This is updated using the dpkg
commands "--update-avail <file>", "--merge-avail <file>", and
"--clear-avail".
<item>status - this file contains information on the following things for
every package:-
<list>
<item>Whether it is installed, not installed, unpacked, removed,
failed configuration, or half-installed (deconfigured in
favour of another package).
<item>Whether it is selected as install, hold, remove, or purge.
<item>If it is "ok" (no installation problems), or "not-ok".
<item>It usually also contains the section and priority (so that
dselect may classify packages not in available)
<item>For packages which did not initially appear in the "available"
file when they were installed, the other control information
for them.
</list>
---
Je ne vois aucune invocation à dpkg --update-avail ou dpkg --merge-avail
dans apt lui-même mis à part dans la méthode apt de dselect.
A+
--
Raphaël Hertzog -+- http://www.ouaza.com
Formation Linux et logiciel libre : http://www.logidee.com
Earn money with free software: http://www.geniustrader.org
Reply to: