Skip to content

dpkg upgrade fails #80

@antonblanchard

Description

@antonblanchard

If HTX is already installed, an upgrade fails with:

# dpkg -i htxubuntu.deb 
(Reading database ... 59528 files and directories currently installed.)
Preparing to unpack htxubuntu.deb ...
upgrade
preinst called with unknown argument `$1'
Unpacking htxubuntu (1.0) over (1.0) ...
upgrade
Setting up htxubuntu (1.0) ...
dpkg: error processing package htxubuntu (--install):
 subprocess installed post-installation script returned error exit status 1
Errors were encountered while processing:
 htxubuntu

Removing, and reinstalling it works:

# sudo dpkg -P htxubuntu
(Reading database ... 59528 files and directories currently installed.)
Removing htxubuntu (1.0) ...
Purging configuration files for htxubuntu (1.0) ...
purge

# sudo dpkg -i htxubuntu.deb 
Selecting previously unselected package htxubuntu.
(Reading database ... 59161 files and directories currently installed.)
Preparing to unpack htxubuntu.deb ...
Unpacking htxubuntu (1.0) ...
Setting up htxubuntu (1.0) ...

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions