LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
Search this Thread
Old 02-23-2011, 06:47 AM   #1
sophanox
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Rep: Reputation: 0
apt-get has unmet dependencies, but apt-get -f install doesn't solve problem


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:

Code:
Errors were encountered while processing:
 dpkg-dev
 libkrb5-3
 libgssapi-krb5-2
 libcurl3-gnutls
 gnupg-curl
E: Sub-process /usr/bin/dpkg returned an error code (1)
If I try to for example apt-get install nano:

Code:
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 (= 1.15.8.10) 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 =)
 
Old 02-23-2011, 10:07 AM   #2
sophanox
LQ Newbie
 
Registered: Feb 2011
Posts: 5

Original Poster
Rep: Reputation: 0
Ok I just went through and installed all the required packages heh

Still getting this error though, even though it's 100% installed.

Code:
Errors were encountered while processing:
dpkg-dev
Any suggestions for that? I have tried reinstalling it.

Thanks =)

Last edited by sophanox; 02-23-2011 at 10:52 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
unmet dependencies on apt-get datchie Linux - Newbie 2 11-18-2009 03:07 AM
apt-get update and apt-get install problem please solve it. regent_royal Linux - Newbie 11 06-26-2008 07:38 AM
Sun Java Plugin problem with apt-get Unmet Dependencies LearningToLive Ubuntu 2 07-30-2006 12:57 PM
apt-get unmet dependencies jeffbarish Debian 9 10-27-2005 12:19 AM
apt-get install not working due to unmet dependencies ibrewale Debian 10 07-26-2005 12:13 PM


All times are GMT -5. The time now is 06:56 AM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration