Re: Question about dselect:

2001-11-20 Thread Colin Watson
On Mon, Nov 19, 2001 at 09:15:32PM -0800, Brian Nelson wrote:
 Sean 'Shaleh' Perry [EMAIL PROTECTED] writes:
  Unfortunately, no.  dselect will always try to enforce a Recommends.  In the
  resolution screen, Shift-R will revert all of dselect's additions and then
  Shift-Q will finish.
 
 Actually, this behavior was supposedly fixed (dselect would only ask
 once about recommends), but I guess it hasn't made it into the
 archives yet.

Yeah, it's in CVS for dpkg 1.10, but that's too disruptive at this stage
in the woody freeze.

-- 
Colin Watson  [EMAIL PROTECTED]



Question about dselect:

2001-11-19 Thread Petro
I have a little...issue with dselect.

I'm trying to set up a base configuration for a fleet of servers,
and I want certain software, and *only* certain software on them.

At least one of these pieces of software is a perl modules that
wants to have libc6-dev, which is fine as far as that goes, 
but it seems that libc6-dev recommends that I install gcc, and it's
rather most insistent that I install it, even if I tell dselect _
(purge) and shift-q (Do what I tell you numbskull). 

Is there a way to tell dselect ONCE AND FOR ALL that I have no wish
to install gcc on this machine? 

-- 
Share and Enjoy. 



Re: Question about dselect:

2001-11-19 Thread Sean 'Shaleh' Perry

On 20-Nov-2001 Petro wrote:
 I have a little...issue with dselect.
 
 I'm trying to set up a base configuration for a fleet of servers,
 and I want certain software, and *only* certain software on them.
 
 At least one of these pieces of software is a perl modules that
 wants to have libc6-dev, which is fine as far as that goes, 
 but it seems that libc6-dev recommends that I install gcc, and it's
 rather most insistent that I install it, even if I tell dselect _
 (purge) and shift-q (Do what I tell you numbskull). 
 
 Is there a way to tell dselect ONCE AND FOR ALL that I have no wish
 to install gcc on this machine? 
 

Unfortunately, no.  dselect will always try to enforce a Recommends.  In the
resolution screen, Shift-R will revert all of dselect's additions and then
Shift-Q will finish.



Re: Question about dselect:

2001-11-19 Thread Aniartia
On Tuesday 20 November 2001 01:08, Petro wrote:
 I have a little...issue with dselect.

 I'm trying to set up a base configuration for a fleet of servers,
 and I want certain software, and *only* certain software on them.

 At least one of these pieces of software is a perl modules that
 wants to have libc6-dev, which is fine as far as that goes,
 but it seems that libc6-dev recommends that I install gcc, and it's
 rather most insistent that I install it, even if I tell dselect _
 (purge) and shift-q (Do what I tell you numbskull).

 Is there a way to tell dselect ONCE AND FOR ALL that I have no wish
 to install gcc on this machine?

'Tis this exact behaviour that's made me move to apt-utils, to install 
packages, apt-get only installs the dependencys which is what I like (I 
prefer to turn on bells  whisles not off). I know it's not what you wanted, 
but that's my solution.

Ani



Re: Question about dselect:

2001-11-19 Thread Brian P. Flaherty
Petro [EMAIL PROTECTED] writes:

[...]

 Is there a way to tell dselect ONCE AND FOR ALL that I have no wish
 to install gcc on this machine? 

I don't know how this is done exactly, but I know you can create a
dummy package and say that it provides gcc, etc.  This way you and
dselect can be happy.  I need to do this with tetex and friends, but
have not gotten around to figuring it out yet.

Brian Flaherty



Re: Question about dselect:

2001-11-19 Thread Brian Nelson
Sean 'Shaleh' Perry [EMAIL PROTECTED] writes:

 On 20-Nov-2001 Petro wrote:
  I have a little...issue with dselect.
  
  I'm trying to set up a base configuration for a fleet of servers,
  and I want certain software, and *only* certain software on them.
  
  At least one of these pieces of software is a perl modules that
  wants to have libc6-dev, which is fine as far as that goes, 
  but it seems that libc6-dev recommends that I install gcc, and it's
  rather most insistent that I install it, even if I tell dselect _
  (purge) and shift-q (Do what I tell you numbskull). 
  
  Is there a way to tell dselect ONCE AND FOR ALL that I have no wish
  to install gcc on this machine? 
  
 
 Unfortunately, no.  dselect will always try to enforce a Recommends.  In the
 resolution screen, Shift-R will revert all of dselect's additions and then
 Shift-Q will finish.

Actually, this behavior was supposedly fixed (dselect would only ask
once about recommends), but I guess it hasn't made it into the
archives yet.

-- 
Brian Nelson [EMAIL PROTECTED]



Re: question about dselect

2000-11-02 Thread kmself
on Tue, Oct 31, 2000 at 10:15:05AM +0800, [EMAIL PROTECTED] ([EMAIL PROTECTED]) 
wrote:
  once i try to remove a package by dselect,when it still not start to
  remove,i skiped,but question comes,later when i use dselect again,and
  it always try to remove the packages that i selected before,becouse
  it contains many dependence packages,so it is impossible to re-select
  them one by one,what should i do with this problem??

What package, what errors, what dependencies?

Try running:

apt-get remove package

...and post command, output, and error messages, if any, in the event it
doesn't work.

-- 
Karsten M. Self kmself@ix.netcom.com http://www.netcom.com/~kmself
 Evangelist, Zelerate, Inc.  http://www.zelerate.org
  What part of Gestalt don't you understand?  There is no K5 cabal
   http://gestalt-system.sourceforge.net/http://www.kuro5hin.org


pgpSRoOvHdi0N.pgp
Description: PGP signature


question about dselect

2000-10-30 Thread oacl
 once i try to remove a package by dselect,when it still not start to remove,i 
skiped,but question comes,later when i use dselect again,and it always try to 
remove the packages that i selected before,becouse it contains many dependence
packages,so it is impossible to re-select them one by one,what should i do with 
this problem??

--
»¶Ó­Ê¹Óà 21CN µç×ÓÓʼþϵͳ http://www.21cn.com
Thank you for using 21cn.com Email system



Re: replacing the standard mta with qmail (Re: Question about dselect)

1999-11-10 Thread Joseph Carter
On Mon, Nov 08, 1999 at 12:47:12PM +0100, Joost Kooij wrote:
 This is what you want to do:
 
   1. get qmail source and build a deb:
   
 apt-get install qmail-src
 cd qmail-src-*
 fakeroot debian/rules binary
 cd ..
 
   ( 1a.  maybe do the same for ucspi-tcp-src:)
 
   2. carefully remove the old mta, while disregarding other packages
  dependencies:
 
 dpkg --force-depends --remove exim

Do NOT do that.

echo exim deinstall | dpkg --set-selections


   3. install the qmail.deb (perhaps also ucspi-tcp*deb):
   
 dpkg --install qmail*deb

That should do it, yes.  And it'll remove exim for you, safely.  You
could do exim purge above, but you are gonna want to keep a working mail
config around just in case...

-- 
- Joseph Carter GnuPG public key:   1024D/DCF9DAB3, 2048g/3F9C2A43
- [EMAIL PROTECTED]   20F6 2261 F185 7A3E 79FC  44F9 8FF7 D7A3 DCF9 DAB3
--
Flood can I write a unix-like kernel in perl?



pgpu0iZdK80W5.pgp
Description: PGP signature


replacing the standard mta with qmail (Re: Question about dselect)

1999-11-08 Thread Joost Kooij
Hi,

On Sun, 7 Nov 1999, Bastard Operator From Hell wrote:

 I recently replaced exim with qmail as that is what I have to administer at
 work and I would rather glitch something up at home vs on-the-job.

There is some additional effort required to install qmail, you have to
compile your own debs, as the licence prohibits distributing those.

Because of this, dselect doesn't know about the qmail debs in the same way
as it knows about the regular debs from the debian archive.  

 Slight problem though, when I removed exim, dselect also wanted to remove
 all of my MTA and mail related packages (i.e.: af, anacron, at, elm-me+,
 fmirror, logrotate, mailx and mutt), so of course, I exited the Select
 phase of dselect with the Q option to force it to ignore the depends.

You should not use dselect to replace your mta.  Dselect is a great tool
to manage dependencies, but in this case, you really want to _work_around_
dependencies, making dselect the wrong tool for this particular job.

You can not (easily anyway[1]) use dselect to install qmail, because there
is no archive containing pre-built qmail.deb.  

  [1] Okay, so you can actually use dselect with non-regular archives, but
  it's not worth doing in this case anyway.


This is what you want to do:

  1. get qmail source and build a deb:
  
apt-get install qmail-src
cd qmail-src-*
fakeroot debian/rules binary
cd ..

  ( 1a.  maybe do the same for ucspi-tcp-src:)

  2. carefully remove the old mta, while disregarding other packages
 dependencies:

dpkg --force-depends --remove exim

  3. install the qmail.deb (perhaps also ucspi-tcp*deb):
  
dpkg --install qmail*deb


That's all there should be to it.  Now, you can continue using dselect for
all you daily updates and standard package installations and removals. The
only package that it cannot update automatically is qmail, because there
is no qmail.deb in the archive.  

If you decide however to keep qmail-src.deb installed on your system, you
will be able to notice every update of that package.  You can then rebuild
a local qmail.deb and install it manually.  This time, there are no
force flags needed to dselect.

Notice that when you run dselect, it will show the installed status of
the qmail package, but it knows only the installed version, not the
available version, because there is no official archive version of the
qmail.deb.  For the same reason, dselect classifies the package as
Obsolete/local Unclassified packages without a section.  This is nothing
to worry about.

 Imagine my surprise when deselect informed me that it would be removing
 the packages that I _thought_ I had forced to stay installed.

Are you sure that wasn't _apt_ telling you that?  Apt has a mind of its
own (which is usually a good thing) about resolving dependencies and
conflicts.  It makes similar calculations about package dependencies as
dselect, because it has to know in what order best to install the
downloaded packages.

Most of the time, this behaviour is a feature.  In your case, it
interferes with what you're trying to do.  At least dselect will let you
override dselect's opinion of packages to be (de)selected, apt is more
strict in these things and won't be overridden AFAIK[2].

  [2] Then again, I didn't read all of the apt documentation that
  meticulously yet, YMMV

 Now, this doesn't hurt me too badly as I am capable of manually installing
 software, but it does mean that the automatic check for critical updates, etc.
 that dselect does are now unavailable on this system.

This is unnecessary when done right.  You only lose the ability to
automatically update qmail.deb.  All other packages (including
qmail-src.deb) will still be upgradable using dselect, as usually.

 I'm posting to the devel list since this seems to be a problem with dselect
 rather than operator error (or at least the RTFM on the man pages, HOWTO's and
 user/devel list archives didn't turn up anything usefull).

I'm adding debian-user to the cc:, since I figure this isn't the first
time and probably isn't the last time either that dpkg/dselect/apt confuse
people, not in the least because many aspects aren't very well documented.

Cheers,


Joost


Re: replacing the standard mta with qmail (Re: Question about dselect)

1999-11-08 Thread Robert Varga


On Mon, 8 Nov 1999, Joost Kooij wrote:

 Hi,
 
 On Sun, 7 Nov 1999, Bastard Operator From Hell wrote:
 
  I recently replaced exim with qmail as that is what I have to administer at
  work and I would rather glitch something up at home vs on-the-job.
 
 There is some additional effort required to install qmail, you have to
 compile your own debs, as the licence prohibits distributing those.
 
 Because of this, dselect doesn't know about the qmail debs in the same way
 as it knows about the regular debs from the debian archive.  

You can alway create a local package repository with which you can use
dselect. It is quite easy, to tell the truth:

1. create a directory B in any directory A.
 
2. put all packages you have built in directory B. Don't maintain section
hierarchy. If you want to, then use the appropriate switch for
dpkg-scanpackages in step 4. 
 
3. put the following line in /etc/apt/sources.list:

 deb file:/A/ B/

 (of course replace A and B, and keep the space before B)
   
4. cd A
   dpkg-scanpackages B /dev/null  B/Packages

Execute step 4. if you have put or taken any packages to/from the
directory B.

After this you can switch to apt retrieve method in dselect, and it will
see your packages. Probably you should download the latest apt for your
distribution. It is somewhere around 0.3.10slink11 for slink and I don't
know where I got it from. For potato just download it from the debian
mirror of your choice.

  Slight problem though, when I removed exim, dselect also wanted to remove
  all of my MTA and mail related packages (i.e.: af, anacron, at, elm-me+,
  fmirror, logrotate, mailx and mutt), so of course, I exited the Select
  phase of dselect with the Q option to force it to ignore the depends.
 
 You should not use dselect to replace your mta.  Dselect is a great tool
 to manage dependencies, but in this case, you really want to _work_around_
 dependencies, making dselect the wrong tool for this particular job.
 
 You can not (easily anyway[1]) use dselect to install qmail, because there
 is no archive containing pre-built qmail.deb.  

You can do it the way I described previously. You just select exim for
purging and select qmail and ucspi-tcp for installing. You should probably
install dot-forward as well if you have users with .forward files.

Take care to use ucspi-tcp 0.84 for qmail 1.03.

 ...
 That's all there should be to it.  Now, you can continue using dselect for
 all you daily updates and standard package installations and removals. The
 only package that it cannot update automatically is qmail, because there
 is no qmail.deb in the archive.  
 

It does not really evolve too fast anyway :)

 ...
 Notice that when you run dselect, it will show the installed status of
 the qmail package, but it knows only the installed version, not the
 available version, because there is no official archive version of the
 qmail.deb.  For the same reason, dselect classifies the package as
 Obsolete/local Unclassified packages without a section.  This is nothing
 to worry about.

It does not come up if you create a proper local repository :)


Robert Varga


Re: replacing the standard mta with qmail (Re: Question about dselect)

1999-11-08 Thread Tommi Virtanen
On Mon, Nov 08, 1999 at 12:47:12PM +0100, Joost Kooij wrote:
   1. get qmail source and build a deb:
   
 apt-get install qmail-src
 cd qmail-src-*
 fakeroot debian/rules binary
 cd ..

  sudo apt-get install qmail-src  build-qmail, you mean.
-- 
Havoc Consulting | unix, linux, perl, mail, www, internet, security consulting
+358 50 5486010  | software development, unix administration, training


Question about dselect

1999-11-07 Thread Chia-Sheng Chang
Hi, all,

With dselect, how to install or upgrade a specific package without
automatically upgrading all packages?

Thanks.

--
Chia-Sheng Chang
Institute of Communications Engineering
College of Electrical Engineering
National Taiwan University
Taipei, Taiwan 10617
E-Mail: [EMAIL PROTECTED]


Re: Question about dselect

1999-11-07 Thread Dylan Thurston
On Sun, Nov 07, 1999 at 02:37:47PM +0800, Chia-Sheng Chang wrote:
   With dselect, how to install or upgrade a specific package without
 automatically upgrading all packages?

You should use apt-get rather than dselect for this.

apt-get install pkg-name

--Dylan Thurston
  [EMAIL PROTECTED]


Re: Question about dselect

1999-11-07 Thread John Carline
Chia-Sheng Chang wrote:

 Hi, all,

 With dselect, how to install or upgrade a specific package without
 automatically upgrading all packages?
 -
 Thanks.


You can put all installed packages on hold by selecting = on the major heading
lines - it shouldn't take more than 4 or 5 to selections to do them all. Then 
simply
select the one or ones you want to upgrade for installation *. I've been 
keeping my
potato disk current that way by updating a different group of packages each day.

John

--

Powered by the Penguin




Re: Question about dselect..

1997-04-09 Thread Daniel J. Mashao
On Mon, 7 Apr 1997, smorrill wrote:

 I have a base debian system installed on my 586 133 mhz.  I got the
 Cheap Bytes cd and am trying to install packages, specifically the
 Xwindows packages.  These are located in a directory called rex-fixe
 on the cd.  I must be missing something here, but I cannot get dselect
 to recognize that directory.  I've tried letting the program scan the
 various directories on the cd, tried over  over to do it manually to no
 avail.
Let me know how the cd works out. Those nice Cheap Bytes guys send me 3 cd's
but they all don't work right with my cdrom drive. Let me know if they work
fine on yours.

Now if you can see your cdrom drive and use the Access from cdrom I expect all
to work fine. Is the cdrom mounted correctly? Can you see other directories?
Can you install something from somewhere on the cd? 

//
D.J. Mashao, [EMAIL PROTECTED], 


Re: Question about dselect..

1997-04-08 Thread Nicolás Lichtmaier
On Mon, 7 Apr 1997, smorrill wrote:

 I have a base debian system installed on my 586 133 mhz.  I got the
 Cheap Bytes cd and am trying to install packages, specifically the
 Xwindows packages.  These are located in a directory called rex-fixe
 on the cd.  I must be missing something here, but I cannot get dselect
 to recognize that directory.

 The directory you should use is stable, which is a link to rex-fixed.
There's no rex-fixe. You're probably looking the CD from DOS. Linux uses
an extension called `Rock Ridge' to use long filename, that neither DOS
nor Win95 understands.

-- 
Nicolás Lichtmaier.-  | Try visiting #debian in Undernet (us.undernet.org)
[EMAIL PROTECTED]  | The channel of the debian developers =)


Re: Question about dselect..

1997-04-08 Thread Paul Wade
On Mon, 7 Apr 1997, smorrill wrote:

 I have a base debian system installed on my 586 133 mhz.  I got the
 Cheap Bytes cd and am trying to install packages, specifically the
 Xwindows packages.  These are located in a directory called rex-fixe
 on the cd.  I must be missing something here, but I cannot get dselect
 to recognize that directory.  I've tried letting the program scan the
 various directories on the cd, tried over  over to do it manually to no
 avail.
 
 I've read the faq, etc. on dselect.  I'm new to linux, so (once again..)
 I'm sure this is user error.
 
 Any suggestions out there? 
 
 TIA!!
 

You need to mount the CD as filesystem type iso9660 so the filenames will
be complete.

Paul Wade - Greenbush Technologies Corporation
http://www.greenbush.com/cds.html
Linux CD's sent worldwide


Question about dselect..

1997-04-07 Thread smorrill
I have a base debian system installed on my 586 133 mhz.  I got the
Cheap Bytes cd and am trying to install packages, specifically the
Xwindows packages.  These are located in a directory called rex-fixe
on the cd.  I must be missing something here, but I cannot get dselect
to recognize that directory.  I've tried letting the program scan the
various directories on the cd, tried over  over to do it manually to no
avail.

I've read the faq, etc. on dselect.  I'm new to linux, so (once again..)
I'm sure this is user error.

Any suggestions out there? 

TIA!!