From mboxrd@z Thu Jan 1 00:00:00 1970 Path: main.gmane.org!not-for-mail From: Sebastian Luque Newsgroups: gmane.emacs.help Subject: Re: using apt-utils Date: Fri, 20 Aug 2004 17:42:35 -0500 Organization: Memorial University of Newfoundland Sender: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Message-ID: <200408201742.35754.sluque@mun.ca> References: <200408201559.i7KFx97k076549@salador.ucs.mun.ca> <200408201714.01577.sluque@mun.ca> <87n00pphvb.fsf@dugong.chemistry.nottingham.ac.uk> NNTP-Posting-Host: deer.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Trace: sea.gmane.org 1093041806 1479 80.91.224.253 (20 Aug 2004 22:43:26 GMT) X-Complaints-To: usenet@sea.gmane.org NNTP-Posting-Date: Fri, 20 Aug 2004 22:43:26 +0000 (UTC) Cc: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Sat Aug 21 00:43:20 2004 Return-path: Original-Received: from lists.gnu.org ([199.232.76.165]) by deer.gmane.org with esmtp (Exim 3.35 #1 (Debian)) id 1ByI6S-0000k1-00 for ; Sat, 21 Aug 2004 00:43:20 +0200 Original-Received: from localhost ([127.0.0.1] helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ByIAm-0003rX-47 for geh-help-gnu-emacs@m.gmane.org; Fri, 20 Aug 2004 18:47:48 -0400 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.33) id 1ByIAc-0003rS-H7 for help-gnu-emacs@gnu.org; Fri, 20 Aug 2004 18:47:38 -0400 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.33) id 1ByIAb-0003rG-VI for help-gnu-emacs@gnu.org; Fri, 20 Aug 2004 18:47:38 -0400 Original-Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.33) id 1ByIAb-0003rD-St for help-gnu-emacs@gnu.org; Fri, 20 Aug 2004 18:47:37 -0400 Original-Received: from [142.161.130.102] (helo=mx-mtaout01.mts.net) by monty-python.gnu.org with esmtp (Exim 4.34) id 1ByI5Z-0004CW-9M for help-gnu-emacs@gnu.org; Fri, 20 Aug 2004 18:42:25 -0400 Original-Received: from wnpgmb09dc1-94-8.dynamic.mts.net ([142.161.94.8]) by mx-mtaout01.mts.net with ESMTP id <20040820224224.DZQE4492.mx-mtaout01.mts.net@wnpgmb09dc1-94-8.dynamic.mts.net>; Fri, 20 Aug 2004 17:42:24 -0500 Original-To: Matt Hodges User-Agent: KMail/1.6.2 In-Reply-To: <87n00pphvb.fsf@dugong.chemistry.nottingham.ac.uk> Content-Disposition: inline X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane.org@gnu.org Xref: main.gmane.org gmane.emacs.help:20191 X-Report-Spam: http://spam.gmane.org/gmane.emacs.help:20191 On Fri, 20 August 2004 17:25 -0500, Matt Hodges wrote: > If you load the source file, this should produce a more readable > backtrace: > > (load-file (locate-library "apt-utils.el")) > > [...] Thanks for tip, here's what I got: Debugger entered--Lisp error: (wrong-type-argument symbolp (quote t)) symbol-name((quote t)) (cons (symbol-name elt) nil) (lambda (elt) (cons (symbol-name elt) nil))((quote t)) mapcar((lambda (elt) (cons (symbol-name elt) nil)) (python-tclink pipenightdreams snort-rules-default xmms-stats t38modem libgtkglext1-ruby trophy-data libapache-dbilogconfig-perl isdnutils-xtools drgenius bfbtester acl-alisp8 python-plplot nabi liblog-agent-logger-perl wmpuzzle tkx8\.2-doc python2\.2-numeric-ext popularity-contest lx-gdb libmedusa0 ldp-es-glup alsa-source-0\.4 imlib1 libpaperg libvorbisfile-ruby libodbcinstq1 openoffice\.org-l10n-nl dict-freedict-spa-eng xracer-tools xfont-nexus sg3-utils alsa-source-0\.5 aspell-da kernel-source-2\.4\.17-ia64 python-crypto libzorpll-dbg libgnome-mag1-dev cl-csv libhtml-clean-perl gpsim-lcd ghfaxviewer 3dwm-clock maria-doc kernel-doc-2\.4\.26-speakup k3b-i18n freefem3d openoffice\.org-l10n-nn muffin mii-diag ...)) (setq apt-utils-package-list (mapcar (lambda ... ...) apt-utils-package-list)) (progn (setq apt-utils-package-lists-built nil apt-utils-package-list-update-time nil apt-utils-automatic-update-asked nil) (message "Building Debian package lists...") (with-temp-buffer (insert "(setq apt-utils-package-list '(\n") (call-process apt-utils-apt-cache-program nil t nil "pkgnames" "-o" "APT::Cache::AllNames=0") (insert "))") (eval-buffer)) (with-temp-buffer (insert "(setq apt-utils-virtual-package-list '(\n") (call-process apt-utils-apt-cache-program nil t nil "pkgnames") (insert "))") (eval-buffer)) (setq apt-utils-virtual-package-list (set-difference apt-utils-virtual-package-list apt-utils-package-list)) (setq apt-utils-package-list (mapcar ... apt-utils-package-list)) (setq apt-utils-virtual-package-list (mapcar ... apt-utils-virtual-package-list)) (if (hash-table-p apt-utils-package-hashtable) (clrhash apt-utils-package-hashtable)) (setq apt-utils-package-hashtable (make-hash-table :test ...)) (mapcar (lambda ... ...) apt-utils-package-list) (mapcar (lambda ... ...) apt-utils-virtual-package-list) (message "Building Debian package lists...done.") (setq apt-utils-package-lists-built t apt-utils-package-list-update-time (nth 5 ...))) (unwind-protect (progn (setq apt-utils-package-lists-built nil apt-utils-package-list-update-time nil apt-utils-automatic-update-asked nil) (message "Building Debian package lists...") (with-temp-buffer ... ... ... ...) (with-temp-buffer ... ... ... ...) (setq apt-utils-virtual-package-list ...) (setq apt-utils-package-list ...) (setq apt-utils-virtual-package-list ...) (if ... ...) (setq apt-utils-package-hashtable ...) (mapcar ... apt-utils-package-list) (mapcar ... apt-utils-virtual-package-list) (message "Building Debian package lists...done.") (setq apt-utils-package-lists-built t apt-utils-package-list-update-time ...)) (unless apt-utils-package-lists-built (message "Building Debian package lists...interrupted.") (setq apt-utils-package-list nil apt-utils-virtual-package-list nil) (if ... ...))) (progn (unwind-protect (progn ... ... ... ... ... ... ... ... ... ... ... ... ...) (unless apt-utils-package-lists-built ... ... ...))) (if (or force (null apt-utils-package-list)) (progn (unwind-protect ... ...))) (when (or force (null apt-utils-package-list)) (unwind-protect (progn ... ... ... ... ... ... ... ... ... ... ... ... ...) (unless apt-utils-package-lists-built ... ... ...))) apt-utils-build-package-lists() (cond ((null apt-utils-package-lists-built) (apt-utils-build-package-lists)) ((and ... apt-utils-automatic-update ...) (apt-utils-build-package-lists t))) apt-utils-check-package-lists() apt-utils-show-package() * call-interactively(apt-utils-show-package) execute-extended-command(nil) call-interactively(execute-extended-command) Thank you, Sebastian