Skip to content
This repository was archived by the owner on Feb 24, 2026. It is now read-only.
This repository was archived by the owner on Feb 24, 2026. It is now read-only.

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

@jheiss

Description

@jheiss

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]

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions