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

Re: 'rpm --freshen': dpkg Equivalent?



  jh> why would you just one specific package to be updated?

Sorry I didn't explain more.  Here's the situation ...

I have an office machine, O, and a home machine, H both using
sarge/testing.  O has a high-speed connection to the Internet, but H
doesn't.  After "updating" O, I copy all the .deb files in
O:/var/cache/apt/archives to removable media and bring them home.

Once home, I basically do a "dpkg -i *.deb" of the files copied from O.
(It's actually a bit more complicated due to dependencies ...)

Herein lies the problem.  There are packages I install/run on O (e.g.,
'mailman') that I do not want to install/run on H.  However, if I
quickly do "dpkg -i *.deb" on H, it'll install *all* the .debs --
including 'mailman'.

Though I *could* write a script to accomplish what I want (i.e.,
ensuring each package is present before upgrading), I thought there
might be an easier approach via a 'dpkg' command-line option (similar
to "rpm -F").

Hopefully what I'm trying to do is now clearer ...

Thanks for the responses!

  -Kenneth

PS  I realize I could also use 'apt-zip'.  But so far, the above
    approach has worked pretty well ...



Reply to: