Two Apt (Package) Questions
Nuno Carvalho
rekconk at gmail.com
Fri Oct 14 15:41:42 UTC 2005
Carthik Sharma wrote:
> Hi all,
>
> I am in the process of getting ready to upgrade to Breezy, and have a
> couple of questions:
>
> 1) What is the command to download (only download) all .debs of all
> installed packages?
> The idea is to have a copy of all the .debs in a cdrom, since this would
> mean I have all those that I want. I had run apt-get autoclean once so
> my apt cache is almost empty now.
>
just add "-d" to your apt-get call
eg: apt-get -d upgrade
> 2) I have used various sources over time, so is there a command to list
> which .deb source a particular package was downloaded from? Text file
> output showing all packages installed and where they came from would be
> great. I know that dpkg --get-selections gives me a list of installed
> packages and their state, but it does not provide info about where the
> package was installed from.
use "--print-uris", instead of fetching the files apt will print deb's URL.
I could do "man apt-get" to see this...
>
> Thank you,
> Carthik.
best regards
Nuno
>
>
> --
> Ph.D. Candidate
> University of Central Florida
> Homepage: http://carthik.net
>
--
Today's fortune:
If all the Chinese simultaneously jumped into the Pacific off a 10 foot
platform erected 10 feet off their coast, it would cause a tidal wave
that would destroy everything in this country west of Nebraska.
More information about the ubuntu-users
mailing list