Force apt-get to ignore dependencies?

Michael ODonnell michael.odonnell at comcast.net
Sun Feb 13 10:06:53 EST 2011



>> If you don't want to fish through the repos, you will likely find it in
>> /var/cache/apt/archives/
>
>  Alas, no.  apt-get won't even download the package because it thinks
>there are unsolved dependencies.

You should be able to pull an inventory from any repo mentioned in your
/etc/apt/sources.list by appending ls-lR.gz to the base URL, thus:

   # Example using http://debian.lcs.mit.edu/debian/
   wget            http://debian.lcs.mit.edu/debian/ls-lR.gz

...from which you can see if the package of interest is present and
assemble an URL to use for hauling that package onto your local system
where you can have your way with it using dpkg and such.  It'd be nice
if in{stead of, addition to} ls output they supplied full (relative)
pathnames to make such URL assembly more straightforward, but at least
the info is all there.

Of course, this is all terribly fiddly and mentioned here just FYI - the
general solution to your puzzle may lie on another path entirely...  >-/



More information about the gnhlug-discuss mailing list