instalation problem

Tom Davies tomcecf at gmail.com
Sun Dec 7 11:05:06 UTC 2014


Hi :)
I tend to try either of these 2 methods.

1.  try

sudo apt-get check
sudo apt-get update
sudo apt-get upgrade

Maybe finish up with
sudo apt-get dist-upgrade

During all that you might get some error messages that give you other
things to paste into the command-line.  Use mouse right-clicks to copy from
or paste to the command-line because normal keyboards short-cuts don't work
(unless you add the shift key into the combo for the command-line).
Typically you might need things like;

sudo dpkg --configure -a

You might find you have downloaded so much stuff that you need to clear
some of it with things like;

sudo apt-get clean
sudo apt-get autoclean
sudo apt-get autoremove
sudo apt-get remove

Note that the keyboard up-arrow brings back the last command which can help
reduce the amount of typing needed in a set of commands like that.  Ctrl
left or right jumps a whole word at a time which can make it even easier.
It is also good to do those 4 commands after successfully upgrading and
even after just installing something new to your machine.  They de-clutter
quite a lot and frees-up quite a bit of hard-drive space.  Rebooting
sometimes helps too, especially if you get stuck with a "3 packages need
upgrading but haven't been upgraded this time" because those 3 tend to be
kernel modules or "headers".

Those sorts of commands to de-clutter or fix things often mean you might
have to re-download quite a bit of stuff when you try to complete the
process with;

sudo apt-get upgrade
sudo apt-get dist-upgrade
sudo apt-get check


2.   So i tend to avoid all that by just reinstalling Ubuntu (or
whatever).  This technique also works when moving from Mint to Ubuntu or
the other way around.  Most of the Ubuntu 'clones' or forks or respins or
whatever all seem to offer this choice although i've not seen it with
unrelated distros.  It can also be used to go backwards, to install older
versions of Ubuntu - for example if 14.04 can't cope with your graphics
card then going back to the 12.04 is often the easiest way to get back to a
working system.

The CRUCIAL bit of this method is that when you get to the section that
asks about "Partitioning" or "how to split up your hard-drive" then choose
"Manual" or "Advanced", in one release they even called it "Something
else".  This allows you to choose existing partitions.  MAKE SURE you do
NOT format any of the partitions (except swap will be forced to reformat
but that one is ok).

Formatting partitions wipes out any data and settings stored on the
partition that gets formatted.  Ubuntu allows a new install to keep all the
data as long as you can make sure the partitions DO NOT get formatted.

The *buntu installer even seems to be clever enough to spot some of the old
programs you had installed and reinstalls them for you.  I think that is
fairly new though because i used to reinstall tons of things (such as Gimp,
Vlc, Xbmc and various web-browsers (i do web-design so it's good to see how
my code looks in other web-browsers))


I used to use a separate /home partition that would be shared between all
different distros and all different versions on my machine but over the
last couple of years i have just kept that as a data partition rather than
also using it for all my settings and configs.


Of course it is always best to back-up your crucial data, films, documents,
photos etc onto a separate hard-drive that you can unplug before starting
this sort of thing (upgrading or reinstalls or any partition editing).   So
that if you have some accident then at least you know your stuff is safe.
At work i have one hard-drive that i can move from one machine to another,
but i often just back-up to the file-server instead.

I hope something here helps!
Regards from
Tom :)


On 6 December 2014 at 18:12, Alberto Salvia Novella <es20490446e at gmail.com>
wrote:

> Muhammed Haseeb:
>
>> when updating ubuntu to14.4 power suppply is offed .so some error comes
>> how will clear these erors..
>>
>
> You can find help on that at <http://community.ubuntu.com/
> help-information/>.
>
>
>
>
> --
> ubuntu-doc mailing list
> ubuntu-doc at lists.ubuntu.com
> https://lists.ubuntu.com/mailman/listinfo/ubuntu-doc
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.ubuntu.com/archives/ubuntu-doc/attachments/20141207/01c0d055/attachment-0001.html>


More information about the ubuntu-doc mailing list