Code: Select all
sudo aptitude update ; sudo aptitude -s full-upgrade
1. Backup your current filesystem. Run your usual backup, and maybe also clone your drive(s) (for fastest recovery).
2. Find your GRUB menu. Per
so I find my GRUB menu location withhttp://blog.linuxmint.com/?p=1949
> During the update you’ll be asked [...] where to install Grub.
> Answer with the location of your current Grub menu
Code: Select all
$ sudo find /boot -name 'menu.lst' | wc -l
0
$ sudo find /boot -name 'grub.cfg' | wc -l
1
$ sudo find /boot -name 'grub.cfg'
/boot/grub/grub.cfg
$ df -h $(sudo find /boot -name 'grub.cfg')
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 462M 58M 381M 14% /boot
so JIC I check to see that I've got the correct repos withhttp://blog.linuxmint.com/?p=1949
> Before you apply the updates for Update Pack 4, make sure
> you’re pointing to the correct repositories [...]
> Your APT [sources.list should] look like this:
> > deb http://packages.linuxmint.com/ debian main upstream import
> > deb http://debian.linuxmint.com/latest testing main contrib non-free
> > deb http://debian.linuxmint.com/latest/security testing/updates main contrib non-free
> > deb http://debian.linuxmint.com/latest/multimedia testing main non-free
Code: Select all
$ less /etc/apt/sources.list
so I dohttp://blog.linuxmint.com/?p=1949
> If you see an update for "mintupdate-debian", accept it
Code: Select all
$ sudo aptitude install mintupdate-debian
Code: Select all
$ gksudo mintupdate &
7. In mintupdate, install updates. Perhttp://blog.linuxmint.com/?p=1949 (point 4 added by me)
> 1. Click on the "Update Pack Info" button
> 2. Make sure "Your system configuration" shows up as green
> and doesn’t show any warnings or errors
> 3. If you see a warning or an error, follow the instructions given
> and repeat the process until they’re gone.
> 4. In the "Update Pack Info" window, make sure to read all the information
> related to Update Pack 4. Some of it might be irrelevant to you, but
> it will only take you a minute and it might you save you hours.
8. mintupdate will put up a dialog for "Downloading Package Information", i.e. the package index files. One can click on the twistie (or the text) to "Show for individual files". This dialog may be misleading (in earlier versions of mintupdate): package info which is marked "failed" may simply have been ignored (i.e., like packages marked "Ign" when doing `aptitude update`). Note also that, on subsequent restarts of mintupdate, package information will be downloaded on startup, before you see the mintupdate UI.http://blog.linuxmint.com/?p=1949
> When you're ready and you know all that there is to know,
> press the "Install Updates" button.
9. The mintupdate UI comes up with (probably many, many--I get 1179) packages marked for upgrade. Press button="Install Updates" again. One of two things will happen:
9.1 You will get a slightly different dialog for "Downloading Package Files" as it attempts to download the packages themselves (not the indices).
9.2 mintupdate will silently die (perhaps because it can't contact the server?) If so, try again later.
10. If mintupdate begins "Downloading Package Files", click on the twistie (or the text) to "Show for individual files". For this dialog, failure (i.e., packages marked "Failed") are bad news: if mintupdate fails to download any, it will (after attempting all downloads) put up a dialog asking
Your safest response is to click button="No", cancel downloading, quit mintupdate, and try again when the update servers have less load. Note that your time will not have been wasted: packages which you have downloaded in the current session will not be subsequently re-downloaded. (Unless they change in the interim; detecting that is why the package indices, aka "package information" are always downloaded on each run of mintupdate.) You will see how many packages you have already downloaded when you restart: e.g., my last restart began with "Downloading file 949 of ..."Some of the packages could not be retrieved from the server(s).
Do you want to continue, ignoring these packages?
11. After all packages are downloaded, mintupdate will begin "Applying Changes" automatically. This can mostly proceed unattended: still, being a pessimist, I would still recommend clicking on the twistie (or the text) to show the console messages. Note that
11.1 mintupdate may want to replace system configuration files (mostly in /etc). When it does so, it will put up a dialog and wait, so check its progress periodically--every 5-15 minutes, depending on device speed.
11.2 You may encounter a problem with metapackage=mint-meta-common. If so, follow these instructions (recommended by zerozero).
12. I went away while mintupdate was running, and returned to find it ... gone. So be aware! The good news is, I reran
Code: Select all
$ gksudo mintupdate &
13. I restarted with no prompts and no errors. If your experience is not so good, check zerozero's advice in the next post in this thread.
14. Just to be sure, and because I normally run `aptitude`, after restart I ran
Code: Select all
$ sudo aptitude update ; sudo aptitude -s full-upgrade
Anything missing or incorrect?