hey, i m using zorin 16 beta from last month,
but i just tried to install git ,
it said :-
milesdredd@milesdredd-hp-notebook:~$ sudo apt install git
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:
git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
what should i do?
my last hour bash history:-
1063 sudo apt install git
1064 sudo apt update
1065 sudo apt install libz-dev libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext cmake gcc
1066 node -version
1067 node --version
1068 npm --version
1069 npx --version
1070 sudo apt install libz-dev libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext cmake gcc
1071 git --version
1072 sudo apt --fix-missing update
1073 apt list --upgradable
1074 sudo apt update
1075 sudo apt install -f
1076 sudo apt install git
1077 sudo apt-get update --fix-missing
1078 sudo apt install git
1079 sudo apt --fix-broken install
1080 sudo apt install aptitude
1081 aptitude why git
and it details :-
Summary
milesdredd@milesdredd-hp-notebook:~$ sudo apt install git
[sudo] password for milesdredd:
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:
git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
milesdredd@milesdredd-hp-notebook:~$ sudo apt update
Ign:1 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:2 http://ppa.launchpad.net/libretro/stable/ubuntu focal InRelease
Err:3 http://archive.ubuntu.com/ubuntu focal InRelease
Temporary failure resolving 'archive.ubuntu.com'
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Err:5 https://packages.zorinos.com/stable focal InRelease
Temporary failure resolving 'packages.zorinos.com'
Hit:6 http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease
Err:7 http://repo.vivaldi.com/stable/deb stable Release
Connection failed [IP: 151.139.106.118 80]
Hit:8 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease
Err:9 http://packages.microsoft.com/repos/code stable InRelease
Temporary failure resolving 'packages.microsoft.com'
Hit:10 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease
Hit:11 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
Hit:12 https://packages.zorinos.com/patches focal InRelease
Hit:13 https://packages.zorinos.com/apps focal InRelease
Hit:14 https://packages.zorinos.com/drivers focal InRelease
Get:15 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Get:16 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Get:17 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [283 kB]
Get:18 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [332 kB]
Get:19 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:20 http://in.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [10.3 kB]
Get:4 http://security.ubuntu.com/ubuntu focal-security InRelease [114 kB]
Get:21 http://security.ubuntu.com/ubuntu focal-security/main amd64 DEP-11 Metadata [24.5 kB]
Get:22 http://security.ubuntu.com/ubuntu focal-security/universe amd64 DEP-11 Metadata [60.9 kB]
Get:23 http://security.ubuntu.com/ubuntu focal-security/multiverse amd64 DEP-11 Metadata [2,464 B]
Reading package lists... Done
E: The repository 'http://repo.vivaldi.com/stable/deb stable Release' no longer has a Release file.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
milesdredd@milesdredd-hp-notebook:~$ sudo apt install libz-dev libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext cmake gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'zlib1g-dev' instead of 'libz-dev'
Package cmake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'cmake' has no installation candidate
milesdredd@milesdredd-hp-notebook:~$ node -version
node: bad option: -version
milesdredd@milesdredd-hp-notebook:~$ node --version
v10.19.0
milesdredd@milesdredd-hp-notebook:~$ npm --version
6.14.4
milesdredd@milesdredd-hp-notebook:~$ npx --version
6.14.4
milesdredd@milesdredd-hp-notebook:~$ sudo apt install libz-dev libssl-dev libcurl4-gnutls-dev libexpat1-dev gettext cmake gcc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Note, selecting 'zlib1g-dev' instead of 'libz-dev'
Package cmake is not available, but is referred to by another package.
This may mean that the package is missing, has been obsoleted, or
is only available from another source
E: Package 'cmake' has no installation candidate
milesdredd@milesdredd-hp-notebook:~$ git --version
Command 'git' not found, but can be installed with:
sudo apt install git
milesdredd@milesdredd-hp-notebook:~$
milesdredd@milesdredd-hp-notebook:~$ sudo apt --fix-missing update
Get:1 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease [114 kB]
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Get:3 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease [101 kB]
Hit:4 http://ppa.launchpad.net/libretro/stable/ubuntu focal InRelease
Ign:5 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:6 http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease
Get:7 http://in.archive.ubuntu.com/ubuntu focal-updates/main amd64 DEP-11 Metadata [283 kB]
Get:8 http://packages.microsoft.com/repos/code stable InRelease [10.4 kB]
Hit:9 https://packages.zorinos.com/stable focal InRelease
Get:10 http://repo.vivaldi.com/stable/deb stable Release [3,831 B]
Hit:11 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease
Get:12 http://in.archive.ubuntu.com/ubuntu focal-updates/universe amd64 DEP-11 Metadata [332 kB]
Hit:13 https://packages.zorinos.com/patches focal InRelease
Get:14 http://in.archive.ubuntu.com/ubuntu focal-updates/multiverse amd64 DEP-11 Metadata [2,468 B]
Get:15 http://repo.vivaldi.com/stable/deb stable Release.gpg [833 B]
Hit:16 http://archive.ubuntu.com/ubuntu focal InRelease
Get:17 http://in.archive.ubuntu.com/ubuntu focal-backports/universe amd64 DEP-11 Metadata [10.3 kB]
Hit:18 https://packages.zorinos.com/apps focal InRelease
Hit:19 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease
Hit:20 https://packages.zorinos.com/drivers focal InRelease
Get:21 http://packages.microsoft.com/repos/code stable/main armhf Packages [36.7 kB]
Hit:22 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
Get:23 http://packages.microsoft.com/repos/code stable/main arm64 Packages [36.8 kB]
Get:24 http://packages.microsoft.com/repos/code stable/main amd64 Packages [35.9 kB]
Get:25 http://repo.vivaldi.com/stable/deb stable/main amd64 Packages [1,172 B]
Fetched 967 kB in 7s (135 kB/s)
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
milesdredd@milesdredd-hp-notebook:~$ apt list --upgradable
Listing... Done
code-insiders/stable 1.59.0-1626067901 amd64 [upgradable from: 1.59.0-1625810794]
N: There are 180 additional versions. Please use the '-a' switch to see them.
milesdredd@milesdredd-hp-notebook:~$ sudo apt update
Hit:1 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:2 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:3 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:4 https://packages.zorinos.com/stable focal InRelease
Hit:5 http://security.ubuntu.com/ubuntu focal-security InRelease
Ign:6 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:7 https://packages.zorinos.com/patches focal InRelease
Hit:8 http://repo.vivaldi.com/stable/deb stable Release
Hit:10 https://packages.zorinos.com/apps focal InRelease
Hit:11 https://packages.zorinos.com/drivers focal InRelease
Hit:12 http://ppa.launchpad.net/libretro/stable/ubuntu focal InRelease
Hit:13 http://packages.microsoft.com/repos/code stable InRelease
Hit:14 http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease
Hit:15 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease
Hit:16 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease
Hit:17 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
Reading package lists... Done
Building dependency tree
Reading state information... Done
1 package can be upgraded. Run 'apt list --upgradable' to see it.
milesdredd@milesdredd-hp-notebook:~$ sudo apt install -f
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
milesdredd@milesdredd-hp-notebook:~$ sudo apt install git
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:
git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
milesdredd@milesdredd-hp-notebook:~$ sudo apt-get update --fix-missing
Hit:1 http://packages.microsoft.com/repos/code stable InRelease
Hit:2 http://security.ubuntu.com/ubuntu focal-security InRelease
Hit:3 https://packages.zorinos.com/stable focal InRelease
Hit:4 http://archive.ubuntu.com/ubuntu focal InRelease
Hit:5 https://packages.zorinos.com/patches focal InRelease
Ign:6 http://repo.vivaldi.com/stable/deb stable InRelease
Hit:7 http://in.archive.ubuntu.com/ubuntu focal-updates InRelease
Hit:8 https://packages.zorinos.com/apps focal InRelease
Hit:9 http://in.archive.ubuntu.com/ubuntu focal-backports InRelease
Hit:10 http://repo.vivaldi.com/stable/deb stable Release
Hit:11 https://packages.zorinos.com/drivers focal InRelease
Hit:13 http://ppa.launchpad.net/libretro/stable/ubuntu focal InRelease
Hit:14 http://ppa.launchpad.net/zorinos/apps/ubuntu focal InRelease
Hit:15 http://ppa.launchpad.net/zorinos/drivers/ubuntu focal InRelease
Hit:16 http://ppa.launchpad.net/zorinos/patches/ubuntu focal InRelease
Hit:17 http://ppa.launchpad.net/zorinos/stable/ubuntu focal InRelease
Reading package lists... Done
milesdredd@milesdredd-hp-notebook:~$ sudo apt install git
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:
git : Depends: liberror-perl but it is not installable
E: Unable to correct problems, you have held broken packages.
milesdredd@milesdredd-hp-notebook:~$ sudo apt --fix-broken install
Waiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontenWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontenWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontenWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontenWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontenWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontenWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontenWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontenWaiting for cache lock: Could not get lock /var/lib/dpkg/lock-frontend. It is held by process 43992 (synaptic)
Reading package lists... 0% Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 1 not upgraded.
milesdredd@milesdredd-hp-notebook:~$ sudo apt install aptitude
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following additional packages will be installed:
aptitude-common libcwidget4
Suggested packages:
aptitude-doc-en | aptitude-doc apt-xapian-index debtags tasksel
libcwidget-dev
Recommended packages:
libparse-debianchangelog-perl
The following NEW packages will be installed:
aptitude aptitude-common libcwidget4
0 upgraded, 3 newly installed, 0 to remove and 1 not upgraded.
Need to get 3,341 kB of archives.
After this operation, 16.3 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://archive.ubuntu.com/ubuntu focal/universe amd64 aptitude-common all 0.8.12-1ubuntu4 [1,711 kB]
Get:2 http://archive.ubuntu.com/ubuntu focal/universe amd64 libcwidget4 amd64 0.5.18-5build1 [306 kB]
Get:3 http://archive.ubuntu.com/ubuntu focal/universe amd64 aptitude amd64 0.8.12-1ubuntu4 [1,323 kB]
Fetched 3,341 kB in 10s (321 kB/s)
Selecting previously unselected package aptitude-common.
(Reading database ... 311665 files and directories currently installe
d.)
Preparing to unpack .../aptitude-common_0.8.12-1ubuntu4_all.deb ...
Unpacking aptitude-common (0.8.12-1ubuntu4) ...
Selecting previously unselected package libcwidget4:amd64.
Preparing to unpack .../libcwidget4_0.5.18-5build1_amd64.deb ...
Unpacking libcwidget4:amd64 (0.5.18-5build1) ...
Selecting previously unselected package aptitude.
Preparing to unpack .../aptitude_0.8.12-1ubuntu4_amd64.deb ...
Unpacking aptitude (0.8.12-1ubuntu4) ...
Setting up libcwidget4:amd64 (0.5.18-5build1) ...
Setting up aptitude-common (0.8.12-1ubuntu4) ...
Setting up aptitude (0.8.12-1ubuntu4) ...
update-alternatives: using /usr/bin/aptitude-curses to provide /usr/b
in/aptitude (aptitude) in auto mode
Processing triggers for man-db (2.9.1-1) ...
Processing triggers for libc-bin (2.31-0ubuntu9.2) ...
milesdredd@milesdredd-hp-notebook:~$ aptitude why git
i apt Suggests dpkg-dev (>= 1.17.2)
i A dpkg-dev Depends libdpkg-perl (= 1.19.7ubuntu3)
i A libdpkg-perl Suggests git








