Skip to content

how to remove a particular version from package uploaded to pub.dartlang #2099

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
jaiswalshubham84 opened this issue Mar 1, 2019 · 19 comments
Assignees

Comments

@jaiswalshubham84
Copy link

jaiswalshubham84 commented Mar 1, 2019

is there any way to remove a particular package version from pub.dartlang.
i have multiple version of the package with same functionalities, didn't find any option to remove the unwanted version.

@jonasfj
Copy link
Member

jonasfj commented Mar 1, 2019

You can file a request here.. then I'll confirm by email. But if it's been published for a long time it might be better to mark it discontinued... This way it won't show up in search, and you won't break people that depend on your package..

@jaiswalshubham84
Copy link
Author

thanks @jonasfj
please remove all the version except 0.0.1
the package link is : https://pub.dartlang.org/packages/flutter_multi_carousel

@jonasfj
Copy link
Member

jonasfj commented Mar 3, 2019

I sent an email to confirm identity...

@jaiswalshubham84
Copy link
Author

@jonasfj
i have confirm the mail.
please carry your step to remove all the version except 0.0.1.

@jonasfj
Copy link
Member

jonasfj commented Mar 4, 2019

I confirmed this request...

@jonasfj jonasfj self-assigned this Mar 4, 2019
@jaiswalshubham84
Copy link
Author

@jonasfj
how much time it generally take to perform this delete task.

@jonasfj
Copy link
Member

jonasfj commented Mar 4, 2019

@jaiswalshubham84, looks like our tools doesn't support deleting the latest version... but if we want we can remove all versions, then you'll have to republish...

@jaiswalshubham84
Copy link
Author

@jonasfj , ok, remove it all

@jaiswalshubham84
Copy link
Author

jaiswalshubham84 commented Mar 4, 2019

@jason-simmons
i somehow again pushed the wrong code from my end.
extremely sorry from end.
can you please delete all the versions of the package again.
thanks in advance

@jonasfj
Copy link
Member

jonasfj commented Mar 4, 2019

Removed the package, @jaiswalshubham84, you can publish now...

@jonasfj jonasfj closed this as completed Mar 4, 2019
@jaiswalshubham84
Copy link
Author

@jonasfj thanks🙂

@phillwiggins
Copy link

phillwiggins commented Oct 13, 2020

@isoos
Copy link
Collaborator

isoos commented Oct 13, 2020

@phillwiggins: please contact [email protected] as stated on the policy page: https://pub.dev/policy

@nvrr
Copy link

nvrr commented Nov 12, 2020

when i do some changes and try to update my package it shows
"Version 0.0.1 of package prompter_nvr already exists.
pub finished with exit code 1"

@isoos
Copy link
Collaborator

isoos commented Nov 12, 2020

@nvrr: you need to update the version in your pubspec.yaml. See https://dart.dev/tools/pub/pubspec for more info about it.

@nvrr
Copy link

nvrr commented Nov 12, 2020

@nvrr: you need to update the version in your pubspec.yaml. See https://dart.dev/tools/pub/pubspec for more info about it.

thanks sir, now i got it

@Donzo24
Copy link

Donzo24 commented Sep 5, 2024

Hi @jonasfj

Please can you remove this version ?
https://pub.dev/packages/flutter_nimbas_sms/versions/1.0.0

Thanks in advance.

@isoos
Copy link
Collaborator

isoos commented Sep 5, 2024

@Donzo24: please use the process described in https://pub.dev/policy.

@jonasfj
Copy link
Member

jonasfj commented Sep 6, 2024

Please refer to pub.dev/policy. Not we never allow republishing of the same version again!

Or use retraction instead, it's much better for everybody.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants