Pantek Library
Hosting Provided By
CybrHost
High Speed Hosting

debian-user-digest Digest V2007 #2705

From: <debian-user-digest-request(at)lists.debian.org>
Date: Tue Oct 30 2007 - 01:27:21 EDT


Content-Type: text/plain

debian-user-digest Digest Volume 2007 : Issue 2705

Today's Topics:

  mydns-mysql installation problem      [ Andreas Baitis  ]
  Re: Apt-Get or Aptitude               [ Celejar  ]
  Re: Apt-Get or Aptitude               [ Celejar  ]
  Re: Apt-Get or Aptitude               [ Nate Duehr  ]
  Re: going from etch to unstable (sid  [ Kamaraju S Kusumanchi  ]
  Re: Mutt Config Help                  [ Thomas Weinbrenner  ]
  Re: Contacts printing                 [ Ken Irving  ]
  winbind + nsswitch issues             [ Alex Samad  ]
  Re: Apt-Get or Aptitude               [ Preston Boyington  ]
  Re: Apt-Get or Aptitude               [ Daniel Burrows 

Date: Tue, 30 Oct 2007 10:57:58 +1100
From: Andreas Baitis <abaitis@gmail.com> To: debian-user@lists.debian.org
Subject: mydns-mysql installation problem Message-Id: <200710301057.58539.abaitis@gmail.com> Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

Hi there,

I'm having some trouble getting mydns-mysql to work.

I entered the wrong mysql root password at configuration on first install, = now=20
I can't dpkg-reconfigure the package, as it says the package is not fully=20 installed, so I have no way to change the mysql root password that is being= =20
used by dpkg. Re-installing doesn't change the problem. Here are the result= s.

Do you need help?X

<install>

nexus2:/var# apt-get install mydns-mysql Reading package lists... Done
Building dependency tree... Done
The following NEW packages will be installed: =A0 mydns-mysql
0 upgraded, 1 newly installed, 0 to remove and 7 not upgraded. Need to get 0B/250kB of archives.
After unpacking 692kB of additional disk space will be used. Preconfiguring packages ...
Selecting previously deselected package mydns-mysql. (Reading database ... 19058 files and directories currently installed.) Unpacking mydns-mysql (from .../mydns-mysql_1%3a1.1.0-7_i386.deb) ... Setting up mydns-mysql (1.1.0-7) ...
/etc/mydns.conf created/modified. See mydns.conf(5) for details. A backup of the old config file is at /etc/mydns.conf.dpkg-old. Values were preserved, except for database (database,db-*) and distribution-specific information (user, group, pidfile). ERROR 1045 (28000): Access denied for user 'root'@'localhost' (using passwo= rd:=20
YES)
Creating database...
mysqladmin: connect to server at 'localhost' failed error: 'Access denied for user 'root'@'localhost' (using password: YES)' dpkg: error processing mydns-mysql (--configure): =A0subprocess post-installation script returned error exit status 1 Errors were encountered while processing: =A0mydns-mysql
E: Sub-process /usr/bin/dpkg returned an error code (1)

</install>

<dpkg-reconfigure>

nexus2:/var# dpkg-reconfigure mydns-mysql /usr/sbin/dpkg-reconfigure: mydns-mysql is broken or not fully installed

</dpkg-reconfigure>

If I try

dpkg-reconfigure -P mydns-mysql

Do you need more help?X

it just hangs.

I've manually removed the dpkg conffiles, still no joy, I get the same erro= rs=20
when trying to install mydns-mysql, and no opportunity to re-configure the= =20
package.

Any suggestions?

Thanks in advance

Andreas Baitis

Date: Mon, 29 Oct 2007 20:00:03 -0400
From: Celejar <celejar@gmail.com>
To: debian-user@lists.debian.org
Subject: Re: Apt-Get or Aptitude

Message-Id: <20071029200003.95e2b106.celejar@gmail.com>
Content-Type: text/plain; charset=US-ASCII
Content-Transfer-Encoding: 7bit

On Mon, 29 Oct 2007 00:14:18 -0600
Nate Duehr <nate@natetech.com> wrote:

Can we help you?X

>
> On Oct 28, 2007, at 11:06 AM, Daniel Burrows wrote:

[snip]

> > I'd say the main difference is that apt-get is a command-line tool,
> > whereas aptitude is an interactive tool that can be driven from the
> > command-line.
>
>
> I would disagree. Aptitude supports command-line operation as well as
> interactive.

You do realize that Daniel is both the author and maintainer of aptitude :) ?

[Thanks, Daniel, for your Debian, aptitude and d-u work!]

> Nate Duehr
> nate@natetech.com

Celejar

--
mailmin.sourceforge.net - remote access via secure (OpenPGP) email
ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

Date: Mon, 29 Oct 2007 20:03:42 -0400 From: Celejar <celejar@gmail.com> To: debian-user@lists.debian.org Subject: Re: Apt-Get or Aptitude Message-Id: <20071029200342.3098f203.celejar@gmail.com> Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit On Mon, 29 Oct 2007 00:13:23 -0500 Manoj Srivastava <srivasta@ieee.org> wrote:
> On Sun, 28 Oct 2007 10:06:59 -0700, Daniel Burrows <dburrows@debian.org> said:
>
> > I'd say the main difference is that apt-get is a command-line tool,
> > whereas aptitude is an interactive tool that can be driven from the
> > command-line.
>
> Are there still command line usages of apt-get that are not
> exactly the same in aptitude? And has apt-get started keeping track of
The classic examples that arise periodically on the list are apt-get's 'build-dep' and 'source' actions, which apparently have no obvious aptitude versions.
> manoj
Celejar -- mailmin.sourceforge.net - remote access via secure (OpenPGP) email ssuds.sourceforge.net - A Simple Sudoku Solver and Generator

Can't find what you're looking for?X

Date: Mon, 29 Oct 2007 18:05:53 -0600 From: Nate Duehr <nate@natetech.com> To: Debian Users <debian-user@lists.debian.org> Subject: Re: Apt-Get or Aptitude Message-Id: <EAFE4B48-0835-4EA3-AB21-8826C439DF4E@natetech.com> Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes Content-Transfer-Encoding: 7bit On Oct 29, 2007, at 6:00 PM, Celejar wrote:
> On Mon, 29 Oct 2007 00:14:18 -0600
> Nate Duehr <nate@natetech.com> wrote:
> >> >> On Oct 28, 2007, at 11:06 AM, Daniel Burrows wrote: >
> [snip]
> >>> I'd say the main difference is that apt-get is a command-line tool, >>> whereas aptitude is an interactive tool that can be driven from the >>> command-line. >> >> >> I would disagree. Aptitude supports command-line operation as well >> as >> interactive. >
> You do realize that Daniel is both the author and maintainer of
> aptitude :) ?
Nope. I guess he forgot that you can drive aptitude just fine from the command line? ;-)
> [Thanks, Daniel, for your Debian, aptitude and d-u work!]
Yep. Good job. Aptitude walks the dog, compared to apt-get. I'm an old dselect guy who "migrated" to aptitude. It's good stuff. -- Nate Duehr nate@natetech.com

Date: Mon, 29 Oct 2007 21:09:04 -0400 From: Kamaraju S Kusumanchi <kamaraju@bluebottle.com> To: debian-user@lists.debian.org Subject: Re: going from etch to unstable (sid) Message-ID: <fg5v5d$c6c$1@ger.gmane.org> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7Bit Chris Bannister wrote:
> I would say: If you have to ask *this* question, then the answer would
> be: Not recommended.
>
I would say: You are being rude to the OP, to say the least. How would anyone learn without trying out and without asking questions if they get stuck? I understand what you are trying to convey to the OP. But it would be great if you can word it in a more polite way.
> Why are you wanting to "jump" to Sid? There is no way to go back to Etch
> if you don't like it.
>
> If you just want newer software, check out http://debian.backports.org
> (or something like that) but then, by definition, your system is no
> longer stable. 8-(
>
Not all the packages have backports. Besides, backports is not officially supported and does not get security updates. If it is one or two packages, then backports may be fine. But if it is anywhere > 5 (which is usually the case), my suggestion is to go with testing or unstable. raju -- Kamaraju S Kusumanchi http://www.people.cornell.edu/pages/kk288/ http://malayamaarutham.blogspot.com/

Date: Mon, 29 Oct 2007 20:38:56 -0400 From: "H.S." <hs.samix@gmail.com> To: debian-user@lists.debian.org Subject: Re: cannot open vnc session for one user from this machine Message-ID: <fg5uf2$af0$1@ger.gmane.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit H.S. wrote:
> Hello,
>
> I am not able to get xtightvncviewer to work for a particular user on a
> remote machine from my machine running Debian Testing. It works for a
> different user on the remote machine. And it works for that particular
> user from another machine here from my home! It is only my Testing
> machine on which it doesn't work for only that one user.
>
> If I try to open a session, I get:
> $> xtightvncviewer -encodings "copyrect hextile" localhost:1
> xtightvncviewer: ConnectToTcpAddr: connect: Connection refused
> Unable to connect to VNC server
>
>
> This same command works for other users on the remote machine, and for
> all users on the remote machine from a different local machine.
>
> Where could the problem be? I am quite baffled by all this actually.
>
> ->HS
>
>
(feeling very sheepish) ... there was a typo in the command I was using (using the history in bash) and was trying to connect to a different port :( pretty embarrassed, ->HS

Date: Tue, 30 Oct 2007 02:12:27 +0100 From: Thomas Weinbrenner <thomas@thomas-weinbrenner.de> To: debian-user@lists.debian.org Subject: Re: Mutt Config Help Message-ID: <20071030011227.GA12765@thomas-weinbrenner.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="VbJkn9YxBvnuCH5J" Content-Disposition: inline --VbJkn9YxBvnuCH5J Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Jeff Grossman wrote:
> I am using Mutt with my Maildir mail setup. I want it so that when I=20
> delete a message it goes into my Deleted Items folder instead of just=20
> getting deleted. I have done some research and found the following macro=
s: >
> macro index d "s=3DTrash\n" "move message to trash"
> macro pager d "s=3DTrash\n" "move message to trash"
> >
> But, I have not been able to figure out how to put Deleted Items in there=
=20
> instead. If I do this:
>
> #macro index d "s=3D'.Deleted Items\n" "move message to trash"
> #macro pager d "s=3D'.Deleted Items\n" "move message to trash"
> >
> It was to create a new folder called DeletedItems (no space). Any ideas?
I don't know which version of mutt you are using, but the newer debian packages (those in lenny and sid) include a trash patch, which allows you to forget those macros and instead use this in your muttrc: set trash=3D"=3D.Deleted Items" I tested it and it creates the folder with a space. --=20 Thomas Weinbrenner --VbJkn9YxBvnuCH5J Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iQEVAwUBRyaE+xCHR/+buWAdAQKJcwf9FQWnETihhmr7R5QxQDbz3DC+BIOQ/CDw KpW/jJjmV4o8hN1Vwxkvrdg6aSiSmZCX7IvmfA5B1zNqpYGJTFfW4SGh1eubtqvg NWIuLODToz6+vUfqBq7SuGUVD34v6odqJ0h7pr/m/VMBojPgirtEQD++RZYLtbZj ZdIsZeE/Irp+kCHxM3Urwq1qbU92nA0b0BP1vl+RQzNmIUS8tlrMU4PqnccmoF/i 6JEt8A5UFrU6Y/J77mg4JvLJnqb+bdPyhAmd/LRFxLqJjJul1ENGnw/iBuWBWV6E nlkJf7Y1fbBryKurakjQ0EQFA/9q1CcybjavI0PrTHCy/wo3tVWydg== =Akke -----END PGP SIGNATURE----- --VbJkn9YxBvnuCH5J--

Date: Mon, 29 Oct 2007 18:24:53 -0700 From: Jeff Grossman <jeff@stikman.com> To: Debian Users <debian-user@lists.debian.org> Subject: Re: Mutt Config Help Message-ID: <472687E5.90903@stikman.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Thomas Weinbrenner wrote:
> Jeff Grossman wrote:
>
>> I am using Mutt with my Maildir mail setup. I want it so that when I >> delete a message it goes into my Deleted Items folder instead of just >> getting deleted. I have done some research and found the following macros: >> >> macro index d "s=Trash\n" "move message to trash" >> macro pager d "s=Trash\n" "move message to trash" >> >> >> But, I have not been able to figure out how to put Deleted Items in there >> instead. If I do this: >> >> #macro index d "s='.Deleted Items\n" "move message to trash" >> #macro pager d "s='.Deleted Items\n" "move message to trash" >> >> >> It was to create a new folder called DeletedItems (no space). Any ideas? >> >
> I don't know which version of mutt you are using, but the newer debian
> packages (those in lenny and sid) include a trash patch, which
> allows you to forget those macros and instead use this in your muttrc:
>
> set trash="=.Deleted Items"
>
> I tested it and it creates the folder with a space
Thank you. That did work. I am running testing. I am just not that comfortable with Mutt, I really prefer Pine and/or Alpine. Alpine does not currently read maildir mail folders though. I have to see if I can figure that one out. Do you know if there is a way to move to trash (Deleted Items) in Alpine? Thanks, Jeff

Date: Mon, 29 Oct 2007 17:31:30 -0800 From: Ken Irving <fnkci@uaf.edu> To: debian-user@lists.debian.org Subject: Re: Contacts printing Message-ID: <20071030013130.GA7609@localhost> Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Mon, Oct 29, 2007 at 05:41:21PM -0400, Douglas A. Tutty wrote:
>
> Then, as I see it, you have two choices:
>
> 1. Take the opportunity to learn Python.
>
> 2. Cat the files together from the command line.
>
> Easiest way is to put them all in one directory (with nothing
> else) and issue:
>
> $ cat * > contacts.txt
A problem may occur if you run this again after contacts.txt already exists, since you'd be telling it to cat from and to the same file. On some systems this might run away and create a very large file, though on my sid box (with bash 3.1dfsg-8) it seems to work ok, emitting a warning: ken@hayes:/tmp/foo/ $ cat * > contacts.txt ken@hayes:/tmp/foo/ $ cat * > contacts.txt cat: contacts.txt: input file is output file Workarounds could be to cat to a file in some other directory, or specify a filename pattern that only matches the target files. Ken
> You now have everything in one file.
>
> Then put it in an editor and start manual sorting.
>
> Doug.
-- Ken Irving, fnkci+debianuser@uaf.edu

Date: Tue, 30 Oct 2007 13:20:55 +1100 From: Alex Samad <alex@samad.com.au> To: Debian Users <debian-user@lists.debian.org> Subject: winbind + nsswitch issues Message-ID: <20071030022055.GC8891@samad.com.au> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="Md/poaVZ8hnGTzuv" Content-Disposition: inline --Md/poaVZ8hnGTzuv Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hi = =20 = =20 I have just installed a amd64 debian box, installed samba & samba-common = =20 3.0.26a-1 and winbind 3.0.26a-1 = =20 = =20 I have taken a working smb.conf from another machine (the one I am upgradin= g =20 =66rom). = =20 = =20 I have done a net join = =20 = =20 I have updated my /etc/nsswitch passwd: files winbind group: files winbind shadow: compat = =20 when I do a wbinfo -u or wbinfo -g I get the desired results back, but when= i =20 do a getent passwd or getent group I don't see the windows users there ! = =20 = =20 = =20 I have only updated my pam.d for imap pop & squid = =20 = =20 I have had a google around, there is the issue with separators I use the = =20 default and the original machine was using 3.0.2 samba = =20 = =20 = =20 Any thoughts ? = =20 = =20 Alex --Md/poaVZ8hnGTzuv Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.6 (GNU/Linux) iD8DBQFHJpUHkZz88chpJ2MRAsKOAJ4+947OpPf1BB9g+h9Azt1bAIOubQCggJv8 E/Shnv8UW53KcclhfhEmoUM= =61mA -----END PGP SIGNATURE----- --Md/poaVZ8hnGTzuv--

Date: Mon, 29 Oct 2007 21:27:04 -0500 From: Preston Boyington <preston.lists@gmail.com> To: debian-user <debian-user@lists.debian.org> Subject: Re: Apt-Get or Aptitude Message-ID: <47269678.7010208@gmail.com> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Daniel Burrows wrote:
>
> Identical behavior to apt-get has never been a goal for me, so the
> answer is almost certainly "yes". (not that I gratuitously break
> apt-get compatibility; it's just not something I track one way or the
> other unless I get bug reports)
>
one thing i noticed from my recent switch was the difference between how apt does searches: apt-cache search foo and how aptitude (non curses) does the search: aptitude search ~dfoo with aptitude i need to add the "~d" before my criteria to be sure it looks in the package descriptions. i only find it odd because i would have expected it to maybe be like so: aptitude search -d foo not an issue, just a difference that i though was not as intuitive as it could have been. that said, thank you very much for this wonderful package. my transition to it was flawless on my mixed source laptop and i am gaining comfort with the curses interface daily. -- Arrant Drivel - really, it's just trash... http://www.arrantdrivel.com/

Don't know where to look next?X

Date: Mon, 29 Oct 2007 19:14:27 -0700 From: Triskal <stefan.ploch@gmx.de> To: debian-user@lists.debian.org Subject: Re: Problems with installing Debian Linux on a SATA hard disc Message-ID: <1193710467.941937.322670@k79g2000hse.googlegroups.com> Content-Type: text/plain; charset="us-ascii" Thanks to everyone! I'm still not finished downloading etch. I hope, etch will recognize my sata discs. I'll let you know once I'll know more.

Date: Mon, 29 Oct 2007 20:49:02 -0700 From: Daniel Burrows <dburrows@debian.org> To: Debian Users <debian-user@lists.debian.org> Subject: Re: Apt-Get or Aptitude Message-id: <20071030034902.GA18231@alpaca> Content-type: text/plain; charset=us-ascii Content-disposition: inline On Mon, Oct 29, 2007 at 12:14:18AM -0600, Nate Duehr <nate@natetech.com> was heard to say: >
> On Oct 28, 2007, at 11:06 AM, Daniel Burrows wrote:
>> I'd say the main difference is that apt-get is a command-line tool, >> whereas aptitude is an interactive tool that can be driven from the >> command-line. > >
> I would disagree. Aptitude supports command-line operation as well as
> interactive.
What I meant by that is that the project's goals and focus have always been on interactivity. This isn't a matter of excluding particular lines of development, but most of the work that goes into aptitude is weighted towards its interactive features. That's one reason, for instance, that the "show" output from the command-line is prettier than in apt-get, but slower and less useful to scripts. These deficiencies could be corrected, but they are lower-priority than, say, improving interactive dependency handling and fixing UI glitches. Also, I was trying to gently point out that there's more to aptitude than the command-line. Excluding generic shared code, the rest of aptitude is about 6 times larger than the command-line interface, and it would be nice to think people occasionally use all that stuff. :-) I occasionally notice people writing that they just discovered aptitude's curses interface after using it for ages, so I know that this isn't universally known. Daniel

Date: Mon, 29 Oct 2007 21:00:24 -0700 From: Daniel Burrows <dburrows@debian.org> To: debian-user@lists.debian.org Subject: Re: Help With Dependencies Message-id: <20071030040024.GE12982@alpaca> Content-type: text/plain; charset=us-ascii Content-disposition: inline On Mon, Oct 29, 2007 at 04:30:43PM -0700, Jeff Grossman <jeff@stikman.com> was heard to say:
> How come such a difference? I don't want to install all of that other
> stuff. I just want to install mercurial and what is required to run that
> program.
I guess that a lot of that is being pulled in by kdiff3. Debian has three ways packages can require one another: Depends, Recommends, and Suggests. Technically, here's what they mean: a Depends b: a cannot function without b. If a is installed, b must also be installed. a Recommends b: a almost always requires b for major functionality. In the words of Policy, this is a "strong, but not absolute dependency", and b is a package that "would be found together with [a] in all but unusual installations". In practice, this means that b should be automatically installed whenever a is. However, package authors sometimes make dubious choices about what to recommend, so you might need to override their decisions. a Suggests b: b somehow enhances or provides extra functionality for a. Frontends don't, in general, automatically do anything with suggestions (in fact, I experimented with providing this functionality in aptitude, but it tended to install everything in the archive); they're meant as a hint for the user. So, you can work around this case by passing --without-recommends, or by individually holding back the offending packages (e.g., by adding "kdiff3:" to the end of the command-line or typing ": kdiff3" at the aptitude prompt). I would advise against globally disabling the installation of recommended packages, however; doing so risks ending up with packages that are missing functionality that you expect. In the specific case you're looking at, I've found kdiff3 to be a very nice 3-way merge tool that works well with Mercurial. If you don't already have a 3-way merger that you like, you might want to try it out. Daniel

Date: Mon, 29 Oct 2007 23:58:38 -0500 (CST) From: "Orestes Leal" <orestesleal13022@cha.jovenclub.cu> To: "Triskal" <stefan.ploch@gmx.de> Cc: debian-user@lists.debian.org Subject: Re: Problems with installing Debian Linux on a SATA hard disc Message-ID: <50108.192.168.250.8.1193720318.squirrel@correo.ciudad.jovenclub.cu> Content-Type: text/plain;charset=utf-8 Content-Transfer-Encoding: quoted-printable With ETCH Everything will be OK!! Greetings from Cuba. olr =3D=3D=3D El Lun, 29 de Octubre de 2007, 12:30 pm, Triskal escribi=C3=B3:
> Hi there!
>
> I did a search for my problem, but couldn't find the answer. If I
> overlooked it, I apologize. Also, I'm quite new to Linux (I've used it
> for LaTeX, but not much else, and I'm an absolute novice at installing
> Linux.)
>
> About my system:
>
> 1. I have a Dell Dimension 5150 with a 320 GB SATA hard disc; on this
> disk, there is Windows XP (three partitions on the hard disc).
>
> 2. I bought a new internal hard disc (Samsung SATA2 160 GB
> (HD160/1HJ)) to install Debian Linux on it (Sarge 3.1r0a, which came
> on two DVDs which were part of one of the two main books in German on
> Debian Linux).
>
> The problem:
>
> The installation program didn't recognize either of my two hard discs
> (neither the one with Windows on it nor the new one): "no partitions
> found".
>
> Now, I'm currently downloading DVD iso images with Etch on it in the
> hope that Etch can handle SATA hard discs (since Sarge could not). Is
> there any point in doing this (i.e., does Etch still have the same
> problems with SATA discs)? Or what should I do?
>
> Please note that I'm still quite new to Linux. I have used it in the
> past to compile LaTeX documents, but that's about it. And I have only
> little experience with installing Linux.
>
> Any help would be greatly appreciated. Thanks!
> >
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact
> listmaster@lists.debian.org
> > love, peace and fuck the police ;-) End of debian-user-digest Digest V2007 Issue #2705 ************************************************** Received on Tue Oct 30 01:27:31 2007

This archive was generated by hypermail 2.1.8 : Wed Mar 19 2008 - 02:55:37 EDT


Contact Us  Legal Notices  Order Services Online 
Pantek Home  Privacy Policy  IT news  Site Map  Pantek Library