# Error installing or updating any software

**URL:** https://dietpi.com/forum/t/error-installing-or-updating-any-software/14161
**Category:** Troubleshooting
**Created:** [31 August 2022 10:21 UTC](https://dietpi.com/forum/t/error-installing-or-updating-any-software/14161 "2022-08-31T10:21:16Z")
**Posts on this page:** 3
**Page:** 1

<div class="post-metadata">

### Author: ![ganxo](https://dietpi.com/forum/user_avatar/dietpi.com/ganxo/32/2500_2.png) [@ganxo](https://dietpi.com/forum/u/ganxo)
#### Post date: [31 August 2022 10:21 UTC](https://dietpi.com/forum/t/error-installing-or-updating-any-software/14161/1 "2022-08-31T10:21:16Z")

</div>

Hi all, thank you for your help! Recently I tried to install some packages for setting up my cloud server on the raspberry, such as rtorrent and dmenu for i3wm  
The problem is that, at any time I try to install/uninstall/update something, it returns me this error:

```auto
sudo apt-get install program-name
Reading package lists... Error!
E: lzma_read: Read error (10)
E: The package lists or status file could not be parsed or opened.

```

Can someone help me? It’s true that I’ve seen a problem like this before, but it didn’t had any solution. Maybe it’s a bug or something about the recent update. Thanks for your help! 😁

Here’s some useful information:

```auto
**#### Details:**
*- Date | Wed Aug 31 11:08:59 BST 2022*
*- DietPi version | v8.8.1 (MichaIng/master)*
*- Image creator | DietPi Core Team*
*- Pre-image | from scratch*
*- Hardware | RPi 4 Model B (aarch64) (ID=4)*
*- Kernel version | `Linux LOLITA 5.15.56-v8+ #1575 SMP PREEMPT Fri Jul 22 20:31:26 BST 2022 aarch64 GNU/Linux`*
*- Distro | bullseye (ID=6,RASPBIAN=0)*
*- Command | `apt-get -y update`*
*- Exit code | 100*
*- Software title | DietPi-Software*

**#### Additional logs:**

Hit:1 https://deb.debian.org/debian bullseye InRelease
Hit:2 https://deb.debian.org/debian bullseye-updates InRelease
Hit:3 https://deb.debian.org/debian-security bullseye-security InRelease
Hit:4 https://deb.debian.org/debian bullseye-backports InRelease
Hit:5 https://archive.raspberrypi.org/debian bullseye InRelease
Reading package lists...
E: lzma_read: Read error (10)
E: The package lists or status file could not be parsed or opened.

```

---

<div class="post-metadata">

### Author: ![Joulinar](https://dietpi.com/forum/user_avatar/dietpi.com/joulinar/32/57_2.png) [@Joulinar](https://dietpi.com/forum/u/Joulinar)
#### Post date: [31 August 2022 10:34 UTC](https://dietpi.com/forum/t/error-installing-or-updating-any-software/14161/2 "2022-08-31T10:34:52Z")

</div>

You can try following

```nohighlight
/boot/dietpi/func/dietpi-set_software apt-cache clean
apt update

```

---

<div class="post-metadata">

### Author: ![ganxo](https://dietpi.com/forum/user_avatar/dietpi.com/ganxo/32/2500_2.png) [@ganxo](https://dietpi.com/forum/u/ganxo)
#### Post date: [31 August 2022 10:44 UTC](https://dietpi.com/forum/t/error-installing-or-updating-any-software/14161/3 "2022-08-31T10:44:36Z")

</div>

Ok,itseems it worked for now. I’ll note it down if it happens again!  
Thanks for your help! 😁
