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

From: Alexander Schmehl (alexander_at_schmehl.info)
Date: 11/07/04

  • Next message: Ian T.: "Out of room on /usr partition"
    Date: Sun, 7 Nov 2004 17:42:33 +0100
    To: debian-user@lists.debian.org
    
    
    

    * Kenneth Jacker <khj@be.cs.appstate.edu> [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
    following:

    apt-get -u --reinstall --fix-missing install $(dpkg -S LC_MESSAGES | cut -d: -f1 | tr ', ' '\n' | sor
    t -u)

    But there might be a simpler ways I'm not aware of.

    Yours sincerely,
      Alexander

    
    

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


  • Next message: Ian T.: "Out of room on /usr partition"