Installation question and uninstallable packages

This forum is dedicated to advanced help and support :

Ask here your questions about advanced usage of Mageia. For example you may post here all your questions about network and automated installs, complex server configurations, kernel tuning, creating your own Mageia mirrors, and all tasks likely to be touchy even for skilled users.

Installation question and uninstallable packages

Postby TeraKnewKnothing » Jun 27th, '16, 04:46

Hello,

I just recently upgraded from Mandriva One 2010 to Mageia1.

Most of the upgrade was seamless.

However before I "continue anyway" ( see below )

I would like know how to remedy the following errors in the upgrade. Here is the list of uninstallable packages.

Code: Select all
urpmi --auto-update
medium "Core Release" is up-to-date
medium "Core Updates" is up-to-date
medium "Nonfree Release" is up-to-date
medium "Nonfree Updates" is up-to-date
Some requested packages cannot be installed:
gurpmi-6.40.3-1.mga1.noarch (in order to keep gurpmi-6.68-6.3-mdv2011.0.noarch)
perl-URPM-3.38.1-1.mga1.i586 (in order to keep perl-URPM-4.37-1-mdv2011.0.i586)
perl-URPM-3.38.1.1-2.mga1.i586 (in order to keep perl-URPM-4.37-1-mdv2011.0.i586)
perl-URPM-3.38.1.2-2.mga1.i586 (in order to keep perl-URPM-4.37-1-mdv2011.0.i586)
python-rpm-4.8.1-10.4.mga1.i586 (in order to keep python-rpm-5.3.12-0.20110712.2.2-mdv2011.0.i586)
python-rpm-4.8.1-10.5.mga1.i586 (in order to keep python-rpm-5.3.12-0.20110712.2.2-mdv2011.0.i586)
rpm-4.8.1-10.2.mga1.i586 (in order to keep rpm-5.3.12-0.20110712.2.2-mdv2011.0.i586)
rpm-4.8.1-10.3.mga1.i586 (in order to keep rpm-5.3.12-0.20110712.2.2-mdv2011.0.i586)
rpm-4.8.1-10.4.mga1.i586 (in order to keep rpm-5.3.12-0.20110712.2.2-mdv2011.0.i586)
rpm-4.8.1-10.5.mga1.i586 (in order to keep rpm-5.3.12-0.20110712.2.2-mdv2011.0.i586)
urpmi-6.40.1-1.mga1.noarch (in order to keep urpmi-6.68-6.3-mdv2011.0.noarch)
urpmi-6.40.3-1.mga1.noarch (in order to keep urpmi-6.68-6.3-mdv2011.0.noarch)
webkit1.0-1.2.7-4.mga1.i586 (in order to keep webkit1.0-1.4.2-0.2-mdv2011.0.i586)
Continue installation anyway? (Y/n)
Last edited by doktor5000 on Jun 28th, '16, 22:14, edited 1 time in total.
Reason: added code tags
TeraKnewKnothing
 
Posts: 9
Joined: Jun 23rd, '16, 16:57

Re: Installation question and uninstallable packages

Postby TeraKnewKnothing » Jun 27th, '16, 05:26

I see now that the updated versions are already installed just fine on my Mageia1 upgrade. No problem there.

Can anyone suggest what the upgrade from Mageia1 to the latest version should be? I see that Mageia5 is the latest.

Thanks.
TeraKnewKnothing
 
Posts: 9
Joined: Jun 23rd, '16, 16:57

Re: Installation question and uninstallable packages

Postby benmc » Jun 27th, '16, 07:07

Hello again,

upgrade path would normally be Mga1 => Mga2 => Mga3 etc.
However, Mageia changed init system to systemd between Mga2 and Mga3, which "may" cause issues if you use this upgrade path.
Try first a Live of Gnome or KDE, just to be sure that all of your hardware is supported.

So, I would suggest that if you have a separate / and /home, do not upgrade, but format / and a new install of Mga5 to your / and do not format /home.

First (golden rule): back up your important data.

regards

Benmc
benmc
 
Posts: 1205
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Installation question and uninstallable packages

Postby TeraKnewKnothing » Jun 27th, '16, 08:07

Benmc,

I'm just now returning to Linux after a long hiatus. I'm not as up to speed on files and directories as I once was so I need to be sure I am not going to torch my installation:)


I log in as user "jerry"

At the command prompt is

[jerry@localhost /]$


if I do "ls"

this if the command line result

bin/ boot/ dev/ etc/ home/ initrd/ lib/ lost+found/ media/ mnt/ Module.symvers null opt/ proc/ root/ run/ sbin/ selinux/ sys/ tmp/ usr/ var/

so, I am assuming I do have a

/ and a /home directory as user jerry.

However, formatting anything I know is risky.

Am I on track to follow your advice to set up a mageia5 frest install on a "/" location?

Sorry for my basic question here but as I said I just don't want to lose everything.
TeraKnewKnothing
 
Posts: 9
Joined: Jun 23rd, '16, 16:57

Re: Installation question and uninstallable packages

Postby Ken-Bergen » Jun 27th, '16, 09:19

Try
Code: Select all
df
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Installation question and uninstallable packages

Postby benmc » Jun 27th, '16, 11:56

or if you prefer a graphical display

in a terminal
Code: Select all
drakdisk

you will need to enter your root password at the prompt, then read the notice and "continue"

you should be presented with something similar to:
partitions.png
partitions.png (35.63 KiB) Viewed 2301 times

as you can see I have 5 HDD ( tabs sda-sde) and sdb is divided into 4 partitions, a blue one, /swap, / and /home.
as you have windows you may also have one or two under /mnt/windows_C (and or _D).

This is the partitioning tool, exit with: Alt+F4, (x) top right, or from the top left HDD icon, "close", to prevent any changes.

/ is your system partition, where all the important system files are placed, the kernel, drivers, program libraries, etc.
/home is for your data, configuration files, downloaded "stuff", etc. normally no program files reside here.
benmc
 
Posts: 1205
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Installation question and uninstallable packages

Postby TeraKnewKnothing » Jun 27th, '16, 16:53

Please see attached image if drakdisk
I probably need to add a partition?
in order to have a home for mageia5?

Thanks
Attachments
partitioniing.png
My partitioning
partitioniing.png (74.25 KiB) Viewed 2285 times
TeraKnewKnothing
 
Posts: 9
Joined: Jun 23rd, '16, 16:57

Re: Installation question and uninstallable packages

Postby benmc » Jun 27th, '16, 22:15

You have a "/" and a "/home".

So, what is on "/home" that you cannot live without?
You will need to back this info up to portable media, just to be safe.
Also note the "sda#" of your existing "/" and "/home". You will need this info for installation.
You may need to go back to "drakdisk" for this. Just click the partition with the mouse and the info will be displayed in the "details" window.
If you can live without it, you can safely reformat during installation.

The installer partitioner is the same as the one you have just had a look at.
It has several options at installation.

I mostly use options "use existing partitions" or "custom disk partitioning".
Both will present a list of partitions and you choose where to put "/" and "/home".
The "use existing partitions" requires that you know your partition order as it just presents the partitions in a drop-down type list.
"Custom disk partitioning" presents the graphic you have displayed above.
This option allows you to delete or resize existing partitions or create new partitions.
You have currently have no room for a new partition, unless you shrink your C:\ drive.
If you chose your existing "/" as "/" and "/home" as "/home",(use the sda# to be sure) you will then, at the next screen you will prompted to choose which partitions to format: "/" and "/home."
If you choose to format just "/", "/home" will not be formatted. (if there is nothing on "/home" to keep, it would be best to reformat it)

There is a downside if you do not reformat "/home". As some widgets have been dropped or superseded with others, some desktop widgets from Mandriva/Mageia1 may no longer work.

The upside is all your data is undisturbed.

Good luck
benmc
 
Posts: 1205
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand

Re: Installation question and uninstallable packages

Postby Ken-Bergen » Jun 27th, '16, 23:32

While drakdisk is pretty it doesn't tell you how full your partitions are.
The output of
Code: Select all
df
will.
Ken
Ken-Bergen
 
Posts: 1019
Joined: Mar 30th, '11, 02:45
Location: Chilliwack, BC, Canada

Re: Installation question and uninstallable packages

Postby doktor5000 » Jun 28th, '16, 22:20

TeraKnewKnothing wrote:I just recently upgraded from Mandriva One 2010 to Mageia1.


Before you mentioned you wanted to migrate from 2011, and I mentioned in that thread, that only an upgrade from 2010.x is supported. Below quote shows that you tried to upgrade your 2011.0 install ...

TeraKnewKnothing wrote:gurpmi-6.40.3-1.mga1.noarch (in order to keep gurpmi-6.68-6.3-mdv2011.0.noarch

This cannot be fixed. As already suggested, keep your /home and reinstall using mga5 media.
Cauldron is not for the faint of heart!
Caution: Hot, bubbling magic inside. May explode or cook your kittens!
----
Disclaimer: Beware of allergic reactions in answer to unconstructive complaint-type posts
User avatar
doktor5000
 
Posts: 18020
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: Installation question and uninstallable packages

Postby TeraKnewKnothing » Jun 29th, '16, 10:22

Ok. Please see attachment.
From what you are saying I should use existing partition
/home. First backing it up, then format it and do the installation
Thank you all

The current size of /home is 24gb
The size of m5 is 83gb.
Is this going to be a problem?
Attachments
IMAG0181.jpg
This is the live m5 installation screen shot
IMAG0181.jpg (2.27 MiB) Viewed 2202 times
TeraKnewKnothing
 
Posts: 9
Joined: Jun 23rd, '16, 16:57

Re: Installation question and uninstallable packages

Postby benmc » Jun 29th, '16, 22:18

Hi TeraKnewKnothing

The "use free space" option indicates that your "OS" partition has 83G of space that the installer has determined is available for the installation, if you choose.
It will shrink your "OS" partition by that much.
It will not use your existing Linux partitions.

If you choose "use existing partitions", the installer will provide a table or dropdown list which will have the names [sda1-sda?] , the 3rd to last will be pre-selected as "/" and the last pre-selected as "/home", so you can confirm this is what you want.

If you choose "custom disk partitioning", you get to choose your locations for "/" and "/home", and "swap", which are likely the same as in the first image you posted in this thread.

best regards

Ben
benmc
 
Posts: 1205
Joined: Sep 2nd, '11, 12:45
Location: Pirongia, New Zealand


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest