Page 1 of 1

How to uninstall lock package

PostPosted: Sep 19th, '11, 13:25
by xpris
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?

Re: How to uinstall lock package

PostPosted: Sep 19th, '11, 14:03
by doktor5000
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

Re: How to uinstall lock package

PostPosted: Sep 19th, '11, 17:00
by xpris
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.

Re: How to uinstall lock package

PostPosted: Sep 19th, '11, 19:04
by doktor5000
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 ...

Re: How to uinstall lock package

PostPosted: Sep 23rd, '11, 19:14
by xpris
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?

Re: How to uinstall lock package

PostPosted: Sep 23rd, '11, 19:31
by doktor5000
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 ;)