Upgrading from 18.04 to 20.04 lead to missing preinstalled software

Hello,

As the title says I just upgraded from 18.04 to 20.04 and i found out that I only have the “Budgie desktop settings” application but the gnome one (i forgot the name) is missing.
Is there any solution to install all the default software if they not exist for the current version?
I ask that because sadly at the moment this is the only thing that i noticed.
For example searching using the application menu for “Windows Shuffler” for the new grid system yields no results.

sounds like you are missing the meta package which you may have inadvertently removed before the upgrade

Try:

sudo apt install --reinstall ubuntu-budgie-desktop budgie-desktop-environment

Thanks for the reply.
Running the given command lead me to
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
budgie-desktop-environment : Depends: budgie-desktop (>= 10.5) but it is not going to be installed
ubuntu-budgie-desktop : Depends: gnome-control-center but it is not going to be installed
                         Recommends: gnome-color-manager but it is not going to be installed
                         Recommends: hplip but it is not going to be installed
                         Recommends: simple-scan but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

hmm - does now sound that your upgrade hasnt fully completed.

sudo apt install --reinstall ubuntu-budgie-desktop budgie-desktop-environment budgie-desktop budgie-core gnome-control-center hplip simple-scan gnome-color-manager

Sadly that leads to

The following packages have unmet dependencies:
gnome-color-manager : Depends: colord (>= 1.3.1)
gnome-control-center : Depends: colord (>= 0.1.30)
hplip : Depends: libhpmud0 (= 3.20.3+dfsg0-2) but it is not going to be installed
     Depends: libsane-hpaio (= 3.20.3+dfsg0-2) but it is not going to be installed
     Depends: printer-driver-hpcups (= 3.20.3+dfsg0-2) but it is not going to be installed
     Depends: libsane (>= 1.0.24)
     Recommends: sane-utils
simple-scan : Depends: libsane (>= 1.0.24)

what is the output of the following?:

sudo apt update && sudo apt dist-upgrade
Hit:1 http://ro.archive.ubuntu.com/ubuntu focal InRelease
Hit:2 http://ro.archive.ubuntu.com/ubuntu focal-updates InRelease                                                                            
Hit:3 http://ro.archive.ubuntu.com/ubuntu focal-backports InRelease                                                                          
Hit:4 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease                                                           
Get:5 http://security.ubuntu.com/ubuntu focal-security InRelease [107 kB]                                                 
Hit:6 https://deb.nodesource.com/node_12.x focal InRelease
Fetched 107 kB in 1s (106 kB/s)                          
Reading package lists... Done
Building dependency tree       
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libhpmud0 libsane-hpaio printer-driver-hpcups
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

run software-properties-gtk

The first four checkboxes should be ticked

Hit Close - this should ask to reload your software sources. Say yes.

Then rerun:

sudo apt dist-upgrade

These are the checkboxses

and after running the upgrade

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
    libhpmud0 libsane-hpaio printer-driver-hpcups
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

hmm - maybe your mirror is not working - change the “Download from: Server for Romania” to the “Main Server”

also what is the output of:

cat /etc/apt/sources.list

This is the content

# deb cdrom:[Ubuntu-Budgie 18.04.2 LTS _Bionic Beaver_ - Release amd64 (20190210)]/ bionic main multiverse restricted universe                                                                                                                 
                                                                                                                                                                                                                                               
# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to                                                                                                                                                                      
# newer versions of the distribution.                                                                                                                                                                                                          
deb http://ro.archive.ubuntu.com/ubuntu/ focal main restricted                                                                                                                                                                                 
# deb-src http://ro.archive.ubuntu.com/ubuntu/ bionic main restricted                                                                                                                                                                          
                                                                                                                                                                                                                                               
## Major bug fix updates produced after the final release of the                                                       
## distribution.                                           
deb http://ro.archive.ubuntu.com/ubuntu/ focal-updates main restricted                                                 
# deb-src http://ro.archive.ubuntu.com/ubuntu/ bionic-updates main restricted                                          

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu                                            
## team. Also, please note that software in universe WILL NOT receive any                                              
## review or updates from the Ubuntu security team.                                                                    
deb http://ro.archive.ubuntu.com/ubuntu/ focal universe                                                                
# deb-src http://ro.archive.ubuntu.com/ubuntu/ bionic universe                                                         
deb http://ro.archive.ubuntu.com/ubuntu/ focal-updates universe                                                        
# deb-src http://ro.archive.ubuntu.com/ubuntu/ bionic-updates universe                                                 

## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu                                            
## team, and may not be under a free licence. Please satisfy yourself as to                                            
## your rights to use the software. Also, please note that software in                                                 
## multiverse WILL NOT receive any review or updates from the Ubuntu                                                   
## security team.                                          
deb http://ro.archive.ubuntu.com/ubuntu/ focal multiverse                                                              
# deb-src http://ro.archive.ubuntu.com/ubuntu/ bionic multiverse                                                       
deb http://ro.archive.ubuntu.com/ubuntu/ focal-updates multiverse                                                      
# deb-src http://ro.archive.ubuntu.com/ubuntu/ bionic-updates multiverse                                               

## N.B. software from this repository may not have been tested as                                                      
## extensively as that contained in the main release, although it includes                                             
## newer versions of some applications which may provide useful features.                                              
## Also, please note that software in backports WILL NOT receive any review                                            
## or updates from the Ubuntu security team.                                                                           
deb http://ro.archive.ubuntu.com/ubuntu/ focal-backports main restricted universe multiverse                                                                                                                                                   
# deb-src http://ro.archive.ubuntu.com/ubuntu/ bionic-backports main restricted universe multiverse                                                                                                                                            

## Uncomment the following two lines to add software from Canonical's                                                  
## 'partner' repository.                                   
## This software is not part of Ubuntu, but is offered by Canonical and the                                            
## respective vendors as a service to Ubuntu users.                                                                    
# deb http://archive.canonical.com/ubuntu bionic partner                                                               
# deb-src http://archive.canonical.com/ubuntu bionic partner

deb http://security.ubuntu.com/ubuntu focal-security main restricted
# deb-src http://security.ubuntu.com/ubuntu bionic-security main restricted
deb http://security.ubuntu.com/ubuntu focal-security universe
# deb-src http://security.ubuntu.com/ubuntu bionic-security universe
deb http://security.ubuntu.com/ubuntu focal-security multiverse
# deb-src http://security.ubuntu.com/ubuntu bionic-security multiverse
# deb https://dl.winehq.org/wine-builds/ubuntu/ focal main # disabled on upgrade to focal
deb-src https://dl.winehq.org/wine-builds/ubuntu/ bionic main

you havent changed to the main server

After you have done that rerun

sudo apt update

Then repeat Upgrading from 18.04 to 20.04 lead to missing preinstalled software

After i changed the server and run the update

Hit:1 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:2 https://deb.nodesource.com/node_12.x focal InRelease                     
Hit:3 http://archive.ubuntu.com/ubuntu focal-updates InRelease                 
Hit:4 http://archive.ubuntu.com/ubuntu focal-backports InRelease       
Hit:5 http://archive.ubuntu.com/ubuntu focal-security InRelease
Hit:6 https://dl.winehq.org/wine-builds/ubuntu bionic InRelease
Reading package lists... Done
Building dependency tree       
Reading state information... Done
3 packages can be upgraded. Run 'apt list --upgradable' to see them.

I tried to rerun the upgrade but it still didn’t work

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
libhpmud0 libsane-hpaio printer-driver-hpcups
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Did you run ?

sudo apt dist-upgrade

Yes, the last snippet in my previous post is the result.
But after running sudo apt install --reinstall ubuntu-budgie-desktop budgie-deskt op-environment budgie-desktop budgie-core gnome-control-center hplip simple-scan gnome-color-manager it lead to

Reading package lists... Done
Building dependency tree       
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
gnome-color-manager : Depends: colord (>= 1.3.1)
gnome-control-center : Depends: colord (>= 0.1.30)
hplip : Depends: libhpmud0 (= 3.20.3+dfsg0-2) but it is not going to be installed
        Depends: libsane-hpaio (= 3.20.3+dfsg0-2) but it is not going to be installed
        Depends: printer-driver-hpcups (= 3.20.3+dfsg0-2) but it is not going to be installed
        Depends: libsane (>= 1.0.24)
        Recommends: sane-utils
simple-scan : Depends: libsane (>= 1.0.24)
E: Unable to correct problems, you have held broken packages.

I’m confused!

Have you got any pinned packages?

apt-mark showhold

or if that doesn’t work

dpkg -l | grep "^hi"
apt-mark showhold

Returns nothing

dpkg -l | grep "^hi"

Returns

acriha@acriha ~> dpkg -l | grep "^hi"
acriha@acriha ~ [0|1]> 

Note that i’m running fish shell.
Running the last command in bash leads to

bash: /etc/profile.d/vte.sh: No such file or directory
acriha@acriha:~$  dpkg -l | grep "^hi"
acriha@acriha:~$ 

I’ve included the error message when i enter bash because it doesn’t appear in fish

Please can you try the answer/answers here - there is definitely something very wrong with your apt database

Ill try using the suggested thread and come back with the results. Thanks!

I tried what is specified in the given thread but no luck.
I disabled all ppas and left only the official ones.
Then i went down the chain for the 3 packages that have unmet dependencies libhpmud0, libsane-hpaio, printer-driver-hpcups and i had to run these commands

//loading dependencies for 
sudo apt-get install  printer-driver-hpcups
//ran dependency installs
sudo apt-get install  libhpmud0 

//loading dependencies for 
sudo apt-get install  libsane-hpaio
//ran dependency installs
sudo apt-get install sane-utils
sudo apt-get install libsane
sudo apt-get install  libsnmp35 //see  libhpmud0

//loading dependencies for 
sudo apt-get install  libhpmud0
//ran dependency installs
sudo apt-get install  libsnmp35
sudo apt-get install  libsensors5
sudo apt-get install  libsensors-config
sudo apt-get install  java8-runtime

But the problem starts at installing the java8-runtime where it resulted in

sudo apt-get install  java8-runtime
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package java8-runtime is a virtual package provided by:
  openjdk-8-jre 8u265-b01-0ubuntu2~20.04
  openjdk-14-jre 14.0.1+7-1ubuntu1
  openjdk-13-jre 13.0.3+3-1ubuntu2
  openjdk-11-jre 11.0.8+10-0ubuntu1~20.04
  default-jre 2:1.11-72
You should explicitly select one to install.

Running sudo apt-get install openjdk-8-jre leads me to

Building dependency tree       
Reading state information... Done
openjdk-8-jre is already the newest version (8u265-b01-0ubuntu2~20.04).
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.

Edit:
Forgot to specify that i also tried to install the java8-runtime, libhpmud0, and the first command given
ubuntu-budgie-desktop budgie-desktop-environment budgie-desktop budgie-core gnome-control-center hplip simple-scan gnome-color-manager using aptitude found in this answer https://stackoverflow.com/a/35679746 with no luck.

Edit2:
Note that i’m a java developer, so on this machine i’m running

openjdk version "11.0.8" 2020-07-14
OpenJDK Runtime Environment (build 11.0.8+10-post-Ubuntu-0ubuntu120.04)
OpenJDK 64-Bit Server VM (build 11.0.8+10-post-Ubuntu-0ubuntu120.04, mixed mode, sharing)

Which it doesn’t have the JRE/JDK split.