Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CANNOT LINK EXECUTABLE "rsync": library "libpopt.so.0" not found #5477

Closed
Dmole opened this issue Jul 5, 2020 · 7 comments
Closed

CANNOT LINK EXECUTABLE "rsync": library "libpopt.so.0" not found #5477

Dmole opened this issue Jul 5, 2020 · 7 comments

Comments

@Dmole
Copy link
Contributor

Dmole commented Jul 5, 2020

Problem description
rsync regression

Steps to reproduce
use rsync, apt-get upgrade, rsync stops working.

Expected behavior
rsync keeps working

Additional information

termux-info
Packages CPU architecture:
aarch64
Subscribed repositories:
# sources.list
deb https://termux.org/packages/ stable main
# game-repo (sources.list.d/game.list)
deb https://dl.bintray.com/grimler/game-packages-24 games stable
# science-repo (sources.list.d/science.list)
deb https://dl.bintray.com/grimler/science-packages-24 science stable
Updatable packages:
curl/stable 7.71.0 aarch64 [upgradable from: 7.70.0]
dnsutils/stable 9.16.4 aarch64 [upgradable from: 9.14.9]
libcurl/stable 7.71.0 aarch64 [upgradable from: 7.70.0]
rsync/stable 3.2.1-1 aarch64 [upgradable from: 3.1.3-6]
Android version:
10
Kernel build information:
Linux localhost 4.4.210-gae6d0ab37d61 #1 SMP PREEMPT Fri Apr 10 23:00:09 UTC 2020 aarch64 Android
Device manufacturer:
Google
Device model:
Pixel 2
apt-get upgrade
Preparing to unpack .../libpopt_1.18_aarch64.deb ...
Unpacking libpopt (1.18) over (1.16-3) ...
Setting up libpopt (1.18) ...

5420897

1d75050

@ghost
Copy link

ghost commented Jul 5, 2020

rsync/stable 3.2.1-1 aarch64 [upgradable from: 3.1.3-6]

Upgrade rsync no ?

I can't reproduce the problem which in fact was fixed in 0341cfc. #5471

@ghost ghost closed this as completed Jul 5, 2020
@ghost
Copy link

ghost commented Jul 5, 2020

Screenshot_20200705-165448_Termux

@Dmole
Copy link
Contributor Author

Dmole commented Jul 5, 2020

@xeffyr yes it works for me now,
I assume apt-get upgrade should have picked that up if packages were pushed/synchronized properly.

@Dmole
Copy link
Contributor Author

Dmole commented Jul 5, 2020

@xeffyr I tried on a different device and rsync is held back but not libpopt ... why would that be?

The following packages have been kept back:
  curl libcurl rsync termux-tools
The following packages will be upgraded:
  libpopt

--with-new-pkgs corrected the issue but that should not be necessary;

   --with-new-pkgs
       Allow installing new packages when used in conjunction with upgrade. This is useful if
       the update of a installed package requires new dependencies to be installed. Instead
       of holding the package back upgrade will upgrade the package and install the new
       dependencies. Note that upgrade with this option will never remove packages, only
       allow adding new ones. Configuration Item: APT::Get::Upgrade-Allow-New.

libpopt should have been held back if rsync was.

@Dmole
Copy link
Contributor Author

Dmole commented Jul 5, 2020

@xeffyr do you think there is a missing dependency?

@ghost
Copy link

ghost commented Jul 5, 2020

Use pkg upgrade or apt full-upgrade instead. If package dependency set was changed, e.g. new dependency has been added, apt upgrade will refuse to upgrade that package.

apt upgrade is a way to partial upgrades which are not expected by Termux design.

@Dmole
Copy link
Contributor Author

Dmole commented Jul 5, 2020

Termux should patch apt to disable non-full upgrade if termux is not going to support that aspect of dependency management.

@ghost ghost locked and limited conversation to collaborators Oct 9, 2021
This issue was closed.
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant