Two Apt (Package) Questions

Carthik Sharma carthik at gmail.com
Fri Oct 14 19:44:48 UTC 2005


On 10/14/05, Nuno Carvalho <rekconk at gmail.com> wrote:
>
>
>
> Carthik Sharma wrote:
> > On 10/14/05, *Nuno Carvalho* <rekconk at gmail.com
> > <mailto: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)
> my mistake:
>
> $ dpkg --get-selections | cut -f 1 > packages.list
> $ apt-get -d --reinstall --print-uris install `cat packages.list`
>

Thanks!!! I am still having problem with the second step, where apt-get
complains that it cannot find some packages. I tried options -m, -f and
--ignore-missing, but it still complains and stops - any quick fixes??

Thanks a lot, again,

Carthik.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-users/attachments/20051014/b233786d/attachment.html>


More information about the ubuntu-users mailing list