Solved

cvsup alternative

Posted on 2006-07-04
6
477 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
ScreenConnect 6.0 Free Trial

Want empowering updates? You're in the right place! Discover new features in ScreenConnect 6.0, based on partner feedback, to keep you business operating smoothly and optimally (the way it should be). Explore all of the extras and enhancements for yourself!

 
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

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

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…
My previous tech tip, Installing the Solaris OS From the Flash Archive On a Tape (http://www.experts-exchange.com/articles/OS/Unix/Solaris/Installing-the-Solaris-OS-From-the-Flash-Archive-on-a-Tape.html), discussed installing the Solaris Operating S…
Learn how to find files with the shell using the find and locate commands. Use locate to find a needle in a haystack.: With locate, check if the file still exists.: Use find to get the actual location of the file.:
In a previous video, we went over how to export a DynamoDB table into Amazon S3.  In this video, we show how to load the export from S3 into a DynamoDB table.

770 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