Unable to Upgrade Apps / Packages

Having issues with your DietPi installation or found a bug? Post it here.
Post Reply
User avatar
dwr
Posts: 72
Joined: Thu Feb 18, 2021 3:46 am

Unable to Upgrade Apps / Packages

Post by dwr »

Greetings,

I am attempting to update and upgrade an instance of Diet Pi (Buster 64bit) that I use with a 5in Kuman HDMI Screen to display a Home Assistant Dashboard containing stats for my apartment as well as my network (AdGuard Home and Pi-Hole), however every time I run sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt autoremove -y I receive the following output:

Code: Select all

root@StatsPi:~# sudo apt-get update -y && sudo apt-get upgrade -y && sudo apt autoremove -y
Hit:1 https://deb.debian.org/debian buster InRelease
Get:2 https://deb.debian.org/debian buster-updates InRelease [51.9 kB]
Hit:3 https://deb.debian.org/debian-security buster/updates InRelease
Get:4 https://deb.debian.org/debian buster-backports InRelease [46.7 kB]
Hit:5 https://archive.raspberrypi.org/debian buster InRelease
Fetched 98.6 kB in 3s (36.6 kB/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
root@StatsPi:~#
I've attempted to run each command individually but came up with the same results. Even running apt-get full-upgrade won't upgrade those 19 items.

I am running the following software/modifications on this Pi:
  • ALSA: Advanced Linux Sound Architecture
  • X.Org X Server: aka X11 - X Window System implementation
  • Build-Essential: GNU C/C++ compiler, development libraries and headers
  • Git: Clone and manage Git repositories locally
  • LXDE: ultra lightweight desktop
  • Firefox: web browser for desktop
  • DietPi-RAMlog: Makes /var/log a RAM disk, preserves file structure on reboot
  • Dropbear: Lightweight SSH server
  • RealVNC Server: desktop for remote connection
  • Python 3: Runtime system, pip package installer and development headers
  • AutoKey: A desktop automation utility for Linux and X11
  • CronJob to Enable and Disable Screen Blanking
Is there a way to identify which packages are not being upgraded, and why? Is there a way to force these upgrades?

Thanks in advance.
Attachments
Stats_Pi.png
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Unable to Upgrade Apps / Packages

Post by Joulinar »

Does following give anything

Code: Select all

apt list --upgradable
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
dwr
Posts: 72
Joined: Thu Feb 18, 2021 3:46 am

Re: Unable to Upgrade Apps / Packages

Post by dwr »

Code: Select all

root@StatsPi:~# apt list --upgradable
Listing... Done
root@StatsPi:~# apt list --upgradable
Listing... Done
root@StatsPi:~#
Well... that's interesting...

I ran apt clean just to make sure these weren't leftover files, then re-ran apt upgrade with the same output: 0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
User avatar
Joulinar
Posts: 5619
Joined: Sat Nov 16, 2019 12:49 am

Re: Unable to Upgrade Apps / Packages

Post by Joulinar »

you could try a couple of thinks

Code: Select all

apt dist-upgrade
apt full-upgrade
apt autoremove
Pls let us know if a solution is working. This could help others if they hit by similar situation. Your DietPi Team
User avatar
dwr
Posts: 72
Joined: Thu Feb 18, 2021 3:46 am

Re: Unable to Upgrade Apps / Packages

Post by dwr »

apt dist-upgrade

Code: Select all

root@StatsPi:~# apt dist-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
apt full-upgrade (I tried this in my initial attempt)

Code: Select all

root@StatsPi:~# apt full-upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
apt autoremove (I tried this in my initial attempt)

Code: Select all

root@StatsPi:~# apt autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 19 not upgraded.
--------------------------------------------------------------------------------------------------------------------------------------------------------------------

Edit 1: I am going to install gnome-software to see if there is something that I installed that can be updated through that Software App. I am open to any other suggestions.

Edit 2: I was not successful in adding GNOME-Software due to key signing issues as well as source issues. Still looking for a solution...
Post Reply