I installed a debian file (db1'say) using dpkg -i and an executable file
(ex1 say) was created.
Later another debian file (db2) was installed, overwriting the executable ex1.
I installed a debian file (db1'say) using dpkg -i and an executable file
(ex1 say) was created.
Later another debian file (db2) was installed, overwriting the executable ex1.
I now wish to overwrite ex1 with the data in db1, so I tried to install db1 again, but nothing seemed to happen.
Did nothing happen because db1 had already been installed ?
Do I need to completely uninstall db1 by using
dpkg --purge db1
before I can install db1 again and overwrite ex1 with data from db1 ?
Thanks very much for your help and suggestions.
I am running Debian 12 on a desktop.
My aim is to set up and use a TOTP authenticator app called Ente Auth.
I ran, as root :-
dpkg -i ente-auth-v4.2.8-x86_64.deb
dpkg -i ente-auth-v4.3.1-x86_64.deb
This should overwrite the previous executable enteauth.
On Thu 30 Jan 2025 at 16:14:00 (+0000), Michael wrote:
So I downloaded the new .deb file and installed it (again using root) :-
dpkg -i ente-auth-v4.3.1-x86_64.deb
I would purge the old package (first backing up any of /your/
files involved). I think the package is called enteauth.
The deb names may be unconventional but the executables worked (at least v4.2.8 worked).
I ran, as root :-
dpkg -i ente-auth-v4.2.8-x86_64.deb
So I downloaded the new .deb file and installed it (again using root) :-
dpkg -i ente-auth-v4.3.1-x86_64.deb
Unfortunately I did not think to run any Debian package commands to check
on the status of the v4.2.8 or v4.3.1 files.
My latest thought is to uninstall the v4.2.8 data by running as root :-
dpkg --purge ente-auth-v4.2.8-x86_64.deb
and then reinstall the v4.2.8 deb file by again running as root :-
dpkg -i ente-auth-v4.2.8-x86_64.deb
to recreate the executable enteauth for v4.2.8
On Thu, Jan 30, 2025 at 11:01:02 -0600, David Wright wrote:
On Thu 30 Jan 2025 at 16:14:00 (+0000), Michael wrote:
So I downloaded the new .deb file and installed it (again using root) :-
dpkg -i ente-auth-v4.3.1-x86_64.deb
I would purge the old package (first backing up any of /your/
files involved). I think the package is called enteauth.
Eeek! If the package name isn't "ente-auth-v4.3.1" then they've
seriously messed around with expectations. Granted, we already saw
that with the "x86_64" instead of "amd64" as the arch.
At this point, it would be a really good idea to *confirm* the name of
the package. "dpkg -l ente\*" or similar should suffice.
Once you know the name of the package, then you can decide how to
proceed.
* If the package name really is "enteauth" or "ente-auth" without a
version number inside it, then installing the second .deb package
should have replaced the original.
* If the packge name is "ente-auth-v4.3.1" or similar, with a version
number in it, then you may have *both* versions installed at the
same time, either conflicting with each other, or not. In that case,
the best thing to do at this point would be to purge both, and then
install whichever one you want.
Sysop: | Keyop |
---|---|
Location: | Huddersfield, West Yorkshire, UK |
Users: | 546 |
Nodes: | 16 (2 / 14) |
Uptime: | 153:59:41 |
Calls: | 10,383 |
Files: | 14,054 |
Messages: | 6,417,842 |