Re: Re: Re: apt pinning question



I wonder if it'll behave any differently if you use aptitude instead of apt-get.

I've never used aptitude before, so after your suggestion I gave it a
try and aptitude does behave differently.
What it does is it complains of the same problem as apt, then it
offers to fix it and in every example I've tried so far its fix is
exactly what I want.
I'm an instant fan.


Hugin on my current system makes a good example.

"apt-get install hugin -t lucid" wants to install 27 packages, all
from Lucid(testing), most of them libraries.

"apt-get install hugin/lucid" complains that hugin has unmet dependencies

"aptitude install hugin/lucid" does this:

Reading package lists... Done
Building dependency tree
Reading state information... Done
Initializing package states... Done
The following packages are BROKEN:
hugin
The following NEW packages will be installed:
autopano-sift{a} binfmt-support{a} cli-common{a} enblend{a}
enfuse{a} freeglut3{a} libboost-thread1.38.0{a} libgdiplus{a}
libglade2.0-cil{a}
libglib2.0-cil{a} libgtk2.0-cil{a} libimage-exiftool-perl{a}
libmono-cairo2.0-cil{a} libmono-corlib2.0-cil{a}
libmono-i18n-west2.0-cil{a}
libmono-security2.0-cil{a} libmono-sharpzip2.84-cil{a}
libmono-system2.0-cil{a} libpano13-1{a} libplot2c2{a} mono-2.0-gac{a}
mono-gac{a}
mono-runtime{a}
0 packages upgraded, 24 newly installed, 0 to remove and 0 not upgraded.
Need to get 11.6MB of archives. After unpacking 37.1MB will be used.
The following packages have unmet dependencies:
hugin: Depends: hugin-tools (= 2009.2.0+dfsg-2ubuntu1) but it is not
installable
The following actions will resolve these dependencies:

Install the following packages:
hugin-data [2009.2.0+dfsg-2ubuntu1 (lucid)]
hugin-tools [2009.2.0+dfsg-2ubuntu1 (lucid)]
libpano13-bin [2.9.14-2 (karmic, lucid)]

Score is -17

Accept this solution? [Y/n/q/?]

G


--
To UNSUBSCRIBE, email to debian-user-REQUEST@xxxxxxxxxxxxxxxx
with a subject of "unsubscribe". Trouble? Contact listmaster@xxxxxxxxxxxxxxxx



Relevant Pages

  • How recover from aborted dist-upgrade Stable to Testing (due to apt-listbug bug 585448)
    ... I did aptitude update, aptitude upgrade, then converted my /etc/apt/sources.list ... [SNIP 71 lines] ... The following packages will be REMOVED: ... A package failed to install. ...
    (Debian-User)
  • Re: Linux Vs. FreeBSD
    ... >> has made a lot of effort towards making it easy to install. ... Debian's not a bad distro. ... although packages like this are few and far between. ... since the binary dependencies certainly wouldn't be any ...
    (comp.os.linux.misc)
  • Re: How to report bug in build-deps?
    ... it should install all the packages to allow that app to be built. ... do I report a bug in the build dependencies list for an app (there are ...
    (Ubuntu)
  • package management begins to annoy me
    ... is only because i don't know apt-get and aptitude well enough. ... aptitude has the nice feature of marking packages that are install ... I wanted to upgrade the already installed CD ...
    (Debian-User)
  • Re: Noob question - best way to install software
    ... I am wondering about the best way to install software. ... Aptitude is supposed to do everything that apt-get will do ... installed to meet dependencies of packages that you specifically wanted ... Since you're new to debian, I suggest you read: ...
    (Debian-User)