|
|
|
|
||||||
| linux.debian.user debian-user@lists.debian.org. |
![]() |
|
|
LinkBack | Outils de la discussion |
|
|
#1 |
|
Messages: n/a
Hébergeur: |
Hi,
How do I download the .debs of packages already installed in my system without having to reinstall them first via apt? The command I'm using right now is: apt-get --yes --reinstall install `cat package_list.txt` where package_list.txt contains the package names per line. TIA -- Rage Callao Free Software :: empower :: educate -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#2 |
|
Messages: n/a
Hébergeur: |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On 07/30/07 01:12, Rage Callao wrote: > Hi, > > How do I download the .debs of packages already installed in my system > without having to reinstall them first via apt? > > The command I'm using right now is: > > apt-get --yes --reinstall install `cat package_list.txt` > > where package_list.txt contains the package names per line. man pages are your friends. $ man apt-get [snip] OPTIONS All command line options may be set using the configuration file, the descriptions indicate the configuration option to set. For boolean options you can override the config file by using something like -f-,--no-f, -f=no or several other variations. -d, --download-only Download only; package files are only retrieved, not unpacked or installed. Configuration Item: APT::Get: ownload-Only.But it won't *necessarily* download the version you have installed. It will download the version that is currently in the repository. Look in /var/cache/apt/archives for installed debs. - -- Ron Johnson, Jr. Jefferson LA USA Give a man a fish, and he eats for a day. Hit him with a fish, and he goes away for good! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGrZ+bS9HxQb37XmcRAkQhAKC2yYrjwZlDTuOR4u51Kq dBuzxN9QCg2vtn muIReYcgf39DAWu5zY0/zM0= =pAlS -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#3 |
|
Messages: n/a
Hébergeur: |
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1 On 07/30/07 01:12, Rage Callao wrote: > Hi, > > How do I download the .debs of packages already installed in my system > without having to reinstall them first via apt? > > The command I'm using right now is: > > apt-get --yes --reinstall install `cat package_list.txt` > > where package_list.txt contains the package names per line. man pages are your friends. $ man apt-get [snip] OPTIONS All command line options may be set using the configuration file, the descriptions indicate the configuration option to set. For boolean options you can override the config file by using something like -f-,--no-f, -f=no or several other variations. -d, --download-only Download only; package files are only retrieved, not unpacked or installed. Configuration Item: APT::Get: ownload-Only.But it won't *necessarily* download the version you have installed. It will download the version that is currently in the repository. Look in /var/cache/apt/archives for installed debs. - -- Ron Johnson, Jr. Jefferson LA USA Give a man a fish, and he eats for a day. Hit him with a fish, and he goes away for good! -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFGrZ+bS9HxQb37XmcRAkQhAKC2yYrjwZlDTuOR4u51Kq dBuzxN9QCg2vtn muIReYcgf39DAWu5zY0/zM0= =pAlS -----END PGP SIGNATURE----- -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#4 |
|
Messages: n/a
Hébergeur: |
Rage Callao wrote:
> Hi, > > How do I download the .debs of packages already installed in my system > without having to reinstall them first via apt? > > The command I'm using right now is: > > apt-get --yes --reinstall install `cat package_list.txt` > > where package_list.txt contains the package names per line. > If you want .debs of what is installed, why not dpkg-repack? Hugo -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#5 |
|
Messages: n/a
Hébergeur: |
Rage Callao wrote:
> Hi, > > How do I download the .debs of packages already installed in my system > without having to reinstall them first via apt? > > The command I'm using right now is: > > apt-get --yes --reinstall install `cat package_list.txt` > > where package_list.txt contains the package names per line. > If you want .debs of what is installed, why not dpkg-repack? Hugo -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#6 |
|
Messages: n/a
Hébergeur: |
Rage Callao wrote:
> How do I download the .debs of packages already installed in my system > without having to reinstall them first via apt? > > The command I'm using right now is: > > apt-get --yes --reinstall install `cat package_list.txt` > > where package_list.txt contains the package names per line. Use aptitude to download the .deb file to the current directory. aptitude download $(<package_list.txt) download Downloads the .deb file for the given package to the current directory. By default, the version which would be installed with "aptitude install" is downloaded. You can select a particular version of a package by appending =<version> to the package name; you can select the version from a particular archive by appending /<archive> to the package name. Bob -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
|
|
#7 |
|
Messages: n/a
Hébergeur: |
Rage Callao wrote:
> How do I download the .debs of packages already installed in my system > without having to reinstall them first via apt? > > The command I'm using right now is: > > apt-get --yes --reinstall install `cat package_list.txt` > > where package_list.txt contains the package names per line. Use aptitude to download the .deb file to the current directory. aptitude download $(<package_list.txt) download Downloads the .deb file for the given package to the current directory. By default, the version which would be installed with "aptitude install" is downloaded. You can select a particular version of a package by appending =<version> to the package name; you can select the version from a particular archive by appending /<archive> to the package name. Bob -- To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org |
|
![]() |
| Outils de la discussion | |
|
|