NavigationUser loginSpam?See spam posts on this site? If so, please don't reply to the spam! Instead, just report the URL to the webmaster. |
Download debs of installed packagesHi, How do I download the .debs of packages already installed in my system 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 -- -- |
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::Download-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+bS9HxQb37XmcRAkQhAKC2yYrjwZlDTuOR4u51KqdBuzxN9QCg2vtn
muIReYcgf39DAWu5zY0/zM0=
=pAlS
-----END PGP SIGNATURE-----
--
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
--
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 $(
to the package name; you can select the version from a
particular archive by appending / to the
package name.
Bob
--