Re: mixing syanptic and aptitude

2007-04-05 Thread Kamaraju S Kusumanchi
Celejar wrote:

 
 It's more powerful and can do anything that apt-get can

What are the aptitude equivalents of 

sudo apt-get build-dep texmacs
apt-get source grep


 , and in my experience, Synaptic's 
 GUI doesn't add much value, and you can use aptitude in interactive
 mode.
 

I like synaptic's GUI much better than aptitude's ncurses interface. If I
want to see all the packages whose names start with vim, In synaptic all I
do is type vim. I could not find a simple way of doing this in aptitude.
For me, the default menu structure is too cumbersome to traverse. I am not
trying to berate aptitude here, just highlighting some of my
inconveniences.

raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mixing syanptic and aptitude

2007-04-05 Thread Joe Hart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kamaraju S Kusumanchi wrote:
 Celejar wrote:
 
 It's more powerful and can do anything that apt-get can
 
 What are the aptitude equivalents of 
 
 sudo apt-get build-dep texmacs
 apt-get source grep
 
 

Good question.

 , and in my experience, Synaptic's 
 GUI doesn't add much value, and you can use aptitude in interactive
 mode.

 
 I like synaptic's GUI much better than aptitude's ncurses interface. If I
 want to see all the packages whose names start with vim, In synaptic all I
 do is type vim. I could not find a simple way of doing this in aptitude.
 For me, the default menu structure is too cumbersome to traverse. I am not
 trying to berate aptitude here, just highlighting some of my
 inconveniences.

I think the best solution is for someone to make a gui front end for
Aptitiude instead of apt-get.  I won't be trying something like that,
it's just an idea.

Just remember though, upgrading X packages while running X is just
asking for troubles.  That's probably why so many of the tools are text
based.  I am super paranoid about it since it bit me before.  I always
make sure X isn't running when I upgrade anything.

It makes me use the console more, which is only a good thing.  Typing:
vi file.txt

is faster than opening a file manager and navigating to it then right
clicking on it and saying edit.

Roberto is right, and with bash autocompletion, it is really a snap.

Joe

- --
Registerd Linux user #443289 at http://counter.li.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGFKPYiXBCVWpc5J4RAmdSAJ99+LITJMjjQ24Gsey+pXVAX/bDngCeNdBu
gu7fBzayiANYskhD4Z4hVbg=
=pfSU
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mixing syanptic and aptitude

2007-04-05 Thread Celejar
On Thu, 05 Apr 2007 07:28:26 +0200
Joe Hart [EMAIL PROTECTED] wrote:

 -BEGIN PGP SIGNED MESSAGE-
 Hash: SHA1
 
 Atis wrote:
  You can use both, but you will confuse aptitude in the process.
  Aptitude keeps a database so that it knows which packages it pulled in
  as dependencies so it can remove them when you remove a package (so long
  as no other package is using them).  If you pull things in with any
  other package manager, be it apt-get, synaptic, adept, gdebi or
  kpackage, aptitude will not know about the dependencies that those
  package managers installed and could present problems the next time you
  use aptitude because it may remove things that other programs need.
 
  To sum it up, the best advice is to use aptitude exclusively if you plan
  on using it at all.
  
  Isn't it the way around? That aptitude keeps track of packages that
  are installed automatically, as dependencies, and if you uninstall
  something, it checks if those dependencies can be removed? Logically
  thinking, it would be that.
  
  I use synaptics together with aptitude and haven't had any problems with
  that.
 
 Then luck has been with you.

I believe Joe is correct; Synaptic and apt-get work fine together, but
they will both confuse aptitude, which maintains more sophisticated
dependency tracking than they do. Either use apt-get / Synaptic, or go
with aptitude. Aptitude, IMO, is the better choice. It's more powerful
and can do anything that apt-get can, and in my experience, Synaptic's
GUI doesn't add much value, and you can use aptitude in interactive
mode.

Celejar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mixing syanptic and aptitude

2007-04-05 Thread Chris Lale
Kamaraju S Kusumanchi wrote:
 Sometime before, I read on this list that it is unwise to mix apt-get and
 aptitude. By mix, I mean using apt-get one time and aptitude another time.
 The reason given was that both of them use different databases. Is this
 true for synaptic and aptitude as well? Can I use synaptic sometimes and
 aptitude some other times? Any ideas?
 
 I am using Etch (testing) if it matters.
 

There was a long discussion about this, as you recall. The results are
summarised on the NewbieDOC wiki [1]. Basically, you run

# aptitude install -sf

to see whether Aptitude is confused. If so, run a fix. The global fix is

# aptitude keep-all

[1]
http://newbiedoc.berlios.de/wiki/Aptitude_-_using_together_with_Synaptic_and_Apt-get

HTH,

-- 
Chris.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mixing syanptic and aptitude

2007-04-05 Thread Celejar
On Thu, 05 Apr 2007 02:20:12 -0400
Kamaraju S Kusumanchi [EMAIL PROTECTED] wrote:

 Celejar wrote:
 
  
  It's more powerful and can do anything that apt-get can
 
 What are the aptitude equivalents of 
 
 sudo apt-get build-dep texmacs

Interesting point. Google found this:

http://p12n.org/hacks/aptitude-build-dep

 apt-get source grep

Anyway, apparently I was wrong; aptitude can't do quite everything that
apt-get can. Live and learn ...

  , and in my experience, Synaptic's 
  GUI doesn't add much value, and you can use aptitude in interactive
  mode.
  
 
 I like synaptic's GUI much better than aptitude's ncurses interface. If I
 want to see all the packages whose names start with vim, In synaptic all I
 do is type vim. I could not find a simple way of doing this in aptitude.

What about '/' (opens the regex search bar) followed by '^vim' enter?

 For me, the default menu structure is too cumbersome to traverse. I am not
 trying to berate aptitude here, just highlighting some of my
 inconveniences.

I know what you mean, but it doesn't take that long to get used to, and
once you do you may like it. YMMV, of course.

Celejar


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mixing syanptic and aptitude

2007-04-05 Thread Andrew Malcolmson
On Thu, Apr 05, 2007 at 12:42:50PM -0400, Celejar wrote:
 On Thu, 05 Apr 2007 02:20:12 -0400
 Kamaraju S Kusumanchi [EMAIL PROTECTED] wrote:
  
  I like synaptic's GUI much better than aptitude's ncurses interface. If I
  want to see all the packages whose names start with vim, In synaptic all I
  do is type vim. I could not find a simple way of doing this in aptitude.
 
 What about '/' (opens the regex search bar) followed by '^vim' enter?
 

You need to open a Flat Package List from the Views menu, then press 'l'
to enter a 'Limit' regep.

I usually do this from the shell, though:

aptitude search '^vim'



-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mixing syanptic and aptitude

2007-04-05 Thread Kamaraju S Kusumanchi
Andrew Malcolmson wrote:

 On Thu, Apr 05, 2007 at 12:42:50PM -0400, Celejar wrote:
 On Thu, 05 Apr 2007 02:20:12 -0400
 Kamaraju S Kusumanchi [EMAIL PROTECTED] wrote:
  
  I like synaptic's GUI much better than aptitude's ncurses interface. If
  I want to see all the packages whose names start with vim, In synaptic
  all I do is type vim. I could not find a simple way of doing this in
  aptitude.
 
 What about '/' (opens the regex search bar) followed by '^vim' enter?
 
 
 You need to open a Flat Package List from the Views menu, then press 'l'
 to enter a 'Limit' regep.
 
 I usually do this from the shell, though:
 
 aptitude search '^vim'

Both the methods work. Thanks for pointing it out. One less annoyance with
aptitude.

raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mixing syanptic and aptitude

2007-04-05 Thread Kamaraju S Kusumanchi
Chris Lale wrote:
 
 There was a long discussion about this, as you recall. The results are
 summarised on the NewbieDOC wiki [1]. Basically, you run
 
 # aptitude install -sf
 
 to see whether Aptitude is confused. If so, run a fix. The global fix is
 
 # aptitude keep-all
 
 [1]

http://newbiedoc.berlios.de/wiki/Aptitude_-_using_together_with_Synaptic_and_Apt-get
 

Thanks for the explanation and the link. It is helpful.

raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



mixing syanptic and aptitude

2007-04-04 Thread Kamaraju S Kusumanchi
Sometime before, I read on this list that it is unwise to mix apt-get and
aptitude. By mix, I mean using apt-get one time and aptitude another time.
The reason given was that both of them use different databases. Is this
true for synaptic and aptitude as well? Can I use synaptic sometimes and
aptitude some other times? Any ideas?

I am using Etch (testing) if it matters.

thanks
raju

-- 
Kamaraju S Kusumanchi
http://www.people.cornell.edu/pages/kk288/
http://malayamaarutham.blogspot.com/


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mixing syanptic and aptitude

2007-04-04 Thread Andrei Popescu
Kamaraju S Kusumanchi [EMAIL PROTECTED] wrote:

 Sometime before, I read on this list that it is unwise to mix apt-get
 and aptitude. By mix, I mean using apt-get one time and aptitude
 another time. The reason given was that both of them use different
 databases. Is this true for synaptic and aptitude as well? Can I use
 synaptic sometimes and aptitude some other times? Any ideas?

I think the problem with apt-get and aptitude was
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=411123 which seems to
be fixed in etch.

About synaptic vs. aptitude I don't know, maybe you will have to try it
out ;)

Regards,
Andrei
-- 
If you can't explain it simply, you don't understand it well enough.
(Albert Einstein)


signature.asc
Description: PGP signature


Re: mixing syanptic and aptitude

2007-04-04 Thread Joe Hart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Kamaraju S Kusumanchi wrote:
 Sometime before, I read on this list that it is unwise to mix apt-get and
 aptitude. By mix, I mean using apt-get one time and aptitude another time.
 The reason given was that both of them use different databases. Is this
 true for synaptic and aptitude as well? Can I use synaptic sometimes and
 aptitude some other times? Any ideas?
 
 I am using Etch (testing) if it matters.
 
 thanks
 raju
 

You can use both, but you will confuse aptitude in the process.
Aptitude keeps a database so that it knows which packages it pulled in
as dependencies so it can remove them when you remove a package (so long
as no other package is using them).  If you pull things in with any
other package manager, be it apt-get, synaptic, adept, gdebi or
kpackage, aptitude will not know about the dependencies that those
package managers installed and could present problems the next time you
use aptitude because it may remove things that other programs need.

To sum it up, the best advice is to use aptitude exclusively if you plan
on using it at all.

Joe

- --
Registerd Linux user #443289 at http://counter.li.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGE/8miXBCVWpc5J4RAtIiAKCFdkYBWMarMTBkKMhmPPgZyxFPMwCfaw0x
jOoFYw2BGQPV34SkTGk3+sM=
=ePX7
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]



Re: mixing syanptic and aptitude

2007-04-04 Thread Atis

You can use both, but you will confuse aptitude in the process.
Aptitude keeps a database so that it knows which packages it pulled in
as dependencies so it can remove them when you remove a package (so long
as no other package is using them).  If you pull things in with any
other package manager, be it apt-get, synaptic, adept, gdebi or
kpackage, aptitude will not know about the dependencies that those
package managers installed and could present problems the next time you
use aptitude because it may remove things that other programs need.

To sum it up, the best advice is to use aptitude exclusively if you plan
on using it at all.


Isn't it the way around? That aptitude keeps track of packages that
are installed automatically, as dependencies, and if you uninstall
something, it checks if those dependencies can be removed? Logically
thinking, it would be that.

I use synaptics together with aptitude and haven't had any problems with that.

Regards, atis


--
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]




Re: mixing syanptic and aptitude

2007-04-04 Thread Joe Hart
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Atis wrote:
 You can use both, but you will confuse aptitude in the process.
 Aptitude keeps a database so that it knows which packages it pulled in
 as dependencies so it can remove them when you remove a package (so long
 as no other package is using them).  If you pull things in with any
 other package manager, be it apt-get, synaptic, adept, gdebi or
 kpackage, aptitude will not know about the dependencies that those
 package managers installed and could present problems the next time you
 use aptitude because it may remove things that other programs need.

 To sum it up, the best advice is to use aptitude exclusively if you plan
 on using it at all.
 
 Isn't it the way around? That aptitude keeps track of packages that
 are installed automatically, as dependencies, and if you uninstall
 something, it checks if those dependencies can be removed? Logically
 thinking, it would be that.
 
 I use synaptics together with aptitude and haven't had any problems with
 that.

Then luck has been with you.

Joe

- --
Registerd Linux user #443289 at http://counter.li.org/
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGFIj6iXBCVWpc5J4RAo8rAKCeJCa9KzCNwGEFAxwyXDhIE6LUagCdEPS5
b/OF+wf83RFLhoW7Y/ANSUU=
=aREV
-END PGP SIGNATURE-


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]