Skip to content
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

ports/171361: ports-mgmt/pkg: Regressions from pkg_ tools #348

Closed
bapt opened this issue Sep 6, 2012 · 5 comments
Closed

ports/171361: ports-mgmt/pkg: Regressions from pkg_ tools #348

bapt opened this issue Sep 6, 2012 · 5 comments

Comments

@bapt
Copy link
Member

bapt commented Sep 6, 2012

I'm in the process of testing pkgng:

benjsc@taurus:/usr/ports | pkg -v
1.0

Overall I've very impressed. However I've discovered a number of features that appear to be a regression from what is currently available via the pkg_ tools. I've listed these below.

1> Package fetch continue

I have a intermittent network connection. If a package fails part way through download, the entire package is refetched. When your connection drops out 5 times downloading qt-docs (100mb) this is a big issue. Please implement fetch continue (as fetch does)

2> Unable to multiple instances of pkgng at the same time.

If I have one instance of pkg installing then at the same time you can't perform commands which would be read only. Ie status, which, etc.

This is a regression from the old pkg_info where you could query at the same time

3> Not a regression but a bug:

pkg check -a

doesn't work.

4> No documentation on meaning of kb/ status when fetching

When fetching 2 stats displaying kb's are displayed. There is no documentation on the meaning of these. The first appears to be kb/s the second I could not find a meaning for:

qt4-doc-4.8.2.txz 100% 95MB 66.7KB/s 94.5KB/s 24:20
^^^^^^^^
What's this?

5> auto remove after pkg2ng finds no candidates

After using pkg2ng there is no candidates listed. I'm sure some packages could be auto removed

6> pkg checks for updated reposity information every time install is run

If I chose a package to install then upon running install an update run is also performed. Update should be it's own task and not related to install. (I might want the current version not a later version)

7> pkg2ng needs to provide some help.

Upon a completed run of pkg2ng I ran pkg update.
Only to be told no repository is found. An easy fix but I had to work out what it was. Perhaps a one line printf indicating that a config file is needed and an example in /usr/local/etc/pkg.conf.sample is available. It'd just make it much more user friendly for anyone trying pkg2ng out.

Thanks and keep up the good work.

Ben

@bapt
Copy link
Member Author

bapt commented Sep 6, 2012

This should probably be splitted into small items

@bdrewery
Copy link
Member

bdrewery commented Sep 6, 2012

3 is not a bug.

@kwm81
Copy link
Contributor

kwm81 commented Sep 24, 2012

5 is not a bug. Since autoremove is a pkgng feature and pkg_* doesn't has any notion about it.

@andrejzverev
Copy link
Contributor

@bapt ? No more pkg_tools exists.

@bapt
Copy link
Member Author

bapt commented Jan 15, 2015

I think we can close this one, if issues are still relevant it will be great to open one ticket per issues

@bapt bapt closed this as completed Jan 15, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants