Re: dselect vs. apt-get

2001-08-17 Thread Colin Watson
On Thu, Aug 16, 2001 at 07:20:03PM -0600, John Galt wrote:
 On Fri, 17 Aug 2001, tim wrote:
 my question is due dependencies, are they resolved the same way, either
 if you use apt-get or dselect? or are there any differences. I have
 recently  made the experience that dselect worked on a specifig update
 (cdroast) while apt-get gave my dependency problems...
 
 No.  For dselect, Suggests are effectively Depends, while for apt,
 Suggests are effectively ignored.

Wibble? Surely you mean Recommends, not Suggests. (dselect will warn you
about Suggests but not force you into using them.)

-- 
Colin Watson  [EMAIL PROTECTED]



Re: dselect vs. apt-get

2001-08-17 Thread John Galt
On Fri, 17 Aug 2001, Colin Watson wrote:

On Thu, Aug 16, 2001 at 07:20:03PM -0600, John Galt wrote:
 On Fri, 17 Aug 2001, tim wrote:
 my question is due dependencies, are they resolved the same way, either
 if you use apt-get or dselect? or are there any differences. I have
 recently  made the experience that dselect worked on a specifig update
 (cdroast) while apt-get gave my dependency problems...

 No.  For dselect, Suggests are effectively Depends, while for apt,
 Suggests are effectively ignored.

Wibble? Surely you mean Recommends, not Suggests. (dselect will warn you
about Suggests but not force you into using them.)

I use apt, so lost track of the difference :)



-- 
Sacred cows make the best burgers

Who is John Galt?  [EMAIL PROTECTED], that's who!!!



dselect vs. apt-get

2001-08-16 Thread tim
hello 

well I am sorry if this has discussed to death, I didnt find a 
comparison.

I always thought dselect/apt-get are frontend for dpkg. 
dselect uses ncurses, apt-get is only command line. dselect offers a 
manual dependency resolving while apt-get (mainly) just downloads the 
file and calls dpkg... 

my question is due dependencies, are they resolved the same way, either 
if you use apt-get or dselect? or are there any differences. I have 
recently  made the experience that dselect worked on a specifig update 
(cdroast) while apt-get gave my dependency problems...

Is the difference that dselect calls database, once you use it, while 
apt-get first calls dpkg and than dpkg calls the database about 
dependencies?


thanks!



Re: dselect vs. apt-get

2001-08-16 Thread John Galt
On Fri, 17 Aug 2001, tim wrote:

hello

well I am sorry if this has discussed to death, I didnt find a
comparison.

I always thought dselect/apt-get are frontend for dpkg.
dselect uses ncurses, apt-get is only command line. dselect offers a
manual dependency resolving while apt-get (mainly) just downloads the
file and calls dpkg...

aptitude and deity are both curses (or X) frontends for apt.

my question is due dependencies, are they resolved the same way, either
if you use apt-get or dselect? or are there any differences. I have
recently  made the experience that dselect worked on a specifig update
(cdroast) while apt-get gave my dependency problems...

No.  For dselect, Suggests are effectively Depends, while for apt,
Suggests are effectively ignored.

Is the difference that dselect calls database, once you use it, while
apt-get first calls dpkg and than dpkg calls the database about
dependencies?


thanks!




-- 
Sacred cows make the best burgers

Who is John Galt?  [EMAIL PROTECTED], that's who!!!



Re: dselect vs. apt-get

2001-08-16 Thread Eric G. Miller
On Fri, Aug 17, 2001 at 01:01:10AM +0200, tim wrote:
 hello 
 
 well I am sorry if this has discussed to death, I didnt find a 
 comparison.
 
 I always thought dselect/apt-get are frontend for dpkg. 
 dselect uses ncurses, apt-get is only command line. dselect offers a 
 manual dependency resolving while apt-get (mainly) just downloads the 
 file and calls dpkg... 
 
 my question is due dependencies, are they resolved the same way, either 
 if you use apt-get or dselect? or are there any differences. I have 
 recently  made the experience that dselect worked on a specifig update 
 (cdroast) while apt-get gave my dependency problems...
 
 Is the difference that dselect calls database, once you use it, while 
 apt-get first calls dpkg and than dpkg calls the database about 
 dependencies?

dselect will generally want to install Recommends while apt-get won't.

I don't know the internals about when things are called.  Both seem to
use their own mechanism for initial dependency resolution and then dpkg
will later insure that the dependencies are met when it does its dirty
work...

Also, if you track woody or sid, you probably want to use dist-upgrade
rather than upgrade for apt-get.  The first will install dependencies
that aren't already installed and remove conflicting packages, whereas
the second will only update installed packages (usually not sufficient
for tracking an unstable branch).  I usually use the -du options to an
apt-get dist-upgrade so I get a clear report of what it intends to do
and that the installation doesn't happen 'til I've got all the packages.

deity and aptitude are nice frontends as well -- a little buggy yet...

-- 
Eric G. Miller egm2@jps.net



Re: dselect vs. apt-get

2001-08-16 Thread Brian Nelson
On Thu, Aug 16, 2001 at 06:37:54PM -0700, Eric G. Miller wrote:
 dselect will generally want to install Recommends while apt-get won't.

True.
 
 I don't know the internals about when things are called.  Both seem to
 use their own mechanism for initial dependency resolution and then dpkg
 will later insure that the dependencies are met when it does its dirty
 work...

Well, dselect typically uses the apt back-end as its access method.  I
believe the primary difference is that dselect maintains its own
package database which is based on the one built by apt.

Overall, dselect seems to be more robust at handling package
dependency conflicts, and is more expressive :).  For example, it
won't just mysteriously hold packages back; it'll tell you exactly
what's going on.

If you check back in the archives a month or two back, you'll find
plenty of posts by Joost that will explain this stuff much better than
I can.

 Also, if you track woody or sid, you probably want to use dist-upgrade
 rather than upgrade for apt-get.  The first will install dependencies
 that aren't already installed and remove conflicting packages, whereas
 the second will only update installed packages (usually not sufficient
 for tracking an unstable branch).  I usually use the -du options to an
 apt-get dist-upgrade so I get a clear report of what it intends to do
 and that the installation doesn't happen 'til I've got all the packages.

I find dselect does a better job for this.

-- 
Brian Nelson [EMAIL PROTECTED]



Dselect vs. apt-get... thank you!

2001-07-01 Thread Jeremy
This isn't a question, but a 'thank you' to whoever it was that mentioned in
one of the posts sometime this week about doing a dist-upgrade with dselect
instead of apt-get dist-upgrade.  I'd been trying to upgrade to Woody for
about 3 weeks without any success by using the apt-get method.  After I read
someones suggestion on using Dselect instead (because of it catching the
recommends and suggests), I tried it out, and lo and behold it worked!
Finally!!  Unfortunately I deleted that message, and so I'm not sure who that
dselect proponent was, but to whoever it was, thank you!

Jeremy



Re: dselect vs apt-get

2000-12-09 Thread Jonathan Gift
Thanks for the feedback...

 (http://www.debian.org/doc/debian-policy/ch2.html#s2.2). However, it
 only does this up until the first time you exit dselect's Select
 screen and accept the choices there. All you should need to do is run
 dselect, turn off all the things it selected for you ('D' might do this?
 Not sure, I used dselect from the start and never ran into this problem
 myself), and then quit. From then on dselect should be in a sane state.

Hard to do. It only gives me the list, and it's a good 100 items, when I
select something then click on install. It says adding...

I'll see what I can do again...

 [Do you mind if I send this on to debian-user? I'm not exactly

Of course, I'll do the same. Dselect is a popular pastime on the list :)

-- 

Hey, I think I finally got the hang of i-



dselect vs apt-get

2000-12-08 Thread Peter Jay Salzman
i've always wondered...


1.  equivalency of updating the system

is dselect's update EXACTLY equivalent to apt-get update?   does one of
them update the other?  if they're not equivalent, how are they different?


2. intelligence of dependencies and conflicts

are dselect and apt-get equally intelligent when it comes to things like
package dependencies and conflicts?


3. status of the system and updates

are dselect and apt-get's knowledge of installed packages, package status,
available packages and provided files the same as each other?


i would think that the answers should be yes, yes, and yes.  but i've read
things that hint otherwise.

thanks!
pete


pgpEY0wJwFiVh.pgp
Description: PGP signature


Re: dselect vs apt-get

2000-12-08 Thread Defresne Sylvain
Hello

* Peter Jay Salzman ([EMAIL PROTECTED]) wrote:
 i've always wondered...
 
 
 1.  equivalency of updating the system
 
 is dselect's update EXACTLY equivalent to apt-get update?   does one of
 them update the other?  if they're not equivalent, how are they different?

If you use apt-get method in dselect, then `dselect update' will
call `apt-get update'. Nevertheless, `apt-get update' won't
update dselect database ...

 2. intelligence of dependencies and conflicts
 
 are dselect and apt-get equally intelligent when it comes to things like
 package dependencies and conflicts?

Apt-get don't present you package in `Suggest:' (which can be
annoying for vim that suggest vim-rt, for example), while
dselect does.

 3. status of the system and updates
 
 are dselect and apt-get's knowledge of installed packages, package status,
 available packages and provided files the same as each other?

I guess, since they both use dpkg. But apt-get don't install
packages selected in dselect unless you use `dselect-upgrade'
action.

 i would think that the answers should be yes, yes, and yes.  but i've read
 things that hint otherwise.

I think this is no, no and no.

 thanks!
 pete

Bye
-- 
DEFRESNE Sylvain


pgpHjrb4tSNXm.pgp
Description: PGP signature


Re: dselect vs apt-get

2000-12-08 Thread Colin Watson
Defresne Sylvain [EMAIL PROTECTED] wrote:
* Peter Jay Salzman ([EMAIL PROTECTED]) wrote:
 3. status of the system and updates
 
 are dselect and apt-get's knowledge of installed packages, package status,
 available packages and provided files the same as each other?

   I guess, since they both use dpkg.

apt keeps its own cache of package status, which is in a format that it
can read faster than dpkg can read its own. Unless something has gone
badly wrong, though (or, in the case of available packages, if you've
used 'apt-get update' rather than 'dselect update'), they will be in
sync.

-- 
Colin Watson [EMAIL PROTECTED]