Apt update not working

Creating a bug report/issue

I have searched the existing open and closed issues

Required Information

  • DietPi version | cat /boot/dietpi/.version
  • Distro version | echo $G_DISTRO_NAME $G_RASPBIAN
  • Kernel version | uname --all
  • Architecture | dpkg --print-architecture
  • SBC model | echo $G_HW_MODEL_NAME or (EG: RPi3)
  • Power supply used | (EG: 5V 1A RAVpower)
  • SD card used | (EG: SanDisk ultra)

Additional Information (if applicable)

  • Software title | (EG: Nextcloud)
  • Was the software title installed freshly or updated/migrated?
  • Can this issue be replicated on a fresh installation of DietPi?
    ← If you sent a β€œdietpi-bugreport”, please paste the ID here β†’
  • Bug report ID | echo $G_HW_UUID

Steps to reproduce

  1. …
  2. …

Expected behaviour

  • …

Actual behaviour

  • …

Extra details

- ... APT upgrade
β”‚  - Command: apt-get -y --with-new-pkgs upgrade
β”‚  - Exit code: 100
β”‚  - DietPi version: v9.11.2 (MichaIng/master) | HW_MODEL: 3 | HW_ARCH: 3 |
β”‚ DISTRO: 7
β”‚  - Error log:
β”‚ Reading package lists...
β”‚ Building dependency tree...
β”‚ Reading state information...
β”‚ You might want to run 'apt --fix-broken install' to correct these.
β”‚ The following packages have unmet dependencies:
β”‚  hqplayerd : Depends: libgee-0.8-2 (>= 0.8.3) but it is not installed
β”‚              Depends: libgmpris but it is not installable
β”‚              Depends: libgupnp-av-1.0-3 (>= 0.6.0) but it is not installed
β”‚              Depends: libomp5-14 (>= 3.9.0) but it is not installed

please advise

Did you run the

as instructed?

1 Like

apt --fix-broken install
after running the command now working fine
Thanks