Install Atom and Adobe Brackets on Debian 7 Wheezy

Recently, I decided to give a spin to Debain Wheezy as my work OS on my ThinkPad. As I loaded software, I ran into the issue of Atom and Adobe Brackets modern editors not able to launch on Wheezy.

After several attempts and searching around the web, this is what fixed it for me.

The core issue with both tools and Debian Wheezy is the following item:

/usr/share/atom/atom: /lib/x86_64-linux-gnu/libc.so.6: version `GLIBC_2.14' not found (required by /usr/share/atom/libchromiumcontent.so)

To fix this, you must enable the unstable/testing repositories on /etc/apt/sources.list.

As root, edit /etc/apt/sources.list file and add the following entries:

# testing
deb-src http://security.debian.org/ wheezy/updates main
deb http://http.us.debian.org/debian testing main non-free contrib

Also, to be able to preserve correct versions when you install software and updates, you need to some pinning for these repos.
If it doesn’t exist, create the following file: /etc/apt/preferences.d/my_preferences and the following:

Package: *
Pin: release a=stable
Pin-Priority: 700

Package: *
Pin: release a=testing
Pin-Priority: 650

Package: *
Pin: release a=unstable
Pin-Priority: 600

These entries assign priorities to package installations. It is important to do this to avoid having a mix of installations that can make the OS unstable. A better alternative is using the Debian backports.

Do an update of the cache:

sudo apt-get update

Now verify that your pinning is correct by verifying a version, example:

apt-cache policy apache2
apache2
Installed: (none)
Candidate: 2.2.22-13
Version table:
2.4.7-1 0
600 http://http.us.debian.org/debian/ unstable/main amd64 Packages
2.4.6-3 0
650 http://http.us.debian.org/debian/ testing/main amd64 Packages
2.2.22-13 0
700 http://http.us.debian.org/debian/ wheezy/main amd64 Packages

Make sure the candidate lines up to your release. That way you can tell pinning is correct.

Now install the proper version of libc from the testing repository:

sudo apt-get -t testing install libc6-dev

Proceed with installing Atom and Brackets and you should be OK.

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s