Radu Cotescu's professional blog

g33k w17h pa45510n

How to Fix Adobe AIR's Installation on Ubuntu 9.04

I just want to start this article by emphasizing that I am not a fan of Adobe’s new products like Adobe AIR or Flex. They eat two buckets of RAM for some shiny effects that really don’t deserve this kind of resources. The explanation is rather simple: being new products, they are still full of bugs or their features aren’t quite implemented in the most intelligent possible way. Maybe after they mature a bit I will change my opinion.

Since I am on Twitter, I decided to use a client for updating my twits very easy and the best client for me proved to be TweetDeck, which is available for both Linux and iPod Touch (iPhone too). TweetDeck runs, unfortunately, on Adobe AIR. Trying to clean my system today of orphaned packages, somehow I have succeeded in messing Adobe AIR. No problem, let’s reinstall it. Only that the f*cker constantly failed serving me the lamest excuse ever (for running on Linux).

An error occurred while installing Adobe AIR. Installation may not be allowed by your administrator. Please contact your administrator.

I have tried to remove all the packages that belong to Adobe AIR (adobeair1.0 and adobe-certs) and then to reinstall but all of this with no luck. Until I have found these lines on a site that I forgot:

1
2
3
4
5
6
rm -rf ~/.adobe
sudo rm -rf /root/.adobe/ /root/.macromedia/ /root/.appdata/ ~/.macromedia/ ~/.appdata
sudo rm -rf /var/opt/Adobe\ AIR/
sudo rm -rf /etc/opt/Adobe/
sudo dpkg -P $(dpkg -l | grep adobeair | awk -F" " '{print $2}')
sudo dpkg -P $(dpkg -l | grep adobe-cert | awk -F" " '{print $2}')

Afterwards the installer worked okay. Be careful not to have your browser opened when performing the install. In some cases it apparently generated the same error regarding AIR.

.com, How To, Linux, Ubuntu

« Configuring Eclipse for J2EE development Resetting Windows passwords for every user »

Comments