The officially official Devuan Forum!

You are not logged in.

#1 2022-05-02 23:23:12

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

[SOLVED] Backported package install with unmet dependency

Hello:

My NAS running OpenWRT uses rsync version 3.2.3  protocol version 31 and my Devuan running with a backported kernel uses rsync version 3.1.3  protocol version 31.

beowulf-backports has rsync version 3.2.3-3~bpo10+1, which would be a match.

This is what I get when I try to install it:

:~$ sudo apt install rsync/beowulf-backports
Reading package lists... Done
Building dependency tree       
Reading state information... Done

Selected version '3.2.3-3~bpo10+1' (Devuan Backports:3.0.0/oldstable-backports [amd64]) for 'rsync'
Selected version '1.4.4+dfsg-3~bpo10+1' (Devuan Backports:3.0.0/oldstable-backports [amd64]) for 'libzstd1' because of 'rsync'

Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.

The following information may help to resolve the situation:
The following packages have unmet dependencies:
rsync : Depends: libzstd1 (>= 1.4.4+dfsg-3~bpo10+1) but 1.3.8+dfsg-3+deb10u2 is to be installed
E: Unable to correct problems, you have held broken packages.
:~$ 

So ...
Does this mean that I cannot install it because beowulf-backports has libzstd1 1.3.8+dfsg-3+deb10u2 and not 1.4.4+dfsg-3~bpo10+1?
Or am I missing something?

Thanks in advance.

Best,

A.

Offline

#2 2022-05-03 01:05:37

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: [SOLVED] Backported package install with unmet dependency

Hello:

Altoid wrote:

Or am I missing something?

Just to check, I thought maybe it was a question of installing libzstd1 1.4.4+dfsg-3~bpo10+1 as libzstd1 1.3.8+dfsg-3+deb10u2 was already installed.
ie: for some reason not being updated and be specifically installed from beowulf-backports.

But when I tried I got this huge list of files that are no longer required/removed:

:~$ sudo apt install libzstd1/beowulf-backports
Reading package lists... Done
Building dependency tree       
Reading state information... Done

Selected version '1.4.4+dfsg-3~bpo10+1' (Devuan Backports:3.0.0/oldstable-backports [amd64]) for 'libzstd1'

The following packages were automatically installed and are no longer required:
gstreamer1.0-plugins-base:i386  libaom0:i386  libavresample4:i386  libavutil56:i386
libblkid1:i386  libcairo2:i386  libcapi20-3:i386  libcdparanoia0:i386  libcodec2-0.8.1:i386
libcroco3:i386  libcrystalhd3:i386  libdatrie1:i386  libexif12:i386  libfontconfig1:i386
libfreetype6:i386  libfribidi0:i386  libgcrypt20:i386  libglib2.0-0:i386  libgomp1:i386
libgpg-error0:i386  libgphoto2-port12:i386  libgpm2:i386  libgraphite2-3:i386  libgsm1:i386
libgstreamer-plugins-base1.0-0:i386  libgstreamer1.0-0:i386  libharfbuzz0b:i386  
libicu63:i386  libjack-jackd2-0:i386  libmount1:i386  libmp3lame0:i386  libncurses6:i386
libnuma1:i386  libopenjp2-7:i386  libopus0:i386  liborc-0.4-0:i386  libpango-1.0-0:i386  
libpangocairo-1.0-0:i386  libpangoft2-1.0-0:i386  libpixman-1-0:i386  libpng16-16:i386  
libsamplerate0:i386  libsdl2-2.0-0:i386  libshine3:i386  libsnappy1v5:i386  libsoxr0:i386
libspeex1:i386  libswresample3:i386  libthai0:i386  libtheora0:i386  libtwolame0:i386
libusb-1.0-0:i386  libv4l-0:i386  libv4lconvert0:i386  libva-drm2:i386  libva-x11-2:i386
libvdpau-va-gl1:i386  libvdpau1:i386  libvisual-0.4-0:i386  libvkd3d1:i386  libvpx5:i386 
libvulkan1:i386  libwavpack1:i386  libwayland-client0:i386  libwayland-cursor0:i386
libwayland-egl1:i386  libwebp6:i386  libwebpmux3:i386  libx264-155:i386  libx265-165:i386
libxcb-render0:i386  libxcb-shm0:i386  libxcomposite1:i386  libxcursor1:i386  libxinerama1:i386
libxkbcommon0:i386  libxml2:i386l  ibxpm4:i386  libxrandr2:i386  libxrender1:i386
libxslt1.1:i386  libxss1:i386  libxvidcore4:i386  libzvbi0:i386  mesa-vdpau-drivers:i386
ocl-icd-libopencl1:i386  vdpau-driver-all:i386

Use 'sudo apt autoremove' to remove them.

The following packages will be REMOVED:
libasound2-plugins:i386
libavcodec58:i386
libgd3:i386
libgdk-pixbuf2.0-0:i386
libgphoto2-6:i386
librsvg2-2:i386
librsvg2-common:i386
libtiff5:i386
libwine:i386
libzstd1:i386
wine32:i386

The following packages will be upgraded:
libzstd1
1 upgraded, 0 newly installed, 11 to remove and 0 not upgraded.

Need to get 249 kB of archives.
After this operation, 241 MB disk space will be freed.
Do you want to continue? [Y/n] n
Abort.
:~$ 

The first thing I notice is that they are all :i386 but I'm not sure of the consequences.
What were they for in the first place?

I'd appreciate an opinion.

Thanks in advance.

Best,

A.

Offline

#3 2022-05-03 02:23:57

ralph.ronnquist
Administrator
From: Battery Point, Tasmania, AUS
Registered: 2016-11-30
Posts: 1,251  

Re: [SOLVED] Backported package install with unmet dependency

Perhaps you'll need to upgrade the i386 version at the same time, by adding libzstd1:i386/beowulf-backports to the install line?

Offline

#4 2022-05-03 05:52:05

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Backported package install with unmet dependency

Use apt install --target beowulf-backports rsync libzstd. The /beowulf-backports incantation doesn't allow for dependencies to be installed from backports.

I think aptitude might be able to figure out the path to installation with the /release syntax where dependencies are involved.


Brianna Ghey — Rest In Power

Offline

#5 2022-05-03 07:54:39

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: [SOLVED] Backported package install with unmet dependency

Hello:

ralph.ronnquist wrote:

Perhaps you'll need to upgrade the i386 version at the same time, by adding libzstd1:i386/beowulf-backports to the install line?

That would seem to do the trick:

groucho@devuan:~$ sudo apt install rsync/beowulf-backports libzstd1/beowulf-backports libzstd1:i386/beowulf-backports
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Selected version '3.2.3-3~bpo10+1' (Devuan Backports:3.0.0/oldstable-backports [amd64]) for 'rsync'
Selected version '1.4.4+dfsg-3~bpo10+1' (Devuan Backports:3.0.0/oldstable-backports [amd64]) for 'libzstd1'
Selected version '1.4.4+dfsg-3~bpo10+1' (Devuan Backports:3.0.0/oldstable-backports [i386]) for 'libzstd1:i386'
The following additional packages will be installed:
  libxxhash0
Suggested packages:
  openssh-server
The following NEW packages will be installed:
  libxxhash0
The following packages will be upgraded:
  libzstd1 libzstd1:i386 rsync      # <- what was needed  
3 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.    # <- nothing removed
Need to get 840 kB of archives.
After this operation, 41.0 kB of additional disk space will be used.
Do you want to continue? [Y/n] n
Abort.
groucho@devuan:~$ 

I'll try that and report later.

Edit:
Minutes later ...

:~$ rsync -V
rsync  version 3.2.3  protocol version 31
Copyright (C) 1996-2020 by Andrew Tridgell, Wayne Davison, and others.
Web site: https://rsync.samba.org/
Capabilities:
    64-bit files, 64-bit inums, 64-bit timestamps, 64-bit long ints,
    socketpairs, hardlinks, hardlink-specials, symlinks, IPv6, atimes,
    batchfiles, inplace, append, ACLs, xattrs, optional protect-args, iconv,
    symtimes, prealloc, stop-at, no crtimes
Optimizations:
    SIMD, asm, openssl-crypto
Checksum list:
    xxh64 (xxhash) md5 md4 none
Compress list:
    zstd lz4 zlibx zlib none
--- snip ---
:~$ 

Now the Devuan and OpenWRT versions of rsync match.

Thanks for your input.

Best,

A.

Last edited by Altoid (2022-05-03 08:11:59)

Offline

#6 2022-05-03 07:58:57

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: [SOLVED] Backported package install with unmet dependency

Hello:

Head_on_a_Stick wrote:

Use apt install --target beowulf-backports rsync libzstd.

No, seems it would not work.

groucho@devuan:~$ sudo apt install --target beowulf-backports rsync libzstd
--- snip ---
E: Command line option --target is not understood in combination with the other options
groucho@devuan:~$ 

I use aptitude very little, usually with the why option.

Thanks for your input.

Best,

A.

Offline

#7 2022-05-03 10:21:49

alexkemp
Member
Registered: 2018-05-14
Posts: 357  

Re: [SOLVED] Backported package install with unmet dependency

Isn't this a question of mixing amd64 & i386? Or am I missing something?

Offline

#8 2022-05-03 11:49:43

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: [SOLVED] Backported package install with unmet dependency

Hello:

alexkemp wrote:

... question of mixing amd64 & i386?

Really cannot say for sure.

What I can say is that ~$ apt list | grep installed | grep i386 shows me a list of 203 files.
ie: if I managed to count correctly at this hour.

Save these 10, all the rest are lib***:

~$ apt list | grep installed | grep i386 | more
elogind/oldstable,now 241.4-2 i386 [installed,automatic]
gcc-6-base/now 6.3.0-18+deb9u1 i386 [installed,local]
gcc-8-base/oldstable,now 8.3.0-6 i386 [installed,automatic]
gstreamer1.0-plugins-base/oldstable,oldstable-security,now 1.14.4-2+deb10u1 i386 [installed,automatic]
--- snip ---
mesa-va-drivers/oldstable,now 18.3.6-2+deb10u1 i386 [installed]
mesa-vdpau-drivers/oldstable,now 18.3.6-2+deb10u1 i386 [installed,automatic]
ocl-icd-libopencl1/oldstable,now 2.2.12-2 i386 [installed,automatic]
vdpau-driver-all/oldstable,now 1.1.1-10 i386 [installed,automatic]
wine32/oldstable,now 4.0-2 i386 [installed,automatic]
zlib1g/oldstable-security,now 1:1.2.11.dfsg-1+deb10u1 i386 [installed,automatic]
~$

Of the whole of them, 183 were installed,automatic while only 2 were installed,local.

~$ apt list | grep installed | grep i386 | grep local | more
gcc-6-base/now 6.3.0-18+deb9u1 i386 [installed,local]
libicu57/now 57.1-6+deb9u4 i386 [installed,local]
~$ 

This leaves 17 that are just [installed].
ie: not [automatic] or [local].

There's probably a way to see what pulled these i386 file in.
One application that comes to mind is wine.

Hope it clears up something.

Best,

A.

Offline

#9 2022-05-03 12:41:10

Head_on_a_Stick
Member
From: London
Registered: 2019-03-24
Posts: 3,125  
Website

Re: [SOLVED] Backported package install with unmet dependency

Sorry, that should have been

# apt install --target-release beowulf-backports rsync libzstd

Brianna Ghey — Rest In Power

Offline

#10 2022-05-03 13:40:45

Altoid
Member
Registered: 2017-05-07
Posts: 1,581  

Re: [SOLVED] Backported package install with unmet dependency

Hello:

Head_on_a_Stick wrote:

Sorry, that should have been ...

No worries whatsoever, HoaS.  ;^ )

Thanks (again) for your input.

Best,

A.

Last edited by Altoid (2022-05-03 13:41:10)

Offline

Board footer