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

Re: apt-get install or upgrade from stored archive



....Idea!! Just make sure all the .debs are in /var/cache/apt/archives and
do an upgrade, apt finds out that it's not needed to download everything
so, it doesn't!!

Ron Rademaker

On Thu, 18 May 2000, Antonio Rodriguez wrote:

> There should be a way, because otherwise there is no reason for the folder
> /var/cache/apt/archives to exist!!!!
> 
> Ron Rademaker wrote:
> 
> > I don't thinthat'll work because the directory structure isn't correct, on
> > a mirror you got
> > /dists/<distro>/[main|contrib|non-free]/binary-i386/[base|admin|net|etc]/package.deb
> > you don't have that with your downloaded packages, the best thing you can
> > do is go to the downloaded .deb and do dpkg -i *.deb, you might need to
> > add some force options, like the one to avoid version conflicts /
> > dependencies, perl and libc6 might give problems, YOU SHOULD ONLY USE
> > THOSE FORCES TO UPGRADE THOSE 2!!
> > But I must agree with you that there should be some kind of way to easily
> > downgrade using .debs on your system and apt-get, perhaps a feature that
> > should be added to apt-get.... who maintains the package???
> >
> > Ron Rademaker
> >
> > On Thu, 18 May 2000, Antonio Rodriguez wrote:
> >
> > > Well, lets put the question in a more general manner: What steps should be followed to
> > > avoid this problem in the future? That is, is there any way of keeping the downloaded
> > > upgrade with the dependency structure and everything else, so that in case of a problem
> > > the system can be restored by: 1) Installing from CD, and subsequently 2) Using the
> > > downloaded upgrade?
> > > My system was mesed up, the file system got all upside down after a few unlucky
> > > kernel-lilo changes. So I used the rescue floppy from slink and re-installed from zero.
> > > But I lost all the upgrade!!!! And it really sounds unlikely spending again hours doing
> > > it, especially because I have all the debs in my hard drive!!!
> > > Wait a second, what if I run apt-get update pointing to frozen, and the swithch it to
> > > file:// , would that work?
> > > I would like to hear opinions before attempting it again.
> > > Thanx.
> > >
> > > Ron Rademaker wrote:
> > >
> > > > You should change your sources.list and use file:// instead of ftp or http
> > > > to install from a local file, however I think the directory structure
> > > > won't be good AND ther won't be any packages.gz, furthermore you should
> > > > find some kind of force-downgrade options in apt-get. I think you should
> > > > use dpkg to downgrade in this case.
> > > >
> > > > By the way, what do you mean: messed up the system, what went wrong,
> > > > perhaps it'll be easier to fix it!
> > > >
> > > > Ron Rademaker
> > > >
> > > > On Thu, 18 May 2000, Antonio Rodriguez wrote:
> > > >
> > > > > I had installed slink 2.1, which I upgraded through a my moden
> > > > > connection after a few days to frozen. I made a backup of the
> > > > > /var/cache/apt/archives folder in to another partition. After that I
> > > > > messed up my system, so I had to reinstall 2.1 again. How can I apt-get
> > > > > upgrade my system to the previous frozen status by using the backed
> > > > > archive? The problem I see is that apt-get will have troubble
> > > > > determining the dependencies, without a package.gz file, and there
> > > > > wasn't any in the archive. Please help. I would hate to go through the
> > > > > whole downloading thing again. If I fetch the packages.gz file existing
> > > > > now in frozen, it will probably be different enough to be a problem.
> > > > > Please give me some ideas for now and for future problems of the same
> > > > > kind.
> > > > > (Thanx)(10^6)
> > > > > Antonio.
> > > > >
> > > > >
> > > > > --
> > > > > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> > > > >
> > >
> >
> > --
> > Unsubscribe?  mail -s unsubscribe debian-user-request@lists.debian.org < /dev/null
> 



Reply to: