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

Update returned exit code not zer #166

Open
Kitkatthekitkat opened this issue Feb 9, 2024 · 4 comments
Open

Update returned exit code not zer #166

Kitkatthekitkat opened this issue Feb 9, 2024 · 4 comments

Comments

@Kitkatthekitkat
Copy link

saltstack.log

@digitalsleuth
Copy link

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
Copy link

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

@digitalsleuth
Copy link

digitalsleuth commented Feb 16, 2024

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
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants