REMnux / remnux-cli

This repository contains the source code for the REMnux installer, which is the command-line tool for installing and upgrading the REMnux distro.
https://REMnux.org
MIT License
38 stars 11 forks source link

Update returned exit code not zer #166

Open Kitkatthekitkat opened 9 months ago

Kitkatthekitkat commented 9 months ago

saltstack.log

digitalsleuth commented 9 months ago

Hi @Kitkatthekitkat , it looks like either you had a temporary internet connectivity issue when attempting to install, or you might be behind a proxy which is blocking inetsim:

# [ERROR   ] Command 'systemd-run' failed with return code: 100
# [ERROR   ] stdout: Reading package lists...
Building dependency tree...
Reading state information...
The following additional packages will be installed:
  libcgi-fast-perl libcgi-pm-perl libdigest-bubblebabble-perl
  libdigest-hmac-perl libfcgi-perl libio-multiplex-perl
  libio-socket-inet6-perl libipc-shareable-perl libnet-cidr-perl
  libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl libnet-server-perl
  libperl4-corelibs-perl libsocket6-perl
Suggested packages:
  liblog-log4perl-perl
Recommended packages:
  libnfqueue-perl
The following NEW packages will be installed:
  inetsim libcgi-fast-perl libcgi-pm-perl libdigest-bubblebabble-perl
  libdigest-hmac-perl libfcgi-perl libio-multiplex-perl
  libio-socket-inet6-perl libipc-shareable-perl libnet-cidr-perl
  libnet-dns-perl libnet-dns-sec-perl libnet-ip-perl libnet-server-perl
  libperl4-corelibs-perl libsocket6-perl
0 upgraded, 16 newly installed, 0 to remove and 86 not upgraded.
Need to get 231 kB/1187 kB of archives.
After this operation, 4006 kB of additional disk space will be used.
Err:1 http://www.inetsim.org/debian binary/ inetsim 1.3.2-1
  403  Forbidden [IP: 85.214.152.164 80]
# [ERROR   ] stderr: Running scope as unit: run-r3229eba2a8ec475d83fe59f777064d8d.scope
E: Failed to fetch http://www.inetsim.org/debian/binary/inetsim_1.3.2-1_all.deb  403  Forbidden [IP: 85.214.152.164 80]
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
# [ERROR   ] retcode: 100
# [INFO    ] Executing command dpkg-query in directory '/root'
# [ERROR   ] Problem encountered installing package(s). Additional info follows:

errors:
    - Running scope as unit: run-r3229eba2a8ec475d83fe59f777064d8d.scope
      E: Failed to fetch http://www.inetsim.org/debian/binary/inetsim_1.3.2-1_all.deb  403  Forbidden [IP: 85.214.152.164 80]
      E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?

If you are behind a proxy, you could try using the guidelines suggested here to see if they help with the installation process.

Please let us know how this goes.

Cheers!

chad5150 commented 9 months ago

same issue - if you actually go http site you get the 403 error which i understand may be a permissions issue.

digitalsleuth commented 9 months ago

Hi @chad5150 , when I go to the site manually, and use wget to acquire the file, I don't get the 403 error. Your issue could also be a proxy issue as mentioned above. Are you able to determine if you are behind a proxy? You could also check the date/time on your system and see if it is current?

wget http://www.inetsim.org/debian/binary/inetsim_1.3.2-1_all.deb
--2024-02-16 01:12:39--  http://www.inetsim.org/debian/binary/inetsim_1.3.2-1_all.deb
Resolving www.inetsim.org (www.inetsim.org)... 85.214.152.164
Connecting to www.inetsim.org (www.inetsim.org)|85.214.152.164|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 231292 (226K) [application/x-debian-package]
Saving to: ‘inetsim_1.3.2-1_all.deb’

inetsim_1.3.2-1_all.deb                                                       100%[=================================================================================================================================================================================================>] 225.87K   420KB/s    in 0.5s

2024-02-16 01:12:40 (420 KB/s) - ‘inetsim_1.3.2-1_all.deb’ saved [231292/231292]
digitalsleuth commented 6 months ago

@chad5150 Has this been resolved? If not please let us know. Otherwise, we can close this issue.