LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Fedora
User Name
Password
Fedora This forum is for the discussion of the Fedora Project.

Notices



Reply
 
Search this Thread
Old 08-25-2013, 02:41 PM   #1
hDUQUE
Member
 
Registered: Jan 2007
Posts: 76

Rep: Reputation: 15
remove selinux after yum crash


Hi guys,
i am recovering from a yum crash (updating fc18 to fc19) and after removing lots of duplicates, i can remove selinux-policy-targeted.noarch. I tried rpm -e --nodeps, yum update, package-cleanup --cleandupes, and always throws in this message:

Code:
  Cleanup    : selinux-policy-targeted.noarch                           153/168 
warning: file /etc/selinux/targeted/policy/policy.27: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/shutdown.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/rgmanager.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/pacemaker.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/l2tpd.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/isnsd.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/fcoemon.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/ctdbd.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/corosync.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/clamav.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/amavis.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/aisexec.pp: remove failed: No such file or directory

then,the removing process hungs up...

i also have rebuilded the rpm database, How can I remove that package ?

thanks in advance

hector
 
Old 08-25-2013, 03:24 PM   #2
John VV
Guru
 
Registered: Aug 2005
Posts: 13,481

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
How did you try to upgrade 18 to 19 ?
FedUp is the new tool and it replaced " preupgrade"

inplace upgrades are ALWAYS a "crap shoot"
prepare to do a New Clean install then do the upgrade
but if third party repos are used there might be incompatibles

so expect to do a new clean install every 6 months
but fedup just might work , you never know

Quote:
rpm -e --nodeps, yum update, package-cleanup --cleandupes
thaty is not the real command is it ?
you are telling rpm to uninstall yum but are using " ," comas in the command line ?
that will not work

please post the real command you are using and the error
 
Old 08-25-2013, 03:40 PM   #3
hDUQUE
Member
 
Registered: Jan 2007
Posts: 76

Original Poster
Rep: Reputation: 15
no, those were different commands,

forthis command:

Code:
package-cleanup --cleandupes
i got:

Code:
warning: file /etc/selinux/targeted/policy/policy.27: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/shutdown.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/rgmanager.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/pacemaker.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/l2tpd.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/isnsd.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/fcoemon.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/ctdbd.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/corosync.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/clamav.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/amavis.pp: remove failed: No such file or directory
warning: file /etc/selinux/targeted/modules/active/modules/aisexec.pp: remove failed: No such file or directory

and nothing else happens ... it hungs up ...


rpm -e --nodeps selinux-policy-targeted.noarch, throws into the same messages.

Code:
yum --releasever=19 distro-sync --skip-broken
Loaded plugins: fastestmirror, fs-snapshot, keys, langpacks, list-data, local,
              : presto, refresh-updatesd, remove-with-leaves
Loading mirror speeds from cached hostfile
 * fedora: mirror.globo.com
 * rpmfusion-free: mirror.us.leaseweb.net
 * rpmfusion-free-updates: mirror.us.leaseweb.net
 * rpmfusion-nonfree: mirror.us.leaseweb.net
 * rpmfusion-nonfree-updates: mirror.us.leaseweb.net
 * updates: mirror.globo.com
No packages marked for distribution synchronization


yum update, says that there in nothing marked for update


Code:
 yum update
Loaded plugins: fastestmirror, fs-snapshot, keys, langpacks, list-data, local,
              : presto, refresh-updatesd, remove-with-leaves
Loading mirror speeds from cached hostfile
 * fedora: mirror.globo.com
 * rpmfusion-free: mirror.us.leaseweb.net
 * rpmfusion-free-updates: mirror.us.leaseweb.net
 * rpmfusion-nonfree: mirror.us.leaseweb.net
 * rpmfusion-nonfree-updates: mirror.us.leaseweb.net
 * updates: mirror.globo.com
No packages marked for update
thanks for comments
 
Old 08-25-2013, 03:54 PM   #4
John VV
Guru
 
Registered: Aug 2005
Posts: 13,481

Rep: Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803Reputation: 1803
so you used
Code:
yum --releasever=19 distro-sync --skip-broken
to try to upgrade from fedora 18 to 19 ?
that would not have updated any of the rpmfusion repo installed software

and did not use fedup

you might want to reinstall using the fedora 19 dvd .


first try "upgrade an existing install" from the fedora 19 install dvd and if that fails do a new clean install of 19

Last edited by John VV; 08-25-2013 at 03:56 PM.
 
Old 08-25-2013, 04:04 PM   #5
hDUQUE
Member
 
Registered: Jan 2007
Posts: 76

Original Poster
Rep: Reputation: 15
john,

i used

Code:
yum --releasever=19 distro-sync --skip-broken
to synchronize to fc19, after i had a crash of the this command:

Code:
fedora-upgrade
it crashed because an energy failure.

now, problem looks like something related with selinux-policy-targeted.noarch

do you thing would be better a clean installation ?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
kernel, selinux , yum question mposwal Linux - Newbie 2 02-18-2011 12:32 PM
SELinux showing permissive type for firefox crash while set to enforcing StarsAndBars14 Linux - Security 1 01-01-2010 09:44 AM
# yum remove dbus - trying to remove the whole system... atnonis Fedora 4 11-23-2007 07:31 AM
fc3:yum won't update - selinux conflict logo Linux - Software 2 09-18-2005 04:14 PM
yum conflicts and SELinux linuxhippy Fedora 3 08-14-2005 08:12 AM


All times are GMT -5. The time now is 04:06 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration