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

From: Joris Huizer (jorishuizer_at_planet.nl)
Date: 11/07/04

  • Next message: Hugo Vanwoerkom: "Re: Enhancing video"
    Date: Sun, 07 Nov 2004 17:25:41 +0100
    To: debian-user <debian-user@lists.debian.org>
    
    

    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 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,

    apt-get upgrade/apt-get dist-upgrade (after apt-get update) will upgrade
    all packages; why would you just one specific package to be updated?

    HTH,

    Joris

    -- 
    To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org 
    with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
    

  • Next message: Hugo Vanwoerkom: "Re: Enhancing video"

    Relevant Pages

    • Re: rpm --freshen: dpkg Equivalent?
      ... Kenneth Jacker wrote: ... > o If the package is already installed, ... In most cases it is easier to upgrade all packages at once: ... To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org ...
      (Debian-User)
    • FW: changing roots on: dpkg -i
      ... >> build my own package? ... plus the ~official Debian ... > hard problem that's not real high on the dpkg feature list. ... To UNSUBSCRIBE, email to debian-user-request@lists.debian.org ...
      (Debian-User)
    • Re: apt pinning confusion
      ... Pin: release o=Debian, a=experimental ... subject of "unsubscribe". ... Trouble? ... downgrade of the package ...
      (Debian-User)
    • Re: fsck on ext3, lost files
      ... nautilus, lde, find with file. ... When a file is deleted, the data remains on disk. ... The "testdisk" package, I have already mentioned contains a tool called ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)
    • Re: midi support in debian
      ... Hmmm, my last message got bounced back, but that's OK since then I have ... A little package called ld10k1. ... for the dense each 'install blah blah' line above should be a single ... To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx ...
      (Debian-User)