LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   cannot update urpmi mandriva 2009 (https://www.linuxquestions.org/questions/linux-software-2/cannot-update-urpmi-mandriva-2009-a-695145/)

mini-p@mandrake 01-05-2009 12:28 PM

cannot update urpmi mandriva 2009
 
After installing and updating mandriva powerpack 2009 on my system i get stuck with two packets : mandriva-release-common-2009.0-0.11mdv2009.0
mandriva-release-Powerpack-2009.0-0.11mdv2009
Urpmi cant update them because its already installed and he wont delete them to install again
package mandriva-release-Powerpack-2009.0-0.11mdv2009.0.i586 is already installed


ive searched google for the problem but cannot find anything about it


please help

GlennsPref 01-05-2009 02:09 PM

Hi, I also have a few mandriva-release-xxxxxx-2009.0 packages installed.

If you really want the common package, using urpmi from a konsole/shell, type this...

urpmi --allow-nodeps --allow-force (package-name)

You don't say what the problem is,

any one of these lines will/should give you a version as output from a shell...

commands for knowing which linux is running, first and last ones...
Code:

lsb_release -a
cat /etc/redhat-release
cat /etc/*release*
cat /etc/*version*

What is the error you got before?

regards Glenn

business_kid 01-05-2009 02:44 PM

You have tried the obvious

1. run 'rpm --rebuilddb' as root
2. run some fancy gui package manager and search for them in the database.

Install them manually

rpm -ivh --force your.rpm

mini-p@mandrake 01-06-2009 12:03 PM

Hi guys thanks for reply sorry for not telling the problem
the problem is that the urpmi gui the red sign on the taskbar will not update or renew the packages mandriva-release-Powerpack - Mandriva release file for Powerpack and mandriva-release-common - Mandriva release common files​ hey says that they are already installed and the transaction has failed i keep the red sign in my taskbar and he wont update other packets to its getting anoying

GlennsPref 01-07-2009 12:00 AM

OK, if you have tried the above, remove them manually then re-install them.

use

rpm -e --nodeps --force (package name)

That will stop it from trying to remove/erase the deps as well. Which will be really long and will break your system.

Don't reboot.

Then re-install them.

Use the MCC software manager you mentioned above.

Hope that helps you, Glenn

business_kid 01-07-2009 02:59 PM

I think there's also a --dbonly option to rpm, which means it only updates the database.

man rpm is your friend have a pint and a notebook ready!

mini-p@mandrake 01-09-2009 03:06 AM

when i did the command rpm -e --nodeps --force mandriva-release-common-2009.0-0.11mdv2009.0.i586.rpm
he says this rpm: only installation, upgrading, rmsource and rmspec may be forced

GlennsPref 01-09-2009 08:36 AM

OK then, try to install the new ones over the old ones (as rpm suggests),

urpmi --allow-nodeps --allow-force (package name)

or rpm -Uvh (package-name) to update instead of Install.

That should do it.

Don't you get support from Mandriva with the power pack?

If so it's important to notify them, a bug may be rectified.

Regards, Glenn

I second the Pint!

teg4321 02-10-2009 12:53 PM

Thanks GlennsPref that helped me alot. I did as you said:

urpmi --allow-nodeps --allow-force mandriva-release-common

and it now works.

GlennsPref 02-10-2009 08:29 PM

Cool bananas!

Glad to help.

Cheers, Glenn


All times are GMT -5. The time now is 07:09 AM.