TweetDeck Installation Errors On Linux- 2004, 5007

Twitter is all the rage these days and I've been using one of the more popular desktop Twitter applications - TweetDeck http://www.tweetdeck.com. TweetDeck runs on top of Adobe AIR - http://www.adobe.com/products/air/.

My day-to-day OS on my workstation is Linux (Fedora 10 to be exact). I installed Adobe AIR and TweetDeck with no issues on the initial installation.

Last week TweetDeck informed me that there was an updated so I downloaded and attempted to install the update. I receive an error. I tried installing the update via the command line and received another error.

Here are some things you can do to troubleshoot AIR applications and installations. In your home directory from the command line, run the following commands:


touch .airinstall.log
touch .airappinstall.log

After you attempt to install AIR itself, or an AIR application, these files may contain some information that can help you.

Evidently TweetDeck, or AIR builds an RPM (RedHat Package Manager) package of TweetDeck upon installation. When I attempted to "upgrade" TweetDeck I received a "Unhandled Exception: 2004" error. Looking in ~/.airappinstall.log this error pointed me to the root problem:


stateInstalling: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text="Unhandled exception Error: App already exists" errorID=50
07]

OK, so I backed up the current /opt/TweetDeck folder and tried again. This time ~/.airappinstall.log told me this:


subinstaller: Error occurred; beginning rollback: [ErrorEvent type="error" bubbles=false cancelable=false eventPhase=2 text=" error: file /opt/Twe
etDeck/share/META-INF/AIR/application.xml from install of tweetdeckfast.f9107117265db7542c1a806c8db837742ce14c21.1-0.21.5-1.i386 conflicts with file
from package tweetdeckfast.73b3e7af072990ed6c9064bfa59785ed18add5d0.1-0.21-1.i386

Ahh, that "package tweetdeckfast" looks like an RPM. So I checked my RPM package DB and sure enough there was a tweetdeckfast package installed.

The long and the short, here are the steps I took to "upgrade" TweetDeck on a RPM-based Linux (Fedora, RedHat Enterprise Linux, CentOS, others):

  • Backup the original TweekDeck directory (/opt/TweetDeck in my case)
  • Run the following to determine the TweetDeck RPM package name:


    rpm -qa | grep -i tweet

  • Remove the package name listed in the above step (this was the name for my package - your's may differ):


    sudo rpm -e rpm -e tweetdeckfast.73b3e7af072990ed6c9064bfa59785ed18add5d0.1-0.21-1.i386

  • Re-run the TweetDeck installer

    Hope this helps other TweetDeck Linux users.

    Enjoy.