git : Depends: liberror-perl but it is not installable
7,726
Old question with a new answer.
The problem is not always related to unsupported releases
nor non installable
items. Indeed is incomplete source list available on your system.
Update the /etc/apt/sources.list
, in my case using stretch
to:
deb http://deb.debian.org/debian stretch main contrib non-free
deb-src http://deb.debian.org/debian stretch main contrib non-free
deb http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb-src http://deb.debian.org/debian-security/ stretch/updates main contrib non-free
deb http://deb.debian.org/debian stretch-updates main contrib non-free
deb-src http://deb.debian.org/debian stretch-updates main contrib non-free
You can comment the deb-src
lines if not needed, then do the standard apt update
and go!
Related videos on Youtube
Author by
Prashant
Updated on September 18, 2022Comments
-
Prashant over 1 year
While installing git using:
sudo apt-get install git
I got the below errors:
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.
-
Yaron over 6 yearsPossible duplicate of How to install software or upgrade from an old unsupported release? see also git-depends-liberror-perl-but-it-is-not-installable
-
Panther over 6 yearsWhat version of Ubuntu do you have installed and what repositories do you have enabled ?
-