Hey guys, I've just completed a linux from scratch build and have decided to go with the dpkg/apt package manager.
After a lot of fiddling I managed to get dpkg and apt installed okay and apt-get update works no problems. However when I apt-get -f install, I recieve this error:
Errors were encountered while processing:
E: Sub-process /usr/bin/dpkg returned an error code (1)
If I try to for example apt-get install nano:
Reading package lists... Done
Building dependency tree... Done
You might want to run 'apt-get -f install' to correct these:
The following packages have unmet dependencies:
dpkg-dev : Depends: libdpkg-perl (= 220.127.116.11) but it is not going to be installed
Depends: xz-utils but it is not going to be installed
Depends: base-files (>= 5.0.0) but it is not going to be installed
Recommends: build-essential but it is not going to be installed
Recommends: fakeroot but it is not going to be installed
Recommends: gnupg but it is not going to be installed
Recommends: gpgv but it is not going to be installed
Recommends: libalgorithm-merge-perl but it is not going to be installed
nano : Depends: libncursesw5 (>= 5.7+20100313) but 5.7 is to be installed
Depends: dpkg (>= 1.15.4) but 1.14.31 is to be installed or
install-info but it is not going to be installed
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
The install guide I followed said dummy entries had to be made in /var/dpkg/status and so I copied over his status entries. Some of the packages he had are not actually installed on my build, so I'm unsure if that would have affected it.
Basically my questons is, will installing the packages: dpkg-dev, libkrb5-3, libgssapi-krb5-2, libcurl3-gnutls and gnupg-curl solve my problems? And is there a way to apt-get install them so I don't have to go through manually installing all their dependencies as well?
Any help is much appreciated, thanks for your time =)