'rpm --freshen': dpkg Equivalent?

From: Kenneth Jacker (khj_at_be.cs.appstate.edu)
Date: 11/07/04

  • Next message: Joris Huizer: "Re: 'rpm --freshen': dpkg Equivalent?"
    To: debian-user <debian-user@lists.debian.org>
    Date: Sun, 07 Nov 2004 11:05:01 -0500
    
    

    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 nothing (do *not* install it)

    Sorry if this is obvious, but I can't seem to find out how to do it!

    Thanks,

    -- 
    Prof Kenneth H Jacker       khj@cs.appstate.edu
    Computer Science Dept       www.cs.appstate.edu/~khj
    Appalachian State Univ
    Boone, NC  28608  USA        
    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Joris Huizer: "Re: 'rpm --freshen': dpkg Equivalent?"

    Relevant Pages

    • Re: Redhat to Freebsd
      ... >>researching security updates or in performing kernel or package updates. ... >>I assume it is only the Redhat distro that has the ease of RPM installation? ... So you can build from sources with ports, or install binaries ...
      (comp.unix.bsd.freebsd.misc)
    • Re: ./configure command
      ... The package is not available. ... machines which don't even have an OS at all, let alone RPM, ... There is not a "the tool to package and install on Fedora". ... If he wants to avoid trouble, ...
      (Fedora)
    • Re: [SLE] deCSS
      ... >> Anyone know of a reasonably easy decss program to copy DVDs to my hard ... This let's you compile from source but converts it to an rpm ... Then instead of make install you type checkinstall. ... package to meet the dependencies it may not be recognized by the other ...
      (SuSE)
    • Errors applying kernel patch 118833-36
      ... install of Solaris 10 11/06. ... However, once the package list is done, I see a worrisome message: ... Below is the complete console output of the patch run. ... Changes for package SUNWnfsskr will not be applied to the system. ...
      (SunManagers)
    • Re: RH 9.0, Putting Samba on Linux with RPM?
      ... I need to install Samba with RPM. ... downloading the various manuals in the package forms. ...
      (linux.redhat.misc)