Re: A simple problem with dselect ...

1998-02-26 Thread Hamish Moffatt
On Wed, Feb 25, 1998 at 10:44:17AM -0500, Nebu John Mathai wrote:
 I was just wondering how I would go about removing a single package from
 my Debian machine.
 
 I tried to remove a package and under Select... selected to remove the
 package. Then I went to Remove... and dselect removed almost every
 package I had installed since the beginning (including the one I had asked
 it for).
 
 I know I'm doing something stupid ... I just don't know what it is.

Some how those other packages must have gotten marked for removal.
It happened to me once -- dselect decided to remove half the system,
very annoying. I try to avoid using dselect anyway. You can remove a package
using

dpkg --remove package

If you mark a few things for removal in dselect, go to the command line
and run

dpkg --no-act --remove --pending

to see what would be removed.


Hamish
-- 
Hamish Moffatt, [EMAIL PROTECTED], [EMAIL PROTECTED], [EMAIL PROTECTED]
Latest Debian packages at ftp://ftp.rising.com.au/pub/hamish. PGP#EFA6B9D5
CCs of replies from mailing lists are welcome.   http://hamish.home.ml.org


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: A simple problem with dselect ...

1998-02-25 Thread Steve Mayer
Richard,

  You can do a 'dpkg --purge package name

Steve Mayer
[EMAIL PROTECTED]

Richard B. Talley wrote:
 
 Nebu John Mathai [EMAIL PROTECTED] writes this day 25 Feb 98:
 
  I tried to remove a package and under Select... selected to remove the
  package. Then I went to Remove... and dselect removed almost every
  package I had installed since the beginning (including the one I had
  asked it for).
 
  I know I'm doing something stupid ... I just don't know what it is.
 
 It's not your  stupidity but the computer's, or rather its lack of
 a sense of context for your request.
 
 The remove command removes all selected programs.
 
 The install command installs all selected programs AND removes programs
 currently installed that have been deselected by the user.
 
 Therefore to remove *one* package only, deselect that one package and
 choose *install*. This makes sense but only if you think like a computer.
 
 Regards,
 
 Richard B. Talley [EMAIL PROTECTED]
 
 Anyone who slaps a 'this page is best viewed with Browser X' label on a Web 
 page appears to
 be yearning for the bad old days, before the Web, when you had very little 
 chance of reading
 a document written on another computer, another word processor, or another 
 network.
 -Tim Berners-Lee in Technology Review, July 1996
 quoted at 'Best Viewed With Any Browser' http://www.anybrowser.org/campaign/
 
 --
 TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
 [EMAIL PROTECTED] .
 Trouble?  e-mail to [EMAIL PROTECTED] .


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: A simple problem with dselect ...

1998-02-25 Thread Richard B. Talley
Richard B. Talley [EMAIL PROTECTED] writes this day 25 Feb 98:


 The install command installs all selected programs AND removes programs
 currently installed that have been deselected by the user.
 
 Therefore to remove *one* package only, deselect that one package and
 choose *install*. This makes sense but only if you think like a computer.
 
Sorry folks. I got this all WRONG.

The install command only skips deselected packages.

I don't know what happened to the original posters dselect (it removed 
everything) but install does NOT remove pkgs marked for removal. You must 
use the remove command. Perhaps his dselect is corrupt in some fashion?
Perhaps he mis-understands how to select/deselect in dselect?

Richard B. Talley [EMAIL PROTECTED]

Anyone who slaps a 'this page is best viewed with Browser X' label on a Web 
page appears to
be yearning for the bad old days, before the Web, when you had very little 
chance of reading
a document written on another computer, another word processor, or another 
network.
-Tim Berners-Lee in Technology Review, July 1996 
quoted at 'Best Viewed With Any Browser' http://www.anybrowser.org/campaign/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: A simple problem with dselect ...

1998-02-25 Thread David Wright
On Wed, 25 Feb 1998, Nebu John Mathai wrote:

 I tried to remove a package and under Select... selected to remove the
 package. Then I went to Remove... and dselect removed almost every
 package I had installed since the beginning (including the one I had asked
 it for).
 
 I know I'm doing something stupid ... I just don't know what it is.

Is it possible that you accidently pressed - or _ when one of the top few 
lines was highlighted: All Packages, or Up To Date Installed Packages etc.
This should have a pretty dramatic effect!

Cheers,

--
David Wright, Open University, Earth Science Department, Milton Keynes MK7 6AA
U.K.  email: [EMAIL PROTECTED]  tel: +44 1908 653 739  fax: +44 1908 655 151


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: A simple problem with dselect ...

1998-02-25 Thread Martin Bialasinski
Richard B. Talley [EMAIL PROTECTED] writes:

 Nebu John Mathai [EMAIL PROTECTED] writes this day 25 Feb 98:
 
  I tried to remove a package and under Select... selected to remove the
  package. Then I went to Remove... and dselect removed almost every
  package I had installed since the beginning (including the one I had
  asked it for).
  
  I know I'm doing something stupid ... I just don't know what it is.
 
 It's not your  stupidity but the computer's, or rather its lack of 
 a sense of context for your request.
 
 The remove command removes all selected programs.
 
 The install command installs all selected programs AND removes programs 
 currently installed that have been deselected by the user.
 
 Therefore to remove *one* package only, deselect that one package and 
 choose *install*. This makes sense but only if you think like a computer.

This is completely wrong.

Dselect can only change the desired status of a package to:

desired status   keystroke in dselect's select point 
--   -
install +
remove  -
purge [1]   _ (underscore)
hold  [2]   =

[1] remove also the config files
[2] usefull when  you want to assure that dselect won't alter the
status automaticly (like this is done if you do update in dselect and a
package is a required package for example).

When you exit the select stage, you can do:

1. install - dselect calls dpkg, which will install all files which
have the desired status install

2. configure - dselect calls dpkg, which will configure all packages
  of the status unconfigured (due to a dependency problem
  in a prior run of install for example)

3. remove - dselect calls dpkg, which will remove/purge all packages
   which have the desired status of remove/purge

So if dpkg starts to remove all packages you have installed, they have
been marked with remove or purge.

As someone said before, you most likely pressed - or _ on one of the
headers like up to date packages.

Ciao,
Martin


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: A simple problem with dselect ...

1998-02-25 Thread servis
On 25 Feb, David Wright wrote:
 On Wed, 25 Feb 1998, Nebu John Mathai wrote:
 
 I tried to remove a package and under Select... selected to remove the
 package. Then I went to Remove... and dselect removed almost every
 package I had installed since the beginning (including the one I had asked
 it for).
 
 I know I'm doing something stupid ... I just don't know what it is.
 
 Is it possible that you accidently pressed - or _ when one of the top few 
 lines was highlighted: All Packages, or Up To Date Installed Packages etc.
 This should have a pretty dramatic effect!
 

Hopefully in the new 'deity' project(the dselect replacment) something
like this will have a confirmation on it, like ARE YOU SURE YOU WANT TO
REMOVE *ALL* PACKAGES!!!.  Currenlty dselect silently obeys and marks
all packages under the heading, yikes!

Can any deity members give feedback on this?  
-- 
Brian 
-- 
Mechanical Engineering  [EMAIL PROTECTED]
Purdue University   http://www.ecn.purdue.edu/~servis


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .


Re: A simple problem with dselect ...

1998-02-25 Thread Behan Webster
[EMAIL PROTECTED] wrote:
 
 On 25 Feb, David Wright wrote:
  On Wed, 25 Feb 1998, Nebu John Mathai wrote:
 
  I tried to remove a package and under Select... selected to remove the
  package. Then I went to Remove... and dselect removed almost every
  package I had installed since the beginning (including the one I had asked
  it for).
 
  I know I'm doing something stupid ... I just don't know what it is.
 
  Is it possible that you accidently pressed - or _ when one of the top few
  lines was highlighted: All Packages, or Up To Date Installed Packages etc.
  This should have a pretty dramatic effect!
 
 
 Hopefully in the new 'deity' project(the dselect replacment) something
 like this will have a confirmation on it, like ARE YOU SURE YOU WANT TO
 REMOVE *ALL* PACKAGES!!!.  Currenlty dselect silently obeys and marks
 all packages under the heading, yikes!

This is not yet (to my knowledge) implemented, but the UI design calls
for a confirmation screen that will list all changes about to be done (a
list of upgrades, a list of downgrades, a list of packages to remove,
etc) to be confirmed by the user before anything is done.

Later,

Behan
(Deity UI designer)

-- 
Behan Webster mailto:[EMAIL PROTECTED]
+1-613-224-7547   http://www.verisim.com/


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word unsubscribe to
[EMAIL PROTECTED] . 
Trouble?  e-mail to [EMAIL PROTECTED] .