Unmet dependencies errors updating kubuntu 18

Hello,

I suppose after installing of Opera in my kubuntu 18.04 I got errors:

$ sudo apt-get upgrade
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 opera-stable:i386 : PreDepends: apt-transport-https:i386
                     Recommends: pepperflashplugin-nonfree:i386 but it is not installable
                     Recommends: chromium-codecs-ffmpeg-extra:i386 but it is not installed
 slimjet : Depends: libcurl3 but it is not installed or
                    libcurl4 but it is not installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

I am not sure if
apt --fix-broken install
is a safe way to fix it… How to fix these errors correctly ?

I believe it was mentioned in a previous topic with similar problems that the laptop and operating system are 64 bit versions and the version of Opera is 32 bit.

It was recommended to remove and preferably purge the 32 bit Opera version and to try installing a compatible 64 bit version.

It was very silly of me to install 386 version.
I tried to remove it, but got error :

# sudo apt-get remove  opera-stable:i386
Reading package lists... Done                                                                                                                                                                                                                
Building dependency tree                                                                                                                                                                                                                     
Reading state information... Done                                                                                                                                                                                                            
You might want to run 'apt --fix-broken install' to correct these.                                                                                                                                                                           
The following packages have unmet dependencies:                                                                                                                                                                                              
 slimjet : Depends: libcurl3 but it is not going to be installed or                                                                                                                                                                          
                    libcurl4 but it is not going to be installed                                                                                                                                                                             
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Which way can I try?

try:

sudo apt purge opera

sudo apt purge opera:386

I tried :

# sudo apt purge opera
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Package 'opera:i386' is not installed, so not removed
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 opera-stable:i386 : PreDepends: apt-transport-https:i386
                     Recommends: pepperflashplugin-nonfree:i386 but it is not installable
                     Recommends: chromium-codecs-ffmpeg-extra:i386 but it is not going to be installed
 slimjet : Depends: libcurl3 but it is not going to be installed or
                    libcurl4 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
# sudo apt purge opera:386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
E: Unable to locate package opera:386

# sudo apt purge opera-stable:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 slimjet : Depends: libcurl3 but it is not going to be installed or
                    libcurl4 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

?

Try:

sudo apt purge "opera-stable:i386"

Also try without the quotes if the above does not work.

Edit:
Just noticed that you already tried the above.

Try updating your system, fixing broken install and autoremove:

sudo apt update && sudo apt upgrade -y

sudo apt --fix-broken install

sudo apt update && sudo apt upgrade -y

sudo apt autoremove

sudo apt update && sudo apt upgrade -y

1 Like

Failed in both cases :

# sudo apt purge "opera-stable:i386"
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 slimjet : Depends: libcurl3 but it is not going to be installed or
                    libcurl4 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

# sudo apt purge opera-stable:i386
Reading package lists... Done
Building dependency tree       
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
 slimjet : Depends: libcurl3 but it is not going to be installed or
                    libcurl4 but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

?

1 Like

Did the additional suggestions in my edited post solve the problem?