unofficial mirror of bug-gnu-emacs@gnu.org 
 help / color / mirror / code / Atom feed
From: Sam Steingold <sds@gnu.org>
To: Lars Ingebrigtsen <larsi@gnus.org>
Cc: 19146@debbugs.gnu.org
Subject: bug#19146: 25.0.50; RFE: non-interactive package upgrade
Date: Wed, 11 May 2022 22:23:58 -0400	[thread overview]
Message-ID: <CAFsbZ7bhkAbgs+-F6-KA-Qk8v8fkFtON_b-YNye0esBgA8MODA@mail.gmail.com> (raw)
In-Reply-To: <87fslf3408.fsf@gnus.org>

Thank you!
So, does
emacs --funcall package-update-all
work now?


On Wed, 11 May 2022 at 21:59, Lars Ingebrigtsen <larsi@gnus.org> wrote:
>
> Sam Steingold <sds@gnu.org> writes:
>
> > To upgrade all packages I need to do :
> >
> > M-x list-packages RET
> > U (package-menu-mark-upgrades)
> > x (package-menu-execute)
> >
> > then answer "yes" to "upgrade?" and "delete old?" questions.
> >
> > It would be nice if, similar to aptitude:
> >
> > aptitude update && aptitude -y full-upgrade && aptitude autoclean && deborphan
> >
> > I could do M-x package-upgrade-all RET and everything were done right
> > away - no menus, no questions.
> > (I looked at package.el myself and was unable to disentangle the "work"
> > for the GUI).
>
> I've now added `M-x package-update-all' to Emacs 29.
>
> --
> (domestic pets only, the antidote for overdose, milk.)
>    bloggy blog: http://lars.ingebrigtsen.no



-- 
Sam Steingold <http://sds.podval.org> <http://www.childpsy.net>
<http://steingoldpsychology.com>





  reply	other threads:[~2022-05-12  2:23 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-11-21 19:23 bug#19146: 25.0.50; RFE: non-interactive package upgrade Sam Steingold
2022-05-12  1:59 ` Lars Ingebrigtsen
2022-05-12  2:23   ` Sam Steingold [this message]
2022-05-12  2:25     ` Lars Ingebrigtsen
2022-05-16 14:18       ` Sam Steingold
2022-05-17  9:08         ` Lars Ingebrigtsen

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=CAFsbZ7bhkAbgs+-F6-KA-Qk8v8fkFtON_b-YNye0esBgA8MODA@mail.gmail.com \
    --to=sds@gnu.org \
    --cc=19146@debbugs.gnu.org \
    --cc=larsi@gnus.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.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs.git

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).