Re: How to (re-)download DEB packages with APT

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

 



To list everything you have installed: 

dpkg --get-selections > package.list

You'll need to clean that up a bit (just the package names and all one line) but I'll leave that as an exercise for the reader.

To download all the packages:

apt-get -d install package.list

-d will just download the packages to /var/cache/apt/archives and won't actually install anything.  If you want to store them for later I'd mount that directory to some sort of file server via NFS or samba before running apt-get and save yourself the hassle of moving them somewhere else after (or risk running out of space)

On Sun, Dec 13, 2009 at 11:58 PM, sebastian maemo <sebastian.maemo@xxxxxxxxx> wrote:
>
> Hi everybody:
>
> I know it's a weird question... but I'm afraid that some repositories for my N770 might disappear sometime in the future... so I'd like to know if it's possible to download via APT all the DEB packages I have already installed on my device (I removed the downloaded packages to gain empty space...)
>
> --
> Salut,
> Sebas
>
> _______________________________________________
> maemo-users mailing list
> maemo-users@xxxxxxxxx
> https://lists.maemo.org/mailman/listinfo/maemo-users
>

_______________________________________________
maemo-users mailing list
maemo-users@xxxxxxxxx
https://lists.maemo.org/mailman/listinfo/maemo-users

[Index of Archives]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]     [Big List of Linux Books]    

  Powered by Linux