On Fri, Mar 23, 2012 at 12:50:15 -0600, Kjetil brinchmann Halvorsen wrote:
> Hola!
> 
> I am given the command
> 
> sudo apt-get -t sid install ^r-cran
> 
> but gets
> 
> Some packages could not be installed. This may mean that you have
> requested an impossible situation or if you are using the unstable
> distribution that some required packages have not yet been created
> or been moved out of Incoming.
> The following information may help to resolve the situation:
> 
> The following packages have unmet dependencies:
>  r-cran-pscl : Depends: r-cran-gam but it is not installable
> E: Broken packages
> 
> I have tried many permutations with --fix-missing   --ignore-missing and
> the like, but not workd.
> How can I get apt-get to ignore r-cran-pscl and just install the remaining?

apt-get install $(apt-cache search -n ^r-cran | awk '!/r-cran-pscl/{print$1}')

This is ugly, of course; the proper solution to this kind of problem
involves replacing "-get" with "itude".

-- 
Regards,            |
          Florian   | http://www.florian-kulzer.eu


-- 
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org 
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20120323210221.GA10125@isar.localhost

Reply via email to