From: Sebastian Luque <sluque@mun.ca>
Cc: help-gnu-emacs@gnu.org
Subject: Re: using apt-utils
Date: Fri, 20 Aug 2004 17:42:35 -0500 [thread overview]
Message-ID: <200408201742.35754.sluque@mun.ca> (raw)
In-Reply-To: <87n00pphvb.fsf@dugong.chemistry.nottingham.ac.uk>
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
next prev parent reply other threads:[~2004-08-20 22:42 UTC|newest]
Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200408201559.i7KFx97k076549@salador.ucs.mun.ca>
2004-08-20 19:06 ` using apt-utils Sebastian Luque
2004-08-20 19:11 ` Sebastian Luque
[not found] ` <mailman.2123.1093029085.2011.help-gnu-emacs@gnu.org>
2004-08-20 21:45 ` Matt Hodges
2004-08-20 22:14 ` Sebastian Luque
[not found] ` <87n00pphvb.fsf@dugong.chemistry.nottingham.ac.uk>
2004-08-20 22:42 ` Sebastian Luque [this message]
2004-08-20 23:15 ` Matt Hodges
2004-08-20 23:43 ` Sebastian Luque
2004-08-21 8:54 ` Matt Hodges
2004-08-21 21:48 ` Sebastian Luque
2004-08-22 12:50 ` Kai Grossjohann
2004-08-23 10:08 ` Matt Hodges
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.gnu.org/software/emacs/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=200408201742.35754.sluque@mun.ca \
--to=sluque@mun.ca \
--cc=help-gnu-emacs@gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).