Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.sys.raspberry-pi > #9741

Re: Raspbian Jessie is here

From Martin Gregorie <martin@address-in-sig.invalid>
Newsgroups comp.sys.raspberry-pi
Subject Re: Raspbian Jessie is here
Date 2015-10-02 00:01 +0000
Organization A noiseless patient Spider
Message-ID <mukhgk$f0f$1@dont-email.me> (permalink)
References <s1hl0bhhg2a2403grdfnfh9d788s8iqc5e@4ax.com> <muk4a0$chh$1@dont-email.me> <slrnn0rdas.aiq.n0b0dy@invalid.invalid>

Show all headers | View raw


On Thu, 01 Oct 2015 22:34:12 +0000, I R A Darth Aggie wrote:

> On Thu, 1 Oct 2015 20:16:01 +0000 (UTC),
> Martin Gregorie <martin@address-in-sig.invalid>, in
> <muk4a0$chh$1@dont-email.me> wrote:
>>  On Tue, 29 Sep 2015 18:03:54 +0100, Dave Farrance wrote:
>> 
>> > https://www.raspberrypi.org/blog/raspbian-jessie-is-here/
>> 
>>  Thanks for that.
>> 
>>  I've just done an in-situ upgrade of wheezy->jessie(steps 1-5 followed
>>  by a reboot and installation of rc-gui alacarte, all other stuff
>>  ignored since I almost never use anything except a command line via
>>  SSH to drive it) and all is good apart from a couple of small points:
>> 
>>  - The upgrade clouted .profile in root (easily fixed by copying the
>>  one
>>    in my usual user and replacing all escaped '\$' ocurrences in the
>>    PS1 strings with '\#'. I much prefer the prompt to be just '$ ' or
>>    '# ' depending on who I'm logged in as and with the current
>>    directory shown in the console's title bar.
>> 
>>  - /etc/sudoers had changed.
>> 
>>  Anyway, after fixing those points I rebooted again and ran my usual
>>  upgrade script, which does this:
>> 
>>    apt-get autoclean apt-get dist-upgrade apt-get update apt-get
>>    upgrade
> 
> Did you do that in that order? in straight debian, I would "update",
> "upgrade", then "dist-upgrade". I rarely do autoclean, but that's not a
> bad ideal. If you don't need many locales, you may want the localepurge
> package to purge non-used locale files from your system.
>
Background: I'm really a Fedora person: I've been running RedHat distros 
since RH 6.2 and Fedora from 1 to 22, though with a few skipped along the 
way. Both my bigger boxes use Fedora and in consequence I find using apt-
get less straight-forward than yum (and now dnf since F21).

Initially I was just using update, upgrade in that order. Then I decided 
that dist-upgrade would be useful, and read the manpage which doens't 
give a preferred order (why not fer chrissakes?) but seemed to be hinting 
that that it should preceed update, so that's where it is run.

About a year back I discovered autoclean and put it first on the grounds 
that its nice to clean house before getting in more stuff. In fact I 
don't think it matters whether its first or last because, with the 
sequence being run about once a week, it is always run after the last 
upgrade in the cycle. I think the same argument applies to dist-upgrade.
BTW, one of my first action was to disable auto-update because I like to 
do a backup before an update/upgrade sequence. Similarly, I've used the 
same manual backup+update sequence for years on the Fedora boxes.

>>  It ran as expected, i.e. didn't get anything new, but the initial
>>  autocleam did throw away a shedload of old packages which reclaimed a
>>  good 0.8 GB of storage space.
> 
> That's an astounding amount of stuff!
>
Yes, I thought so. This RPi was one of the first batch of 512MB B models 
and its been updated roughly weekly since then. Cruft has accumulated, 
even with the last year's inclusion of autoclean in the upodate cycle. It 
had steadily grown: when first installed df showed about 2.2 GB of stuff 
on the SD card and, up to last week that had steadily grown to 3.2 GB. 
Somewhere along the line my original 4GB card got replaced with an 8GB 
one. Anyway, I noticed that after jessie had been installed the card had 
about 3.5 3.6 GB of stuff on it and that running my update sequence 
reported a lot of package deletions, so was pleasantly surprised to see 
that post autoclean df is reporting that 2.8GB of the card is used.

>>  One oddity that I've noticed is that after a a shutdown via 'sudo
>>  halt' the now RPi stops with the yellow,green,green,red LEDs on and
>>  only the green activity LED off. All the LEDs are steady except that
>>  the green alongside the yellow blinks once every 7 or 8 seconds.
>>  Before the upgrade it used to stop with just the red LED lit.
>> 
>>  This is an RPi 2B. Has anybody else seen this different halting
>>  behaviour post upgrade?
> 
> halt's behaviour seems to have changed. It used to go to a poweroff
> state, but now seems to go to everything is stopped but not powered
> down.
>
Thanks for that.
 
> There are some other commands worth looking at:
> 
> poweroff reboot shutdown
> 
> Depending on the arguments one feeds shutdown, it can power off, halt or
> reboot the system. But they're legacy commands for compatibility. Looks
> like systemctl is doing the actual work. This is for a systemd
> configured Debian, so that may not apply to your Raspbian.
>
Yes, manual Fedora shutdowns usually take the form "sudo shutdown -h NOW" 
but I normally (lazily) shut down with the button on the login screen and 
I haven't tried to find out what command it uses for reboot or halt.

I've always just assumed that reboot, halt and poweroff were just 
convenience wrappers for shutdown. If fact I'd never run across them 
until I got the RPi: all the Unices I've used and early Redhat Linux 
tended to assume that you would just user shutdown.


-- 
martin@   | Martin Gregorie
gregorie. | Essex, UK
org       |

Back to comp.sys.raspberry-pi | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

Raspbian Jessie is here Dave Farrance <DaveFarrance@OMiTTHiSyahooANDTHiS.co.uk> - 2015-09-29 18:03 +0100
  Re: Raspbian Jessie is here druck <news@druck.org.uk> - 2015-09-29 21:44 +0100
  Re: Raspbian Jessie is here cl@isbd.net - 2015-09-29 22:50 +0100
    Re: Raspbian Jessie is here The Natural Philosopher <tnp@invalid.invalid> - 2015-09-29 23:45 +0100
      Re: Raspbian Jessie is here cl@isbd.net - 2015-09-30 11:46 +0100
        Re: Raspbian Jessie is here Roger Bell_West <roger+csrp201509@nospam.firedrake.org> - 2015-09-30 11:03 +0000
        Re: Raspbian Jessie is here I R A Darth Aggie <n0b0dy@invalid.invalid> - 2015-09-30 15:46 +0000
        Re: Raspbian Jessie is here ajw99uk <ajw99uk@yahoo.co.uk> - 2015-10-02 05:08 -0700
    Re: Raspbian Jessie is here "A. Dumas" <alexandre@dumas.fr.invalid> - 2015-09-30 07:20 +0200
      Re: Raspbian Jessie is here cl@isbd.net - 2015-09-30 11:48 +0100
    Re: Raspbian Jessie is here ray carter <ray@zianet.com> - 2015-09-30 17:20 +0000
      Re: Raspbian Jessie is here Folderol <general@musically.me.uk> - 2015-09-30 18:30 +0100
        Re: Raspbian Jessie is here cl@isbd.net - 2015-10-01 12:54 +0100
          Re: Raspbian Jessie is here ray carter <ray@zianet.com> - 2015-10-01 15:05 +0000
          Re: Raspbian Jessie is here Rob Morley <nospam@ntlworld.com> - 2015-10-02 03:56 +0100
      Re: Raspbian Jessie is here armb@chiark.greenend.org.uk (Alan Braggins) - 2015-10-01 13:36 +0100
        Re: Raspbian Jessie is here Another Dave <dmarsden@nospam.com> - 2015-10-01 20:11 +0100
    Re: Raspbian Jessie is here druck <news@druck.org.uk> - 2015-09-30 20:55 +0100
  Re: Raspbian Jessie is here Martin Gregorie <martin@address-in-sig.invalid> - 2015-10-01 20:16 +0000
    Re: Raspbian Jessie is here I R A Darth Aggie <n0b0dy@invalid.invalid> - 2015-10-01 22:34 +0000
      Re: Raspbian Jessie is here Martin Gregorie <martin@address-in-sig.invalid> - 2015-10-02 00:01 +0000
        Re: Raspbian Jessie is here ray carter <ray@zianet.com> - 2015-10-02 00:37 +0000
          Re: Raspbian Jessie is here "A. Dumas" <alexandre@dumas.fr.invalid> - 2015-10-02 07:32 +0200
            Re: Raspbian Jessie is here Martin Gregorie <martin@address-in-sig.invalid> - 2015-10-02 10:17 +0000
        Re: Raspbian Jessie is here cl@isbd.net - 2015-10-02 10:33 +0100
          Re: Raspbian Jessie is here rickman <gnuarm@gmail.com> - 2015-10-02 13:37 -0400
            Re: Raspbian Jessie is here ray carter <ray@zianet.com> - 2015-10-02 19:10 +0000
              Re: Raspbian Jessie is here rickman <gnuarm@gmail.com> - 2015-10-02 15:19 -0400
                Re: Raspbian Jessie is here Folderol <general@musically.me.uk> - 2015-10-02 20:56 +0100
                Re: Raspbian Jessie is here rickman <gnuarm@gmail.com> - 2015-10-02 16:26 -0400
                Re: Raspbian Jessie is here ray carter <ray@zianet.com> - 2015-10-02 20:24 +0000
            Re: Raspbian Jessie is here The Natural Philosopher <tnp@invalid.invalid> - 2015-10-03 08:53 +0100
              Re: Raspbian Jessie is here rickman <gnuarm@gmail.com> - 2015-10-03 06:21 -0400
                Re: Raspbian Jessie is here The Natural Philosopher <tnp@invalid.invalid> - 2015-10-03 11:39 +0100
    Re: Raspbian Jessie is here Dom <domafp@blueyonder.co.uk> - 2015-10-02 05:12 +0100
      Re: Raspbian Jessie is here Martin Gregorie <martin@address-in-sig.invalid> - 2015-10-02 10:22 +0000

csiph-web