TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: TAUNO VOIPIO
from: MARTIN GREGORIE
date: 2018-03-20 19:17:00
subject: Re: Raspian Jessie and St

On Tue, 20 Mar 2018 18:24:28 +0200, Tauno Voipio wrote:

> On 20.3.18 17:27, ray carter wrote:
>>
>>> Thank you very much! It's more involved than I expected, but it's also
>>> a more drastic upgrade than I was looking for. Seems like the best
>>> approach is to save /home on usb flash and attempt the upgrade. If it
>>> flops, then do a clean install and restore /home.
>>>
>>> At this point the pi account is locked on my machine, will that
>>> interfere with upgrading? Seemed to me that the pi account is rather
>>> integral to the system, sort of like root on *bsd.
>>>
>>> Thanks for reading,
>>>
>>> bob prohaska
>>
>> The major downside (as I see it) of going with a new install is that
>> you loose whatever additional packages you may have installed over time
>> - so you need to add them again.
>
>
> You can save the package selections and import them to the new
> installation. See .
> Direct upgrade from Jessie to Stretch is hairy and prone to fail.
>
Another approach is to write a script something like:

==========================================
#!/bin/bash

list=""
list="$list package1"
list="$list package2"

sudo apt_get install $list
===========================================

Keep this in your usual login directory and update it each time you add
or remove packages. Then run it after a clean install.

I've done this for years with Fedora Linux, though now it has a good,
reliable version upgrade in situ process. But, being a belt and braces
type, I still maintain the list on my Fedora boxes (though the command
there is 'dnf install', so it was natural to do the same on my RPi.


--
Martin    | martin at
Gregorie  | gregorie dot org

--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.