Problem with install sublime on ubuntu


Problem 1: Not able to add ppa for sublime under company proxy:

sudo add-apt-repository ppa:webupd8team/sublime-text-2

Solution:
The problem is caused by proxy. Solution is to keep proxy environment variables http_proxy when doing sudo:

sudo -E add-apt-repository ppa:webupd8team/sublime-text-2

Problem 2:
The problem is the repository only provide a amd64 package for sublime but during the update of ppa also look for an aarch64 package.

First check which architecture your computer is using:

dpkg --print-architecture shows that the architecture is amd64

Then edit the source.list file in /etc/apt/sources.list.d/webupd8team-sublime-text-2-trusty.list file to add [ arch=amd64 ] after deb, this means only check the package for amd64 architecture.

评论

此博客中的热门博文

AVR Tutorial - Input / Output

AVR ADC Analog to Digital Converter

Introduction to REST