The officially official Devuan Forum!

You are not logged in.

#1 2025-03-23 13:41:43

fahro
Member
Registered: 2017-09-26
Posts: 5  

libguava-java (gradle)

Hello,

I am trying to resolve issue with libguava-java. The context is: I want to prepare build environment for calimero java libraries in NetBeans. Gradle installation failed with errors related to libguava-java. Also gradle --version fails.

--fix-missing fails with:

fahron@ibnrusd:~$ sudo apt --fix-broken install 
Reading package lists... Done
Building dependency tree... Done
Reading state information... Done
Correcting dependencies... Done
The following additional packages will be installed:
  libguava-java
The following NEW packages will be installed:
  libguava-java
0 upgraded, 1 newly installed, 0 to remove and 1 not upgraded.
7 not fully installed or removed.
Need to get 2,613 kB of archives.
After this operation, 2,959 kB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://deb.devuan.org/merged daedalus/main amd64 libguava-java all 31.1-1 [2,613 kB]
Ign:1 http://deb.devuan.org/merged daedalus/main amd64 libguava-java all 31.1-1
Get:1 http://deb.devuan.org/merged daedalus/main amd64 libguava-java all 31.1-1 [2,613 kB]
Ign:1 http://deb.devuan.org/merged daedalus/main amd64 libguava-java all 31.1-1
Get:1 http://deb.devuan.org/merged daedalus/main amd64 libguava-java all 31.1-1 [2,613 kB]
Ign:1 http://deb.devuan.org/merged daedalus/main amd64 libguava-java all 31.1-1
Get:1 http://deb.devuan.org/merged daedalus/main amd64 libguava-java all 31.1-1 [2,613 kB]
Err:1 http://deb.devuan.org/merged daedalus/main amd64 libguava-java all 31.1-1
  Connection timed out [IP: 199.232.18.132 80]
E: Failed to fetch http://deb.debian.org/debian/pool/main/g/guava-libraries/libguava-java_31.1-1_all.deb  Connection timed out [IP: 199.232.18.132 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

Environment is

fahron@ibnrusd:~$ lsb_release -a
No LSB modules are available.
Distributor ID:	Devuan
Description:	Devuan GNU/Linux 5 (daedalus)
Release:	5
Codename:	daedalus
fahron@ibnrusd:~$ 

fahron@ibnrusd:~$ uname -a
Linux ibnrusd 6.1.0-31-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.128-1 (2025-02-07) x86_64 GNU/Linux
fahron@ibnrusd:~$ 

Any help is highly appreciated.

Thank You,

Offline

#2 2025-03-23 23:01:42

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

Re: libguava-java (gradle)

It sometimes helps to run

apt-get update

to update your local meta files.

TL;DR; apt asks for particular versions of packages and it does not ask for "whatever is current right now" (as one might think it would do). The meta files tell "slices" of versions across packages that have been tested and shown to work together. Sometimes one would want apt to run "update" automatically upon install of packages, but I guess that would add code "unnecessarily"; anyone who wants update to be part of installing would simply do that themselves.

Sometimes though it's a neworking problem, or that the target server has a transient problem.

Offline

Board footer