Re: Package priority puzzlement

2021-09-15 Thread craig duncan

I hope the pointer to the matching priorities on the two different
repositories was a helpful hint.

--
The Wanderer


Yes... i suppose that explains the behavior.  Except this seems to mean 
that setting APT::Default-Release "stable" in apt.conf has no effect.
Before my previous installation got corrupted, i had an 
/etc/apt/preferences file where i'd set the priorities for testing above 
sid above stable.
Without that file, though, i don't see what effect the Default-Release 
is having.


So i stuck some appropriate priorities in /etc/apt/preferences (stable 
above testing above sid) and it now behaves as i expect.
*Except*... not when i use aptitude... only apt-get.  Using aptitude 
(which i try to do exclusively) it behaves exactly the same way with or 
without:



Explanation: This is a comment line
Package: *
Pin: release a=unstable
Pin-Priority: 750

Package: *
Pin: release a=testing
Pin-Priority: 850

Package: *
Pin: release a=stable
Pin-Priority: 900


Thanks for getting me past being fixed on thinking that specifying 
"stable" as the default release should do something.

Now to figure out why aptitude seems to ignore this file.

Also, yes, i usually use "shortcuts" for all those aptitude commands.
And the package has a broken dependency (wrongly, it seems to me), 
because that's what the 'B' means in the flags output.




Package priority puzzlement

2021-09-14 Thread craig duncan
I just installed Bullseye after -- as a long-time Debian user -- having 
had my hard drive corrupted by USB devices.
I used to run testing, so i thought i would get there, but first i 
wanted to install the apps i wanted, get things working, and then 
migrate to testing.
During the install, i also enabled security-updates.  In fact, i added 
both sid and testing to my sources.list (after booting into new install).


I'm seeing some strange behavior which i cannot figure out when i go to 
upgrade or add packages... best demonstrated by the particular cases i 
am puzzling over.

First:


cat /etc/apt/apt.conf
APT::Default-Release "stable";
And there are 9 pre-installed scripts in /etc/apt/apt.conf.d that i 
don't believe are relevant to any of this.


So, when i do: "aptitude safe-upgrade":


The following NEW packages will be installed:
  libbotan-2-18{a} libidn12{a}
The following packages will be REMOVED:
  libbotan-2-17{u}
The following packages will be upgraded:
  libgs9 libgs9-common libperl5.32 libssh-gcrypt-4 openssl perl perl-base
  perl-modules-5.32 thunderbird
9 packages upgraded, 2 newly installed, 1 to remove and 1 not upgraded.
Need to get 13.0 MB/57.1 MB of archives. After unpacking 252 kB will 
be used.

Do you want to continue? [Y/n/?]




# aptitude why libidn12
i   gimp   Depends libgs9 (>= 8.61.dfsg.1)
p A libgs9 Depends libidn12 (>= 1.13)




# apt-cache policy libgs9
libgs9:
  Installed: 9.53.3~dfsg-7+deb11u1
  Candidate: 9.53.3~dfsg-8
  Version table:
 9.53.3~dfsg-8 500
    500 http://deb.debian.org/debian sid/main amd64 Packages
 *** 9.53.3~dfsg-7+deb11u1 500
    500 http://security.debian.org/debian-security 
bullseye-security/main amd64 Packages

    100 /var/lib/dpkg/status
 9.53.3~dfsg-7+b1 500
    500 http://deb.debian.org/debian testing/main amd64 Packages
 9.53.3~dfsg-7 990
    990 http://deb.debian.org/debian bullseye/main amd64 Packages



# apt-cache policy gimp
gimp:
  Installed: 2.10.22-4
  Candidate: 2.10.22-4
  Version table:
 2.10.26-1 500
    500 http://deb.debian.org/debian sid/main amd64 Packages
 *** 2.10.22-4 990
    990 http://deb.debian.org/debian bullseye/main amd64 Packages
    500 http://deb.debian.org/debian testing/main amd64 Packages
    100 /var/lib/dpkg/status



# apt-cache show libgs9|egrep 'Version|libidn'
Version: 9.53.3~dfsg-8
Depends: libgs9-common (= 9.53.3~dfsg-8), poppler-data, libc6 (>= 
2.29), libcups2 (>= 2.3~b6), libfontconfig1 (>= 2.12.6), libfreetype6 
(>= 2.10.1), *libidn12* (>= 1.13), libijs-0.35 (>= 0.35), libjbig2dec0 
(>= 0.16+20190905), libjpeg62-turbo (>= 1.3.1), liblcms2-2 (>= 2.6), 
libopenjp2-7 (>= 2.0.0), libpaper1, libpng16-16 (>= 1.6.2-1), libtiff5 
(>= 4.0.3), zlib1g (>= 1:1.2.0)

Version: 9.53.3~dfsg-7+deb11u1
Depends: libgs9-common (= 9.53.3~dfsg-7+deb11u1), poppler-data, libc6 
(>= 2.29), libcups2 (>= 2.3~b6), libfontconfig1 (>= 2.12.6), 
libfreetype6 (>= 2.10.1), *libidn11* (>= 1.13), libijs-0.35 (>= 0.35), 
libjbig2dec0 (>= 0.16+20190905), libjpeg62-turbo (>= 1.3.1), 
liblcms2-2 (>= 2.6), libopenjp2-7 (>= 2.0.0), libpaper1, libpng16-16 
(>= 1.6.2-1), libtiff5 (>= 4.0.3), zlib1g (>= 1:1.2.0)

Version: 9.53.3~dfsg-7+b1
Depends: libgs9-common (= 9.53.3~dfsg-7), poppler-data, libc6 (>= 
2.29), libcups2 (>= 2.3~b6), libfontconfig1 (>= 2.12.6), libfreetype6 
(>= 2.10.1), *libidn12* (>= 1.13), libijs-0.35 (>= 0.35), libjbig2dec0 
(>= 0.16+20190905), libjpeg62-turbo (>= 1.3.1), liblcms2-2 (>= 2.6), 
libopenjp2-7 (>= 2.0.0), libpaper1, libpng16-16 (>= 1.6.2-1), libtiff5 
(>= 4.0.3), zlib1g (>= 1:1.2.0)

Version: 9.53.3~dfsg-7
Depends: libgs9-common (= 9.53.3~dfsg-7), poppler-data, libc6 (>= 
2.29), libcups2 (>= 2.3~b6), libfontconfig1 (>= 2.12.6), libfreetype6 
(>= 2.10.1), *libidn11* (>= 1.13), libijs-0.35 (>= 0.35), libjbig2dec0 
(>= 0.16+20190905), libjpeg62-turbo (>= 1.3.1), liblcms2-2 (>= 2.6), 
libopenjp2-7 (>= 2.0.0), libpaper1, libpng16-16 (>= 1.6.2-1), libtiff5 
(>= 4.0.3), zlib1g (>= 1:1.2.0)



dpkg -l 'libidn1*'|grep '^i'
ii  libidn11:amd64 1.33-3   amd64    GNU Libidn library, 
implementation of IETF IDN specifications



So, libidn11 is currently installed as a dependency of libgs9 from the 
security source.  But it wants to install libidn12, because it's going 
to install libgs9 from sid!


The other package it wanted to "upgrade" shows a similar issue:


# why libbotan-2-18
___
aptitude why...
i   lxde    Suggests libreoffice
p   libreoffice Suggests firefox-esr | thunderbird | firefox
p   thunderbird Depends  libbotan-2-18 (>= 2.18.1+dfsg)



# why libbotan-2-17
___
aptitude why...
iB  thunderbird Depends libbotan-2-17 (>= 2.17.3+dfsg)


Why is this broken?  I installed thunderbird from testing, it was 
broken, reinstalled what had been originally installed, from security... 
all broken.

It *works* perfectly fine.


# apt-cache policy thunderbird
thunderbird:
  Installed: 1:78.14.0-1~deb11u1
  

Re: scripting

2002-04-14 Thread Craig Duncan

martin f krafft wrote:

[snip]
 ... to get into scripting, i suggest you play around with
 bash scripts and learn all the tools that come with UNIX, such as:
 sed, tr, cut, grep, cat, tac, sort, uniq to name just a few. then you
 might want to start looking at awk, or you might want to head for
 perl, which is the ultimate scripting language.

I can't let calling perl the ultimate scripting language pass without
comment.  In fact, imo, both python and ruby are better (although if
you really need an enormous library of stuff like CPAN, then perl does
beat out the others there).  But if you don't need that mass of
thousands of support modules for virtually anything you might want to
do (without having to code it yourself) then you might want to check
out ruby, a very neat scripting language, and maybe a better starting
point for a beginner to learn some more advanced stuff, like
object-oriented programming... which is a syntactic headache in perl.


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



Re: Linux on Walmart's systemless computers

2002-04-13 Thread Craig Duncan
Elizabeth Barham writes:
  Grant Edwards [EMAIL PROTECTED] writes:
   On Fri, Apr 12, 2002 at 08:11:38PM -0700, Paul 'Baloo' Johnson wrote:
   
But then again, do you *really* want to buy a computer from the evil
empire?
   
snip

  But there might be a warranty - if the hard disk drive crashes or
  gives you any problems within 90 days (I'm guessing) take it back and
  walk out with a brand new machine. 
  
  I just looked at the Athalon machine for $498 and I think it's a
  pretty good deal, especially if a warranty is involed. Even if you
  build one from scratch the pricing is about the same. I recently
  priced components for a new system and it ended up being about $500
  without monitor. It would make a nice server.
  
  Elizabeth

Plus you'll be giving a job to some teenager in a Maquiladora or some
slave-laborer in China and be putting a big $2 / week in their pocket
(the former only) with which to buy some beans for their family to
eat.


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



OT: vm vs mutt (was Re: Someone tell me the secret of mutt)

2002-04-12 Thread Craig Duncan
David Turetsky writes:

  Mutt is great. Read enough of the handbook or info to get started, then
  add to your knowledge as situations require. I started using it a year
  or two ago and find it a real treat
  
  -- 
  David

I just recently dumped Netscape mail in favor of vm (in emacs).  I'm a
_long_ time emacs user and although i've heard a lot of good things
about mutt, when i was trying to figure out what to replace Netscape
mail with, i decided upon vm because i'd also heard good things about
it and i could see a lot of benefits from reading my mail from within
emacs where i have available all the editing capabilities that i've
spent so many years mastering.

So i've been using vm for a few weeks and . . . it's not bad.  The
benefits because of the vm/emacs connection are definitely valid.  But
i'd probably give vm itself only a B.  I'm sure there's a lot more i
can do in terms of customizing it (i _hate_ the fact that i can't
delete a message until it's been opened ... which when its an html
message is _way_ too slow, because it insists on rendering the html
before it will make that message the current message so that it can
then be deleted).  The slowness of its rendering of html is a big
strike against it, i guess (any part of vm coded in elisp probably
isn't going to win any prizes for speed) , although text-only is
pretty much all i need or want (just unsubscribed from an mp3 user
group because over half the traffic was either html, gibberish to my
mailer or both... and that without ever complaining to anyone about
it... construe that for good or ill as you will).

So, i'm wondering if anyone has any experience with mutt and vm on
which to base a comparison.  My reticence in not trying mutt earlier
is the idea that i have to then go _into_ an editor to do stuff that i
frequently do (not only reply but also snip bits and pieces out for
saving).  My editor is emacs.  I don't want to use anything else and i
can't quite comprehend how mutt and emacs could integrate very well.

One last thing.  With vm, yesterday, it progressively became unable to
get mail from my ISP's pop server (unknown name or service error).  It
failed sporadically, then finally ceased to be able to retrieve mail
at all (error occurring every attempt).  I even called up my ISP but
what fixed it was _restarting_ emacs.  A!


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



How is my network-card module getting loaded?

2002-04-09 Thread Craig Duncan
I've been running a 2.2.19 kernel for a while (every brief foray into
2.4 land caused me to immediately go back to 2.2).  Once again, i'm
giving it a try, though (2.4.18).  I booted into it and there's no
module loaded for my network card (which i didn't even remember what
it was).  So, while in 2.4, i looked around my 2.2 configuration for
some sign of what i was loading there and couldn't find anything.

Reboot back into 2.2.19, do an lsmod and i see 'via-rhine'.  No idea
what is loading it though (it doesn't appear in /etc/modutils).  I've
grepped everything in /etc/modutils and all the rc#.d directories and
i can't find a clue as to how that module is getting loaded.  How??
(I've got mostly a woody/sid system).


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



Re: xfree86 4.1.0-15 broke my display

2002-04-07 Thread Craig Duncan
Anthony DeRobertis writes:
  On Thursday, April 4, 2002, at 04:19 PM, Craig Duncan wrote:
  
   Jeffrey W. Baker writes:
  
   Well, I use apt-get clean on occasion.  The -14 release of XFree86 was
   several months ago.  Would be nice if there was apt-get
   clean-except-last-version i supposed.
  
   apt-get autoclean
  
  unless the manpage lies, that is not what autoclean does. 
  Manpage says it erases debs that are not downloadable anymore 
  (not in Packages.gz, I suppose)

Sorry.  My mistake.  You're right.


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



Re: xfree86 4.1.0-15 broke my display

2002-04-04 Thread Craig Duncan
Jeffrey W. Baker writes:

  Well, I use apt-get clean on occasion.  The -14 release of XFree86 was
  several months ago.  Would be nice if there was apt-get
  clean-except-last-version i supposed.

apt-get autoclean


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



Re: xfree86 4.1.0-15 broke my display

2002-04-04 Thread Craig Duncan
Jeffrey W. Baker writes:
  Well, I use apt-get clean on occasion.  The -14 release of XFree86 was
  several months ago.  Would be nice if there was apt-get
  clean-except-last-version i supposed.

apt-get autoclean


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



Re: atx shutdown

2002-02-05 Thread craig duncan
 I'm running into some problems trying to get an ATX box to really shut off 
 during a shutdown.  Originally with 2.2.19  2.4.10, it would reboot with 
 'shutdown -h now' command.  Odd and irritating.  I built a new kernel with 
 2.4.17 and now I can get it to actually halt and not reboot, but it doesn't 
 send the ATX the command to shut off the power.  Windows however is working 
 fine on the same box.

Do you have the following in your lilo.conf?

append=apm=on



Re: atx shutdown

2002-02-05 Thread craig duncan
You need to have APM support in the kernel or loaded as a module before
there could be any hope of enabling it.  The kernel option to enable APM
at boot sounds like it does the same thing as the lilo line.  Try it and
see if it works.  :-)

  craig Do you have the following in your lilo.conf?
  craig append=apm=on

 Is that necessary of APM is built into the kernel vs built as a module ?

 Also there is an option during kernel build process about enabling APM
 at boot, is that the same thing ?

 It's amazing how common this problem is...

 Brian



BSD inet services?

2001-11-26 Thread craig duncan
I want to enable rlogin/rcp etc on a debian box i have running
woody/2.2.19.  This should be very easy, thinks i, but going to
inetd.conf i find:

#:BSD: Shell, login, exec and talk are BSD protocols.

and that is all.  I make my way to the man pages on update-inetd and
see that i could (although i haven't tried it) do an:

  update-inetd --add ENTRY

Is manually adding an entry for e.g. rlogin what i need to do?
Doesn't seem very convenient (out of the box).



Re: BSD inet services?

2001-11-26 Thread craig duncan
I wonder what you'd find if you looked in your current /etc/inetd.conf?
What you describe is what i expected to do except my inetd.conf _has_ no
lines
for that stuff anymore.  It's been removed.  All that's there is the
#:BSD: line
i mentioned.  I know this #: notation allows the line to be uncommented
by a
tool automatically so i was thinking that maybe there's another file
that
provides the BSD-specific services.  I couldn't find anything like that,
though.

Frederico.S.Muñoz wrote:
 
  I want to enable rlogin/rcp etc on a debian box i have running
  woody/2.2.19.  This should be very easy, thinks i, but going to
  inetd.conf i find:
 
  #:BSD: Shell, login, exec and talk are BSD protocols.
 
  and that is all.  I make my way to the man pages on update-inetd and
  see that i could (although i haven't tried it) do an:
 
update-inetd --add ENTRY
 
  Is manually adding an entry for e.g. rlogin what i need to do?
  Doesn't seem very convenient (out of the box).
 
 
 I'm may be totally lost here but IIRC last time I needed rsh-like services I
 simply uncommented
 the entries in inetd.onf and installed rshd (also be advised that the rcp in
 Debian is more than likely
 a link to scp...); the rsh deamon was started and added to the init logins
 by the package scripts and after
 that I only needed to edit /etc/hosts.equiv for my full insecure r-services
 frenzy.
 
 I probably didn't understood your doubt though, so feel free to ignore this
 message :)
 
 cheers,
 
 fsm
 
 --
 Frederico S. Muñoz
 Cap Gemini Ernst  Young : [EMAIL PROTECTED]
 IIES : [EMAIL PROTECTED]
 Debian Project: [EMAIL PROTECTED]
 
 **
 Ever noticed something? Unix comes with compilers. Windows comes with
 Solitaire.
 **
   -Adep



Re: BSD inet services?

2001-11-26 Thread craig duncan
I already have rsh-client package installed, which provides rsh, rcp 
rlogin.
That's a thought, though.  I'll take a look at the postinstall script
and see
if reconfiguring is all that's needed.


Frederico.S.Muñoz wrote:
 
  -Original Message-
  From: craig duncan [mailto:[EMAIL PROTECTED]
  Sent: segunda-feira, 26 de Novembro de 2001 16:05
  To: Frederico.S.Muñoz; debian-user
  Subject: Re: BSD inet services?
 
 
  I wonder what you'd find if you looked in your current
  /etc/inetd.conf?
  What you describe is what i expected to do except my
  inetd.conf _has_ no
  lines
  for that stuff anymore.  It's been removed.  All that's there is the
  #:BSD: line
  i mentioned.  I know this #: notation allows the line to be
  uncommented
  by a
  tool automatically so i was thinking that maybe there's another file
  that
  provides the BSD-specific services.  I couldn't find anything
  like that,
  though.
 
 Oh, sorry, I didn't understood that that was the only line there :)
 
 I would instalar the package that contains rsh (rlogind or something like
 that IIRC). It's highly
 likely that it willl run the script for you with the correct arguments.
 
 cheers,
 
 fsm
 
 --
 Frederico S. Muñoz
 Cap Gemini Ernst  Young : [EMAIL PROTECTED]
 IIES : [EMAIL PROTECTED]
 Debian Project: [EMAIL PROTECTED]
 
 **
 Ever noticed something? Unix comes with compilers. Windows comes with
 Solitaire.
 **
   -Adep
 




Re: BSD inet services?

2001-11-26 Thread craig duncan
Exactly right (i got confused).  I don't have rsh-server installed.  I
do have ssh-nonfree installed, though.  I installed that quite a while
ago and then it seems like ssh stuff got removed from the distribution i
had installed then.  Can someone provide a synopsis of what the story
with ssh was, where it stands now, and what the best debianized ssh
package to use is?

Also, does any ssh version have the capability of falling-back to
rlogin compatibility?  (I doubt it but it would be nice. . . and
potentially insecure of course).  My main quandary is that i'm working
on an internal network where i don't at all need ssh.  Sometimes (when
going external), i do, though.

Frederico.S.Muñoz wrote:
 
 --
  -Original Message-
  From: craig duncan [mailto:[EMAIL PROTECTED]
  Sent: segunda-feira, 26 de Novembro de 2001 16:15
  To: Frederico.S.Muñoz
  Cc: debian-user
  Subject: Re: BSD inet services?
 
 
  I already have rsh-client package installed, which provides rsh, rcp 
  rlogin.
  That's a thought, though.  I'll take a look at the postinstall script
  and see
  if reconfiguring is all that's needed.
 
 
 
 Well... if you only need the clients in that box than there is no need for
 further configuration;
 only if you need to allow r-services from other boxes to that one will you
 need the rlogin server (and the
 apropriate entries in init and inetd.conf created by the script)
 
 cheers,