# updating packages

**URL:** https://dietpi.com/forum/t/updating-packages/1662
**Category:** General Discussion
**Created:** [22 November 2017 21:45 UTC](https://dietpi.com/forum/t/updating-packages/1662 "2017-11-22T21:45:26Z")
**Posts on this page:** 11
**Page:** 1

<div class="post-metadata">

### Author: ![dietpiOK](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@dietpiOK](https://dietpi.com/forum/u/dietpiOK)
#### Post date: [22 November 2017 21:45 UTC](https://dietpi.com/forum/t/updating-packages/1662/1 "2017-11-22T21:45:26Z")

</div>

Hi,

I am wondering if “dietpi-update” is in any conflict with “apt-get update” and/or “apt-get upgrade”.  
Can anyone clarify this for me?

Best regards,  
Olaf

---

<div class="post-metadata">

### Author: ![Fourdee](https://dietpi.com/forum/user_avatar/dietpi.com/fourdee/32/11_2.png) [@Fourdee](https://dietpi.com/forum/u/Fourdee)
#### Post date: [23 November 2017 15:58 UTC](https://dietpi.com/forum/t/updating-packages/1662/2 "2017-11-23T15:58:38Z")

</div>

> [@dietpiOK](#):
>
> Hi,
> 
> I am wondering if “dietpi-update” is in any conflict with “apt-get update” and/or “apt-get upgrade”.  
> Can anyone clarify this for me?
> 
> Best regards,  
> Olaf

If installed software needs to be patched/reinstalled during the update, apt-get update and apt-get upgrade will both be executed by dietpi-software.  
This depends on what software you have installed, and if we need to run any patches on it during the update.

---

<div class="post-metadata">

### Author: ![dietpiOK](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@dietpiOK](https://dietpi.com/forum/u/dietpiOK)
#### Post date: [23 November 2017 19:33 UTC](https://dietpi.com/forum/t/updating-packages/1662/3 "2017-11-23T19:33:22Z")

</div>

Thanks for clarifying that.  
So dietpi-update just takes care about the dietpi-software packages and during an update with the two commands all other packages will also be updated. Right?

---

<div class="post-metadata">

### Author: ![johnvick](https://dietpi.com/forum/user_avatar/dietpi.com/johnvick/32/16_2.png) [@johnvick](https://dietpi.com/forum/u/johnvick)
#### Post date: [24 November 2017 05:14 UTC](https://dietpi.com/forum/t/updating-packages/1662/4 "2017-11-24T05:14:30Z")

</div>

> [@dietpiOK](#):
>
> Thanks for clarifying that.  
> So dietpi-update just takes care about the dietpi-software packages and during an update with the two commands all other packages will also be updated. Right?

Not entirely - some packages take care of updating themselves - SickRage for example. Others have to be manually updated - Subsonic for example. Others are updated by apt-get update/upgrade - Emby-Server an example and core Debian packages like samba are updated the same way.

John

---

<div class="post-metadata">

### Author: ![dietpiOK](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@dietpiOK](https://dietpi.com/forum/u/dietpiOK)
#### Post date: [24 November 2017 06:43 UTC](https://dietpi.com/forum/t/updating-packages/1662/5 "2017-11-24T06:43:57Z")

</div>

Thanks for clarifying that… How do I know which packages will be updated in what way?

---

<div class="post-metadata">

### Author: ![johnvick](https://dietpi.com/forum/user_avatar/dietpi.com/johnvick/32/16_2.png) [@johnvick](https://dietpi.com/forum/u/johnvick)
#### Post date: [24 November 2017 08:08 UTC](https://dietpi.com/forum/t/updating-packages/1662/6 "2017-11-24T08:08:06Z")

</div>

> [@dietpiOK](#):
>
> Thanks for clarifying that… How do I know which packages will be updated in what way?

If the program has a graphic interface like Emby or Sickrage - there will likely be a setting for this somewhere or it will alert you if an update is available. If it is core operating system stuff that runs behind the scenes this gets done by apt-get update/upgrade - just do this every so often. Remember to use dietpi-backup from time to time also in case an update goes wrong.

John

---

<div class="post-metadata">

### Author: ![dietpiOK](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/d/5e9695/32.png) [@dietpiOK](https://dietpi.com/forum/u/dietpiOK)
#### Post date: [24 November 2017 08:58 UTC](https://dietpi.com/forum/t/updating-packages/1662/7 "2017-11-24T08:58:54Z")

</div>

Thanks for claryfing that!

---

<div class="post-metadata">

### Author: ![n8xyn](https://dietpi.com/forum/letter_avatar_proxy/v4/letter/n/49beb7/32.png) [@n8xyn](https://dietpi.com/forum/u/n8xyn)
#### Post date: [26 November 2017 23:26 UTC](https://dietpi.com/forum/t/updating-packages/1662/8 "2017-11-26T23:26:36Z")

</div>

I myself have killed an install or two with apt-get dist-upgrade 🙂

---

<div class="post-metadata">

### Author: ![baz123](https://dietpi.com/forum/user_avatar/dietpi.com/baz123/32/2653_2.png) [@baz123](https://dietpi.com/forum/u/baz123)
#### Post date: [16 December 2017 09:40 UTC](https://dietpi.com/forum/t/updating-packages/1662/9 "2017-12-16T09:40:13Z")

</div>

> [@Fourdee](#):
>
> > [@dietpiOK](#):
> >
> > Hi,
> > 
> > I am wondering if “dietpi-update” is in any conflict with “apt-get update” and/or “apt-get upgrade”.  
> > Can anyone clarify this for me?
> > 
> > Best regards,  
> > Olaf
> 
> If installed software needs to be patched/reinstalled during the update, apt-get update and apt-get upgrade will both be executed by dietpi-software.  
> This depends on what software you have installed, and if we need to run any patches on it during the update.

I’m still a little confused over this.

1. Will running the apt-get update and apt-get upgrade commands upset a DietPi install?  
  
  
2. How should individual packages be updated? If different for different packages, could something be added to the software entry on the forum please?

---

<div class="post-metadata">

### Author: ![MichaIng](https://dietpi.com/forum/user_avatar/dietpi.com/michaing/32/7_2.png) [@MichaIng](https://dietpi.com/forum/u/MichaIng)
#### Post date: [17 December 2017 23:41 UTC](https://dietpi.com/forum/t/updating-packages/1662/10 "2017-12-17T23:41:38Z")

</div>

For all software that was installed via APT package, thus apt upgrade has some influence on, you should be able to do this regularly without errors. However if we did some special config, that is broken due to API changes or something, we will fix this usually with the next DietPi version.

About non-repo software, I can only speak for Nextcloud and ownCloud, that web ui updating is no problem and I already tested the upcoming betas.  
Some software binaries are pulled from dietpis own servers, thus apt has anyway no effect there.

Generally dietpi-update mainly takes care about the dietpi scripts, just besides that about the software package updates if new dietpi version gets installed. Thus regular apt/ui updates can/need to be done on top where possible.

---

<div class="post-metadata">

### Author: ![baz123](https://dietpi.com/forum/user_avatar/dietpi.com/baz123/32/2653_2.png) [@baz123](https://dietpi.com/forum/u/baz123)
#### Post date: [19 December 2017 14:45 UTC](https://dietpi.com/forum/t/updating-packages/1662/11 "2017-12-19T14:45:15Z")

</div>

Thanks. I was thinking about anything that has been pulled from GitHub to install. The one I am specifically interested in is HomeAssistant as I think that is how this is installed.

Could something be added to the Software listing to indicate if it will be automatically updated or how it should / could be updated manually?
