Solved

cvsup alternative

Posted on 2006-07-04
6
478 Views
Last Modified: 2013-11-22
Hi All,

Access via port 5559 is not allowed from my LAN.

Is there an alternative way to upate my ports and source, other than cvsup?

Thank you.
Jo
0
Comment
Question by:m0nk3yza
6 Comments
 
LVL 1

Expert Comment

by:shmukler
ID: 17039132
There is no alternative way to update ports, however there are ways to work around blocked ports.

If you connected to the internet directly i.e. without proxy see if port 80 is open by doing something a kin to $telnet myhostname 80

Where hostname is yahoo.com or some other domain that's sure to run a web server.

If you manage to connect, then you need to find a friendly machine on the outside that would allow you to (ssh) tunnel.
You would have to run ssh server on port 80, if ssh port is closed, or if it's open only marrier swap 80 the above test with 22

If you have gotten this far, you can now point cvsup to use the tunnel and update your ports.
0
 
LVL 4

Expert Comment

by:Phreonx
ID: 17041271
Hello,
you can try portupgrade
 
  cd /usr/ports/sysutils/portupgrade/
  make install distclean

To update all ports:
  portupgrade -ra

I'm not sure if it's going to work. Please keep us informed.

Hope that helped ;)
0
 
LVL 1

Author Comment

by:m0nk3yza
ID: 17041806
Thanks you for the replies.

When I try to install a couple of ports, some download and other don't.

I believe the port tree (on my server) is outdated and therefore it's unable to find the files needed for the installation.
(Probably due to this being FreeBSD 4.10..., I don't have a later version and am unable to download an ISO due to bandwidth constraints)

I'll keep on trying and let you know.

Regards,
Jo
0
Announcing the Most Valuable Experts of 2016

MVEs are more concerned with the satisfaction of those they help than with the considerable points they can earn. They are the types of people you feel privileged to call colleagues. Join us in honoring this amazing group of Experts.

 
LVL 1

Author Comment

by:m0nk3yza
ID: 17041844
I ran portupgrade -ra

Got this output:

bsd:/usr/ports/sysutils/portupgrade# portupgrade -ra
[Rebuilding the pkgdb <format:bdb1_btree> in /var/db/pkg ... - 5 packages found (-0 +5) ..... done]
cd: can't cd to /usr/ports/net/cvsup-devel
** The port directory for 'net/cvsup-devel' does not exist.
** Listing the failed packages (*:skipped / !:failed)
        ! net/cvsup-devel (cvsup-16.1e) (port directory error)
--->  Packages processed: 0 done, 4 ignored, 0 skipped and 1 failed
bsd:/usr/ports/sysutils/portupgrade#

I suspect portupgrade may relate to installed ports (as I've installed 4 ports allready), and may not upgrade the port tree itself.

Thank you
Jo
0
 
LVL 4

Accepted Solution

by:
Phreonx earned 500 total points
ID: 17042456
Hello,
try using portsnap to update your ports tree:
 
  portsnap fetch
 
which fetched a compressed snapshot of the entire ports tree. Then you need to extract the snapshot:

  portsnap extract

which extracts the ports tree under the ports tree /usr/ports/. In order to update the ports tree:

  portsnap fetch update

Hope that helped ;)

 
0
 
LVL 5

Expert Comment

by:flashwebhost
ID: 17067300
portsnap is more efficient than cvsup, is part of FreeBSD base from FreeBSD 6.

Also you can use freebsd-update to update binary files

freebsd-update fetch

0

Featured Post

Free Tool: SSL Checker

Scans your site and returns information about your SSL implementation and certificate. Helpful for debugging and validating your SSL configuration.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

When you do backups in the Solaris Operating System, the file system must be inactive. Otherwise, the output may be inconsistent. A file system is inactive when it's unmounted or it's write-locked by the operating system. Although the fssnap utility…
I promised to write further about my project, and here I am.  First, I needed to setup the Primary Server.  You can read how in this article: Setup FreeBSD Server with full HDD encryption (http://www.experts-exchange.com/OS/Unix/BSD/FreeBSD/A_3660-S…
Learn several ways to interact with files and get file information from the bash shell. ls lists the contents of a directory: Using the -a flag displays hidden files: Using the -l flag formats the output in a long list: The file command gives us mor…
Learn how to navigate the file tree with the shell. Use pwd to print the current working directory: Use ls to list a directory's contents: Use cd to change to a new directory: Use wildcards instead of typing out long directory names: Use ../ to move…

839 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question