Upgrading from 0.1-7.1, dpkg complains with the following message:
Preparing to replace nanourl 0.1-7.1 (using nanourl_0.1-7.1ubuntu1_amd64.deb) ...
Unpacking replacement nanourl ...
postrm called with unknown argument 'upgrade'
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
postrm called with unknown argument 'failed-upgrade'
dpkg: error processing nanourl_0.1-7.1ubuntu1_amd64.deb (--install):
subprocess new post-removal script returned error exit status 1
postrm called with unknown argument 'abort-upgrade'
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
nanourl_0.1-7.1ubuntu1_amd64.deb
Also, it seems to me package could be Architecture: all
Upgrading from 0.1-7.1, dpkg complains with the following message: 0.1-7.1ubuntu1_ amd64.deb) ... 0.1-7.1ubuntu1_ amd64.deb (--install): 0.1-7.1ubuntu1_ amd64.deb
Preparing to replace nanourl 0.1-7.1 (using nanourl_
Unpacking replacement nanourl ...
postrm called with unknown argument 'upgrade'
dpkg: warning - old post-removal script returned error exit status 1
dpkg - trying script from the new package instead ...
postrm called with unknown argument 'failed-upgrade'
dpkg: error processing nanourl_
subprocess new post-removal script returned error exit status 1
postrm called with unknown argument 'abort-upgrade'
dpkg: error while cleaning up:
subprocess post-removal script returned error exit status 1
Errors were encountered while processing:
nanourl_
Also, it seems to me package could be Architecture: all