Welcome to the forum, Guest

TOPIC: Debian Sid (unstable) install error

Debian Sid (unstable) install error 1 year 9 months ago #6910

mcon

Offline

Fresh Boarder

Posts: 8

Karma: 0

Apparently something changed in dependencies (libunarr -> libunarr1) as I consistently get the following error:
mcon@cinderella:~$ sudo apt --fix-broken install
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following packages were automatically installed and are no longer required:
  gir1.2-ayatanaappindicator3-0.1 libzapojit-0.0-0
Use 'sudo apt autoremove' to remove them.
The following additional packages will be installed:
  libunarr
The following NEW packages will be installed:
  libunarr
0 upgraded, 1 newly installed, 0 to remove and 5 not upgraded.
1 not fully installed or removed.
Need to get 0 B/45.5 kB of archives.
After this operation, 113 kB of additional disk space will be used.
Do you want to continue? [Y/n] 
(Reading database ... 364512 files and directories currently installed.)
Preparing to unpack .../libunarr_1.0.1-2_amd64.deb ...
Unpacking libunarr (1.0.1-2) ...
dpkg: error processing archive /var/cache/apt/archives/libunarr_1.0.1-2_amd64.deb (--unpack):
 trying to overwrite '/usr/lib/x86_64-linux-gnu/libunarr.so.1', which is also in package libunarr1:amd64 1.0.1-1+b1
Errors were encountered while processing:
 /var/cache/apt/archives/libunarr_1.0.1-2_amd64.deb
needrestart is being skipped since dpkg has failed
E: Sub-process /usr/bin/dpkg returned an error code (1)

This happens both with `.deb` download *and* adding `/etc/apt/sources.list.d/home:selmf.list`.

Can someone confirm, please?
The administrator has disabled public write access.

Debian Sid (unstable) install error 1 year 9 months ago #6913

selmf

Offline

Developer

Posts: 631

Thank you received: 135

Karma: 18

Yes, I thnk I see the problem. libunarr is the package I provide, libunarr1 is the downstream package from Debian. My package was made when libunarr was not available in Debian and I never looked back. I'm not sure why this is suddenly popping up as a problem, but I'll look into a rebuild so the dependency is fixed.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.
The following user(s) said Thank You: Luis Ángel

Debian Sid (unstable) install error 1 year 9 months ago #6919

mcon

Offline

Fresh Boarder

Posts: 8

Karma: 0

Please consider using p7zip as (default?) unarchiver since AFAIK `unarr` does not handle recent `.cbr` files.
The administrator has disabled public write access.

Debian Sid (unstable) install error 1 year 9 months ago #6929

selmf

Offline

Developer

Posts: 631

Thank you received: 135

Karma: 18

I have corrected my package so that it should no longer conflict with the Debian (or Ubuntu) package. Let me know if it works for you.

Using 7zip as default is not an option. The build process is borderline incompatible with packaging workflows, there are license problems ("unRAR license restriction") and there are ABI and API breakages on every new version.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.

Debian Sid (unstable) install error 1 year 9 months ago #6937

mcon

Offline

Fresh Boarder

Posts: 8

Karma: 0

I can confirm the new binary is working for me.
It is highly disturbing to have a different content with the same filename, though.
Please consider bumping version somehow.
This issue may be closed.

MANY Thanks.
The administrator has disabled public write access.

Debian Sid (unstable) install error 1 year 9 months ago #6938

selmf

Offline

Developer

Posts: 631

Thank you received: 135

Karma: 18

The package version for libunarr was bumped from 1.0.0-2 to 1.0.0-3. YACReader was just a rebuild without any changes, so no bump.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.

Debian Sid (unstable) install error 1 year 9 months ago #6939

mcon

Offline

Fresh Boarder

Posts: 8

Karma: 0

VERY strange:

mcon@cinderella:~/Downloads/Comm$ mv yacreader_9.8.1-1_amd64.deb yacreader_9.8.1-1_amd64.deb_
[[[ download from https://software.opensuse.org/download.html?project=home%3Aselmf&package=yacreader#directDebian ]]]
mcon@cinderella:~/Downloads/Comm$ md5sum y*
27c2b5af51f5953352b28970ba0a9bd8  yacreader_9.8.1-1_amd64.deb
ac60f580a0613ab2b32f59c073a942cc  yacreader_9.8.1-1_amd64.deb_
mcon@cinderella:~/Downloads/Comm$ sudo dpkg -i yacreader_9.8.1-1_amd64.deb 
Selecting previously unselected package yacreader.
(Reading database ... 368371 files and directories currently installed.)
Preparing to unpack yacreader_9.8.1-1_amd64.deb ...
Unpacking yacreader (9.8.1-1) ...
Setting up yacreader (9.8.1-1) ...
Processing triggers for gnome-menus (3.36.0-1) ...
Processing triggers for mailcap (3.70+nmu1) ...
Processing triggers for desktop-file-utils (0.26-1) ...
Processing triggers for hicolor-icon-theme (0.17-2) ...
Processing triggers for man-db (2.10.2-1) ...

Everything works.
The administrator has disabled public write access.

Debian Sid (unstable) install error 1 year 9 months ago #6940

selmf

Offline

Developer

Posts: 631

Thank you received: 135

Karma: 18

Not really. There is a slight difference between the two files since the dependencies changed slightly, but the source package used to build YACReader did not need any modifications. This is because the source only declares a dependency on libunarr-dev and the binary dependencies are automagically generated during the build process.
My answers are not necessarily official YACReader statements but mostly represent my own opinion in technical matters.
The administrator has disabled public write access.
Powered by Kunena Forum