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

dpkg upgrade fails #80

Open
antonblanchard opened this issue Jan 4, 2017 · 1 comment
Open

dpkg upgrade fails #80

antonblanchard opened this issue Jan 4, 2017 · 1 comment

Comments

@antonblanchard
Copy link
Contributor

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) ...
@mehuljpatel
Copy link
Contributor

Current HTX deb package does not support upgrade, so underneath, it can uninstall and install. Should that be okay ? If user has any data kept, it will be deleted in the process of uninstall.

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

2 participants