Hi @futurejones and thanks for your efforts and for 5.6, but there could be problem with the link...
pisat@satserver:~ $ sudo apt update
Hit:1 http://deb.debian.org/debian bullseye InRelease
Hit:2 http://security.debian.org/debian-security bullseye-security InRelease
Hit:3 http://deb.debian.org/debian bullseye-updates InRelease
Hit:4 http://archive.raspberrypi.org/debian bullseye InRelease
Err:5 https://archive.swiftlang.xyz/debian bullseye InRelease
Could not connect to archive.swiftlang.xyz:443 (147.75.47.197), connection timed out
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
All packages are up to date.
W: Failed to fetch https://archive.swiftlang.xyz/debian/dists/bullseye/InRelease Could not connect to archive.swiftlang.xyz:443 (147.75.47.197), connection timed out
W: Some index files failed to download. They have been ignored, or old ones used instead.
pisat@satserver:~ $
Of course neither of those URLs works because they're on the same host, which appears to be offline.
www.swiftlang.xyz is an alias for futurejones.github.io (185.199.108.153), while archive.swiftlang.xyz is an entirely different machine (147.75.47.197).
Hi everbody,
The repository archive.swiftlang.xyz is offline at the moment for server maintenance and hardware upgrade.
I will post an update when the repository is back online.
Hi everybody,
The repository is up and running again. It took a bit longer than expected as all data was lost and required a total rebuild.
I am working on adding Swift 5.6 and it should be available in the next few days.
@ea7kir when running the install script you will get the following menu -
--------------- Choose Swift Release Version ---------------
If you always want to have the latest release/stable version of Swift available choose [1], if not, choose the version most suitable for your project.
The latest release/stable version of Swift is currently 5.6
---------------------------------------------------------
1) latest/main - This will update to the latest/stable release of Swift available
2) developer - Swift developer builds - this will update to the latest developer build available
3) Swift version 5.4.* - this will update to the latest point/patch release of Swift 5.4
4) Swift version 5.5.* - this will update to the latest point/patch release of Swift 5.5
---------------------------------------------------------
Option 1 gives you the latest Swift release. This has just been updated to version 5.6.
If you need a specific version of swift for software compatibility you can choose a different option.
Sorry, but my brain operates differently to others. I was assuming that "latest/stable" meant "latest or stable", where "latest" would mean the non-stable development version.
~/Library/org.swift.swiftpm: configured mirrors, package collection lists, package fingerprints, etc.
~/Library/Caches/org.swift.swiftpm: global cache of fetched packages.
.build in each package directory: products and intermediates of the particular package’s build.
All are safe to delete as long as SwiftPM is not running. 1 contains the global configurations, so deleting it essentially reverts to factory defaults. But 2 and 3 are just caches, so you lose nothing if you delete them.
@gonsolo I have uploaded new Swift 5.6 packages to fix the clang-13 and llvm-dev conflicts.
If you run sudo apt update you will get the new packages which should install without any problems.