Welcome, Guest. Please login or register.
Did you miss your activation email?

Author Topic: [EN] libfplll8-data fails to install [workaround]  (Read 2234 times)

Offline finotti

  • User
  • Posts: 269
[EN] libfplll8-data fails to install [workaround]
« on: 2023/01/09, 12:29:58 »
Doing a DU this morning (I updated it last night as well) I got:

Code: [Select]
Error: Installation has failed.
If you'd like to file a bug report please include '/var/log/nala/dpkg-debug.log'

Error: error processing archive /var/cache/apt/archives/libfplll8-data_5.4.4-2_all.deb (--unpack):

Error: error processing archive /var/cache/apt/archives/libfplll8-data_5.4.4-2_all.deb (--unpack):
trying to overwrite '/usr/share/libfplll8/strategies/default.json', which is also in package libfplll7-data 5.4.3-2
trying to overwrite '/usr/share/libfplll8/strategies/default.json', which is also in package libfplll7-data 5.4.3-2

Errors were encountered while processing:
/var/cache/apt/archives/libfplll8-data_5.4.4-2_all.deb


The usual apt -f install does not fix it:

Code: [Select]
# apt -f install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libfplll8-data
The following NEW packages will be installed:
  libfplll8-data
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
4 not fully installed or removed.
Need to get 0 B/1,447 kB of archives.
After this operation, 8,626 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 1905372 files and directories currently installed.)
Preparing to unpack .../libfplll8-data_5.4.4-2_all.deb ...
Unpacking libfplll8-data (5.4.4-2) ...
dpkg: error processing archive /var/cache/apt/archives/libfplll8-data_5.4.4-2_all.deb (--unpack):
trying to overwrite '/usr/share/libfplll8/strategies/default.json', which is also in package libfplll7-data 5.4.3-2
Errors were encountered while processing:
/var/cache/apt/archives/libfplll8-data_5.4.4-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)


I cannot find any bug reports yet...
« Last Edit: 2023/01/09, 16:31:40 by finotti »

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: libfplll8-data fails to install
« Reply #1 on: 2023/01/09, 12:36:18 »
Try

Code: [Select]
apt purge libfplll7-data && apt -f install
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline finotti

  • User
  • Posts: 269
Re: libfplll8-data fails to install
« Reply #2 on: 2023/01/09, 13:46:54 »
Try

Code: [Select]
apt purge libfplll7-data && apt -f install
Thanks, towo, but I get:

Code: [Select]
# apt purge libfplll7-data && apt -f install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libfplll7 : Depends: libfplll7-data (= 5.4.3-2) but it is not going to be installed
libfplll8 : Depends: libfplll8-data (= 5.4.4-2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).


Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: libfplll8-data fails to install
« Reply #3 on: 2023/01/09, 14:02:25 »
then purge libfplll7 too.

Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline finotti

  • User
  • Posts: 269
Re: libfplll8-data fails to install
« Reply #4 on: 2023/01/09, 14:13:34 »
then purge libfplll7 too.
Thanks again!  Unfortunately, still does not work...

Code: [Select]
# apt purge libfplll7 libfplll7-data
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
You might want to run 'apt --fix-broken install' to correct these.
The following packages have unmet dependencies:
libfplll8 : Depends: libfplll8-data (= 5.4.4-2) but it is not going to be installed
E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

Code: [Select]
# apt -f install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libfplll8-data
The following NEW packages will be installed:
  libfplll8-data
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
4 not fully installed or removed.
Need to get 0 B/1,447 kB of archives.
After this operation, 8,626 kB of additional disk space will be used.
Do you want to continue? [Y/n]
(Reading database ... 1905372 files and directories currently installed.)
Preparing to unpack .../libfplll8-data_5.4.4-2_all.deb ...
Unpacking libfplll8-data (5.4.4-2) ...
dpkg: error processing archive /var/cache/apt/archives/libfplll8-data_5.4.4-2_all.deb (--unpack):
trying to overwrite '/usr/share/libfplll8/strategies/default.json', which is also in package libfplll7-data 5.4.3-2
Errors were encountered while processing:
/var/cache/apt/archives/libfplll8-data_5.4.4-2_all.deb
E: Sub-process /usr/bin/dpkg returned an error code (1)

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: libfplll8-data fails to install
« Reply #5 on: 2023/01/09, 14:16:55 »
dpkg --purge libfplll7 libfplll7-data && apt -f install
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline finotti

  • User
  • Posts: 269
Re: libfplll8-data fails to install
« Reply #6 on: 2023/01/09, 14:19:35 »
dpkg --purge libfplll7 libfplll7-data && apt -f install
Ah, that did the trick!  Thank you!

Is it just a problem with my machine?  If so, I can mark this solved.

Offline towo

  • Administrator
  • User
  • *****
  • Posts: 2.920
Re: libfplll8-data fails to install
« Reply #7 on: 2023/01/09, 14:50:45 »
libfplll7 libfplll7-data is not installed by default.
So no one knows.
Ich gehe nicht zum Karneval, ich verleihe nur manchmal mein Gesicht.

Offline finotti

  • User
  • Posts: 269
Re: libfplll8-data fails to install
« Reply #8 on: 2023/01/09, 16:31:18 »
I had the same problem with three computers, so I think it is not an isolated case...

So, if you have libfplll7 installed, it might be better to remove it before DUing and then manually install libfplll8.

Thanks towo for the help!