Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: haiku/website
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: 6ee71a4b9691
Choose a base ref
...
head repository: haiku/website
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 1293bdeaa232
Choose a head ref
  • 1 commit
  • 1 file changed
  • 1 contributor

Commits on Jun 27, 2021

  1. Copy the full SHA
    1293bde View commit details
Showing with 22 additions and 10 deletions.
  1. +22 −10 content/news/2021-06-22_important_change_required_for_haiku_nightly_and_r1beta2_users.md
Original file line number Diff line number Diff line change
@@ -7,39 +7,51 @@ tags = ["haiku", "software", "repo", "nightly", "beta2"]
+++

{{< alert-info "HaikuPorts functionality restored"
"Due to the <a href="https://www.haiku-os.org/news/2021-06-22_important_change_required_for_haiku_nightly_and_r1beta2_users/">important change to repository identifiers announced earlier</a>, the HaikuPorts repository was presenting users with an error reading `unarchiving the repo`. This issue has now been fixed and users may need to re-add the HaikuPorts repository again." >}}
"Due to the [important change to repository identifiers announced earlier](https://www.haiku-os.org/news/2021-06-22_important_change_required_for_haiku_nightly_and_r1beta2_users/),
the HaikuPorts repository was presenting users with an error reading <pre>unarchiving the repo</pre>. This issue has now been fixed and users may need to re-add the HaikuPorts repository again." >}}

Nightly and Beta2 users will need to “re-add” their release repositories to update to newer versions of Haiku and beyond. This change is part of a long-term improvement of our Haiku/HaikuPorts repository identifiers.

These commands need to be run in the terminal.

Check your current repositories:
`pkgman list-repo`

```
pkgman list-repo
```

## Nightly Users

Nightly users will need to "re-add" both their Haiku and HaikuPorts release repositories to be able to update to hrev55184 and beyond.
### Re-add HaikuPorts repository

`pkgman drop-repo HaikuPorts`
### Re-add HaikuPorts repository

`pkgman add-repo https://eu.hpkg.haiku-os.org/haikuports/master/$(getarch)/current`
```
pkgman drop-repo HaikuPorts
pkgman add-repo https://eu.hpkg.haiku-os.org/haikuports/master/$(getarch)/current
```

### Re-add Haiku repository

`pkgman drop-repo Haiku`

`pkgman add-repo https://eu.hpkg.haiku-os.org/haiku/master/$(getarch)/current`
```
pkgman drop-repo Haiku
pkgman add-repo https://eu.hpkg.haiku-os.org/haiku/master/$(getarch)/current
```

## R1/Beta2 users

Beta2 users will need to "re-add" their HaikuPorts release repository to be able to continue installing and updating apps from HaikuPorts.

### Re-add HaikuPorts repository
`pkgman drop-repo HaikuPorts`

`pkgman add-repo https://eu.hpkg.haiku-os.org/haikuports/master/$(getarch)/current`
```
pkgman drop-repo HaikuPorts
pkgman add-repo https://eu.hpkg.haiku-os.org/haikuports/master/$(getarch)/current
```

{{< alert-info "R1/Beta3 users"
"This change will not be required for r1/Beta3 users as the changes will be built into the Beta3 release." >}}

## Summary

The “identifier” will change from `https://hpkg....` to `tag:haiku....` for both Haiku, and HaikuPorts on nightly installs (this identifier will only change for HaikuPorts on R1/Beta2 installs). Once you see the new identifiers, you have been successfully changed over to the new repository ID.