Sublime Forum

Arch Dev Package

#1

#Heyo!

It looks like the Arch Linux repo for sublime text doesn’t contain the latest dev build. I tried clearing my pacman cache, checking my pacman.conf to ensure I’m using the dev url, and go to install it. It shows:

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 sublime-text is up to date        0.0   B  0.00B/s 00:00 [------------------------------]   0%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) sublime-text-3143-1

Total Download Size:    7.86 MiB
Total Installed Size:  21.97 MiB

I was hoping to get a more up-to-date dev build with the infamous font ligature support. Yes, I have a license. Maybe I’m doing something wrong?

0 Likes

#2

I don’t use Arch, but build 3143 is the latest stable build and the builds increase upwards, so I don’t think it would have been a dev build at any point. Perhaps the URL for the stable version is also hanging around somewhere?

1 Like

#3

Both the repo sources for arch are here. However if you google around, you see people using dev builds of a higher version. You can even find a thread or two here:

A version 3155 is mentioned. By all means debunk it for me if it’s wrong.

1 Like

#4

What are the contents of your /etc/pacman.conf?

You can download https://download.sublimetext.com/arch/dev/x86_64/sublime-text.db.tar.gz and see that the dev repository has build 3157.

2 Likes

#5

@wbond - Here’s my pacman.conf. Not sure why it keeps pulling 3143. To be fair, I did have the stable URL in there first but I changed it out, removed my installation with pacman -Rsn, cleared my cache with pacman -Sc, then attempted an install (-Syu).

#
# /etc/pacman.conf
#
# See the pacman.conf(5) manpage for option and repository directives

#
# GENERAL OPTIONS
#
[options]
# The following paths are commented out with their default values listed.
# If you wish to use different paths, uncomment and update the paths.
#RootDir     = /
#DBPath      = /var/lib/pacman/
#CacheDir    = /var/cache/pacman/pkg/
#LogFile     = /var/log/pacman.log
#GPGDir      = /etc/pacman.d/gnupg/
#HookDir     = /etc/pacman.d/hooks/
HoldPkg     = pacman glibc
#XferCommand = /usr/bin/curl -C - -f %u > %o
#XferCommand = /usr/bin/wget --passive-ftp -c -O %o %u
#CleanMethod = KeepInstalled
#UseDelta    = 0.7
Architecture = auto

# Pacman won't upgrade packages listed in IgnorePkg and members of IgnoreGroup
#IgnorePkg   =
#IgnoreGroup =

#NoUpgrade   =
#NoExtract   =

# Misc options
#UseSyslog
Color
#TotalDownload
CheckSpace
#VerbosePkgLists

# By default, pacman accepts packages signed by keys that its local keyring
# trusts (see pacman-key and its man page), as well as unsigned packages.
SigLevel    = Required DatabaseOptional
LocalFileSigLevel = Optional
#RemoteFileSigLevel = Required

# NOTE: You must run `pacman-key --init` before first using pacman; the local
# keyring can then be populated with the keys of all official Arch Linux
# packagers with `pacman-key --populate archlinux`.

#
# 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
#   - URLs will have $repo replaced by the name of the current repo
#   - URLs will have $arch replaced by the name of the architecture
#
# Repository entries are of the format:
#       [repo-name]
#       Server = ServerName
#       Include = IncludePath
#
# The header [repo-name] is crucial - it must be present and
# uncommented to enable the repo.
#

# The testing repositories are disabled by default. To enable, uncomment the
# repo name header and Include lines. You can add preferred servers immediately
# after the header, and they will be used before the default mirrors.

#[testing]
#Include = /etc/pacman.d/mirrorlist

[core]
Include = /etc/pacman.d/mirrorlist

[extra]
Include = /etc/pacman.d/mirrorlist

#[community-testing]
#Include = /etc/pacman.d/mirrorlist

[community]
Include = /etc/pacman.d/mirrorlist

# If you want to run 32 bit applications on your x86_64 system,
# enable the multilib repositories as required here.

#[multilib-testing]
#Include = /etc/pacman.d/mirrorlist

[multilib]
Include = /etc/pacman.d/mirrorlist

# An example of a custom package repository.  See the pacman manpage for
# tips on creating your own repositories.
#[custom]
#SigLevel = Optional TrustAll
#Server = file:///home/custompkgs

[sublime-text]
Server = https://download.sublimetext.com/arch/dev/x86_64
0 Likes

#6

I’ve got it!

Turns out that if you had the stable version installed, simply clearing the pacman cache and swapping the source URL in pacman.conf isn’t enough.

I had to go and delete the sublime-text databases in /var/lib/pacman/sync as well. Once I had done this (and sublime text was uninstalled and the package cache was cleared) I was able to pacman -Syu and actually update the repo database and grab 3157.

:: Synchronizing package databases...
 core is up to date
 extra is up to date
 community is up to date
 multilib is up to date
 sublime-text                                                                                         1078.0   B   263K/s 00:00 [##############################################################################] 100%
 sublime-text.sig                                                                                      543.0   B  0.00B/s 00:00 [##############################################################################] 100%
:: Starting full system upgrade...
resolving dependencies...
looking for conflicting packages...

Packages (1) sublime-text-3157-1

Total Download Size:    8.03 MiB
Total Installed Size:  23.46 MiB
3 Likes

#7

Maybe pacman -Syyu would have worked also.

1 Like