# Failed to update from 6.2 to 6.3

**URL:** https://community.zammad.org/t/failed-to-update-from-6-2-to-6-3/14363
**Category:** Technical assistance
**Created:** [May 17, 2024, 2:24pm UTC](https://community.zammad.org/t/failed-to-update-from-6-2-to-6-3/14363 "2024-05-17T14:24:57Z")
**Posts on this page:** 6
**Page:** 1

<div class="post-metadata">

### Author: ![chris2](https://community.zammad.org/letter_avatar_proxy/v4/letter/c/ac8455/32.png) [@chris2](https://community.zammad.org/u/chris2)
#### Post date: [May 17, 2024, 2:24pm UTC](https://community.zammad.org/t/failed-to-update-from-6-2-to-6-3/14363/1 "2024-05-17T14:24:57Z")

</div>

### Infos:

- Used Zammad version: 6.2.0-1708586921.9bcc425e.jammy amd64
- Used Zammad installation type: Ubuntu package
- Operating system: Ubuntu 22.04.4
- Browser + version: Edge 124.0.2478.10

### Expected behavior:

- Update from 6.2 to 6.3 (from 6.2.0-1708586921.9bcc425e.jammy to 6.3.1-1715932826.48881ba1.jammy)

### Actual behavior:

> Error processing (“Fehler traten auf beim Bearbeiten von”):  
> /var/cache/apt/archives/zammad\_6.3.1-1715932826.48881ba1.jammy\_amd64.deb  
> needrestart is being skipped since dpkg has failed  
> E: Sub-process /usr/bin/dpkg returned an error code (1)

### Steps to reproduce the behavior:

- sudo systemctl stop zammad
- sudo zammad run rails r “Rails.cache.clear”\*
- sudo apt update
- sudo apt upgrade

---

<div class="post-metadata">

### Author: ![7qubit](https://community.zammad.org/user_avatar/community.zammad.org/7qubit/32/5006_2.png) [@7qubit](https://community.zammad.org/u/7qubit)
#### Post date: [May 17, 2024, 5:58pm UTC](https://community.zammad.org/t/failed-to-update-from-6-2-to-6-3/14363/2 "2024-05-17T17:58:34Z")

</div>

Hi,

try with:

```auto
# sudo apt -f install

```

and try again with upgrade

---

<div class="post-metadata">

### Author: ![chris2](https://community.zammad.org/letter_avatar_proxy/v4/letter/c/ac8455/32.png) [@chris2](https://community.zammad.org/u/chris2)
#### Post date: [May 18, 2024, 6:39am UTC](https://community.zammad.org/t/failed-to-update-from-6-2-to-6-3/14363/3 "2024-05-18T06:39:39Z")

</div>

> [@7qubit](#):
>
> `sudo apt -f install`

Thanks a lot. That worked it out.

Can you give me a hint what the comand-line argument _-f_ does? I like to understand how I fixed it. But I couldn’t find anything on it on the web.

---

<div class="post-metadata">

### Author: ![MrGeneration](https://community.zammad.org/user_avatar/community.zammad.org/mrgeneration/32/9260_2.png) [@MrGeneration](https://community.zammad.org/u/MrGeneration)
#### Post date: [May 21, 2024, 10:50am UTC](https://community.zammad.org/t/failed-to-update-from-6-2-to-6-3/14363/4 "2024-05-21T10:50:54Z")

</div>

`-f` is not a sub command of `apt`, but `apt-get`.  
`man apt-get` lists all available options and what they do.

---

<div class="post-metadata">

### Author: ![chris2](https://community.zammad.org/letter_avatar_proxy/v4/letter/c/ac8455/32.png) [@chris2](https://community.zammad.org/u/chris2)
#### Post date: [May 21, 2024, 12:59pm UTC](https://community.zammad.org/t/failed-to-update-from-6-2-to-6-3/14363/5 "2024-05-21T12:59:22Z")

</div>

Thank you, MrGeneration!

---

<div class="post-metadata">

### Author: ![system](https://community.zammad.org/uploads/default/original/1X/5c5afaea2d23f811dbec33cd4edb02fa29d3262f.png) [@system](https://community.zammad.org/u/system)
#### Post date: [May 28, 2024, 1:00pm UTC](https://community.zammad.org/t/failed-to-update-from-6-2-to-6-3/14363/6 "2024-05-28T13:00:14Z")

</div>

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.
