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

Option parsing for package name does not handle os/arch changes well #34

Open
jheiss opened this issue Mar 11, 2013 · 0 comments
Open

Comments

@jheiss
Copy link
Member

jheiss commented Mar 11, 2013

The context here is that the box in question was running a beta version of Debian. A version of collectd was built and installed. The box was then upgraded via apt-get to the released version of Debian, which changed the tpkg OS value from "Debian-testing" to "Debian-7". While that understandably leaves tpkg in a bit of a mess, there's no reason that referring to the installed collectd package by the bare package name shouldn't continue to work.

jheiss@office:~> tpkg --qa
collectd-5.1.1-1-debiantesting-armv6l.tpkg

jheiss@office:~> tpkg -r collectd
No matching packages

jheiss@office:~> tpkg -r collectd-5.1.1-1-debiantesting-armv6l.tpkg
The following packages will be removed:
collectd-5.1.1-1-debiantesting-armv6l.tpkg
Confirm? [Y/n]

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

1 participant