# Apt repository changes, dist upgrade fails

**URL:** https://forum.opensearch.org/t/apt-repository-changes-dist-upgrade-fails/20059
**Category:** General Feedback
**Created:** [June 28, 2024, 2:16pm UTC](https://forum.opensearch.org/t/apt-repository-changes-dist-upgrade-fails/20059 "2024-06-28T14:16:28Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Mack](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mack](https://forum.opensearch.org/u/Mack)
#### Post date: [June 28, 2024, 2:16pm UTC](https://forum.opensearch.org/t/apt-repository-changes-dist-upgrade-fails/20059/1 "2024-06-28T14:16:28Z")

</div>

I’m totally new to opensearch and could use a little good advice. Thanks in advance.  
Starting a dist-updrade the following lines appear:

> E: Repository ‘[https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt](https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt) stable InRelease’ changed its ‘Origin’ value from ‘. stable’ to ‘[artifacts.opensearch.org](http://artifacts.opensearch.org)’  
> E: Repository ‘h ttps://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt stable InRelease’ changed its ‘Label’ value from ‘. stable’ to ‘opensearch’  
> N: This must be accepted explicitly before updates for this repository can be applied. See apt-secure(8) manpage for details.  
> Do you want to accept these changes and continue updating from this repository? [y/N]

What is this about, is it normal and okay to accept or what else is important to consider in that context?

---

<div class="post-metadata">

### Author: ![Gsmitt](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/gsmitt/32/1718_2.png) [@Gsmitt](https://forum.opensearch.org/u/Gsmitt)
#### Post date: [June 29, 2024, 2:12am UTC](https://forum.opensearch.org/t/apt-repository-changes-dist-upgrade-fails/20059/2 "2024-06-29T02:12:22Z")

</div>

Hey @Mack

Looks like in your Repo this maybe an old link or something.

```auto
https://artifacts.opensearch.org/releases/bundle/opensearch/2.x/apt

```

Try  
`apt autoclean`  
or  
`apt autoremove`

see if that clears it up.

If that doesn’t work. I would remove it and add the new repo for OS.

---

<div class="post-metadata">

### Author: ![Mack](https://avatars.discourse-cdn.com/v4/letter/m/b19c9b/32.png) [@Mack](https://forum.opensearch.org/u/Mack)
#### Post date: [June 29, 2024, 12:31pm UTC](https://forum.opensearch.org/t/apt-repository-changes-dist-upgrade-fails/20059/3 "2024-06-29T12:31:36Z")

</div>

Hey @Gsmitt

thanks.

Well, initial install procedure was the one described in [Debian - OpenSearch Documentation](https://opensearch.org/docs/latest/install-and-configure/install-opensearch/debian/#install-opensearch-from-an-apt-repository)

asap I’ll try that

---

<div class="post-metadata">

### Author: ![Gsmitt](https://sea1.discourse-cdn.com/flex019/user_avatar/forum.opensearch.org/gsmitt/32/1718_2.png) [@Gsmitt](https://forum.opensearch.org/u/Gsmitt)
#### Post date: [June 30, 2024, 6:31pm UTC](https://forum.opensearch.org/t/apt-repository-changes-dist-upgrade-fails/20059/4 "2024-06-30T18:31:36Z")

</div>

hey,

Execute `apt update` after.

> [@Mack](#):
>
> Do you want to accept these changes and continue updating from this repository? [y/N]

EDIT: by chance did you type " Y" for yes? This would update your Repo.
