Re: pkg_add problem
On 04/19/2011 11:35 AM, H.Erkin ATAK wrote: > I am running freebsd 8.2 on virtualbox on an ubuntu machine. > > I am running gnome and have network access no problem. > > But I can not add any packages via pkg_add. > > It gives can not fetch ftp address. > > I tried different mirrors but it did not work. > > Please help me. > Try setting the virtual network card in vbox to bridged mode. AFAIR it defaults to NAT. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: pkg_add problem
Your firewall may be the problem. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: pkg_add problem
El día Tuesday, April 19, 2011 a las 11:35:47AM +0300, H.Erkin ATAK escribió: > I am running freebsd 8.2 on virtualbox on an ubuntu machine. > > I am running gnome and have network access no problem. > what does this mean 'have network access' exactly? > But I can not add any packages via pkg_add. > > It gives can not fetch ftp address. > > I tried different mirrors but it did not work. > > Please help me. try fetching any pkg by hand using fetch(1) with something like # fetch ftp://. HIH matthias -- Matthias Apitz t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211 e - w http://www.unixarea.de/ ¡Ya basta! ¡Imperialistas occidentales, quitad las manos de Libia! There's an end of it! Imperialists occidentals, hands off Libya! Schluss jetzt endlich! Imperialisten des Westens, Haende weg von Libyen! ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: pkg_add problem
On 19 April 2011 09:35, H.Erkin ATAK wrote: > I am running freebsd 8.2 on virtualbox on an ubuntu machine. > > I am running gnome and have network access no problem. > > But I can not add any packages via pkg_add. > > It gives can not fetch ftp address. > > I tried different mirrors but it did not work. > > Please help me. > > ___ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to " > freebsd-questions-unsubscr...@freebsd.org" > use the -r and -v flags and post the output ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
pkg_add problem
I am running freebsd 8.2 on virtualbox on an ubuntu machine. I am running gnome and have network access no problem. But I can not add any packages via pkg_add. It gives can not fetch ftp address. I tried different mirrors but it did not work. Please help me. ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"
Re: pkg_add problem
On Thu, Apr 06, 2006 at 10:13:20AM -0700, Kent Stewart wrote: > On Thursday 06 April 2006 06:22, serguey ogoltsoff wrote: > > When I tried to pkg_add make-3.79.1 the attempt failed > > --NO RECORD. > > My try to copy the file via > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Lat > >est/make-3.79.1.tbz > > > > was also a failure. > > Then I sifted all http://ftps mirrored in A2.FTP Sites > > and found out that no one of them > > contains'5.3-release'. > > How can I get make-3.79.1.tbz please? > > > > Add to your .cshrc for root > setenv PACKAGESITE > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest/ > > That is all one line but kmail is folding it. Also, the 5.5-release is > at > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.5-release/Latest/ > > I didn't check to see which set of packages are more recent. I leave > that to you to do. It is the kind of process you need to be aware of > and use the most recent set of builds. Once the 5.5-release is > finished, the stable set will provide the set closest to what you will > find after cvsuping ports-all. May not run on 5.3, I don't remember if there were library changes after then. Kris pgpXDdguS1GUn.pgp Description: PGP signature
Re: pkg_add problem
On Thursday 06 April 2006 06:22, serguey ogoltsoff wrote: > When I tried to pkg_add make-3.79.1 the attempt failed > --NO RECORD. > My try to copy the file via > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Lat >est/make-3.79.1.tbz > > was also a failure. > Then I sifted all http://ftps mirrored in A2.FTP Sites > and found out that no one of them > contains'5.3-release'. > How can I get make-3.79.1.tbz please? > Add to your .cshrc for root setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/Latest/ That is all one line but kmail is folding it. Also, the 5.5-release is at ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.5-release/Latest/ I didn't check to see which set of packages are more recent. I leave that to you to do. It is the kind of process you need to be aware of and use the most recent set of builds. Once the 5.5-release is finished, the stable set will provide the set closest to what you will find after cvsuping ports-all. Kent -- Kent Stewart Richland, WA http://www.soyandina.com/ "I am Andean project". http://users.owt.com/kstewart/index.html ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add problem
On Thu, Apr 06, 2006 at 06:22:17AM -0700, serguey ogoltsoff wrote: > When I tried to pkg_add make-3.79.1 the attempt failed > --NO RECORD. > My try to copy the file via > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/make-3.79.1.tbz > > was also a failure. > Then I sifted all http://ftps mirrored in A2.FTP Sites > and found out that no one of them > contains'5.3-release'. > How can I get make-3.79.1.tbz please? You will have to either 1a) Use a mirror that still carries old packages (see http://mirrorlist.freebsd.org for a start), and 1b) Use the correct filename (it's not called "make") 2) build the port yourself (gmake is quick to compile) 3) Update to 6.1 which will carry packages on all mirrors for quite a while. Kris pgpp5g6gcek8L.pgp Description: PGP signature
pkg_add problem
When I tried to pkg_add make-3.79.1 the attempt failed --NO RECORD. My try to copy the file via ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5.3-release/Latest/make-3.79.1.tbz was also a failure. Then I sifted all http://ftps mirrored in A2.FTP Sites and found out that no one of them contains'5.3-release'. How can I get make-3.79.1.tbz please? yours` serguey __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add problem
On 30 Sep 2005, at 18:50, Kris Kennaway wrote: On Fri, Sep 30, 2005 at 06:37:37PM +0100, eoghan wrote: On 30 Sep 2005, at 18:05, Kris Kennaway wrote: On Fri, Sep 30, 2005 at 05:00:15PM +0100, eoghan wrote: On 30 Sep 2005, at 15:30, Josh Ockert wrote: Uhh... Well my first bet when trying to find stuff on FTP would be to follow the path that the address given tries to specify. Had you tried, you would have found that packages-5.3-release doesn't exist under ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/. This would have led you to wonder how to change the site pkg_add -r uses for packages. This, appropriately enough, is set in the environment variable PACKAGESITE, which you could have found by googling the archives (this question came up maybe a week ago) or reading the man page. My recommendation would be: o Set PACKAGESITE to: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ o pkg_add -rf portupgrade o portupgrade -arfP Ok thanks. I have done this... setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ packages-5-stable/ and im still getting the same error. Show us the error, it can't be precisely the same one since you changed the environment variable. i set the PACKAGESITE... then pkg_add -r gnome2 Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/ i386/ packages-5-stable/gnome2.tbz: File unavailable (e.g., not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/ i386/packages-5-stable/gnome2.tbz' by URL Indeed, there is no such file in this directory. You're missing a Latest/. Ah! Thanks for your help all. Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add problem
On Fri, Sep 30, 2005 at 06:37:37PM +0100, eoghan wrote: > > On 30 Sep 2005, at 18:05, Kris Kennaway wrote: > > >On Fri, Sep 30, 2005 at 05:00:15PM +0100, eoghan wrote: > > > >>On 30 Sep 2005, at 15:30, Josh Ockert wrote: > >> > >> > >>>Uhh... Well my first bet when trying to find stuff on FTP would be > >>>to follow the path that the address given tries to specify. Had you > >>>tried, you would have found that packages-5.3-release doesn't exist > >>>under ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/. This would > >>>have led you to wonder how to change the site pkg_add -r uses for > >>>packages. This, appropriately enough, is set in the environment > >>>variable PACKAGESITE, which you could have found by googling the > >>>archives (this question came up maybe a week ago) or reading the > >>>man page. > >>> > >>> > >>>My recommendation would be: > >>>o Set PACKAGESITE to: > >>> ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ > >>>o pkg_add -rf portupgrade > >>>o portupgrade -arfP > >>> > >> > >>Ok thanks. I have done this... > >>setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ > >>packages-5-stable/ > >>and im still getting the same error. > >> > > > >Show us the error, it can't be precisely the same one since you > >changed the environment variable. > > i set the PACKAGESITE... then > pkg_add -r gnome2 > > Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ > packages-5-stable/gnome2.tbz: File unavailable (e.g., not found, no > access) > pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/ > i386/packages-5-stable/gnome2.tbz' by URL Indeed, there is no such file in this directory. You're missing a Latest/. Kris pgpkVTiLZl4Ad.pgp Description: PGP signature
Re: pkg_add problem
On 30 Sep 2005, at 18:05, Kris Kennaway wrote: On Fri, Sep 30, 2005 at 05:00:15PM +0100, eoghan wrote: On 30 Sep 2005, at 15:30, Josh Ockert wrote: Uhh... Well my first bet when trying to find stuff on FTP would be to follow the path that the address given tries to specify. Had you tried, you would have found that packages-5.3-release doesn't exist under ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/. This would have led you to wonder how to change the site pkg_add -r uses for packages. This, appropriately enough, is set in the environment variable PACKAGESITE, which you could have found by googling the archives (this question came up maybe a week ago) or reading the man page. My recommendation would be: o Set PACKAGESITE to: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ o pkg_add -rf portupgrade o portupgrade -arfP Ok thanks. I have done this... setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ packages-5-stable/ and im still getting the same error. Show us the error, it can't be precisely the same one since you changed the environment variable. i set the PACKAGESITE... then pkg_add -r gnome2 Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ packages-5-stable/gnome2.tbz: File unavailable (e.g., not found, no access) pkg_add: unable to fetch 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/ i386/packages-5-stable/gnome2.tbz' by URL ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add problem
eoghan wrote: On 30 Sep 2005, at 17:42, Josh Ockert wrote: You're wrong. First of all, the address isnt ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ packages-5-stable/ it's ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ Second, if you did indeed set the PACKAGESITE environment variable, then -- barring a bug in pkg_add that prevents it from getting PACKAGESITE under tcsh -- you could not possibly get the SAME error message. You MIGHT have possibly gotten a DIFFERENT error message, but not the SAME one. Sorry im using apple mail and it seems to add that space. Im putting the correct path in. The error comes back the same with the path changed (the one i set it to). ive just done a fresh install today and have the manual. I installed from 5.3 dvd and my manual says: pkg_add -r gnome2 - so the path set initially is coming from my install?? But I did change it. Once I reboot and login as root i do the setenv. Im really not sure what im doing wrong. Ive checked the ftp site and it works. What's your exact command line and error? ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add problem
On Fri, Sep 30, 2005 at 05:00:15PM +0100, eoghan wrote: > On 30 Sep 2005, at 15:30, Josh Ockert wrote: > > >Uhh... Well my first bet when trying to find stuff on FTP would be > >to follow the path that the address given tries to specify. Had you > >tried, you would have found that packages-5.3-release doesn't exist > >under ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/. This would > >have led you to wonder how to change the site pkg_add -r uses for > >packages. This, appropriately enough, is set in the environment > >variable PACKAGESITE, which you could have found by googling the > >archives (this question came up maybe a week ago) or reading the > >man page. > > > > > >My recommendation would be: > > o Set PACKAGESITE to: > > ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ > > o pkg_add -rf portupgrade > > o portupgrade -arfP > > Ok thanks. I have done this... > setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ > packages-5-stable/ > and im still getting the same error. Show us the error, it can't be precisely the same one since you changed the environment variable. > I have checked the ftp site and > its there. So im not sure what I need to do? Kris pgpnWyZHzqlA0.pgp Description: PGP signature
Re: pkg_add problem
On 30 Sep 2005, at 15:30, Josh Ockert wrote: Uhh... Well my first bet when trying to find stuff on FTP would be to follow the path that the address given tries to specify. Had you tried, you would have found that packages-5.3-release doesn't exist under ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/. This would have led you to wonder how to change the site pkg_add -r uses for packages. This, appropriately enough, is set in the environment variable PACKAGESITE, which you could have found by googling the archives (this question came up maybe a week ago) or reading the man page. My recommendation would be: o Set PACKAGESITE to: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ o pkg_add -rf portupgrade o portupgrade -arfP Ok thanks. I have done this... setenv PACKAGESITE ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ packages-5-stable/ and im still getting the same error. I have checked the ftp site and its there. So im not sure what I need to do? Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
Re: pkg_add problem
Uhh... Well my first bet when trying to find stuff on FTP would be to follow the path that the address given tries to specify. Had you tried, you would have found that packages-5.3-release doesn't exist under ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/. This would have led you to wonder how to change the site pkg_add -r uses for packages. This, appropriately enough, is set in the environment variable PACKAGESITE, which you could have found by googling the archives (this question came up maybe a week ago) or reading the man page. My recommendation would be: o Set PACKAGESITE to: ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-5-stable/ o pkg_add -rf portupgrade o portupgrade -arfP eoghan wrote: Hello Im trying to install gnome2 via pkg_add -r since the port install gave me an error half way through. So when I type: pkg_add -r gnome2 I get: Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ packages-5.3-release/Latest/gnome2.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'tp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ packages-5.3-release/Latest/gnome2.tbz' by URL I can ftp to the freeBSD site but im jut not sure what pkg to get... any idea why my pkg_add -r doesnt work? (it seems to be the same for any pkg i try to add) Im using 5.3 Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]" ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
pkg_add problem
Hello Im trying to install gnome2 via pkg_add -r since the port install gave me an error half way through. So when I type: pkg_add -r gnome2 I get: Error: FTP Unable to get ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ packages-5.3-release/Latest/gnome2.tbz: File unavailable (e.g., file not found, no access) pkg_add: unable to fetch 'tp://ftp.freebsd.org/pub/FreeBSD/ports/i386/ packages-5.3-release/Latest/gnome2.tbz' by URL I can ftp to the freeBSD site but im jut not sure what pkg to get... any idea why my pkg_add -r doesnt work? (it seems to be the same for any pkg i try to add) Im using 5.3 Thanks Eoghan ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to "[EMAIL PROTECTED]"
RE: pkg_add problem w/ slightly old dependencies
When you issue the make package command on an port directory it first does the port install which will auto install all the dependent ports, followed by building the package and writing it into the port directory you started with. If I understand you correctly, you have saved this newly built package, de-installed the port version and while trying to install the package you just built using the pkg_add command the package add process is asking for package versions of the dependent ports. What you have run into is when doing the 'make package' on the original port the resulting package does not contain the dependent ports with it. What I do is create /usr/ports/packages/ directory and move all the package files to it. First I do an ' make package on the port I want. During the install you will see each dependent port downloaded and installed. After the original package is built, I move it to /usr/ports/packages/. I then de-install the original port and all its dependents followed by doing an 'make package' on each dependent, move that package to /usr/ports/packages/. When all the dependents packages have been build, I package delete each dependent. Now any time I want to re-add the parent package I cd /usr/ports/packages/ then pkg_add package name and as the parent package gets installed all it's dependents are found. I do this with all my ports I use and bkup the /usr/ports/packages/ directory so after cloning a new box or after disaster recovery where I have to install FBSD from scratch I can install all the ports I use very easily without fooling around with the cvsup of the ports tree or the downloading of the port's tar file again. This method keeps the port and it's dependents in sync. Hope This helps -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]On Behalf Of parv Sent: Wednesday, July 17, 2002 5:14 PM To: f-ports; f-q Subject: pkg_add problem w/ slightly old dependencies (mutt-devel port is just an example below; it happens w/ any other port in similar scenario.) i installed mutt-devel & created a mutt-1.5.1 package. after de installing it and trying to do pkg_add, i get the following error... # pkg_add ./mutt-devel-1.5.1.tgz pkg_add: could not find package libslang-1.4.5 ! pkg_add: could not find package libiconv-1.8 ! pkg_add: could not find package gettext-0.11.2 ! pkg_add: could not find package expat-1.95.3 ! pkg_add: could not find package cyrus-sasl-1.5.27_4 ! ...though i don't have those particular ports installed, i sure do have the ports which come darn close to the list... libslang-1.4.3 libiconv-1.7.0.1 gettext-0.11.1_3 expat-1.95.2 cyrus-sasl-1.5.27_2 ...it is not easy or practical to always upgrade the installed ports whenever pkg_add fails. the only choice, if there is one, that remains is of re-building & re-installing the port. is there a way to workaround the problem w/o the rebuild/reinstall process so that pkg_add would work w/ already installed ports? - parv -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message
pkg_add problem w/ slightly old dependencies
(mutt-devel port is just an example below; it happens w/ any other port in similar scenario.) i installed mutt-devel & created a mutt-1.5.1 package. after de installing it and trying to do pkg_add, i get the following error... # pkg_add ./mutt-devel-1.5.1.tgz pkg_add: could not find package libslang-1.4.5 ! pkg_add: could not find package libiconv-1.8 ! pkg_add: could not find package gettext-0.11.2 ! pkg_add: could not find package expat-1.95.3 ! pkg_add: could not find package cyrus-sasl-1.5.27_4 ! ...though i don't have those particular ports installed, i sure do have the ports which come darn close to the list... libslang-1.4.3 libiconv-1.7.0.1 gettext-0.11.1_3 expat-1.95.2 cyrus-sasl-1.5.27_2 ...it is not easy or practical to always upgrade the installed ports whenever pkg_add fails. the only choice, if there is one, that remains is of re-building & re-installing the port. is there a way to workaround the problem w/o the rebuild/reinstall process so that pkg_add would work w/ already installed ports? - parv -- To Unsubscribe: send mail to [EMAIL PROTECTED] with "unsubscribe freebsd-questions" in the body of the message