Choose style:

Author Topic: System Upgrading after Installation & Beyond [answered]  (Read 1261 times)

0 Members and 1 Guest are viewing this topic.

Offline starchase

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 1
  • New Forum User, Old Old Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
System Upgrading after Installation & Beyond [answered]
« on: January 24, 2015, 11:22:00 am »
Is one or the other a better way to upgrade one's system?

1)  From http://forum.peppermintos.com/index.php/topic,1417.msg12475.html#msg12475

Code: [Select]
apt update && apt upgrade -y
  and
Code: [Select]
apt dist-upgrade -y

or

2) from the Menu and going to the system upgrade choice (I'm not on the machine now so I don't have the exact path  :-[  sorry!

John
« Last Edit: January 24, 2015, 12:17:54 pm by starchase »
Asus Eee PC 1025C, Intel Atom N2600 Dual Core 1.6GHz, 1GB DDR3, 320 GB HDD, Peppermint 9

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2871
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: System Upgrading after Installation & Beyond
« Reply #1 on: January 24, 2015, 11:42:07 am »
The menu's "Software Updater" effectively runs:
Code: [Select]
sudo apt-get update && sudo apt-get dist-upgrade
it needs to run dist-upgrade so it can pull in updates that require dependencies to be installed.

"apt-get upgrade" can ONLY update packages that are already installed on your system

"apt-get dist-upgrade" can also install dependencies and/or intelligently resolve dependency issues

Here's an example...

If you run:
sudo apt-get upgrade
and there's an update for the package "linux-image-generic" it will attempt to pull in that kernel update, but inform you the ACTUAL new kernel packages have been held back .. the package "linux-image-generic" doesn't actually contain the new kernel, it's just an empty metapackage that pulls in the real kernel package as a dependency

sudo apt-get dist-upgrade
on the other hand will pull in the "linux-image-generic" package, and whilst doing so will also pull in dependencies listed in its control file .. which will list the ACTUAL new kernel package.

Clear as mud ?

"Software Updater" is probably the "preferred" method, but it's really up to you ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec

Offline starchase

  • Jr. Member
  • **
  • Posts: 54
  • Karma: 1
  • New Forum User, Old Old Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9
Re: System Upgrading after Installation & Beyond
« Reply #2 on: January 24, 2015, 12:17:37 pm »
Thanks!  I love mud!  :D
« Last Edit: January 24, 2015, 12:19:21 pm by starchase »
Asus Eee PC 1025C, Intel Atom N2600 Dual Core 1.6GHz, 1GB DDR3, 320 GB HDD, Peppermint 9

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26468
  • Karma: 2871
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: System Upgrading after Installation & Beyond [answered]
« Reply #3 on: January 24, 2015, 12:29:22 pm »
Are you an elephant, or just into multi user dungeon gaming ? ;)
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec