Downgrade tmux to 1.8 in jail

Code:
wget [URL]https://svn.freebsd.org/ports[/URL]
--2016-05-03 22:18:27--  [URL]https://svn.freebsd.org/ports[/URL]
Resolving svn.freebsd.org (svn.freebsd.org)... 2610:1c1:1:606c::e6a:0, 96.47.72.69
Connecting to svn.freebsd.org (svn.freebsd.org)|2610:1c1:1:606c::e6a:0|:443... failed: No route to host.
Connecting to svn.freebsd.org (svn.freebsd.org)|96.47.72.69|:443... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: [URL]https://svn.freebsd.org/ports/[/URL] [following]
--2016-05-03 22:18:27--  [URL]https://svn.freebsd.org/ports/[/URL]
Reusing existing connection to svn.freebsd.org:443.
HTTP request sent, awaiting response... 200 OK
Length: 341 [text/html]
Saving to: 'ports'

ports                                                               100%[===================================================================================================================================================================>]     341  --.-KB/s   in 0s    

2016-05-03 22:18:27 (30.4 MB/s) - 'ports' saved [341/341]
 
Looks like your IPv6 isn't setup properly and SVN will try it first and bail while wget falls back to IPv4.

The checkout command should be svn checkout https://svn.freebsd.org/ports/head /usr/ports. Using https://svn.freebsd.org/ports will checkout all branches which is not what you want, but using https://svn.freebsd.org/ports/head will limit the checkout to only the HEAD branch.

If all else fails try using the IP address 96.47.72.69 instead of svn.freebsd.org. I don't see a way to force SVN to not use IPv6.
 
I edited the settings of the jail and turned on auto IPv6

Code:
[root@nzedb /]# rm -rf /usr/ports
[root@nzedb /]# svn checkout https://svn.freebsd.org/ports /usr/ports
svn: E170013: Unable to connect to a repository at URL 'https://svn.freebsd.org/ports'
svn: E000065: Error running context: No route to host
[root@nzedb /]# svn checkout 96.47.72.69 /usr/ports
svn: E125002: '96.47.72.69' does not appear to be a URL
[root@nzedb /]# svn checkout https://96.47.72.69 /usr/ports
Error validating server certificate for 'https://96.47.72.69:443':
- The certificate hostname does not match.
Certificate information:
- Hostname: svn.freebsd.org
- Valid: from Jun 22 00:00:00 2015 GMT until Jun 22 23:59:59 2016 GMT
- Issuer: Gandi Standard SSL CA 2, Gandi, Paris, Paris, FR
- Fingerprint: E9:37:73:80:B5:32:1B:93:92:94:98:17:59:F0:FA:A2:5F:1E:DE:B9
(R)eject, accept (t)emporarily or accept (p)ermanently? p   
svn: E170013: Unable to connect to a repository at URL 'https://96.47.72.69'
svn: E175009: The XML response contains invalid XML
svn: E130003: Malformed XML: no element found
[root@nzedb /]# svn checkout http://96.47.72.69 /usr/ports
svn: E170013: Unable to connect to a repository at URL 'http://96.47.72.69'
svn: E175009: The XML response contains invalid XML
svn: E130003: Malformed XML: no element found
 
rm -rf /usr/ports svn checkout https://svn.freebsd.org/ports /usr/ports cd /usr/ports/sysutils/tmux svn up -r 399264 make deinstall install
tobik this worked I had to hit p to permanently accept the certificate. I then followed @wblock post and an avalanche of stuff happened. I kept hitting ok as the default when a window with options popped up.
When it was all finished I did
Code:
/usr/ports/sysutils/tmux # tmux -V
tmux 2.0
Thanks you so much to everyone that helped and especially to tobik and wblock@.
 
I tried this same code in another jail running the same software and got this:
Code:
/usr/ports/sysutils/tmux # make deinstall install
===>  Deinstalling for tmux
===>   tmux not installed, skipping
===> Cannot create /var/db/ports/sysutils_tmux, check permissions
*** [do-config] Error code 1

Stop in /usr/ports/sysutils/tmux.
*** [config-conditional] Error code 1

Stop in /usr/ports/sysutils/tmux.
Any idea what is causing the error? The permissions in the directory are all root:wheel
 
The permissions in the directory are all root:wheel
That's the ownership, not the permissions. What are the permissions on /var/db/ports/? The permissions should be 755 and the ownership root:wheel.
 
Yes my permission on the /var/db/ports is 755 and ownership is root:wheel but the directory is empty.
Also any idea why the command mkdir cannot be found? It doesn't exist in my /usr/bin or /bin. Did I remove it by accident and how do I get it back?
My
Code:
echo $PATH
/sbin:/bin:/usr/sbin:/usr/bin:/usr/games:/usr/local/sbin:/usr/local/bin:/root/bin
 
it seems that
Code:
portsnap fetch && portsnap extract
eliminated the mkdir command. How do I reinstall it?
 
Back
Top