You are not logged in.

#1 2016-04-04 07:50:52

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Debian 8.4 released

https://www.debian.org/News/2016/20160402

To update your system use:

sudo apt-get update
sudo apt-get upgrade

If APT says there are still packages left un-upgraded after the second command you may have to use:

sudo apt-get dist-upgrade

“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#2 2016-04-04 08:24:29

Eraph
Member
From: /au/qld/bne
Registered: 2016-02-29
Posts: 282
Website

Re: Debian 8.4 released

Thanks for the heads up!
I tend to do dist-upgrade anyway as I find it's more thorough, in what circumstances might you not want to do that? Maybe in a sensitive production system?


Lenovo IdeaPad Yoga 13 | BunsenLabs Hydrogen (x64)
Intel Core i7-3537U | Intel HD4000 | 8GB DDR3 | 256GB SSD

Offline

#3 2016-04-04 09:13:46

fvirgola80
Member
From: Italy / Rome
Registered: 2015-10-08
Posts: 231

Re: Debian 8.4 released

Thanks so much Head_on_a_Stick

Istantanea_04042016_11_11_50.jpg

wink  wink


Conky a lifetime, thanks masters Obi-Wan (TEO) and Yoda (Sector11) Use Hydrogen bunsenlabs linux 8.9

Offline

#4 2016-04-04 10:33:28

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Debian 8.4 released

Eraph wrote:

Thanks for the heads up!
I tend to do dist-upgrade anyway as I find it's more thorough, in what circumstances might you not want to do that? Maybe in a sensitive production system?

Thanks HoaS! 

and @ eraph, yea I had the same question....I suppose that the update/upgrade option gives you more flags and options to keep/withhold and customize what packages are pulled etc.. Probably something to do with the granularity of the upgrade process, if i had to guess


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#5 2016-04-04 10:53:55

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: Debian 8.4 released

@HoaS - you reminded me that I've been getting lazy.  I usually do an 'up2'** at least once a week ... it's been a bit longer now  sad  Thank you.

@ Eraph & Horizon_Brave - et al

From man apt-get: bold italics mine

update

update is used to resynchronize the package index files from their sources. The indexes of available packages are fetched from the location(s) specified in /etc/apt/sources.list. For example, when using a Debian archive, this command retrieves and scans the Packages.gz files, so that information about new and updated packages is available. An update should always be performed before an upgrade or dist-upgrade. Please be aware that the overall progress meter will be incorrect as the size of the package files cannot be known in advance.

upgrade

upgrade is used to install the newest versions of all packages currently installed on the system from the sources enumerated in /etc/apt/sources.list. Packages currently installed with new versions available are retrieved and upgraded; under no circumstances are currently installed packages removed, or packages not already installed retrieved and installed. New versions of currently installed packages that cannot be upgraded without changing the install status of another package will be left at their current version. An update must be performed first so that apt-get knows that new versions of packages are available.

dist-upgrade

dist-upgrade in addition to performing the function of upgrade, also intelligently handles changing dependencies with new versions of packages; apt-get has a "smart" conflict resolution system, and it will attempt to upgrade the most important packages at the expense of less important ones if necessary. The dist-upgrade command may therefore remove some packages. The /etc/apt/sources.list file contains a list of locations from which to retrieve desired package files. See also apt_preferences(5) for a mechanism for overriding the general settings for individual packages.

Therefore:

  1. upgrade - better suited for 'stable' releases

  2. dist-upgrade - better suited for

    • testing, SID

    • upgrading between stable versions: from Debian 6 to Debian 7 or Debian 7 to Debian 8, etc.

Or at least that is my understanding of how it works.

===
**

  alias up2='echo "sudo apt update && sudo apt upgrade --no-install-recommends" && sudo apt update && sudo apt upgrade --no-install-recommends && echo "" && echo "sudo update-pepperflashplugin-nonfree --install ..." && sudo update-pepperflashplugin-nonfree --install'

BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#6 2016-04-04 16:49:07

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Debian 8.4 released

I've never needed to use `dist-upgrade` in my BunsenLabs systems so far.

It is very rare that packages are ever removed (or replaced) in Debian stable so a simple `apt upgrade` should be all that is needed.

Always read the command output though, APT feeds back lots of useful information to the terminal.

EDIT: the only time running a `dist-upgrade` will cause a problem is if the system is a FrankenDebian running mixed sources with inappropriate pinning.

Last edited by Head_on_a_Stick (2016-04-04 16:51:40)


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#7 2016-04-05 07:37:07

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 909
Website

Re: Debian 8.4 released

Jessie stable never asked me for a "dist-upgrade".

Safely i upgraded from 8.1 to 8.2, 8.3 and 8.4 using only "apt-update/upgrade".

Nili

Last edited by Nili (2016-04-05 07:58:16)


Devuan | Fluxbox
---
Nothing beats peace and quiet - Tomoki Sakurai

Offline

#8 2016-04-05 09:50:41

vasa1
Member
Registered: 2015-09-29
Posts: 176

Re: Debian 8.4 released

Head_on_a_Stick wrote:

I've never needed to use `dist-upgrade` in my BunsenLabs systems so far.
...

What about kernel updates? Do you get those with `apt upgrade`?`


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#9 2016-04-05 12:42:22

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: Debian 8.4 released

^  What's the latest kernel with Debian 8.4?

I have:

System:    Host: bunsen Kernel: 3.16.0-4-amd64 x86_64 (64 bit gcc: 4.8.4) Desktop: Openbox 3.5.2 dm: lightdm
           Distro: BunsenLabs 8.4 bunsen-hydrogen

... after doing:

sudo apt update && sudo apt upgrade --no-install-recommends

BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#10 2016-04-05 13:41:11

vasa1
Member
Registered: 2015-09-29
Posts: 176

Re: Debian 8.4 released

What if you do a mock `dist-upgrade` using `sudo apt-get update && sudo apt-get -s dist-upgrade`?


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#11 2016-04-05 13:44:24

damo
....moderator....
Registered: 2015-08-20
Posts: 5,057

Re: Debian 8.4 released

vasa1 wrote:

What if you do a mock `dist-upgrade` using `sudo apt-get update && sudo apt-get -s dist-upgrade`?

Try it and see?


Be Excellent to Each Other...

FORUM RULES and posting guidelines «» Help page for forum post formatting
Artwork on DeviantArt  «» BunsenLabs on DeviantArt

Offline

#12 2016-04-05 14:02:20

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 909
Website

Re: Debian 8.4 released

Sector11 wrote:

^  What's the latest kernel with Debian 8.4?

mine it shown as

Linux debian 3.16.0-4-686-pae #1 SMP Debian 3.16.7-ckt25-1 (2016-03-06) i686 GNU/Linux

Devuan | Fluxbox
---
Nothing beats peace and quiet - Tomoki Sakurai

Offline

#13 2016-04-05 14:13:50

vasa1
Member
Registered: 2015-09-29
Posts: 176

Re: Debian 8.4 released

damo wrote:
vasa1 wrote:

What if you do a mock `dist-upgrade` using `sudo apt-get update && sudo apt-get -s dist-upgrade`?

Try it and see?

I use `apt-get dist-upgrade` all the time.

Start-Date: 2016-04-05  19:31:23
Commandline: apt-get dist-upgrade
Install: linux-image-extra-3.13.0-85-generic:amd64 (3.13.0-85.129, automatic), linux-image-3.13.0-85-generic:amd64 (3.13.0-85.129, automatic), linux-headers-3.13.0-85-generic:amd64 (3.13.0-85.129, automatic), linux-headers-3.13.0-85:amd64 (3.13.0-85.129, automatic)
Upgrade: linux-headers-generic:amd64 (3.13.0.83.89, 3.13.0.85.91), linux-image-generic:amd64 (3.13.0.83.89, 3.13.0.85.91), linux-generic:amd64 (3.13.0.83.89, 3.13.0.85.91)
End-Date: 2016-04-05  19:32:52

Last edited by vasa1 (2016-04-05 14:15:03)


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#14 2016-04-05 16:16:52

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: Debian 8.4 released

Well, looks like Kernel: 3.16.0-4-something is the winner for Debian 8.4 - except for vasa1's 3.13.0-85-generic:amd64


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#15 2016-04-05 16:43:15

Horizon_Brave
Operating System: Linux-Nettrix
Registered: 2015-10-18
Posts: 1,473

Re: Debian 8.4 released

Where did this kernel talk come from ? Was the linux kernel updated prior to this 8.4 debian update?  I'm also at 3.16.0-4

Last edited by Horizon_Brave (2016-04-05 16:43:36)


"I have not failed, I have found 10,000 ways that will not work" -Edison

Offline

#16 2016-04-05 17:09:45

vasa1
Member
Registered: 2015-09-29
Posts: 176

Re: Debian 8.4 released

Horizon_Brave wrote:

Where did this kernel talk come from ? Was the linux kernel updated prior to this 8.4 debian update?  I'm also at 3.16.0-4

I'm not using BL. Mine is Lubuntu 14.04 LTS. I was curious to know how people on BL got kernel updates without using `apt-get dist-upgrade` or `apt full-upgrade`.


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#17 2016-04-05 17:52:49

Sector11
The Tpyo Knig Mod
From: 77345 ¡#
Registered: 2015-08-20
Posts: 5,528

Re: Debian 8.4 released

Well, here's a clipping from a screenshot from last Oct (2015)
2016_04_05_14_49_04_Scrot11.jpg
So Kernel: 3.16.0-4-something has been with us since Debian 8.1.


BunsenLabs Forum Rules ---== I'm a Conky 1.9'er ==---
System:    Host: d67 Kernel: 4.9.0-9-amd64 x86_64 (64 bit gcc: 6.3.0)
Desktop: Openbox 3.6.1 Distro: Debian GNU/Linux 9 (stretch)

Offline

#18 2016-04-05 18:08:39

xaos52
The Good Doctor
From: Planet of the @pes
Registered: 2015-09-30
Posts: 695

Re: Debian 8.4 released

It is the Debian  way.
When a new stable is released, they pick a kernel version for it, and stick with that until a new stable is released.
Kernel bug fixes are applied to the chosen kernel version.

Offline

#19 2016-04-05 20:39:40

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Debian 8.4 released

vasa1 wrote:

What about kernel updates? Do you get those with `apt upgrade`?`

Yes, kernel upgrades go through just fine.

The jessie kernel has been updated several times but only with fixes for security vulnerabilities and serious bugs, no new features are introduced to exclude the risk of regressions which may bring down mission critical systems.

To see the full kernel version, use `uname -a`

vasa1 wrote:

sudo apt-get -s dist-upgrade

The "-s" flag does not need root permissions to run wink


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#20 2016-04-06 00:00:44

vasa1
Member
Registered: 2015-09-29
Posts: 176

Re: Debian 8.4 released

Head_on_a_Stick wrote:
vasa1 wrote:

What about kernel updates? Do you get those with `apt upgrade`?`

Yes, kernel upgrades go through just fine.
...

Interesting that apt upgrade does the job. I'm going to wait a while before using `apt` over `apt-get`. Lubuntu 14.04 still has apt 1.0 whereas the shiniest version seems to be 1.2.9 (which will be provided with 16.04).

Head_on_a_Stick wrote:
vasa1 wrote:

sudo apt-get -s dist-upgrade

The "-s" flag does not need root permissions to run wink

Yes, but I usually run it (and install and purge) like that, and then reload the command and delete `-s` twice rather than have to type `sudo` twice. I also wonder about the little message about it being a simulation and hence an approximation but haven't been burned so far.

Edit:

I went back and read `man apt` for my system:

       upgrade
           upgrade is used to install the newest versions of all packages
           currently installed on the system from the sources enumerated in
           /etc/apt/sources.list. New package will be installed, but existing
           package will never removed.

       full-upgrade
           full-upgrade performs the function of upgrade but may also remove
           installed packages if that is required in order to resolve a package
           conflict.

So `apt upgrade` is significantly different than `apt-get upgrade` in that new packages (such as kernels) will be installed by the former but not by the latter.

Last edited by vasa1 (2016-04-06 02:00:57)


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#21 2016-04-06 07:16:46

Head_on_a_Stick
Member
From: London
Registered: 2015-09-29
Posts: 8,759
Website

Re: Debian 8.4 released

vasa1 wrote:

So `apt upgrade` is significantly different than `apt-get upgrade` in that new packages (such as kernels) will be installed by the former but not by the latter.

I don't think so, the actions appear to be identical (unlike aptitude(8) despite the same syntax), at least in respect of kernel upgrades.

@Nili uses `apt-get upgrade` (I think) and his kernel was upgraded.


“Et ignotas animum dimittit in artes.” — Ovid, Metamorphoses, VIII., 18.

Forum Rules   •   How to report a problem   •   Software that rocks

Offline

#22 2016-04-06 12:08:58

vasa1
Member
Registered: 2015-09-29
Posts: 176

Re: Debian 8.4 released

Does anyone know of an up-to-date cheatsheet on apt v/s apt-get? I've read the man page for apt version I have which is 1.0. I've also looked at the online man page for apt 1.2.9 available here: http://manpages.ubuntu.com/manpages/xen … apt.8.html.

The apt/apt-get mailing list seems to be here: https://lists.debian.org/deity/


Using the Openbox (3.5.2) session of Lubuntu 14.04 LTS but very interested in BL :)

Offline

#23 2016-04-06 12:20:36

Nili
Member
From: $HOME/♫♪
Registered: 2015-09-30
Posts: 909
Website

Re: Debian 8.4 released

Head_on_a_Stick wrote:

@Nili uses `apt-get upgrade` (I think) and his kernel was upgraded.

Correctly true H_o_a_S, i use "apt-get update" and after "apt-get upgrade" The Debian stable way...

It seems that i mistook the cmd above, sorry for the confusion.

Infact, i use a customized bash alias

alias update="sudo apt-get update"
alias upgrade="sudo apt-get upgrade"

so, i only perform "update" and "upgrade"

Nili


Devuan | Fluxbox
---
Nothing beats peace and quiet - Tomoki Sakurai

Offline

#24 2016-04-06 12:52:55

tknomanzr
BL Die Hard
From: Around the Bend
Registered: 2015-09-29
Posts: 1,029

Re: Debian 8.4 released

I don't think so, the actions appear to be identical (unlike aptitude(8) despite the same syntax), at least in respect of kernel upgrades.

@Nili uses `apt-get upgrade` (I think) and his kernel was upgraded.

^ This. Apt is intended to be a front end for apt-get.  It supports a large section of apt-get's commands that are used on a daily basis. More specialized stuff may require apt-get, however. I have used it quite extensively and can say it provides identical functionality with better feedback than apt-get for most use cases. It will complain when used in scripts because Debian still considers it a moving target in terms of its code base, but it does work.

Offline

Board footer

Powered by FluxBB