Home
Help
Search
Login
Register
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Upgrade 21.1 to 21.7 Failure Too many arguments, Too many links.
« previous
next »
Print
Pages: [
1
]
Author
Topic: Upgrade 21.1 to 21.7 Failure Too many arguments, Too many links. (Read 1827 times)
brim2full
Newbie
Posts: 11
Karma: 0
Upgrade 21.1 to 21.7 Failure Too many arguments, Too many links.
«
on:
September 14, 2021, 03:35:05 pm »
Installed:
OPNsense 21.1.9_1-amd64
FreeBSD 12.1-RELEASE-p19-HBSD
OpenSSL 1.1.1k 25 Mar 2021
CPU type Intel(R) Core(TM)2 Duo CPU E7400 @ 2.80GHz (2 cores)
Run Health Audit Reports: CLEAN
***GOT REQUEST TO AUDIT HEALTH***
Currently running OPNsense 21.1.9_1 (amd64/OpenSSL) at Tue Sep 14 11:53:57 -01 2021
>>> Check installed kernel version
Version 21.1.8 is correct.
>>> Check for missing or altered kernel files
No problems detected.
>>> Check installed base version
Version 21.1.8 is correct.
>>> Check for missing or altered base files
No problems detected.
>>> Check for missing package dependencies
Checking all packages: .......... done
>>> Check for missing or altered package files
Checking all packages: .......... done
>>> Check for core packages consistency
Core package "opnsense" has 66 dependencies to check.
Checking packages: .................................................................... done
***DONE***
Run Security Audit Reports:
***GOT REQUEST TO AUDIT SECURITY***
....
Detail removed for security reasons
....
3 problem(s) in 3 installed package(s) found.
***DONE***
<blockquote>
</blockquote>
Checking for updates (using the WEB GUI):
Package name
Current version
New version
Required action
Repository
base
21.1.8
21.7
upgrade
OPNsense
kernel
21.1.8
21.7
upgrade
OPNsense
packages
21.1.9_1
21.7
upgrade
OPNsense
First atempt:
***GOT REQUEST TO UPGRADE***
Fetching packages-21.7-OpenSSL-amd64.tar: .mkdir: /var/cache/opnsense-update/58221: Too many links
failed, mkdir error 0
***DONE***
Go back to Status Tab and retry update:
***GOT REQUEST TO UPGRADE***
Fetching packages-21.7-OpenSSL-amd64.tar: .mkdir: /var/cache/opnsense-update/56544: Too many links
failed, mkdir error 0
***DONE***
From Log Files - General:
Date
Process
Line
2021-09-14T12:09:02
monit[36141]
'No_FW_Updates' status didn't change (1) -- tput: no terminal type specified and no TERM environmental variable. mkdir: /var/cache/opnsense-update/40832: Too many links 1
2021-09-14T12:07:02
monit[36141]
Aborting event
2021-09-14T12:07:02
monit[36141]
Mail: Mailserver response error -- 553 5.7.1 <..............>: Sender address rejected: not owned by user................
2021-09-14T12:07:01
monit[36141]
'No_FW_Updates' status changed (0 -> 1) -- tput: no terminal type specified and no TERM environmental variable. mkdir: /var/cache/opnsense-update/25806: Too many links 1
2021-09-14T12:05:01
monit[36141]
'No_FW_Updates' status didn't change (0) -- tput: no terminal type specified and no TERM environmental variable. Your system is up to date. 0
2021-09-14T12:03:01
monit[36141]
Aborting event
2021-09-14T12:03:01
monit[36141]
Mail: Mailserver response error -- 553 5.7.1 <......................>: Sender address rejected: not owned by user ......................
2021-09-14T12:03:00
monit[36141]
'No_FW_Updates' status changed (1 -> 0) -- tput: no terminal type specified and no TERM environmental variable. Your system is up to date. 0
2021-09-14T12:02:28
syslog-ng[76420]
syslog-ng starting up; version='3.33.2'
2021-09-14T12:02:28
syslogd
kernel boot file is /boot/kernel/kernel
2021-09-14T12:02:27
syslogd
exiting on signal 15
2021-09-14T12:02:19
syslog-ng[22675]
syslog-ng starting up; version='3.33.2'
2021-09-14T12:02:19
syslogd
kernel boot file is /boot/kernel/kernel
Running option 12 on the console:
Proceed with this action? [21.7/y/N]: 21.7
Fetching packages-21.7-OpenSSL-amd64.tar: .mkdir: /var/cache/opnsense-update/13914: Too many links
failed, mkdir error 0
*** opnsense.home.net: OPNsense 21.1.9_1 (amd64/OpenSSL) ***
ALSO.
I have buy some means got as far as sucessfully downloading the three packages ( base, kernel and packages) . Also atempting to install the afformentiond packages. However the kernel package fails with the message rm: argument list too long. I have also had base fail with .mkdir: /var/cache/opnsense-update/75470: Too many links
Does anyone have thoughts on this issue please.
«
Last Edit: February 14, 2022, 06:53:43 am by brim2full
»
Logged
brim2full
Newbie
Posts: 11
Karma: 0
Re: Upgrade 21.1 to 21.7 Failure Too many arguments, Too many links.
«
Reply #1 on:
September 14, 2021, 03:57:34 pm »
Example of it partly working:
***GOT REQUEST TO UPGRADE***
Fetching packages-21.7-OpenSSL-amd64.tar: ................................................ done
Fetching base-21.7-amd64.txz: ................ done
Fetching kernel-21.7-amd64.txz: ..... done
!!!!!!!!!!!! ATTENTION !!!!!!!!!!!!!!!
! A critical upgrade is in progress. !
! Please do not turn off the system. !
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Extracting packages-21.7-OpenSSL-amd64.tar... done
Extracting base-21.7-amd64.txz... done
Installing kernel-21.7-amd64.txz... done
/usr/local/sbin/opnsense-update: rm: Argument list too long
***DONE***
The only think I changed was fix the mail address in Monit.
It appears to have tried to install the kernel >>
System: Firmware Updates tab
Package name
Current version
New version
Required action
Repository
kernel
21.7
21.1.8
upgrade
OPNsense
Also In the System: Firmware Packages Tab
kernel
21.7
121.0MiB
OPNsense
BSD2CLAUSE
HardenedBSD kernel set
Logged
Print
Pages: [
1
]
« previous
next »
OPNsense Forum
»
Archive
»
21.7 Legacy Series
»
Upgrade 21.1 to 21.7 Failure Too many arguments, Too many links.