How to uninstall lock package

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.

How to uninstall lock package

Postby xpris » Sep 19th, '11, 13:25

Hi folks.
How can I uninstall a package that is blocked?
Previously, I was able to uninstall it and install again the same or different. And now it is locked.

I have two packages:
Code: Select all
[x @ localhost ~] $ su
Password:
[root @ localhost x] # urpme kernel-firmware-extra-20110817-1.mga2.nonfree
remove kernel-firmware-extra-20110817-1.mga2.nonfree.noarch
Removing Failed:
         kernel-firmware-extra is needed by (installed) kernel-firmware-20110904-1.noarch
[root @ localhost x] # urpme kernel-firmware-20110904-1
Removing the following package will damage the system:
   basesystem-1-3.mga1.x86_64
    (due to missing kernel)
[root @ localhost x] #


Let me add that I tried to update these packages, but I could not do this. However before I could uninstall it without problems, and update.

Is something blocked? How does it solve?
User avatar
xpris
 
Posts: 32
Joined: Aug 7th, '11, 13:59
Location: Poland - Zamość

Re: How to uinstall lock package

Postby doktor5000 » Sep 19th, '11, 14:03

Would be more of help why you tried to update it and to what you tried to update to?

In general, if you want to reinstall a package, use
Code: Select all
urpmi --replacepkgs somepackage
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: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to uinstall lock package

Postby xpris » Sep 19th, '11, 17:00

I want to uninstall the package.
I worked in the Cauldron, and work well. Unfortunately fsck spoiled some files and I had to install from scratch. The newly found that introduced amendments to the kernel-firmware and firmware-extra which, together with the new kernel does not work well with my usb wifi card.
User avatar
xpris
 
Posts: 32
Joined: Aug 7th, '11, 13:59
Location: Poland - Zamość

Re: How to uinstall lock package

Postby doktor5000 » Sep 19th, '11, 19:04

So you want to replace it with an older version, if i understood correctly?
You can install an older version of the package with
Code: Select all
rpm --oldpackage somepackage


If you only want to remove it (and if you're really sure you don't need it anymore!)
you can do so with
Code: Select all
rpm -e --nodeps somepackage


BTW: have you created a bugreport for the issue with your wifi adapter?
Maybe more people are hit by this ...
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: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany

Re: How to uinstall lock package

Postby xpris » Sep 23rd, '11, 19:14

Hi, I'm sorry for late.

Ok, I use comand
Code: Select all
rpm -e --nodeps

I uinstall this two package. And next i installed
Code: Select all
kernel-firmware-20110703 and kernel-firmware-extra-20110817-1

Unfortunately, I have further problems.

Ok, i have in system these two packages which I have given above and Linux kernel 3.0.4.
When you reboot the system, starts automatically connected to the Internet, but it only lasts four seconds. And then the connection is dropped. Then I can not make it again.

On the kernel line kernel 2.6 with kernel firmware and firmware extra - the default dysta (Mageia 1) internet works without problems.
Also acted in the Cauldron, then I had a 3.0.1 linux kernel and kernel-firmware-extra-20110817-1.mga2.nonfree - worked without problems.
Unfortunately, after the failure of the system had to install the system again and I did not have the possibility of installing the same package I had, only newer. And they apparently do not work correctly with my USB WiFi adapter TP-Link TL WN722M.

Does anyone know how to solve?
User avatar
xpris
 
Posts: 32
Joined: Aug 7th, '11, 13:59
Location: Poland - Zamość

Re: How to uinstall lock package

Postby doktor5000 » Sep 23rd, '11, 19:31

Maybe you should not run Cauldron if you're not up the the problems which that brings?
If Mageia 1 works, use that and don't experiment too much on the packages ;)
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: 18054
Joined: Jun 4th, '11, 10:10
Location: Leipzig, Germany


Return to Advanced support

Who is online

Users browsing this forum: No registered users and 1 guest