'rpm --freshen': dpkg Equivalent?

2004-11-07 Thread Kenneth Jacker
How can I use 'dpkg' to install a new .deb, but *only* if the package is already on a machine? With RPM, you can use the freshen option (-F or --freshen). But how with 'dpkg'? In other words: o If the package is already installed, then update it o If the package is not installed, do

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

2004-11-07 Thread Joris Huizer
Kenneth Jacker wrote: How can I use 'dpkg' to install a new .deb, but *only* if the package is already on a machine? With RPM, you can use the freshen option (-F or --freshen). But how with 'dpkg'? In other words: o If the package is already installed, then update it o If the package is not

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

2004-11-07 Thread Alexander Schmehl
* Kenneth Jacker [EMAIL PROTECTED] [041107 17:05]: How can I use 'dpkg' to install a new .deb, but *only* if the package is already on a machine? With RPM, you can use the freshen option (-F or --freshen). But how with 'dpkg'? The only way I know (got through the package localepurge) is the

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

2004-11-07 Thread Alexander Schmehl
* Alexander Schmehl [EMAIL PROTECTED] [041107 17:42]: * Kenneth Jacker [EMAIL PROTECTED] [041107 17:05]: How can I use 'dpkg' to install a new .deb, but *only* if the package is already on a machine? With RPM, you can use the freshen option (-F or --freshen). But how with 'dpkg'? apt-get

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

2004-11-07 Thread Kenneth Jacker
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

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

2004-11-07 Thread Ron Johnson
On Sun, 2004-11-07 at 13:06 -0500, Kenneth Jacker wrote: 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

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

2004-11-07 Thread Niels L Ellegaard
On Sun, 07 Nov 2004 11:05:01 -0500 Kenneth Jacker [EMAIL PROTECTED] wrote: How can I use 'dpkg' to install a new .deb, but *only* if the package is already on a machine? With RPM, you can use the freshen option (-F or --freshen). But how with 'dpkg'? In other words: o If the package is

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

2004-11-07 Thread Curt Howland
Hi. This isn't a silly question at all. For a long time I would use dselect to just update the list of available packages, then I have to view them just to get back out to the prompt to update. However, this will do the same: apt-get update ; apt-get upgrade The first updates the list of

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

2004-11-07 Thread Kenneth Jacker
ne if (dpkg -l package-name | grep -c ii ) dpkg -i ./package.deb; Though I might again consider using 'apt-zip', a slight variation of the above should do what I need ... Thanks, Niels! -Kenneth -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of unsubscribe. Trouble?