Two Apt (Package) Questions
carthik at gmail.com
Fri Oct 14 18:58:39 UTC 2005
On 10/14/05, Nuno Carvalho <rekconk at gmail.com> wrote:
> 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
This will download the packages that need upgrades. I want to download
packages that are already installed, and up-to-date ? (for archival)
> 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
Again, this will print the URIs of packages about to be upgraded, or
installed anew. It will not provide me with any info regarding the packages
I have installed.
I could do "man apt-get" to see this...
Well, I did read it, thrice over, and found no reasonable way to do what I
wanted, hence the request for information.
> best regards
> > --
> > 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.
> ubuntu-users mailing list
> ubuntu-users at lists.ubuntu.com
University of Central Florida
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the ubuntu-users