maquiner
June 4th, 2019, 03:09 PM
Hello everyone, I cannot figure how to solve the following problem.
jaime@jaime-VirtualBox:~$ sudo apt install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.18.0-15 linux-headers-4.18.0-15-generic
linux-image-4.18.0-15-generic linux-modules-4.18.0-15-generic
linux-modules-extra-4.18.0-15-generic
Use 'sudo apt autoremove' to remove them.
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-cvs git-mediawiki git-svn
The following packages will be upgraded:
git
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
Need to get 0 B/3,907 kB of archives.
After this operation, 32.2 MB of additional disk space will be used.
(Reading database ... 204865 files and directories currently installed.)
Preparing to unpack .../git_1%3a2.17.1-1ubuntu0.4_amd64.deb ...
stat: cannot stat '/usr/lib/git-core/git-add': No such file or directory
dpkg: error processing archive /var/cache/apt/archives/git_1%3a2.17.1-1ubuntu0.4_amd64.deb (--unpack):
new git package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/git_1%3a2.17.1-1ubuntu0.4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
jaime@jaime-VirtualBox:~$ sudo apt auto remove
E: Invalid operation auto
jaime@jaime-VirtualBox:~$ sudo apt autoremove
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.
git-man : Breaks: git (< 1:1.7.4~rc1)
libcgi-pm-perl : Breaks: git (< 1:2.1.3)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
jaime@jaime-VirtualBox:~$ "
I have treid force installing and it doesn't work.
Any ideas??
Thanks a lot guys!!
jaime@jaime-VirtualBox:~$ sudo apt install git
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
linux-headers-4.18.0-15 linux-headers-4.18.0-15-generic
linux-image-4.18.0-15-generic linux-modules-4.18.0-15-generic
linux-modules-extra-4.18.0-15-generic
Use 'sudo apt autoremove' to remove them.
Suggested packages:
git-daemon-run | git-daemon-sysvinit git-doc git-el git-email git-gui gitk
gitweb git-cvs git-mediawiki git-svn
The following packages will be upgraded:
git
1 to upgrade, 0 to newly install, 0 to remove and 0 not to upgrade.
1 not fully installed or removed.
Need to get 0 B/3,907 kB of archives.
After this operation, 32.2 MB of additional disk space will be used.
(Reading database ... 204865 files and directories currently installed.)
Preparing to unpack .../git_1%3a2.17.1-1ubuntu0.4_amd64.deb ...
stat: cannot stat '/usr/lib/git-core/git-add': No such file or directory
dpkg: error processing archive /var/cache/apt/archives/git_1%3a2.17.1-1ubuntu0.4_amd64.deb (--unpack):
new git package pre-installation script subprocess returned error exit status 1
Errors were encountered while processing:
/var/cache/apt/archives/git_1%3a2.17.1-1ubuntu0.4_amd64.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)
jaime@jaime-VirtualBox:~$ sudo apt auto remove
E: Invalid operation auto
jaime@jaime-VirtualBox:~$ sudo apt autoremove
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.
git-man : Breaks: git (< 1:1.7.4~rc1)
libcgi-pm-perl : Breaks: git (< 1:2.1.3)
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).
jaime@jaime-VirtualBox:~$ "
I have treid force installing and it doesn't work.
Any ideas??
Thanks a lot guys!!