Skip to content

Commit 35aacfc

Browse files
committed
Remove Ubuntu 18.04 deployments
Our attempted deployments to the Ubuntu 18.04 (bionic) repo at packages.microsoft.com have been failing with the following error: "Apt repo only supports 'amd64'- based packages. 'undefined' is not supported." Even after a workaround was found, running the installed package would result in the following error: "git: symbol lookup error: git: undefined symbol: pcre2_maketables_free_8" In light of this, we are removing support for installing Ubuntu 18.04 via apt-get and are instead recommending an install from source approach. In addition to these changes, the BIONIC_REPO_ID secret has been removed from the repo and all previous deployments to the 18.04 feed have been deleted.
1 parent 92c5052 commit 35aacfc

File tree

2 files changed

+12
-30
lines changed

2 files changed

+12
-30
lines changed

.github/workflows/release-apt-get.yml

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,4 @@ jobs:
8989
env:
9090
RELEASE: ${{ github.event.inputs.release }}
9191
run: |
92-
for id in ${{ secrets.BIONIC_REPO_ID }} ${{ secrets.HIRSUTE_REPO_ID }}
93-
do
94-
repoclient -v v3 -c config.json package add --check --wait 300 "${{steps.get-asset.outputs.name}}" -r $id
95-
done
92+
repoclient -v v3 -c config.json package add --check --wait 300 ${{steps.get-asset.outputs.name}} -r ${{ secrets.HIRSUTE_REPO_ID }}

README.md

Lines changed: 11 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -113,30 +113,9 @@ Or you can run the `git update-microsoft-git` command, which will run those
113113

114114
## Linux
115115

116-
`apt-get` support is available for Ubuntu Bionic Beaver (18.04) and Hirsute
117-
Hippo (21.04). Take the following steps to set up and install based on the
118-
version you are running:
119-
120-
### Ubuntu 18.04 (Bionic)
121-
122-
```shell
123-
curl -sSL https://packages.microsoft.com/keys/microsoft.asc | sudo apt-key add -
124-
sudo apt-add-repository https://packages.microsoft.com/ubuntu/18.04/prod
125-
sudo apt-get update
126-
sudo apt-get install microsoft-git
127-
```
128-
129-
To upgrade `microsoft/git`, you can run the necessary `apt-get` commands:
130-
131-
```shell
132-
sudo apt-get update
133-
sudo apt-get upgrade microsoft-git
134-
```
135-
136-
Or you can run the `git update-microsoft-git` command, which will run those
137-
`apt-get` commands for you.
138-
139-
### Ubuntu 21.04 (Hirsute)
116+
`apt-get` support is available for Ubuntu Hirsute
117+
Hippo (21.04). Take the following steps to set up and install based on
118+
the version you are running:
140119

141120
```shell
142121
curl -sSL https://packages.microsoft.com/config/ubuntu/21.04/prod.list | sudo tee /etc/apt/sources.list.d/microsoft-prod.list
@@ -157,7 +136,7 @@ Or you can run the `git update-microsoft-git` command, which will run those
157136

158137
### Other Ubuntu/Debian distributions
159138

160-
Please use the most recent
139+
On newer distributions*, you may use the most recent
161140
[`.deb` package](https://github.com/microsoft/git/releases). For example,
162141
you can download a specific version as follows:
163142

@@ -176,7 +155,13 @@ scalar version
176155

177156
To upgrade, you will need to repeat these steps to reinstall.
178157

179-
### Non-Ubuntu/Debian distributions
158+
*Older distributions are missing some required dependencies. Even
159+
though the package may appear to install successfully, `microsoft/
160+
git` will not function as expected. If you are running Ubuntu 18.04 or
161+
older, please follow the install from source instructions below
162+
instead of installing the debian package.
163+
164+
### Other distributions
180165

181166
You will need to compile and install `microsoft/git` from source:
182167

0 commit comments

Comments
 (0)