Re: [ubuntu-uk] Aptitude question

2011-04-02 Thread Vinothan Shankar
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"  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.
>>



signature.asc
Description: OpenPGP digital signature
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude question

2011-04-02 Thread Neil Perry
I would suggest using safe-upgrade.  Don't use unless you want a broken
packages.

Thanks

Neil
On Apr 2, 2011 5:43 PM, "Vinothan Shankar"  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
>> 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.
>
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude question

2011-04-02 Thread Vinothan Shankar
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
> 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.



signature.asc
Description: OpenPGP digital signature
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] Aptitude question

2011-04-01 Thread Neil Greenwood
Hi all,

Is there any way to get aptitude to do a full-upgrade while installing
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?


Cofion/Regards,
Neil.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-09 Thread Mark Fraser
On Wednesday 09 Jun 2010 16:47:25 Mark Fraser wrote:
> On Monday 07 Jun 2010 10:27:57 Tyler J. Wagner wrote:
> > On Monday 07 June 2010 10:23:45 Mark Fraser wrote:
> > > I tend to use aptitude on the command line when apt-get says that it
> > > can't perform an upgrade for some reason. This is usually because it
> > > needs to install something else at the same time.
> > 
> > Try 'apt-get dist-upgrade' rather than 'apt-get upgrade'.
> 
> Just tried that, I still get:
> 
> Calculating upgrade... Done
> The following packages have been kept back:
>   akonadi-server libakonadiprivate1 libattica0 python-qt4 python-qt4-dbus
> 0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

I think I was trying to do an upgrade while the packages were still being 
uploaded. Waited a while and now I have KDE 4.5 beta 2.

-- 
Registered Linux User #466407 http://counter.li.org
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-09 Thread Steve
On Wed, 09 Jun 2010 18:33:30 +0100, Michael Douglas   
wrote:

> I would let someone else confirm, but off the top of my head, using  
> "full-upgrade" rather than "dist-upgrade" does everything, including all  
> packages held back?
>
 From man aptitude

full-upgrade
Upgrades installed packages to their most recent version,  
removing
or installing packages as necessary. This command is less
conservative than safe-upgrade and thus more likely to perform
unwanted actions. However, it is capable of upgrading packages  
that
safe-upgrade cannot upgrade.

Note
This command was originally named dist-upgrade for  
historical
reasons, and aptitude still recognizes dist-upgrade as a
synonym for full-upgrade.




-- 
Steve (Yorvyk)
http://lubuntu.net

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-09 Thread Michael Douglas
I would let someone else confirm, but off the top of my head, using 
"full-upgrade" rather than "dist-upgrade" does everything, including all 
packages held back?

- Mehall

Mark Fraser  wrote:

>On Monday 07 Jun 2010 10:27:57 Tyler J. Wagner wrote:
>> On Monday 07 June 2010 10:23:45 Mark Fraser wrote:
>> > I tend to use aptitude on the command line when apt-get says that it
>> > can't perform an upgrade for some reason. This is usually because it
>> > needs to install something else at the same time.
>> 
>> Try 'apt-get dist-upgrade' rather than 'apt-get upgrade'.
>
>Just tried that, I still get:
>
>Calculating upgrade... Done
>The following packages have been kept back:
>  akonadi-server libakonadiprivate1 libattica0 python-qt4 python-qt4-dbus
>0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.
>
>-- 
>Registered Linux User #466407 http://counter.li.org
>
>
>
>-- 
>ubuntu-uk@lists.ubuntu.com
>https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
>https://wiki.ubuntu.com/UKTeam/
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-09 Thread Mark Fraser
On Monday 07 Jun 2010 10:27:57 Tyler J. Wagner wrote:
> On Monday 07 June 2010 10:23:45 Mark Fraser wrote:
> > I tend to use aptitude on the command line when apt-get says that it
> > can't perform an upgrade for some reason. This is usually because it
> > needs to install something else at the same time.
> 
> Try 'apt-get dist-upgrade' rather than 'apt-get upgrade'.

Just tried that, I still get:

Calculating upgrade... Done
The following packages have been kept back:
  akonadi-server libakonadiprivate1 libattica0 python-qt4 python-qt4-dbus
0 upgraded, 0 newly installed, 0 to remove and 5 not upgraded.

-- 
Registered Linux User #466407 http://counter.li.org



-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-08 Thread Tyler J. Wagner
On Tuesday 08 June 2010 11:56:45 pmgazz wrote:
> I use aptitude 'cos I always make a typo on the hyphen in 'apt-get' ;)

This sounds like a job for ...

sudo ln -s /usr/bin/apt-get /usr/local/bin/aptget

Tyler

-- 
"Freedom of thought is best promoted by the gradual illumination of
men's minds, which follows from the advance of science."
   -- Charles Darwin

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-08 Thread pmgazz
I use aptitude 'cos I always make a typo on the hyphen in 'apt-get' ;)

Paula

On 07/06/10 10:49, Philip Stubbs wrote:
> On 7 June 2010 08:51, Neil Perry  wrote:
>
>> Hello Guys,
>> I've just been pointed out, that for Maverick they have removed aptitude
>> being install by default. I don't want to start another button debate.
>> But how many of you using aptitude rather then apt-get?
>> I've used aptitude since I started using ubuntu, seeing as I thought apt-get
>> wasn't maintained any more.
>> Neil Perry
>>  
> I had a suspicion this was going to happen. I seem to remember that
> when I was using Debian it was recommended to use aptitude. Can't
> remember why though. From the command line I still use aptitude. Once
> it is no longer there by default, it will require me to change my
> ways. More often these days the GUI tools are sufficient to get things
> done.
>
>

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Tony Arnold
Paul,

On 07/06/10 17:46, Paul Tansom wrote:
> ** Johnathon Tinsley  [2010-06-07 15:06]:
>> On 07/06/10 14:30, Paul Tansom wrote:
>>> ** Tony Arnold   [2010-06-07 11:18]:
 On 07/06/10 08:51, Neil Perry wrote:
> I've just been pointed out, that for Maverick they have removed aptitude
> being install by default. I don't want to start another button debate.
>
> But how many of you using aptitude rather then apt-get?
>
> I've used aptitude since I started using ubuntu, seeing as I thought
> apt-get wasn't maintained any more.

 That's irritating. On the command line I always use aptitude. I started
 doing so because I thought I had seen somewhere that debian was adopting
 aptitude as their standard command line package management tool.

 I guess I'll just add aptitude to do the list of packages I install by
 default.
>>> ** end quote [Tony Arnold]
>>>
>>> Yes, I've always used aptitude as well, believing it to be the replacement 
>>> for
>>> apt-get. I also quite like that it has search built in rather than having to
>>> install apt-find as well. I have to say that the only time I use the GUI 
>>> tools,
>>> even on Ubuntu desktop, is when it pops up with updates. If I want a new
>>> package I use aptitude, and haven't found any of the attempts at GUI tools 
>>> to
>>> be anywhere near as easy to use. Maybe that's because I'm a techy, and
>>> increasingly Ubuntu seems to be aimed at non-techies. Server side I use
>>> aptitude all the time since you never need a GUI on a server - obvious to
>>> anyone except Microsoft ;)
>>
>> You don't need to install apt-find to search, just use 'apt-cache
>> search', which comes with apt-get by default :)
> ** end quote [Johnathon Tinsley]
>
> I knew apt-find wasn't the correct command, but given that it's a long time
> since I used anything other than aptitude I went with it for the email! Thanks
> for the reminder :)

apt-find can be used to find which package a particular file is part of 
which you cannot do with apt-cache or aptitude.

Both apt-cache and aptitude will let you search for a package. They at 
least search package names, they may also search package descriptions, 
but I'm not sure about that.

Regards,
Tony.
-- 
Tony Arnold,Tel: +44 (0) 161 275 6093
Head of IT Security,Fax: +44 (0) 870 136 1004
University of Manchester,   Mob: +44 (0) 773 330 0039
Manchester M13 9PL. Email: tony.arn...@manchester.ac.uk

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Paul Tansom
** Johnathon Tinsley  [2010-06-07 15:06]:
> On 07/06/10 14:30, Paul Tansom wrote:
> > ** Tony Arnold  [2010-06-07 11:18]:
> >> On 07/06/10 08:51, Neil Perry wrote:
> >>> I've just been pointed out, that for Maverick they have removed aptitude
> >>> being install by default. I don't want to start another button debate.
> >>>
> >>> But how many of you using aptitude rather then apt-get?
> >>>
> >>> I've used aptitude since I started using ubuntu, seeing as I thought
> >>> apt-get wasn't maintained any more.
> >>
> >> That's irritating. On the command line I always use aptitude. I started
> >> doing so because I thought I had seen somewhere that debian was adopting
> >> aptitude as their standard command line package management tool.
> >>
> >> I guess I'll just add aptitude to do the list of packages I install by
> >> default.
> > ** end quote [Tony Arnold]
> >
> > Yes, I've always used aptitude as well, believing it to be the replacement 
> > for
> > apt-get. I also quite like that it has search built in rather than having to
> > install apt-find as well. I have to say that the only time I use the GUI 
> > tools,
> > even on Ubuntu desktop, is when it pops up with updates. If I want a new
> > package I use aptitude, and haven't found any of the attempts at GUI tools 
> > to
> > be anywhere near as easy to use. Maybe that's because I'm a techy, and
> > increasingly Ubuntu seems to be aimed at non-techies. Server side I use
> > aptitude all the time since you never need a GUI on a server - obvious to
> > anyone except Microsoft ;)
> 
> You don't need to install apt-find to search, just use 'apt-cache 
> search', which comes with apt-get by default :)
** end quote [Johnathon Tinsley]

I knew apt-find wasn't the correct command, but given that it's a long time
since I used anything other than aptitude I went with it for the email! Thanks
for the reminder :)

-- 
Paul Tansom | Aptanet Ltd. | http://www.aptanet.com/ | 023 9238 0001
==
Registered in England  |  Company No: 4905028  |  Registered Office:
Crawford House, Hambledon Road, Denmead, Waterlooville, Hants, PO7 6NU

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Dave Morley
On Mon, 2010-06-07 at 12:19 +0100, Rowan Berkeley wrote:
> On Mon, 07 Jun 2010 11:51:19 +0100, Tony Arnold
>  wrote:
> 
> > On 07/06/10 11:22, Neil Perry wrote:
> > > That is what I don't understand either, typically I thought if 
> > > debian would be adopting that apt-get will be getting phased out. 
> > > Unless Ubuntu devlopers maintain apt-get.
> > 
> > Maybe it's a size thing and squeezing what they can on to the CD.
> > aptitude is 2.1MB on my system compared to 115KB for apt-get. I never
> > use it but aptitude will run as a curses application allowing
> > you to select and deselect packages. Which may explain it's size. I
> > tend to use it as a direct alternative to apt-get. Regards, Tony.
> 
> A curses application? Damn, that sounds useful. Maybe I can find the
> space ;-) Rowan
> 
> 
This is down to the fact that currently we have 5 packaging services.  I
believe that it will still be installed on server as it has no gui
counterpart.  but between dpkg, apt-get, synaptic and software center I
think we have enough for the desktop.

That being said I tend to use aptitude over apt-get just cause it fits
in my head easier even though I don't use cli that much now on desktop.
-- 
Seek That Thy Might Know

http://www.davmor2.co.uk


signature.asc
Description: This is a digitally signed message part
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Johnathon Tinsley
On 07/06/10 14:30, Paul Tansom wrote:
> ** Tony Arnold  [2010-06-07 11:18]:
>> On 07/06/10 08:51, Neil Perry wrote:
>>> I've just been pointed out, that for Maverick they have removed aptitude
>>> being install by default. I don't want to start another button debate.
>>>
>>> But how many of you using aptitude rather then apt-get?
>>>
>>> I've used aptitude since I started using ubuntu, seeing as I thought
>>> apt-get wasn't maintained any more.
>>
>> That's irritating. On the command line I always use aptitude. I started
>> doing so because I thought I had seen somewhere that debian was adopting
>> aptitude as their standard command line package management tool.
>>
>> I guess I'll just add aptitude to do the list of packages I install by
>> default.
> ** end quote [Tony Arnold]
>
> Yes, I've always used aptitude as well, believing it to be the replacement for
> apt-get. I also quite like that it has search built in rather than having to
> install apt-find as well. I have to say that the only time I use the GUI 
> tools,
> even on Ubuntu desktop, is when it pops up with updates. If I want a new
> package I use aptitude, and haven't found any of the attempts at GUI tools to
> be anywhere near as easy to use. Maybe that's because I'm a techy, and
> increasingly Ubuntu seems to be aimed at non-techies. Server side I use
> aptitude all the time since you never need a GUI on a server - obvious to
> anyone except Microsoft ;)
>

You don't need to install apt-find to search, just use 'apt-cache 
search', which comes with apt-get by default :)

Johnathon

-- 
All postal correspondence to: Positive House, 24 Broadway, London. W13 0SU

The Positive Internet Company Limited is registered in England and Wales.
Registered company number: 3673639. VAT no: 726 7072 28.
Registered office: Northside House, Mount Pleasant, Barnet, Herts, EN4 9EE.

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Paul Tansom
** Tony Arnold  [2010-06-07 11:18]:
> On 07/06/10 08:51, Neil Perry wrote:
> > I've just been pointed out, that for Maverick they have removed aptitude
> > being install by default. I don't want to start another button debate. 
> > 
> > But how many of you using aptitude rather then apt-get?
> > 
> > I've used aptitude since I started using ubuntu, seeing as I thought
> > apt-get wasn't maintained any more. 
> 
> That's irritating. On the command line I always use aptitude. I started
> doing so because I thought I had seen somewhere that debian was adopting
> aptitude as their standard command line package management tool.
> 
> I guess I'll just add aptitude to do the list of packages I install by
> default.
** end quote [Tony Arnold]

Yes, I've always used aptitude as well, believing it to be the replacement for
apt-get. I also quite like that it has search built in rather than having to
install apt-find as well. I have to say that the only time I use the GUI tools,
even on Ubuntu desktop, is when it pops up with updates. If I want a new
package I use aptitude, and haven't found any of the attempts at GUI tools to
be anywhere near as easy to use. Maybe that's because I'm a techy, and
increasingly Ubuntu seems to be aimed at non-techies. Server side I use
aptitude all the time since you never need a GUI on a server - obvious to
anyone except Microsoft ;)

-- 
Paul Tansom | Aptanet Ltd. | http://www.aptanet.com/ | 023 9238 0001
==
Registered in England  |  Company No: 4905028  |  Registered Office:
Crawford House, Hambledon Road, Denmead, Waterlooville, Hants, PO7 6NU

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread John Stevenson
On 7 June 2010 08:51, Neil Perry  wrote:

> Hello Guys,
>
> I've just been pointed out, that for Maverick they have removed aptitude
> being install by default. I don't want to start another button debate.
>
> But how many of you using aptitude rather then apt-get?
>
> I've used aptitude since I started using ubuntu, seeing as I thought
> apt-get wasn't maintained any more.
>
> Neil Perry
>
> Hello Neil,
I used aptitude a little back in debian days, but still preferred dselect
and apt-get.  I never felt the need to use aptitude in Ubuntu as I either
script apt-get installs or use synaptic (especially when I am showing new
users how package management works).

I am looking forward to improvements in the Software Centre that will make
it as useful as synaptic then will hope to just use the software centre and
scripted apt-get installs.

Thank you.
-- 
John Stevenson
jr0cket.com
leanagilemachine.com
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Rowan Berkeley
On Mon, 07 Jun 2010 11:51:19 +0100, Tony Arnold
 wrote:

> On 07/06/10 11:22, Neil Perry wrote:
> > That is what I don't understand either, typically I thought if 
> > debian would be adopting that apt-get will be getting phased out. 
> > Unless Ubuntu devlopers maintain apt-get.
> 
> Maybe it's a size thing and squeezing what they can on to the CD.
> aptitude is 2.1MB on my system compared to 115KB for apt-get. I never
> use it but aptitude will run as a curses application allowing
> you to select and deselect packages. Which may explain it's size. I
> tend to use it as a direct alternative to apt-get. Regards, Tony.

A curses application? Damn, that sounds useful. Maybe I can find the
space ;-) Rowan


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Tony Arnold
Neil,

On 07/06/10 11:22, Neil Perry wrote:
> That is what I don't understand either, typically I thought if debian
> would be adopting that apt-get will be getting phased out. Unless Ubuntu
> devlopers maintain apt-get.

Maybe it's a size thing and squeezing what they can on to the CD.
aptitude is 2.1MB on my system compared to 115KB for apt-get.

I never use it but aptitude will run as a curses application allowing
you to select and deselect packages. Which may explain it's size. I tend
to use it as a direct alternative to apt-get.

Regards,
Tony.
-- 
Tony Arnold,Tel: +44 (0) 161 275 6093
Head of IT Security,Fax: +44 (0) 870 136 1004
University of Manchester,   Mob: +44 (0) 773 330 0039
Manchester M13 9PL. Email: tony.arn...@manchester.ac.uk

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Liam Proven
On Mon, Jun 7, 2010 at 11:22 AM, Neil Perry  wrote:
> That is what I don't understand either, typically I thought if debian would
> be adopting that apt-get will be getting phased out. Unless Ubuntu devlopers
> maintain apt-get.
> Neil Perry

I don't use Debian much so I can't claim great expertise here, but
AIUI, aptitude is indeed the recommended tool on Debian & apt-get is
quite possibly deprecated. However, aptitude is just another front-end
to the underlying mechanism of APT, the Advanced Packaging Tool.

-- 
Liam Proven • Profile: http://www.linkedin.com/in/liamproven
Email: lpro...@cix.co.uk • GMail/GoogleTalk/Orkut: lpro...@gmail.com
Tel: +44 20-8685-0498 • Cell: +44 7939-087884 • Fax: + 44 870-9151419
AOL/AIM/iChat/Yahoo/Skype: liamproven • LiveJournal/Twitter: lproven
MSN: lpro...@hotmail.com • ICQ: 73187508

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Neil Perry
That is what I don't understand either, typically I thought if debian would
be adopting that apt-get will be getting phased out. Unless Ubuntu devlopers
maintain apt-get.

Neil Perry


On 7 June 2010 11:19, Tony Arnold  wrote:

> Neil,
>
> On 07/06/10 08:51, Neil Perry wrote:
>
> > I've just been pointed out, that for Maverick they have removed aptitude
> > being install by default. I don't want to start another button debate.
> >
> > But how many of you using aptitude rather then apt-get?
> >
> > I've used aptitude since I started using ubuntu, seeing as I thought
> > apt-get wasn't maintained any more.
>
> That's irritating. On the command line I always use aptitude. I started
> doing so because I thought I had seen somewhere that debian was adopting
> aptitude as their standard command line package management tool.
>
> I guess I'll just add aptitude to do the list of packages I install by
> default.
>
> Regards,
> Tony.
>
> --
> Tony Arnold,Tel: +44 (0) 161 275 6093
> Head of IT Security,Fax: +44 (0) 870 136 1004
> University of Manchester,   Mob: +44 (0) 773 330 0039
> Manchester M13 9PL. Email: tony.arn...@manchester.ac.uk
>
>
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Tony Arnold
Neil,

On 07/06/10 08:51, Neil Perry wrote:

> I've just been pointed out, that for Maverick they have removed aptitude
> being install by default. I don't want to start another button debate. 
> 
> But how many of you using aptitude rather then apt-get?
> 
> I've used aptitude since I started using ubuntu, seeing as I thought
> apt-get wasn't maintained any more. 

That's irritating. On the command line I always use aptitude. I started
doing so because I thought I had seen somewhere that debian was adopting
aptitude as their standard command line package management tool.

I guess I'll just add aptitude to do the list of packages I install by
default.

Regards,
Tony.

-- 
Tony Arnold,Tel: +44 (0) 161 275 6093
Head of IT Security,Fax: +44 (0) 870 136 1004
University of Manchester,   Mob: +44 (0) 773 330 0039
Manchester M13 9PL. Email: tony.arn...@manchester.ac.uk


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Philip Stubbs
On 7 June 2010 08:51, Neil Perry  wrote:
> Hello Guys,
> I've just been pointed out, that for Maverick they have removed aptitude
> being install by default. I don't want to start another button debate.
> But how many of you using aptitude rather then apt-get?
> I've used aptitude since I started using ubuntu, seeing as I thought apt-get
> wasn't maintained any more.
> Neil Perry

I had a suspicion this was going to happen. I seem to remember that
when I was using Debian it was recommended to use aptitude. Can't
remember why though. From the command line I still use aptitude. Once
it is no longer there by default, it will require me to change my
ways. More often these days the GUI tools are sufficient to get things
done.

-- 
Philip Stubbs

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Tyler J. Wagner
On Monday 07 June 2010 10:23:45 Mark Fraser wrote:
> I tend to use aptitude on the command line when apt-get says that it can't
> perform an upgrade for some reason. This is usually because it needs to
> install something else at the same time.

Try 'apt-get dist-upgrade' rather than 'apt-get upgrade'.

Tyler

-- 
"It is scientific only to say what is more likely and what less likely,
and not to be proving all the time the possible and impossible."
   -- Richard Feynman

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Mark Fraser
On Monday 07 Jun 2010 09:31:42 Stephen Garton wrote:
> On 7 June 2010 08:51, Neil Perry  wrote:
> > Hello Guys,
> > I've just been pointed out, that for Maverick they have removed aptitude
> > being install by default. I don't want to start another button debate.
> > But how many of you using aptitude rather then apt-get?
> > I've used aptitude since I started using ubuntu, seeing as I thought
> > apt-get wasn't maintained any more.
> > Neil Perry
> > --
> > ubuntu-uk@lists.ubuntu.com
> > https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> > https://wiki.ubuntu.com/UKTeam/
> 
> I tend to use aptitude rather than apt-get on the command line (i.e.
> sudo aptitude install foo rather than sudo apt-get install foo). I'm
> not sure why, do be honest. I *think* it's because way back in the day
> a mailing list post pointed out that aptitude worked better at
> resolving dependancy problems (or at least appeared to be more
> straightforward) and at the time I had deb and repositories and
> allsorts scattered all over. I don't tend to do this nowadays, so it's
> not really an issue.
> 
> Plus, I could always sudo apt-get install aptitude :-)

I tend to use aptitude on the command line when apt-get says that it can't 
perform an upgrade for some reason. This is usually because it needs to 
install something else at the same time.

-- 
Registered Linux User #466407 http://counter.li.org



-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Stephen Garton
On 7 June 2010 08:51, Neil Perry  wrote:
> Hello Guys,
> I've just been pointed out, that for Maverick they have removed aptitude
> being install by default. I don't want to start another button debate.
> But how many of you using aptitude rather then apt-get?
> I've used aptitude since I started using ubuntu, seeing as I thought apt-get
> wasn't maintained any more.
> Neil Perry
> --
> ubuntu-uk@lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
> https://wiki.ubuntu.com/UKTeam/
>
>

I tend to use aptitude rather than apt-get on the command line (i.e.
sudo aptitude install foo rather than sudo apt-get install foo). I'm
not sure why, do be honest. I *think* it's because way back in the day
a mailing list post pointed out that aptitude worked better at
resolving dependancy problems (or at least appeared to be more
straightforward) and at the time I had deb and repositories and
allsorts scattered all over. I don't tend to do this nowadays, so it's
not really an issue.

Plus, I could always sudo apt-get install aptitude :-)

Steve Garton
http://blog.sheepeatingtaz.co.uk

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Tyler J. Wagner
On Monday 07 June 2010 08:51:09 Neil Perry wrote:
> But how many of you using aptitude rather then apt-get?
> 
> I've used aptitude since I started using ubuntu, seeing as I thought
>  apt-get wasn't maintained any more.

I have never used aptitude (except to test it once or twice). I've used apt-
get since Warty, on both my desktop and my servers. It is definitely being 
maintained.

Regards,
Tyler

-- 
"Beware of altruism. It is based on self-deception, the root of all evil."
   -- Lazarus Long, "Time Enough for Love", by Robert A. Heinlein

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


Re: [ubuntu-uk] Aptitude

2010-06-07 Thread Martin Jernberg

i use aptitude when i wan't a graphical interface and when apt-get dosen't do 
what i want to do

From: npe...@gmail.com
Date: Mon, 7 Jun 2010 08:51:09 +0100
To: ubuntu-uk@lists.ubuntu.com
Subject: [ubuntu-uk] Aptitude

Hello Guys,
I've just been pointed out, that for Maverick they have removed aptitude being 
install by default. I don't want to start another button debate. 
But how many of you using aptitude rather then apt-get?


I've used aptitude since I started using ubuntu, seeing as I thought apt-get 
wasn't maintained any more. 
Neil Perry
_
Surfa tryggt med Internet Explorer 8
http://www.microsoft.com/sverige/windows/internet-explorer/default.aspx-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] Aptitude

2010-06-07 Thread Neil Perry
Hello Guys,

I've just been pointed out, that for Maverick they have removed aptitude
being install by default. I don't want to start another button debate.

But how many of you using aptitude rather then apt-get?

I've used aptitude since I started using ubuntu, seeing as I thought apt-get
wasn't maintained any more.

Neil Perry
-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.ubuntu.com/UKTeam/


[ubuntu-uk] aptitude/dpkg and a post-install script failing

2008-01-02 Thread Gavin Ford
Hello,

I'm getting a strange error message from aptitude when I install anything or 
run safe-upgrade.  It's caused by what it tells me is a the failing post-
installation script for ssmtp.

Now I have ssmtp installed and working fine on two machines, but both throw 
this error out:

> The following partially installed packages will be configured:
>   ssmtp 
> 0 packages upgraded, 0 newly installed, 0 to remove and 0 not upgraded.
> Need to get 0B of archives. After unpacking 0B will be used.
> Setting up ssmtp (2.61-12ubuntu1) ...
> hostname: Unknown host
> dpkg: error processing ssmtp (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  ssmtp
> E: Sub-process /usr/bin/dpkg returned an error code (1)
> A package failed to install.  Trying to recover:
> Setting up ssmtp (2.61-12ubuntu1) ...
> hostname: Unknown host
> dpkg: error processing ssmtp (--configure):
>  subprocess post-installation script returned error exit status 1
> Errors were encountered while processing:
>  ssmtp

So it looks like the configure script couldn't indentify my hostname, no real 
problem as I configured it by hand.  But is there a way to tell dpkg to stop 
trying to configure it?

I could just mess with the script in question, which I think is
/var/lib/dpkg/info/ssmtp.postinst but I wanted to know if there is a "proper" 
Ubuntu/Debian way to do it.

  -Gav


-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Aptitude dependency hell - SOLVED

2007-02-11 Thread Tony Arnold
On Tue, 06 Feb 2007 22:28:55 +, Tony Arnold wrote:

> I've just run aptitude in full screen mode for the first time on my
> Dapper system and in the third line down it tells me:
> 
> #Broken: 235 Will free 915MB of disk space  DL: 5576kB
> 
> and at the bottom of the screen with a red background is says:
> 
> Suggest 5 installs, 32 removals, 133 keeps.
> 
> I've run apt-get check which reports no errors and I've tried apt-get -f
> install, which again does nothing. My repository information is all up
> to date.
> 
> So are these real problems? The few I've looked at suggest not, but it's
> not that clear to me. And if so, how can I fix it?
> 
> Note this system started out as Warty and has been upgraded to Dapper
> usually by editing sources.list file and running apt-get update&&apt-get
> dist-upgrade.

I spoke to a local Debian guru who helped me out on this.

It seems the problem is caused by old versions of packages not being
completely removed (i.e., purged) when a new version is installed. This
leaves the package removed but its config files still present, at so far
as aptitude/dpkg is concerned.

The fix is to do two things.

Firstly, run dpkg --get-selections and grep the output for 'deinstall'.
This will give a list of packages that are as above. Use aptitude to
purge these packages. The following code should do the trick:

aptitude purge `dpkg --get-selections|grep deinstall|cut -f 1`

Secondly, running deborphan to find packages that no longer depend on any
other package can be used to do the any final clean up.

After doing this, my problems with aptitude were gone!

Regards,
Tony.



-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Aptitude dependency hell

2007-02-08 Thread Tony Arnold
James,

James Tait wrote:
> Hi Tony,
> 
> Tony Arnold wrote:
>> The packages it said were broken almost all of the installed ones!
>>
>> Something very wrong here or I'm missing something.
>>
>> Looks to me like I need to re-install.
> 
> You can, if you wish, run aptitude interactively:
> 
> $ sudo aptitude
> 
> This will allow you to find the broken packages (press 'B' to move to
> the next broken package), view their dependencies (hit 'Enter' to view
> the package details and dependencies are listed there) and progressively
> fix the broken dependencies.  When there are no longer any broken
> packages, press 'G' to apply any changes and you'll be given a
> confirmation screen, where you should press 'G' again to continue, or
> 'Q' to step back.  '?' will give you a help menu listing the various
> keyboard commands.
> 
> I've had to do this a couple of times after upgrades that I messed up
> and it's effective, although whether it's better than just re-installing
> is debatable.  You don't lose your custom configuration and don't risk
> nuking your precious data, but it can be time consuming.

Thanks for the tip. Given aptitude is reporting 277 broken packages (!)
I think I will re-install at some time.

Also I looked at the first broken package which was gamin. It said it
conflicts with fam, but fam has been removed but its config files are
still around.

As I was writing the above, I tied purging package fam and now aptitude
is reporting zero broken packages! 277 broken packages to 0 by purging a
single package. Amazing!

Regards,
Tony.
-- 
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: [EMAIL PROTECTED], H: http://www.man.ac.uk/Tony.Arnold

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Aptitude dependency hell

2007-02-07 Thread James Tait
Hi Tony,

Tony Arnold wrote:
> The packages it said were broken almost all of the installed ones!
> 
> Something very wrong here or I'm missing something.
> 
> Looks to me like I need to re-install.

You can, if you wish, run aptitude interactively:

$ sudo aptitude

This will allow you to find the broken packages (press 'B' to move to
the next broken package), view their dependencies (hit 'Enter' to view
the package details and dependencies are listed there) and progressively
fix the broken dependencies.  When there are no longer any broken
packages, press 'G' to apply any changes and you'll be given a
confirmation screen, where you should press 'G' again to continue, or
'Q' to step back.  '?' will give you a help menu listing the various
keyboard commands.

I've had to do this a couple of times after upgrades that I messed up
and it's effective, although whether it's better than just re-installing
is debatable.  You don't lose your custom configuration and don't risk
nuking your precious data, but it can be time consuming.

JT
-- 
---+
James Tait, BSc|xmpp:[EMAIL PROTECTED]
Programmer and Free Software advocate  |  Mobile: +44 (0)7779 337596
---+

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Aptitude dependency hell

2007-02-07 Thread Tony Arnold
Tony,

Tony Travis wrote:
> Tony Arnold wrote:
>> I've just run aptitude in full screen mode for the first time on my
>> Dapper system and in the third line down it tells me:
>>
>> #Broken: 235 Will free 915MB of disk space  DL: 5576kB
>> [...]
> 
> Hello, Tony.
> 
> Try running aptitude in command-line mode:
> 
>   aptitude -f install

I tried this and it gave me a long list of packages it wanted to remove
including stuff like evolution, gconf-editor, gnome-menus and lots of
others that are fundamental to my system. I can post the output if
anyone is interested.

The packages it said were broken almost all of the installed ones!

Something very wrong here or I'm missing something.

Looks to me like I need to re-install.

Regards,
Tony.
-- 
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: [EMAIL PROTECTED], H: http://www.man.ac.uk/Tony.Arnold

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


Re: [ubuntu-uk] Aptitude dependency hell

2007-02-06 Thread Tony Travis
Tony Arnold wrote:
> I've just run aptitude in full screen mode for the first time on my
> Dapper system and in the third line down it tells me:
> 
> #Broken: 235 Will free 915MB of disk space  DL: 5576kB
> [...]

Hello, Tony.

Try running aptitude in command-line mode:

aptitude -f install

This seems to be better at fixing broken packages than

apt-get -f install

It's got me out of many deep holes :-)

Tony.
-- 
Dr. A.J.Travis, |  mailto:[EMAIL PROTECTED]
Rowett Research Institute,  |http://www.rri.sari.ac.uk/~ajt
Greenburn Road, Bucksburn,  |   phone:+44 (0)1224 712751
Aberdeen AB21 9SB, Scotland, UK.| fax:+44 (0)1224 716687

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/


[ubuntu-uk] Aptitude dependency hell

2007-02-06 Thread Tony Arnold
I've just run aptitude in full screen mode for the first time on my
Dapper system and in the third line down it tells me:

#Broken: 235 Will free 915MB of disk space  DL: 5576kB

and at the bottom of the screen with a red background is says:

Suggest 5 installs, 32 removals, 133 keeps.

I've run apt-get check which reports no errors and I've tried apt-get -f
install, which again does nothing. My repository information is all up
to date.

So are these real problems? The few I've looked at suggest not, but it's
not that clear to me. And if so, how can I fix it?

Note this system started out as Warty and has been upgraded to Dapper
usually by editing sources.list file and running apt-get update&&apt-get
dist-upgrade.

Any help would be greatly appreciated.

Regards,
Tony.
-- 
Tony Arnold, IT Security Coordinator, University of Manchester,
IT Services Division, Kilburn Building, Oxford Road, Manchester M13 9PL.
T: +44 (0)161 275 6093, F: +44 (0)870 136 1004, M: +44 (0)773 330 0039
E: [EMAIL PROTECTED], H: http://www.man.ac.uk/Tony.Arnold

-- 
ubuntu-uk@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-uk
https://wiki.kubuntu.org/UKTeam/