Check to make sure they aren't showing up in the Channels, Manage Software 
Channels, Manage Software Packages view under Channel: Packages in no channels.

When you delete a package from all channels, it's orphaned from all channels 
but still in the database and file system.  If you delete it from the "Packages 
in no channels view", it'll be deleted from the database and filesystem.


-----Original Message-----
[] On Behalf Of Steve Meier
Sent: Thursday, September 22, 2016 3:06 PM
Subject: [Spacewalk-list] spacewalk-data-fsck not working

Hello all,

I have been playing with Spacewalk 2.5 today and after synching some packages I 
did not want, I tried to remove them entirely from Spacewalk. As an example I 
have picked the "kernel-doc"

First, I looked for them in the file system:

[root@spacewalk ~]# find /var/satellite -name 'kernel-doc*' -type f 

Revision 642 is from the CentOS 6 Base channel, while the other three are from 
the Updates channel.
I deleted all four of them through the "Manage Software Channels" menu. 
 From experience with earlier
versions I knew that this would only remove them from the database but not from 
the file system.

So next, I ran spacewalk-data-fsck with different parameters:

[root@spacewalk ~]# spacewalk-data-fsck -v Checking if packages from database 
are present on filesystem
  7094 files scanned
Checking if packages from filesystem are present in database
  7094 files scanned
[root@spacewalk ~]# spacewalk-data-fsck -f -r [root@spacewalk ~]# 
spacewalk-data-fsck -f -r -v Checking if packages from filesystem are present 
in database
  7094 files scanned

However, all four RPM files are still around and spacewalk-data-fsck does not 
seem to remove them although the -f option should do exactly that, if I read 
the man page correctly.

Is this a bug or am I just using it wrong? Thanks!

Kind regards,

Spacewalk-list mailing list

Spacewalk-list mailing list

Reply via email to