Problem with managing community repositories

Anything that pertains to Entropy, Equo or Sulfur

Moderator: Moderators

Problem with managing community repositories

Postby anuj17280 » Mon Jul 14, 2008 11:36

Hi,

I have created my own repository to manage binary packages - I have created my repository successfully and upload some packages on it. Now, I would like to remove one package from that repository e.g. package name is "xyz" - to remove that package I have run "equo community database remove xyz", after running that command it shows that it remove the package from my own community database and ask me to run "activator" to remove binary package. Now i do not know what command should I run or what parameters should I pass to activator to remove binary package from my own community repository.


FYI: when i run "equo search xyz" command from shell it still shows package is available.

Regards,
Anuj Jain
anuj17280
Baby Hen
 
Posts: 5
Joined: Mon Jul 14, 2008 10:38

Re: Problem with managing community repositories

Postby Thev00d00 » Mon Jul 14, 2008 12:50

try:

Code: Select all
# activator --help


and see what comes up?

EDIT, try the post below this one first :D
Last edited by Thev00d00 on Mon Jul 14, 2008 13:41, edited 1 time in total.
Image
Please report Bugs on the Bugzilla, not forum
Please Adopt an Unanswered thread
Website / Blog : v00d00.net
twitter: Follow Me
G+: Circle Me
User avatar
Thev00d00
Generally Awesome (tm)
 
Posts: 1467
Joined: Wed Feb 21, 2007 15:52
Location: United Kingdom

Re: Problem with managing community repositories

Postby sjieke » Mon Jul 14, 2008 12:55

I haven't tried it myself, but if I were in your situation I would try to update and sync the mirrors using following commands:
Code: Select all
equo community repos update

Code: Select all
equo community mirrors sync


Please provide feedback here if you succeeded and how, because there will be others who will face the same problem in the near futher, me for example :mrgreen:

EDIT: V00d00's suggestion will probably be better, it wasn't there when I was typing this...
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium

Re: Problem with managing community repositories

Postby anuj17280 » Tue Jul 15, 2008 9:58

Hi,

As mentioned, I have tried
Code: Select all
equo community repos update
and
Code: Select all
equo community mirrors sync
without any success. Here are the steps with there respective output, which i have tried to remove binary package from my own community repository.

-> equo community database remove xyz : After running this command it shows me that
Packages removed. To remove binary packages, run activator.

-> equo community repos update : if ask me to add the xyz package again, I have to choose no so that it does not add "xyz" package again.

-> equo community mirrors sync : After running this command it ask me "Should I continue with the tidy procedure" - After select/typing yes it shows "nothing to remove on this branch".

FYI: After doing some R&D, it seems that "equo community repos update" command add/configure repository locally on the system on path "/var/lib/entropy/server/productname/" and configure the desire filestructure, and when we run "equo community mirrors sync" it sync locally configured/created repository filestructure with actual configured repository (which we configured in /etc/entropy/server.conf". Now after removing the package when we run "equo community mirrors sync" it create one more file in "/var/lib/entropy/server/productname/packages/x86/branchname/catogary::xyz.tbz2.expired". To remove expired packages as per my understanding we need to run either "equo community mirrors tidy" or "activator tidy" but after running both these command still not able to remove the binary package.
anuj17280
Baby Hen
 
Posts: 5
Joined: Mon Jul 14, 2008 10:38

Re: Problem with managing community repositories

Postby anuj17280 » Tue Jul 15, 2008 14:14

Hi,

It seems there is some bug with tidy option - I have opened the bug for that, please visit URL: http://bugs.sabayonlinux.org/show_bug.cgi?id=476 for more information.

Regards,
Anuj Jain
anuj17280
Baby Hen
 
Posts: 5
Joined: Mon Jul 14, 2008 10:38

Re: Problem with managing community repositories

Postby sjieke » Tue Jul 15, 2008 18:41

Thx for the info,

I will keep an eye on that bug :wink:
sjieke
Technological Hen
 
Posts: 321
Joined: Thu Mar 01, 2007 10:46
Location: Maldegem, Belgium


Return to Entropy|Equo|Rigo Package Managers

Who is online

Users browsing this forum: No registered users and 2 guests