You are here
Drew Ruggles - Mon, 2011/11/07 - 04:22
Trying to install tklpatch from APT, keep getting error message:
E: Unmet dependencies. Try 'apt-get -f install' with no packages (or specify a solution).
Running apt-get -f install:
0 upgraded, 26 newly installed, 0 to remove and 0 not upgraded. 1 not fully installed or removed.
Looks OK to me. Try to reinstall tklpatch, same error as above. What am I not getting?
Thanks,
Drew
Forum:
Tags:
Have you updated package list first?
Ie apt-get update
If so then please post the full output of apt-get install tklpatch
AFAIK TKLPatch only depends on stuff from the default repos (I have installed it on a clean TKL instance with no modifications no worries). I expect somewhere there it'll say something like "can't install xyz, it is reffered to by another package but no install candidate available" (or words to that effect). For completeness, see below for further more general apt-get install issues.
So if you are trying to install standard Ubuntu (or TKL) software using apt-get and have run apt-get update first and still have an issue, then the problem is probably (hopefully) that you need to enable extra repos (that aren't enabled by default in TKL).
So to check which repo the xyz package(s) you're after are in, search for the package on the Ubuntu Package Search. Scroll down to "search package directories" type the name of the package into the box, and select 'lucid' from the distribution dropdown. Leave everything else default and click 'Search'. Hopefully you don't get "sorry your seach found no results" (but if it does post and I'll give you some more ideas...) If it returns an answer which includes the package name with something after it in square brackets (probably [restricted] or [multiverse]) then we're all good to go!
You can enable repos in your souces.list pretty easily. To do it edit your souces.list file like this:
Now remove the '#' from the start of the line that ends with whichever repo you need to enable (it'll be in a group of 4, after the TKL repo). Close and save (<Ctrl><x>).
Now run apt-get update again and try to install now.
To remove packages:
And if you want to also get rid of any config info associated with the package use the --purge switch ie:
Ran it
Here's what I got after apt-get update, apt-get install tklpatch:
Drew
Dependency Installs fail, too
After editing sources.list and trying to install a dependency, here is what I'm getting:
Installing package(s) with command apt-get -y --force-yes -f install genisoimage ..
.. install failed!
Remove Virtualbox-4.1 not working, either
I ran an apt-get remove virtualbox-4.1 and purged, but it still shows up as an issue when trying to install tklpatch.
Any thoughts?
Thanks,
Drew
Is networking working ok?
You have something seriously messed up going on. Or you didn't run apt-get update as I suggested above!
I did a search on Ubuntu Package Search for 'libcurl3' (as complained about by virtualbox) and it's in the 'security' repo. That is definately available by default (it's where the security updates come from). So the only thing I can think of is that you do not have networking configured properly (being blocked by firewall/proxy or using NAT networking if using TKL from VBox or similar VM software, etc) or as I say, you haven't run apt-get update.
What does apt-get update return?
Definitely ran apt-get update!
Here's the output:
Not sure what you mean about networking... I can learn all about Justin Bieber's (sp?) upcoming DNA test and paternity lawsuit...
FYI, TKL Fileserver was installed on bare metal, not a VM.
Drew
PS: Just ran ping for the fun of it:
That is bizarre!?!
Obviously it's connecting, and the packages lists are obviously up to date!? The only thing I could recommend is running apt-get -f install again, but it sounds like you've already run that a few times and its still not helping.
Try deselecting the packages, and then repairing:
Not sure if it'll work??
I bailed on it...
For my third attempt, I'm trying to keep a log of my steps. As we have discussed in a separate thread, I don't think the Fileserver is going to be that useful to me, so I installed just the TKL Core on bare metal, then will develop the other environments in VBox -- providing I can get it working.
Fortunately, with a GParted LiveUSB stick for cleaning up disks, and an UNetbootin LiveUSB Turnkeylinux stick for install, it's amazing how fast a machine can be wiped, reformatted, OS installed, DDNS configured, and TKLBAM configured and run. I think the longest part was when I was deciding on a new label for TKL partition (...more because of the odd name my client's son named one of the workstation VMs, and my own Architecture background inspired OCD had to make it work hierarchically.)
I'm still not sure what happened...
I have never experienced anything like that. The fact that you could run apt-get update successfully, but it wouldn't download packages that are in the repos doesn't make sense to me! The only thing I can think of is some funky proxy setup, although AFAIK apt-get update should've also failed.
Good luck with it. Hope it works this time!
Add new comment