[ubuntu-uk] Aptitude question

Vinothan Shankar neversaymonkey at gmail.com
Sat Apr 2 19:51:55 UTC 2011


On 02/04/11 17:46, Neil Perry wrote:
> I would suggest using safe-upgrade.  Don't use unless you want a broken
> packages.
> 
> Thanks
> 
> Neil
True enough.  I stuck with full-upgrade because the other Neil asked the
question with it:
> On Apr 2, 2011 5:43 PM, "Vinothan Shankar" <neversaymonkey at gmail.com> wrote:
>> On 01/04/11 20:34, Neil Greenwood wrote:
>>> Hi all,
>>>
>>> Is there any way to get aptitude to do a full-upgrade while installing
...but I concur.  Safe-upgrade is, as the name suggests, the safer
thing.  Shame it can't be replicated by search pattern as full-upgrade
can, though.

>>> a new package? I just had a situation where I was trying to install
>>> mumble after doing an 'aptitude update', and got into a conflict state
>>> because libqtcore4 was going to be upgraded *as well as* being
>>> installed as a dependency of mumble.
>>>
>>> Hmm, not sure I explained that very well...
>>>
>>> The version of mumble I was about to install depended on the new
>>> version of libqtcore4, but all the other Qt apps installed depended on
>>> the previous version. So the best suggestion of the 'aptitude install
>>> mumble' command was to leave everything unchanged!
>>>
>>> So, what I want is something like 'aptitude full-upgrade and install
>>> mumble' - does such a thing exist?
>> Not sure that it does exactly, but... the ~U search-pattern matches
>> installed and upgradeable packages, so 'aptitude install mumble ~U'
>> should do the job, as install is also the aptitude command to upgrade a
>> package if possible.
>>
>> Failing that, 'aptitude full-upgrade && aptitude install mumble' will
>> work, of course.
>>

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 262 bytes
Desc: OpenPGP digital signature
URL: <https://lists.ubuntu.com/archives/ubuntu-uk/attachments/20110402/7b5ef0c3/attachment.pgp>


More information about the ubuntu-uk mailing list