unable to uninstall python3.5 on ubuntu - python-3.x

When I tried to remove python3.5 on ubuntu, it always reports error
sudo apt-get remove python3.5
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
python3-commandnotfound : Depends: python3-gdbm but it is not going to be installed
python3-pip : Depends: python-pip-whl (= 1.5.4-1ubuntu4) but it is not going to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
python3-software-properties : Depends: unattended-upgrades but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
In this case, I tried to reinstall the dependence, but finally, it always reports like
python3-commandnotfound : Depends: python3-gdbm but it is not going to be installed
python3-pip : Depends: python-pip-whl (= 1.5.4-1ubuntu4) but it is not going to be installed
Recommends: python3-dev (>= 3.2) but it is not going to be installed
I also tried apt-get remove/reinstall/autoremove/update/upgrade, but it deosn't work. I can see the same error finally. The dependence file is not going to be installed.
It looks I'm in a dead loop. How can I remove everything manually?

Related

cannot install "conky" due to missing dependencies such as "libgdk-pixbuf" im running the latest version of Ubuntu

I'm trying to do is install conky and following every tutorial I can and can not get anything use full due too having problems downloading or something needing some dependency
I'm stuck and lost and new and really mad at this point due to following every tutorial and getting lost again
When I run sudo apt-get -y install conky-cli it returns
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
conky-all : Conflicts: conky-cli but 1.12.2-1 is to be installed
conky-cli : Conflicts: conky-all but 1.12.2-1 is to be installed
conky-manager : Depends: libgdk-pixbuf2.0-0 (>= 2.22.0) but it is not going to be installed
Depends: conky but it is not going to be installed
Depends: p7zip-full but it is not going to be installed
Depends: imagemagick
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
When I try to install libgdk-pixbuf with:
sudo apt -y install libgdk-pixbuf2.0-0
I get:
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
conky-manager : Depends: conky but it is not going to be installed
Depends: p7zip-full but it is not going to be installed
Depends: imagemagick
libgdk-pixbuf2.0-0 : Depends: libgdk-pixbuf-xlib-2.0-0 (>= 2.40.2-2build4) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
I'm curious what tutorial you're following that says to install conky-cli. Most of what I'm seeing refers to installation of conky-all. Try entering sudo apt update followed by sudo apt install conky-all to install, as discussed at https://linuxconfig.org/ubuntu-22-04-system-monitoring-with-conky-widgets.

installing `gdebi` But Getting Error ` linux-image-generic-hwe-16.04 : Depends: linux-image-4.15.0-76-generic but it is not going to be installed`

trying to install gdebi but not be able to install. Please help
Reading package lists... Done
Building dependency tree
Reading state information... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
gdebi : Depends: gdebi-core (= 0.9.5.7ubuntu1) but it is not going to be installed
Depends: gksu but it is not going to be installed
linux-image-generic-hwe-16.04 : Depends: linux-image-4.15.0-76-generic but it is not going to be installed
linux-modules-extra-4.15.0-70-generic : Depends: linux-image-4.15.0-70-generic but it is not going to be installed or
linux-image-unsigned-4.15.0-70-generic but it is not going to be installed
linux-modules-extra-4.15.0-76-generic : Depends: linux-image-4.15.0-76-generic but it is not going to be installed or
linux-image-unsigned-4.15.0-76-generic but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
i have also tried to use apt-get -f install but its also not helping.
I have resolved this problem by removing old kernels from my system.
for more information please read how to remove old kernels

unable to install wine in ubuntu14.04 and getting dependencies error

i am using ubuntu 14.04 .i am trying to install wine but getting following dependencies error .
I tried sudo apt-get install wine
I got this error-
The following packages have unmet dependencies:
wine : Depends: wine1.6 but it is not installable or
wine1.7 but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
then tried - sudo apt-get install wine1.7 and get this -
The following packages have unmet dependencies:
wine1.7 : Depends: wine1.7-amd64 (= 1:1.7.44-0ubuntu1) but it is not going to be installed
Depends: wine1.7-i386 (= 1:1.7.44-0ubuntu1)
Recommends: fonts-horai-umefont but it is not installable
E: Unable to correct problems, you have held broken packages.
I tried then sudo apt-get install wine1.7-i386 but got this -
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:
wine1.7-i386:i386 : Depends: libmpg123-0:i386 (>= 1.13.7) but it is not installable
Depends: libopenal1:i386 (>= 1:1.13) but it is not installable
Depends: libopencl-1.1-1:i386 but it is not installable
Depends: ocl-icd-libopencl1:i386 (>= 1.0) but it is not installable or
libopencl1:i386
Recommends: libcapi20-3:i386 but it is not installable
Recommends: libgif4:i386 but it is not going to be installed
Recommends: libosmesa6:i386 but it is not going to be installed
Recommends: libpcap0.8:i386 but it is not going to be installed
Recommends: libsane:i386 but it is not going to be installed
Recommends: libv4l-0:i386 but it is not going to be installed
Recommends: p11-kit-modules:i386 but it is not going to be installed
Recommends: unixodbc:i386
Recommends: wine-gecko2.34:i386 but it is not going to be installed
Recommends: wine-mono4.5.4:i386
E: Unable to correct problems, you have held broken packages.
I also tried -
sudo apt-get install -f
and got this
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
then tried sudo apt-get autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
and then tried sudo apt-get update
and tried again but no luck .
and output for - dpkg --print-architectureis amd64
and for dpkg --print-foreign-architectures is i386
please help !!!
Thanks in advance !!

Unable to install Curb on Linux 14.04 using apt-get install libcurl4-openssl-dev

I am trying to install Curb using command apt-get install libcurl4-openssl-dev
on Linux 14.04
Detail below
apt-get install libcurl4-openssl-dev
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:
libcurl4-openssl-dev : Depends: libidn11-dev but it is not
installable
Depends: libkrb5-dev but it is not going to be installed
Depends: libldap2-dev but it is not installable
Depends: librtmp-dev but it is not installable
Depends: libssl-dev but it is not going to be installed
Depends: zlib1g-dev but it is not installable
E: Unable to correct problems, you have held broken packages.

can't install QT4 on linux Mint

I am trying to compile vpnshrew with CMAKE on linux mint.
However QT4 is missing and I have already tried everything with no success. The starting line it's this dependency error:
$ sudo apt-get install libqt4-core
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:
libqt4-core : Depends: libqt4-dbus (= 4:4.8.3+dfsg-0ubuntu3) but it is not going to be installed
Depends: libqt4-network (= 4:4.8.3+dfsg-0ubuntu3) but it is not going to be installed
Depends: libqt4-script (= 4:4.8.3+dfsg-0ubuntu3) but it is not going to be installed
Depends: libqt4-test (= 4:4.8.3+dfsg-0ubuntu3) but 4:4.8.3+dfsg-0ubuntu3.1 is to be installed
Depends: libqt4-xml (= 4:4.8.3+dfsg-0ubuntu3) but 4:4.8.3+dfsg-0ubuntu3.1 is to be installed
Depends: libqtcore4 (= 4:4.8.3+dfsg-0ubuntu3) but 4:4.8.3+dfsg-0ubuntu3.1 is to be installed
E: Unable to correct problems, you have held broken packages.
I have already tried lots of solutions. Namely
sudo dpkg --configure -a
sudo apt-get -f install
sudo apt-get update
Thanks in advance for any help.
Try sudo apt-get install qt4-dev-tools libqt4-dev libqt4-core libqt4-gui.

Resources