Choose style:

Author Topic: Post-Installation update, upgrade and dist-upgrade  (Read 4372 times)

0 Members and 1 Guest are viewing this topic.

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Post-Installation update, upgrade and dist-upgrade
« on: February 01, 2015, 03:35:17 am »
Hi everyone, how's it going? After you have initially installed Peppermint, you need to run a post-installation update and upgrade.  Running these simple commands can and will in many cases resolve the little niggling issues a fresh installation can throw at you.  Since the time when your installation ISO was originally created, the kernel and the supplied software packages will have gone through several upgrades.  Peppermint, like other Linux distributions is a very dynamic and rapidly evolving operating system.  Consequently, it needs to be kept as current as possible for optimal performance.   

Please open a terminal window with the following keystrokes: Ctrl+Alt+t.  Enter the following commands into the terminal window.

Tip:  Linux is case sensitive.  To reduce the possibility of typographical errors please use the Code: [Select] function below to highlight the contents. Click on the centre mouse button/wheel while in the terminal window to paste the contents.  Note: For enhanced security, passwords are entered invisibly.  There is NO indication of any user input.  You may enter an incorrect password 3 times before you have to repeat the action you are trying to execute.

Code: [Select]
apt update && apt upgrade
Hit enter and enter your user password when asked.  Follow the on screen instructions.  After this has completed, continue with:
Code: [Select]
apt dist-upgrade
Hit enter and enter your user password if asked.  Follow the on screen instructions.  This last process can take a long time depending on your machine's performance.  You may be asked to re-enter your user password again during the dist-upgrade process.  Again, this depends on your machine's performance.  Its a good time to get a cup of coffee or tea  - a slice of cake maybe ;D.

After the upgrade has completed, reboot your machine because it is highly likely that there will be kernel upgrades.  Now that this is completed, everything is up to date and your software is synced.  Hopefully, any issues you were experiencing will now be resolved.   I hope this helps - have fun  ;)!
« Last Edit: May 12, 2016, 09:59:11 am by AndyInMokum »
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline 10i

  • Trusted User
  • Member
  • *****
  • Posts: 481
  • Karma: 129
  • Peppermint Enthusiast
    • View Profile
    • My Peppermint Blog
  • Peppermint version(s): Peppermint 10 - 64 bit
Re: Post-Installation update, upgrade and dist-upgrade
« Reply #1 on: April 12, 2015, 10:23:00 am »
Hi Andy,

Well written and very useful.

Thanks for taking the time to write this.
Running Peppermint 8- 64 bit on my Lenovo i3 laptop.

View my Linux blog:  http://myiceadventure.blogspot.com

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1916
  • Karma: 415
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: Post-Installation update, upgrade and dist-upgrade
« Reply #2 on: April 12, 2015, 12:29:17 pm »
Hi Andy just out of curiosity I've always been meaning to ask you this because I notice you use it all the time but what does the -y delimiter do ?





Graeme
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline rjm65

  • Veteran
  • ****
  • Posts: 1004
  • Karma: 300
  • I have Peppermint Fresh Breath. :P
    • View Profile
  • Peppermint version(s): Win-98 /Win-7/ Peppermint 9
Re: Post-Installation update, upgrade and dist-upgrade
« Reply #3 on: April 12, 2015, 12:32:18 pm »
pretty sure it stops you from having to enter yes or Y before preceding it forces it to just go and run...
Robert
Peppermint 9 User

Gateway Solo 9300 Pro
IBM T40

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1916
  • Karma: 415
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: Post-Installation update, upgrade and dist-upgrade
« Reply #4 on: April 12, 2015, 12:54:33 pm »
Quote
pretty sure it stops you from having to enter yes or Y before preceding it forces it to just go and run...

Thank you  rjm65 that makes sense :)



Graeme
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Post-Installation update, upgrade and dist-upgrade
« Reply #5 on: April 12, 2015, 03:42:42 pm »
Yeah, that's exactly what it does.  It's really good If you know you are going to install/remove a package.   It's also good with upgrades and autoremove too.  It cuts out the middleman  :D.
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline emegra

  • Global Moderator
  • Veteran
  • *****
  • Posts: 1916
  • Karma: 415
  • New Forum User
    • View Profile
  • Peppermint version(s): Peppermint 9 64bit
Re: Post-Installation update, upgrade and dist-upgrade
« Reply #6 on: April 12, 2015, 04:07:32 pm »
Ok thank you for the explanation Andy





Graeme
If you can keep your head while all around are losing theirs then you're not quite grasping the situation

Offline AndyInMokum

  • Global Moderator
  • Hero
  • *****
  • Posts: 4808
  • Karma: 1013
  • "Keep on Rockin' in the Free World"
    • View Profile
  • Peppermint version(s): PM 9 & PM 8 Respin-2 (64-bit)
Re: Post-Installation update, upgrade and dist-upgrade
« Reply #7 on: April 12, 2015, 04:16:44 pm »
Ok thank you for the explanation Andy

It's my pleasure  ;).
Backup! Backup! Backup! If you're missing any of these -  you ain't Backed Up!
For my system info please L/click HERE.

Offline PCNetSpec

  • Administrator
  • Hero
  • *****
  • Posts: 26310
  • Karma: 2855
  • "-rw-rw-rw-" .. The Number Of The Beast
    • View Profile
    • PCNetSpec
  • Peppermint version(s): Peppermint 10
Re: Post-Installation update, upgrade and dist-upgrade
« Reply #8 on: April 12, 2015, 09:13:16 pm »
Man (manual) pages for a given command are always a good place to look
Code: [Select]
man apt-get
and you'll see the -y option can be used as the short -y the long --yes or even --assume-yes and an explanation of what the option does:-
Quote from: man apt-get
       -y, --yes, --assume-yes
           Automatic yes to prompts; assume "yes" as answer to all prompts and
           run non-interactively. If an undesirable situation, such as
           changing a held package, trying to install a unauthenticated
           package or removing an essential package occurs then apt-get will
           abort. Configuration Item: APT::Get::Assume-Yes.

Hint - short versions can be grouped together after a single hyphen without spaces, so if you wanted to add the --simulate --quiet and --assume-yes options, for the long versions you'd need to do
apt-get --simulate --quiet --assume-yes <package>
but the short version can be used as either
apt-get -s -q -y <package>
or
apt-get -sqy <package>

More than was asked, but I figured there might be something useful in there.
« Last Edit: April 12, 2015, 09:14:51 pm by PCNetSpec »
WARNING: You are logged into reality as 'root' .. logging in as 'insane' is the only safe option.

Team Peppermint
PCNetSpec