You are not logged in.

#1 2017-06-16 09:05:22

grimidev
Member
Registered: 2017-06-16
Posts: 7

Can't install sublime-text-3 from pacman

hello!
Quoting AUR sublime-text page:

Since 26 May 2017 Sublime Text 3 is available via the dedicated pacman repo provided by the author. From now on this is the recommended way to install ST3 on Arch Linux.

The followings are the instructions from that page:
- Install the GPG key
- Select the channel (i've tried dev an stable both) by editing etc/pacman.conf file
- Upgrade and install sublime-text from pacman with

sudo pacman -Syu sublime-text

Despite I follow these steps, pacman fetches sublime-text-2 package instead of sublime 3

Packages (1) sublime-text-2.0.2-4

Total Installed Size:  14.16 MiB

:: Proceed with installation? [Y/n] 

Am I doing something wrong?

Offline

#2 2017-06-16 09:25:40

WorMzy
Forum Moderator
From: Scotland
Registered: 2010-06-16
Posts: 11,842
Website

Re: Can't install sublime-text-3 from pacman

Check whether there any other packages in the repo with

pacman -Sl sublime-text

Mod note: moving to AUR issues.


Sakura:-
Mobo: MSI MAG X570S TORPEDO MAX // Processor: AMD Ryzen 9 5950X @4.9GHz // GFX: AMD Radeon RX 5700 XT // RAM: 32GB (4x 8GB) Corsair DDR4 (@ 3000MHz) // Storage: 1x 3TB HDD, 6x 1TB SSD, 2x 120GB SSD, 1x 275GB M2 SSD

Making lemonade from lemons since 2015.

Offline

#3 2017-06-16 09:40:39

grimidev
Member
Registered: 2017-06-16
Posts: 7

Re: Can't install sublime-text-3 from pacman

WorMzy wrote:

Check whether there any other packages in the repo with

pacman -Sl sublime-text

.

Here's the output of

pacman -Sl sublime-text
$ pacman -Sl sublime-text
sublime-text sublime-text 3126-1

There seems to be a sublime text 3 version (3126-1), but I don't know how to interpret that output or how to install that version of sublime.

WorMzy wrote:

Mod note: moving to AUR issues.

Oh ok! sorry sad

Last edited by grimidev (2017-06-16 09:41:14)

Offline

#4 2017-06-16 09:44:28

x33a
Forum Fellow
Registered: 2009-08-15
Posts: 4,587

Re: Can't install sublime-text-3 from pacman

What's the output of

pacman -Ss sublime-text

Offline

#5 2017-06-16 09:49:25

loqs
Member
Registered: 2014-03-06
Posts: 17,315

Re: Can't install sublime-text-3 from pacman

You have another unofficial repo such as archlinuxfr supplying sublime-text-2.0.2-4 and the ordering in pacman.conf gives preference to that over the sublime-text repo.

Offline

#6 2017-06-16 09:59:59

grimidev
Member
Registered: 2017-06-16
Posts: 7

Re: Can't install sublime-text-3 from pacman

loqs wrote:

You have another unofficial repo such as archlinuxfr supplying sublime-text-2.0.2-4 and the ordering in pacman.conf gives preference to that over the sublime-text repo.

You're right, as stated in pacman.conf

# REPOSITORIES
#   - can be defined here or included from another file
#   - pacman will search repositories in the order defined here
#   - local/custom mirrors can be added here or in separate files
#   - repositories listed first will take precedence when packages
#     have identical names, regardless of version number

archlinuxfr was placed before sublime-text repo so pacman fetched sublime-text-2 from AUR. I placed sublime-text 3 repo before archlinuxfr and now I can install sublime text 3. SOLVED!

Thank you all!

Offline

Board footer

Powered by FluxBB