Bug 476 - Binary package removal is not working
: Binary package removal is not working
Status: VERIFIED INVALID
Product: Entropy
Classification: Unclassified
Component: Equo
: unspecified
: PC Linux
: P3 normal
: ---
Assigned To: Fabio Erculiani
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-07-15 13:11 UTC by Anuj Jain
Modified: 2009-10-02 14:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Anuj Jain 2008-07-15 13:11:28 UTC
I am successfully able to create my own community repository by using equo command line package manager. E.g. I have uploaded/synced “xyz” package on my own repository. But when I try to remove it – it does not give any error message but at the same time it also does not remove that binary package from local as well as my community repository.

 Here are the output/steps when I have taken to remove the binary package.

	equo community database remove xyz : it ask me “Would you like to continue ? [Yes/No] “ to remove xyz package, After typing Yes, at the end of this command it says to run “Packages removed. To remove binary packages, run activator.”
	activator tidy : [repo:productname|tidy|branches:branchname] collecting expired packages - [branch: branchname] collecting expired packages in the selected branches - [branch: branchname] nothing to remove on this branch
	I have also tried to run “equo community mirrors sync”, it ask “Should I continue with the tidy procedure ? [Yes/No]” – After selecting/typing Yes it shows the same message which activator tidy shows.

Although it mark “xyz” package as expired – basically it creates the file “/var/lib/entropy/server/productname/packages/x86/branchname/catogaryname:xyz-x.x.x.tbz2.expired” – But when I run activator or equo with tidy option it does not remove “xyz” binary package neither locally “/var/lib/entropy/productname” nor from the community repository.

  It seems that there is some bug with “tidy”  option. Please help me
Comment 1 Anuj Jain 2008-07-15 13:44:19 UTC
It is sabayon 3.5 and equo version is "Equo: v0.15.24.1"
Comment 2 Fabio Erculiani Staff 2008-07-16 08:28:05 UTC
It works. Removed packages will never be removed from mirrors until they expire. Default expiration time is set to 45 days.
Comment 3 Anuj Jain 2008-07-16 10:17:17 UTC
Thanks for your reply, After getting this information - I was looking file "/usr/lib/entropy/libraries/entropyConstants.py" in which, default expiration time is set to 15 days. Please let me know is this right place to look expiration time?

  Please let me know where is the good place to look such kind for details?
 Should i update default expiration time on communityrepositories wiki page?

Regards,
Anuj Jain
Comment 4 Fabio Erculiani Staff 2008-07-17 16:10:26 UTC
Yeah it's that.
Do you want it to be exported to server.conf ?
Also, you can force another value by passing the variable ETP_EXPIRATION_DAYS:
# ETP_EXPIRATION_DAYS=2 equo community ...
Comment 5 Joachim Baten 2008-07-30 08:45:16 UTC
(In reply to comment #4)
> Yeah it's that.
> Do you want it to be exported to server.conf ?
> Also, you can force another value by passing the variable ETP_EXPIRATION_DAYS:
> # ETP_EXPIRATION_DAYS=2 equo community ...

Exporting it to server.conf would be a good idea. I would use it.
Comment 6 Fabio Erculiani Staff 2008-08-26 11:29:41 UTC
Fixed in SVN, commit 2339. Thanks!
Comment 7 Ian Whyman Staff 2009-10-02 14:03:56 UTC
Removing "Windows" OS from bugzilla