PHWinfo banniere

Titres
PORTAIL ANNUAIRE ARTICLES COMPARATEUR HÉBERGEURS DEVIS FORUMS RÉDUCTEUR D'URL
Précédent   PHWinfo > Forums Hébergement > Forum Serveur - Sécurité et techniques > linux.debian.user > Download debs of installed packages
S'inscrire FAQ Membres Recherche Messages du jour Marquer les forums comme lus
linux.debian.user debian-user@lists.debian.org.

Download debs of installed packages

Réponse
 
LinkBack Outils de la discussion
Vieux 30/07/2007, 08h20   #1
Rage Callao
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Download debs of installed packages

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
  Réponse avec citation
Vieux 30/07/2007, 10h30   #2
Ron Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Download debs of installed packages

-----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
  Réponse avec citation
Vieux 30/07/2007, 10h30   #3
Ron Johnson
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Download debs of installed packages

-----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
  Réponse avec citation
Vieux 30/07/2007, 14h00   #4
Hugo Vanwoerkom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Download debs of installed packages

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
  Réponse avec citation
Vieux 30/07/2007, 14h00   #5
Hugo Vanwoerkom
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Download debs of installed packages

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
  Réponse avec citation
Vieux 01/08/2007, 08h20   #6
Bob Proulx
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Download debs of installed packages

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
  Réponse avec citation
Vieux 01/08/2007, 08h20   #7
Bob Proulx
Aucun Avatar
 
Messages: n/a
Hébergeur:
Par défaut Re: Download debs of installed packages

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
  Réponse avec citation
Réponse


Outils de la discussion

Règles de messages
Vous ne pouvez pas créer de nouvelles discussions
Vous ne pouvez pas envoyer des réponses
Vous ne pouvez pas envoyer des pièces jointes
Vous ne pouvez pas modifier vos messages

Les balises BB sont activées : oui
Les smileys sont activés : oui
La balise [IMG] est activée : oui
Le code HTML peut être employé : non
Trackbacks are oui
Pingbacks are oui
Refbacks are oui


Fuseau horaire GMT +1. Il est actuellement 02h46.


Édité par : vBulletin®
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0 RC5 Tous droits réservés.
Version française #16 par l'association vBulletin francophone
PHWinfo est un site Éducation Sans Frontières ©2000-2008
Ad Management by RedTyger
©Tous droits réservés par les parties respectives
Page generated in 0,13318 seconds with 15 queries