[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: Le systèm



Jérôme Marant wrote:

frederic <frederic@placenet.org> writes:

Laurent Martelli wrote:

"Frederic" == Frederic Cella <frederic@placenet.org> writes:

[...]

Frederic> une question : concernant apt-get , il n'y a pas de
Frederic> solution pour recuperer un paquet binaire donné qu'il soit
Frederic> deja installé sur le systeme ?

non.

je souhaite rappatrier de nouveau un paquet déjà installé par apt-get,
un simple download.


$ man apt-get

...

-d

--download-only
             Download  only;  package  files  are  only  retrieved,  not  unpacked  or   installed.    Configuration   Item:
             APT::Get::Download-Only.


...


il semble que la command est apt-get --reinstall

mais elle n'apparait pas dans l'help.
Usage: apt-get [options] command
      apt-get [options] install|remove pkg1 [pkg2 ...]
      apt-get [options] source pkg1 [pkg2 ...]

apt-get is a simple command line interface for downloading and
installing packages. The most frequently used commands are update
and install.

Commands:
  update - Retrieve new lists of packages
  upgrade - Perform an upgrade
  install - Install new packages (pkg is libc6 not libc6.deb)
  remove - Remove packages
  source - Download source archives
  build-dep - Configure build-dependencies for source packages
  dist-upgrade - Distribution upgrade, see apt-get(8)
  dselect-upgrade - Follow dselect selections
  clean - Erase downloaded archive files
  autoclean - Erase old downloaded archive files
  check - Verify that there are no broken dependencies

Options:
 -h  This help text.
 -q  Loggable output - no progress indicator
 -qq No output except for errors
 -d  Download only - do NOT install or unpack archives
 -s  No-act. Perform ordering simulation
 -y  Assume Yes to all queries and do not prompt
 -f  Attempt to continue if the integrity check fails
 -m  Attempt to continue if archives are unlocatable
 -u  Show a list of upgraded packages as well
 -b  Build the source package after fetching it
 -c=? Read this configuration file
 -o=? Set an arbitary configuration option, eg -o dir::cache=/tmp
See the apt-get(8), sources.list(5) and apt.conf(5) manual
pages for more information and options.


Cordialement.
frederic









Reply to: