help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: what I should do, and the "Emacs News Ezine"


From: Emanuel Berg
Subject: Re: what I should do, and the "Emacs News Ezine"
Date: Mon, 01 Apr 2019 15:07:48 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (gnu/linux)

Amin Bandali wrote:

>> Sounds good?
>>
>
> Sounds good to me.

I think I did it! Greetings from Emacs25. Or

    GNU Emacs 25.1.1
    (arm-unknown-linux-gnueabihf) of
    2017-09-16, modified by Debian

This is how it happened [Emacs stuff is point 3]


1. Physically clone the RPi system (on a 16G SD
   card), and give it more space.

    [remove the 16G SD card from the RPi]

    $ fdisk -l

    $ sudo dd bs=4M if=/dev/sdb of=backup-$(date +%Y-%m-%d).img

    [change the SD card to the 32G card]

    $ fdisk -l

    $ sudo dd bs=4M if=backup-2019-04-01.img of=/dev/sdb

    [insert the 32G card into the RPi]

    $ sudo raspi-config


2. Upgrade the system [1]

        $ sudo apt-get update
        $ sudo apt-get upgrade
        $ sudo apt-get dist-upgrade

        $ sudo dpkg -C
        $ sudo apt-mark showhold

        ## (I did this manually)
        $ sudo sed -i 's/jessie/stretch/g' /etc/apt/sources.list

        $ sudo apt-get update

        $ sudo apt-get --simulate upgrade

        $ sudo apt-get upgrade
        $ sudo apt-get dist-upgrade

        $ sudo reboot

    Worked great, only lots of this


      ## debconf: (Dialog frontend will not
                  work on a dumb terminal, an
                  emacs shell buffer, or
                  without
                  a controlling terminal.)
      ## debconf: falling back to frontend:
                  Readline


    And lots of ~"You have been messing around
    with file one hundred hundredth. Would you
    like to keep your changes?" Of course I do,
    but I'd still had to hit the button every
    time. Perhaps there is some option
    somewhere to set the default answer? It is
    a good idea to find it first, so you can
    just lie down and rest all thru the
    installation... zzz


3. Get Emacs25.

    $ sudo apt apt --fix-broken install
    $ sudo ai emacs25-nox emacs-25-el emacs25-common-non-dfsg
    # sudo apt autoremove

    Then my usual Makefile [2] and incredibly,
    I only got


        In help-custom-font-lock:
        help-font-lock.el:23:30:Warning:
        ‘font-lock-fontify-buffer’ is for
        interactive use only; use
        ‘font-lock-ensure’ or
        ‘font-lock-flush’ instead.


    Not really any clarity what to use, so
    I picked `font-lock-ensure'.

    Then


        In end of data:
        negative-subtraction.el:19:1:Warning: the
        function ‘digit-char-p’ is not known to
        be defined.


    This was more difficult to find - it should
    have the CL prefix, i.e. `cl-digit-char-p'.


    And the easy ones

        In spell: spell-new.el:79:23:Warning:
        ispell-comments-and-strings called with 1
        argument, but accepts only 0

        In sudo-path:
        sudo-user-path.el:2:33:Warning:
        ‘system-name’ is an obsolete variable (as
        of 25.1); use (system-name) instead

        In translate-with-prompt:
        translate.el:29:20:Warning: Pattern t is
        deprecated. Use `_' instead


    Done! I hope...


[1] 
https://linuxconfig.org/raspbian-gnu-linux-upgrade-from-jessie-to-raspbian-stretch-9

[2] http://user.it.uu.se/~embe8573/emacs-init/Makefile

-- 
underground experts united
http://user.it.uu.se/~embe8573




reply via email to

[Prev in Thread] Current Thread [Next in Thread]