Re: install packages with pkg_add(1) into another file system

2013-10-09 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 03:31:16PM +0200, Matthias Apitz 
escribió:

 Meanwhile I did:
 
 # cp -Rp ~guru/PKGDIR/mnt
 
 # PKG_PATH=/PKGDIR
 # export PKG_PATH
 # chroot /mnt pkg_add xorg-7.7
 # chroot /mnt pkg_add kde-4.10.5
 # chroot /mnt pkg_add vim-7.3.1314
 ...
 
 # chroot /mnt pkg_info | wc -l
  654
 
 which went fine without any errors (only the normal messages about
 creation of users, etc.); I will test the resulting image and report
 back.

I have transferred the image with dd(1) to a 16 marketing-GByte USB
key; it boots fine in my little EeePC 900, takes around 90 secs until
login: and KDE4 starts fine too, takes around 240 secs from startx to
be able to start an xterm application in KDE4 desktop; i.e. it works,
even from such a slow USB key which has a read performance of 1 to 17 MByte
per sec, depending of the blocksize 512 or 8m;

All this is only a proof of concept to prepare such USB key to boot from
and reinstall from it the system on my EeePC netbook whic runs at
themoment r235646 with KDE3 (which is now dropped from our ports tree).

It seems that KDE4 launches a lot of application or services which I
will not need, for example all these akonadi_maildir processes (see
attached ps -ax output; for what they are good for? Ok, this question
goes more to the kde@ mailing list.

Thx

matthias




 PID TT  STATTIME COMMAND
   0  -  DLs  0:00.05 [kernel]
   1  -  ILs  0:00.02 /sbin/init --
   2  -  DL   0:00.00 [sctp_iterator]
   3  -  DL   0:00.00 [xpt_thrd]
   4  -  DL   0:00.11 [pagedaemon]
   5  -  DL   0:00.00 [vmdaemon]
   6  -  DL   0:00.00 [pagezero]
   7  -  DL   0:00.00 [bufdaemon]
   8  -  DL   0:00.09 [syncer]
   9  -  DL   0:00.00 [vnlru]
  10  -  DL   0:00.00 [audit]
  11  -  RL   2:53.86 [idle]
  12  -  WL   0:02.35 [intr]
  13  -  DL   0:00.84 [geom]
  14  -  DL   0:00.05 [rand_harvestq]
  15  -  DL   0:00.90 [usb]
  16  -  DL   0:00.03 [acpi_thermal]
  17  -  DL   0:00.00 [softdepflush]
1391  -  Ss   0:00.03 /sbin/devd
1536  -  Ss   0:00.04 /usr/sbin/syslogd -s
1560  -  DL   0:00.04 [md0]
1641  -  Is   0:00.60 /usr/sbin/moused -p /dev/psm0 -t auto
1686  -  Is   0:00.00 /usr/sbin/sshd
1689  -  Ss   0:00.02 sendmail: accepting connections (sendmail)
1692  -  Is   0:00.00 sendmail: Queue runner@00:30:00 for /var/spool/clientmque
1696  -  Ss   0:00.05 /usr/sbin/cron -s
1796  -  Is   0:19.46 /usr/local/bin/dbus-daemon --fork --print-pid 5 --print-a
1802  -  Is   0:00.91 kdeinit4: kdeinit4 Running... (kdeinit4)
1803  -  I0:00.60 kdeinit4: kdeinit4: klauncher --fd=8 (kdeinit4)
1805  -  I0:05.90 kdeinit4: kdeinit4: kded4 (kdeinit4)
1807  -  I0:00.07 /usr/local/libexec/gam_server
1811  -  I0:02.99 kdeinit4: kdeinit4: kglobalaccel (kdeinit4)
1817  -  I0:06.23 /usr/local/kde4/bin/knotify4
1819  -  I0:02.45 kdeinit4: kdeinit4: ksmserver (kdeinit4)
1820  -  I0:11.72 kwin -session 10d6114d4e60001381347192001812_1381
1824  -  I0:14.72 kdeinit4: kdeinit4: plasma-desktop (kdeinit4)
1827  -  I0:20.26 /usr/local/kde4/bin/akonadi_control
1828  -  I0:02.79 akonadiserver
1830  -  I0:03.56 /usr/local/libexec/mysqld --defaults-file=/home/guru/.loc
1838  -  I0:02.07 /usr/local/kde4/bin/kuiserver
1840  -  I0:00.08 kdeinit4: kdeinit4: nepomukserver (kdeinit4)
1843  -  I0:04.73 kdeinit4: kdeinit4: krunner (kdeinit4)
1845  -  I0:02.35 kdeinit4: kdeinit4: kmix -session 10d6114d4e6000138134736
1846  -  IN   0:00.93 /usr/local/kde4/bin/nepomukservicestub nepomukstorage
1849  -  I0:00.60 /usr/local/kde4/bin/nepomukcontroller -session 10d6114d4e
1852  -  I0:01.04 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1853  -  I0:01.07 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1854  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1855  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_akonot
1856  -  I0:03.81 /usr/local/kde4/bin/akonadi_archivemail_agent --identifie
1857  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_ical_r
1858  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1859  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1860  -  I0:01.12 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1861  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1862  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1863  -  I0:01.10 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1864  -  I0:01.06 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1865  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1866  -  I0:01.02 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1867  -  I0:01.03 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1868  -  I0:01.01 /usr/local/kde4/bin/akonadi_agent_launcher akonadi_maildi
1869  -  I0:01.02 /usr

install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz

Hello,

I have prepared a boot-able USB-key (to be exactly a disk image of it)
the usual way:

# dd if=/dev/zero of=da0  bs=8m count=1868
# mdconfig -a -t vnode -f da0
md0

# fdisk -I md0
# fdisk -B md0
# bsdlabel -w md0s1 auto
# bsdlabel -B md0s1
# bsdlabel -e md0s1  # edit the disk label and change partition a from 
unused to 4.2BSD

# newfs /dev/md0s1a
# mount /dev/md0s1a /mnt

# cd /usr/src

now we can install world an kernel:

# make installworld  DESTDIR=/mnt
# make installkernel DESTDIR=/mnt KERNCONF=GENERIC INSTALL_NODEBUG=t
# make distrib-dirs  DESTDIR=/mnt
# make distribution  DESTDIR=/mnt
...

I have compiled ~800 ports (Xorg and KDE4) and after this I've created
packages of all the installed ports with pkg_create(1); the resulting
.tgz files are all as well copied to the image into /mnt/PKGDIR.

So far so good. Now I want install the packages as well into the image
in /mnt. What would be the best method for this? Run pkg_add with the
flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?

Thanks in advance

All this is with 10-CURRENT (base and ports).

matthias

-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
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: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
 
 So far so good. Now I want install the packages as well into the image
 in /mnt. What would be the best method for this? Run pkg_add with the
 flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
 
 Thanks in advance
 
 All this is with 10-CURRENT (base and ports).
 

pkg_add and all of the old pkgtools do not exist in 10-CURRENT
anymore. Are you running a build of 10-CURRENT before they were removed?
___
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: install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 07:58:06AM -0500, Mark Felder escribió:

 On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
  
  So far so good. Now I want install the packages as well into the image
  in /mnt. What would be the best method for this? Run pkg_add with the
  flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
  
  Thanks in advance
  
  All this is with 10-CURRENT (base and ports).
  
 
 pkg_add and all of the old pkgtools do not exist in 10-CURRENT
 anymore. Are you running a build of 10-CURRENT before they were removed?

No. The r255948 was built on a clean, empty environment but with

$ cat /etc/src.conf 
WITH_PKGTOOLS=yes

matthias
-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
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: install packages with pkg_add(1) into another file system

2013-10-08 Thread Mark Felder
On Tue, Oct 8, 2013, at 8:07, Matthias Apitz wrote:
 El día Tuesday, October 08, 2013 a las 07:58:06AM -0500, Mark Felder
 escribió:
 
  On Tue, Oct 8, 2013, at 6:16, Matthias Apitz wrote:
   
   So far so good. Now I want install the packages as well into the image
   in /mnt. What would be the best method for this? Run pkg_add with the
   flag --chroot chrootdir, or use chroot(8) directly? Or any other idea?
   
   Thanks in advance
   
   All this is with 10-CURRENT (base and ports).
   
  
  pkg_add and all of the old pkgtools do not exist in 10-CURRENT
  anymore. Are you running a build of 10-CURRENT before they were removed?
 
 No. The r255948 was built on a clean, empty environment but with
 
 $ cat /etc/src.conf 
 WITH_PKGTOOLS=yes
 

Ok, I won't question your needs for pkg_* as you seem to be aware of
what you're doing :-)

When you use pkg_* or pkg with their built-in chroot options it seems
that it executes those tools within those chroots instead of setting the
chroot as a destination for the installation. So if you wanted to use
--chroot I think you have to make sure the packages are available inside
the chroot. Perhaps there's some sort of DESTDIR option for the package
installation? I've been searching but have had no luck yet. I'll ask
around. It might be more reliable to do something like nullfs mount the
packages into the chroot and do the installation completely within the
chroot.
___
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: install packages with pkg_add(1) into another file system

2013-10-08 Thread Matthias Apitz
El día Tuesday, October 08, 2013 a las 08:12:31AM -0500, Mark Felder escribió:

  No. The r255948 was built on a clean, empty environment but with
  
  $ cat /etc/src.conf 
  WITH_PKGTOOLS=yes
  
 
 Ok, I won't question your needs for pkg_* as you seem to be aware of
 what you're doing :-)
 
 When you use pkg_* or pkg with their built-in chroot options it seems
 that it executes those tools within those chroots instead of setting the
 chroot as a destination for the installation. So if you wanted to use
 --chroot I think you have to make sure the packages are available inside
 the chroot. Perhaps there's some sort of DESTDIR option for the package
 installation? I've been searching but have had no luck yet. I'll ask
 around. It might be more reliable to do something like nullfs mount the
 packages into the chroot and do the installation completely within the
 chroot.

Meanwhile I did:

# cp -Rp ~guru/PKGDIR/mnt

# PKG_PATH=/PKGDIR
# export PKG_PATH
# chroot /mnt pkg_add xorg-7.7
# chroot /mnt pkg_add kde-4.10.5
# chroot /mnt pkg_add vim-7.3.1314
...

# chroot /mnt pkg_info | wc -l
 654

which went fine without any errors (only the normal messages about
creation of users, etc.); I will test the resulting image and report
back.

matthias

-- 
Matthias Apitz   |  /\ ASCII Ribbon Campaign: www.asciiribbon.org
E-mail: g...@unixarea.de |  \ / - No HTML/RTF in E-mail
WWW: http://www.unixarea.de/ |   X  - No proprietary attachments
phone: +49-170-4527211   |  / \ - Respect for open standards
___
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 problems after upgrading to 9.1-RELEASE and a fix

2013-02-20 Thread David Demelier
The problem is the November compromise, search for that in the mailing
list. There are still no packages available for 9.1-RELEASE.

Cheers


2013/2/15 Eduardo Morras emorr...@yahoo.es


 Hi all, yesterday i updated my server to 9.1-RELEASE from 8.3. After that,
 while recompiling the ports and packages i get a lot off errors trying to
 get 9.1-RELESASE packages and all recompiled from ports.

 The problem is that there's no 9.1-RELEASE directory in 
 ftp.freebsd.orgserver. I solved it after changing the path to fetch from 
 9-STABLE instead.
 A better fix i think it's to add that directory or make a ln to stable.

 The url where add the fault directory is:

 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/

 the fault directoy is :

 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/

 An example of the error is:

 root@camibar:/usr/ports/www # pkg_add -r zen-cart
 Error: Unable to get
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz:
 File unavailable (e.g., file not found, no access)
 pkg_add: unable to fetch '
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz'
 by URL

 I made the recompilation of ports with portmaster as noted in 'man
 portmaster' with this options (from memory, it's not a cp)

 #portmaster -P -R -D `cat /root/installed_ports_list`

 Thanks In Advance

 ---   ---
 Eduardo Morras emorr...@yahoo.es
 ___
 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




-- 
Demelier David
___
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 problems after upgrading to 9.1-RELEASE and a fix

2013-02-20 Thread paranormal
And there was an unofficial pkg repository, I can't find where, it was
mentioned recently.

On Fri, 2013-02-15 at 11:03 +0100, Eduardo Morras wrote:
 Hi all, yesterday i updated my server to 9.1-RELEASE from 8.3. After that, 
 while recompiling the ports and packages i get a lot off errors trying to get 
 9.1-RELESASE packages and all recompiled from ports. 
 
 The problem is that there's no 9.1-RELEASE directory in ftp.freebsd.org 
 server. I solved it after changing the path to fetch from 9-STABLE instead. A 
 better fix i think it's to add that directory or make a ln to stable.
 
 The url where add the fault directory is:
 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/
 
 the fault directoy is :
 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/
 
 An example of the error is:
 
 root@camibar:/usr/ports/www # pkg_add -r zen-cart
 Error: Unable to get 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz:
  File unavailable (e.g., file not found, no access)
 pkg_add: unable to fetch 
 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz'
  by URL
 
 I made the recompilation of ports with portmaster as noted in 'man 
 portmaster' with this options (from memory, it's not a cp)
 
 #portmaster -P -R -D `cat /root/installed_ports_list`
 
 Thanks In Advance
 
 ---   ---
 Eduardo Morras emorr...@yahoo.es
 ___
 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


___
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 problems after upgrading to 9.1-RELEASE and a fix

2013-02-20 Thread Bas Smeelen

On 02/20/2013 12:20 PM, paranormal wrote:

And there was an unofficial pkg repository, I can't find where, it was
mentioned recently.


There was a message on the stable list
http://lists.freebsd.org/pipermail/freebsd-stable/2013-February/072037.html



On Fri, 2013-02-15 at 11:03 +0100, Eduardo Morras wrote:

Hi all, yesterday i updated my server to 9.1-RELEASE from 8.3. After that, 
while recompiling the ports and packages i get a lot off errors trying to get 
9.1-RELESASE packages and all recompiled from ports.

The problem is that there's no 9.1-RELEASE directory in ftp.freebsd.org server. 
I solved it after changing the path to fetch from 9-STABLE instead. A better 
fix i think it's to add that directory or make a ln to stable.

The url where add the fault directory is:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/

the fault directoy is :

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/

An example of the error is:

root@camibar:/usr/ports/www # pkg_add -r zen-cart
Error: Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz:
 File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz'
 by URL

I made the recompilation of ports with portmaster as noted in 'man portmaster' with 
this options (from memory, it's not a cp)

#portmaster -P -R -D `cat /root/installed_ports_list`

Thanks In Advance

---   ---
Eduardo Morras emorr...@yahoo.es



___
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 problems after upgrading to 9.1-RELEASE and a fix

2013-02-15 Thread Eduardo Morras

Hi all, yesterday i updated my server to 9.1-RELEASE from 8.3. After that, 
while recompiling the ports and packages i get a lot off errors trying to get 
9.1-RELESASE packages and all recompiled from ports. 

The problem is that there's no 9.1-RELEASE directory in ftp.freebsd.org server. 
I solved it after changing the path to fetch from 9-STABLE instead. A better 
fix i think it's to add that directory or make a ln to stable.

The url where add the fault directory is:

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/

the fault directoy is :

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/

An example of the error is:

root@camibar:/usr/ports/www # pkg_add -r zen-cart
Error: Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz:
 File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch 
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/zen-cart.tbz'
 by URL

I made the recompilation of ports with portmaster as noted in 'man portmaster' 
with this options (from memory, it's not a cp)

#portmaster -P -R -D `cat /root/installed_ports_list`

Thanks In Advance

---   ---
Eduardo Morras emorr...@yahoo.es
___
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 -r broken for 9.1

2013-02-11 Thread elhosots

Because of a missing link at freebsd.org, pkg_add -r pkgname
does not work

I hand modify the source code and put 9-stable above 9.1-RELEASE to get around 
the problem in main.c


___
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 -r broken for 9.1

2013-02-11 Thread Fbsd8

elhosots wrote:

Because of a missing link at freebsd.org, pkg_add -r pkgname
does not work

I hand modify the source code and put 9-stable above 9.1-RELEASE to 

get around the problem in main.c





Works fine for me.

You did not scan the questions archives. This problem has been covered 
many times and it has nothing to do with modifying main.c source.

___
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


Unable to install xorg using pkg_add

2013-01-10 Thread Scott Eberl
Hello, I just installed FreeBSD last night using the bootonly image for
9.0-RELEASE. I then updated to 9.1-RELEASE using freebsd-update. Everything
seems to have gone smoothly but now I'm getting the below error when trying
to isntall xorg.

Error: Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/xorg.tbz:
File unavailable (e.g., file not found, no access)
pkg_add: unable to fetch '
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/xorg.tbz'
by URL






output of uname -a
FreeBSD freebsd 9.1-RELEASE FreeBSD 9.1-RELEASE #0 r243825: Tue Dec  4
09:23:10 UTC 2012 r...@farrell.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
 amd64
___
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: Unable to install xorg using pkg_add

2013-01-10 Thread Matthew Seaman
On 10/01/2013 16:30, Scott Eberl wrote:
 Hello, I just installed FreeBSD last night using the bootonly image for
 9.0-RELEASE. I then updated to 9.1-RELEASE using freebsd-update. Everything
 seems to have gone smoothly but now I'm getting the below error when trying
 to isntall xorg.
 
 Error: Unable to get
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/xorg.tbz:
 File unavailable (e.g., file not found, no access)
 pkg_add: unable to fetch '
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/xorg.tbz'
 by URL
 

Alas, this is expected.  Because of the security incident
(http://www.freebsd.org/news/2012-compromise.html) all of the package
building cluster is temporarily quarantined.  So there aren't any
packages built for 9.1-RELEASE.

You should be able to use pkg_tools packages built for any 9.x release
or stable/9 if you can locate them on the FTP servers (although these
will be at least about 2 months old by now) or you can grab the ports
(use of portsnap recommended) and build your own.

Cheers,

Matthew
___
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: Unable to install xorg using pkg_add

2013-01-10 Thread Eric S Pulley

Read the 9.1 Release notes. This is the expected behavior. You'll need the
DVD iso or build from ports to get xorg going in 9.1 right now.


 Hello, I just installed FreeBSD last night using the bootonly image for
 9.0-RELEASE. I then updated to 9.1-RELEASE using freebsd-update.
 Everything
 seems to have gone smoothly but now I'm getting the below error when
 trying
 to isntall xorg.

 Error: Unable to get
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/xorg.tbz:
 File unavailable (e.g., file not found, no access)
 pkg_add: unable to fetch '
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/xorg.tbz'
 by URL




___
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: Unable to install xorg using pkg_add

2013-01-10 Thread Ralf Mardorf
On Thu, 2013-01-10 at 10:30 -0600, Scott Eberl wrote:
 [snip] I then updated to 9.1-RELEASE using freebsd-update. Everything
 seems to have gone smoothly but now I'm getting the below error when trying
 to isntall xorg.

I upgraded from 8.3 to 9.1,
http://lists.freebsd.org/pipermail/freebsd-questions/2012-December/247579.html 
, without fixing anything until now, it was possible to build X today from 
/usr/ports/x11/xorg.

Regarding to your issue, take a look at
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/ , there's no 9.1, IIUC
you need to use stable.

Regards,
Ralf

___
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: Unable to install xorg using pkg_add

2013-01-10 Thread Fbsd8

Ralf Mardorf wrote:

On Thu, 2013-01-10 at 10:30 -0600, Scott Eberl wrote:

[snip] I then updated to 9.1-RELEASE using freebsd-update. Everything
seems to have gone smoothly but now I'm getting the below error when trying
to isntall xorg.


I upgraded from 8.3 to 9.1,
http://lists.freebsd.org/pipermail/freebsd-questions/2012-December/247579.html 
, without fixing anything until now, it was possible to build X today from 
/usr/ports/x11/xorg.

Regarding to your issue, take a look at
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/ , there's no 9.1, IIUC
you need to use stable.

Regards,
Ralf




Add this to your /root/.cshrc file

setenv PACKAGESITE ftp://ftp.FreeBSD.org/pub/FreeBSD/ports
/i386/packages-current/Latest/

and when you su to root your pkg_add -r command will now get
current packages.
Its still 6 weeks old, but it's the best FreeBSD has to offer
right now for 9.1 users. Works for 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 and 9.1 Release

2013-01-02 Thread Zyumbilev, Peter
 This path does not exist on ftp.freebsd.org.
 
 Quite so.  It's because of this:
 
 http://www.freebsd.org/news/2012-compromise.html
 
 As a consequence, large parts of the package building infrastructure are
 quarantined, pending reinstallation.  Also there is a lot of work going
 into revising the software used to build the packages with security
 enhancements in mind.  So there simply aren't packages available yet to
 go with 9.1-RELEASE.
 
   Cheers,
 
   Matthew
 


Hi Matthew,

In this case for a new Nas4free machine, will you recommend to base it
on 9.0 or 9.1 ?

Thanks,

Peter
___
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 and 9.1 Release

2013-01-02 Thread Matthew Seaman
On 02/01/2013 08:00, Zyumbilev, Peter wrote:
 In this case for a new Nas4free machine, will you recommend to base it
 on 9.0 or 9.1 ?

Either.  Whichever one works best for you, and if you can't distinguish
them on performance or bug-fixes, choose 9.1.

However, don't fall into the trap of thinking 'because I'm running OS
version 9.0 I have to use the binary packages for 9.0.'  You don't.  And
in fact, if it's more than a month or so since the OS was released, you
should be checking for updates.

Unfortunately, since the security problem, there haven't been updates to
package sets for *any* OS versions available.  So your best recourse is
to pull down a copy of the ports tree and build what packages you need
for yourself.  This is time consuming, but not particularly difficult.

Cheers,

Matthew

___
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 and 9.1 Release

2013-01-02 Thread Fbsd8

Matthew Seaman wrote:

On 02/01/2013 08:00, Zyumbilev, Peter wrote:

In this case for a new Nas4free machine, will you recommend to base it
on 9.0 or 9.1 ?


Either.  Whichever one works best for you, and if you can't distinguish
them on performance or bug-fixes, choose 9.1.

However, don't fall into the trap of thinking 'because I'm running OS
version 9.0 I have to use the binary packages for 9.0.'  You don't.  And
in fact, if it's more than a month or so since the OS was released, you
should be checking for updates.

Unfortunately, since the security problem, there haven't been updates to
package sets for *any* OS versions available.  So your best recourse is
to pull down a copy of the ports tree and build what packages you need
for yourself.  This is time consuming, but not particularly difficult.

Cheers,

Matthew



what is the status of
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-current/Latest/
which is on the ftp servers?

___
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 and 9.1 Release

2013-01-02 Thread Ian Smith
In freebsd-questions Digest, Vol 448, Issue 3, Message: 24
  - please pardon the loss of threading -
On Wed, 2 Jan 2013 02:47:41 -0500 (EST) d...@safeport.com wrote:
  On Wed, 2 Jan 2013, Matthew Seaman wrote:
  
   On 02/01/2013 05:20, doug wrote:
   Is this command being phased out? pkg_add -r uses a default environment
   of
   ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/
  
   In fact, yes, pkg_add and the other pkg_tools commands are being phased
   out in favour of pkgng.  However it is early days yet, and the problem
   you're seeing has nothing to do with that process.  pkgng won't become
   the default in 9.x until the next release: until then the status quo
   ante persists.

Looking forward to using pkgng on my next 9.1 laptop, thanks Matthew.

   This path does not exist on ftp.freebsd.org.
  
   Quite so.  It's because of this:
  
   http://www.freebsd.org/news/2012-compromise.html
  
   As a consequence, large parts of the package building infrastructure are
   quarantined, pending reinstallation.  Also there is a lot of work going
   into revising the software used to build the packages with security
   enhancements in mind.  So there simply aren't packages available yet to
   go with 9.1-RELEASE.
  
  Ah yes, thank you Matthew. I had forgotten about that. I guess the 9.1RC3 
  packages were removed for the same reason.

ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/Latest/ 
is still there, though.  I ran into this from the installed 9.1-RELEASE 
/etc/motd's suggestion of adding Handbook, FAQ etc by using pkg_add -r 
en-freebsd-doc.  I browsed to

ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/docs/en-freebsd-doc-39278,1.tbz

dated October, and figured that should do for now :) I could have set 
PACKAGESITE but it was as easy to fetch(1) that file then pkg_add it.  

If I were going to install say X + KDE on that laptop - which I'm not - 
I'd merrily use what was fresh in October and upgrade as packages become 
available again, and build anything needing 'more freshness' from ports.

cheers, Ian
___
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 and 9.1 Release

2013-01-02 Thread Matthew Seaman
On 02/01/2013 14:42, Fbsd8 wrote:
 what is the status of
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-current/Latest/
 which is on the ftp servers?

The latest packages there are what was compiled before the security
incident.  It hasn't been updated since.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


pkg_add and 9.1 Release

2013-01-01 Thread doug
Is this command being phased out? pkg_add -r uses a default environment of 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/


This path does not exist on ftp.freebsd.org.
___
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 and 9.1 Release

2013-01-01 Thread Matthew Seaman
On 02/01/2013 05:20, doug wrote:
 Is this command being phased out? pkg_add -r uses a default environment
 of
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/

In fact, yes, pkg_add and the other pkg_tools commands are being phased
out in favour of pkgng.  However it is early days yet, and the problem
you're seeing has nothing to do with that process.  pkgng won't become
the default in 9.x until the next release: until then the status quo
ante persists.

 This path does not exist on ftp.freebsd.org.

Quite so.  It's because of this:

http://www.freebsd.org/news/2012-compromise.html

As a consequence, large parts of the package building infrastructure are
quarantined, pending reinstallation.  Also there is a lot of work going
into revising the software used to build the packages with security
enhancements in mind.  So there simply aren't packages available yet to
go with 9.1-RELEASE.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: pkg_add and 9.1 Release

2013-01-01 Thread doug

On Wed, 2 Jan 2013, Matthew Seaman wrote:


On 02/01/2013 05:20, doug wrote:

Is this command being phased out? pkg_add -r uses a default environment
of
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/


In fact, yes, pkg_add and the other pkg_tools commands are being phased
out in favour of pkgng.  However it is early days yet, and the problem
you're seeing has nothing to do with that process.  pkgng won't become
the default in 9.x until the next release: until then the status quo
ante persists.


This path does not exist on ftp.freebsd.org.


Quite so.  It's because of this:

http://www.freebsd.org/news/2012-compromise.html

As a consequence, large parts of the package building infrastructure are
quarantined, pending reinstallation.  Also there is a lot of work going
into revising the software used to build the packages with security
enhancements in mind.  So there simply aren't packages available yet to
go with 9.1-RELEASE.


Ah yes, thank you Matthew. I had forgotten about that. I guess the 9.1RC3 
packages were removed for the same reason.



_
Douglas Denault
http://www.safeport.com
d...@safeport.com
Voice: 301-217-9220
  Fax: 301-217-9277

___
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 and 9.1RC3

2012-11-12 Thread doug

Doing pkg_add in the normal way:

pkg_add -r diffuse
Error: Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/diffuse.tbz: 
File unavailable (e.g., file not found, no access)


To make it work:

setenv PACKAGESITE 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/devel/
pkg_add -r diffuse-0.4.6_2

Is this just the way it is, or is there some magic to make it somewhat less 
tedious?

___
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 and 9.1RC3

2012-11-12 Thread Polytropon
On Mon, 12 Nov 2012 23:54:14 -0500 (EST), doug wrote:
 Doing pkg_add in the normal way:
 
 pkg_add -r diffuse
 Error: Unable to get 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9.1-release/Latest/diffuse.tbz:
  
 File unavailable (e.g., file not found, no access)
 
 To make it work:
 
 setenv PACKAGESITE 
 ftp://ftp.freebsd.org/pub/FreeBSD/ports/amd64/packages-9-stable/devel/
 pkg_add -r diffuse-0.4.6_2
 
 Is this just the way it is, or is there some magic to make it somewhat less 
 tedious?


I think this behaviour is intended: RC3 is the 3rd release
candidate for 9.1-RELEASE. The candidate already reflects the
correct access path for the binary installs via pkg_add.

This path _will be_ correct as soon as 9.1 has been released.
But as it it's not _yet_, the files are not present at the
designated location.

As 9.1-RC3 is on the path of 9-STABLE, your approach of
accessing the STABLE-related access path looks valid.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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 -r mongodb` failed

2012-10-21 Thread Alexandr Alexeev
Hello.

I have a problem with MongoDB installation:

asus# pkg_add -r mongodb
Fetching 
http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/mongodb.tbz...
Done.
=== Creating users and/or groups.
Using existing group 'mongodb'.
Creating user 'mongodb' with uid '922'.
pw: user 'mongodb' already exists
pkg_add: command 'if ! /usr/sbin/pw usershow mongodb /dev/null 21;
then  echo Creating user 'mongodb' with uid '922'.;  /usr/sbin/pw
useradd mongodb -u 922 -g 922  -c MongoDB pseudo-user -d
/var/db/mongodb -s /bin/sh;  else echo Using existing user
'mongodb'.; fi' failed

# cat /etc/passwd | grep mongodb
mongodb:*:922:922:MongoDB pseudo-user:/var/db/mongodb:/bin/sh

# cat /etc/group | grep mongodb
mongodb:*:922:

# id mongodb
id: mongodb: no such user

# pw userdel mongodb
pw: no such user `mongodb'

# uname -a
FreeBSD asus.home 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
01:47:53 UTC 2012
r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

It seems that binary package is broken.

-- 
Best regards,
Alex Alexeev
http://twitter.com/afiskon
___
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 -r mongodb` failed

2012-10-21 Thread Matthew Seaman
On 21/10/2012 12:45, Alexandr Alexeev wrote:
 Hello.
 
 I have a problem with MongoDB installation:
 
 asus# pkg_add -r mongodb
 Fetching 
 http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/mongodb.tbz...
 Done.
 === Creating users and/or groups.
 Using existing group 'mongodb'.
 Creating user 'mongodb' with uid '922'.
 pw: user 'mongodb' already exists
 pkg_add: command 'if ! /usr/sbin/pw usershow mongodb /dev/null 21;
 then  echo Creating user 'mongodb' with uid '922'.;  /usr/sbin/pw
 useradd mongodb -u 922 -g 922  -c MongoDB pseudo-user -d
 /var/db/mongodb -s /bin/sh;  else echo Using existing user
 'mongodb'.; fi' failed
 
 # cat /etc/passwd | grep mongodb
 mongodb:*:922:922:MongoDB pseudo-user:/var/db/mongodb:/bin/sh
 
 # cat /etc/group | grep mongodb
 mongodb:*:922:
 
 # id mongodb
 id: mongodb: no such user
 
 # pw userdel mongodb
 pw: no such user `mongodb'
 
 # uname -a
 FreeBSD asus.home 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
 01:47:53 UTC 2012
 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386
 
 It seems that binary package is broken.
 

At a guess there are added user records in /etc/master.passwd which
haven't been processed into /etc/pwd.db  This will confuse applications
trying to use pw(8).

Try running:

   # pwd_mkdb -p /etc/master.passwd

Now 'id mongodb' should acknowledge the existence of the mongodb
account, and you should be able (re)install the mongodb pkg without it
complaining so much.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Re: `pkg_add -r mongodb` failed

2012-10-21 Thread Alexandr Alexeev
Thanks!

BTW, MongoDB port has the same error:

===  Installing for mongodb-2.0.6_1
===   Generating temporary packing list
===  Checking if databases/mongodb already installed
=== Creating users and/or groups.
Using existing group `mongodb'.
Creating user `mongodb' with uid `922'.
pw: user 'mongodb' already exists
*** Error code 74

Stop in /usr/ports/databases/mongodb.
*** Error code 1

Stop in /usr/ports/databases/mongodb.

=== Installation of mongodb-2.0.6_1 (databases/mongodb) failed
=== Aborting update

Terminated

=== You can restart from the point of failure with this command line:
   portmaster flags databases/mongodb

How should one report errors in such cases?

On Sun, Oct 21, 2012 at 4:04 PM, Matthew Seaman matt...@freebsd.org wrote:
 On 21/10/2012 12:45, Alexandr Alexeev wrote:
 Hello.

 I have a problem with MongoDB installation:

 asus# pkg_add -r mongodb
 Fetching 
 http://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-9-stable/Latest/mongodb.tbz...
 Done.
 === Creating users and/or groups.
 Using existing group 'mongodb'.
 Creating user 'mongodb' with uid '922'.
 pw: user 'mongodb' already exists
 pkg_add: command 'if ! /usr/sbin/pw usershow mongodb /dev/null 21;
 then  echo Creating user 'mongodb' with uid '922'.;  /usr/sbin/pw
 useradd mongodb -u 922 -g 922  -c MongoDB pseudo-user -d
 /var/db/mongodb -s /bin/sh;  else echo Using existing user
 'mongodb'.; fi' failed

 # cat /etc/passwd | grep mongodb
 mongodb:*:922:922:MongoDB pseudo-user:/var/db/mongodb:/bin/sh

 # cat /etc/group | grep mongodb
 mongodb:*:922:

 # id mongodb
 id: mongodb: no such user

 # pw userdel mongodb
 pw: no such user `mongodb'

 # uname -a
 FreeBSD asus.home 9.0-RELEASE-p3 FreeBSD 9.0-RELEASE-p3 #0: Tue Jun 12
 01:47:53 UTC 2012
 r...@i386-builder.daemonology.net:/usr/obj/usr/src/sys/GENERIC  i386

 It seems that binary package is broken.


 At a guess there are added user records in /etc/master.passwd which
 haven't been processed into /etc/pwd.db  This will confuse applications
 trying to use pw(8).

 Try running:

# pwd_mkdb -p /etc/master.passwd

 Now 'id mongodb' should acknowledge the existence of the mongodb
 account, and you should be able (re)install the mongodb pkg without it
 complaining so much.

 Cheers,

 Matthew

 --
 Dr Matthew J Seaman MA, D.Phil.
 PGP: http://www.infracaninophile.co.uk/pgpkey





-- 
Best regards,
Alex Alexeev
http://twitter.com/afiskon
___
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 -r mongodb` failed

2012-10-21 Thread Matthew Seaman
On 21/10/2012 13:46, Alexandr Alexeev wrote:
 Thanks!
 
 BTW, MongoDB port has the same error:
 
 ===  Installing for mongodb-2.0.6_1
 ===   Generating temporary packing list
 ===  Checking if databases/mongodb already installed
 === Creating users and/or groups.
 Using existing group `mongodb'.
 Creating user `mongodb' with uid `922'.
 pw: user 'mongodb' already exists
 *** Error code 74
 
 Stop in /usr/ports/databases/mongodb.
 *** Error code 1
 
 Stop in /usr/ports/databases/mongodb.
 
 === Installation of mongodb-2.0.6_1 (databases/mongodb) failed
 === Aborting update
 
 Terminated
 
 === You can restart from the point of failure with this command line:
portmaster flags databases/mongodb
 
 How should one report errors in such cases?

In this case, I'm afraid it looks very much as if the problem is local
to your system, and nothing wrong with the port itself.  As the
databases/mongodb port uses the generic mechanisms for handling USERS
and GROUPS it's likely that if there was a problem with the
databases/mongodb port, then you'ld be seeing similar problems with any
port that uses the same mechanism.  There would be an excess of
complaints from many users that would be hard to miss.  No such
complaining has been observed.

In short: something is wrong in the password database on your system
specifically, which is causing the installation of databases/mongodb to
throw errors.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.
PGP: http://www.infracaninophile.co.uk/pgpkey




signature.asc
Description: OpenPGP digital signature


Simple question about pkg_add ...

2012-02-28 Thread David Walker
Hey.

I believe I have a pcmcia card that requires upgt firmware.
From upgt(4) ...

 This driver requires the upgtfw firmware to be installed before it will
 work.  The firmware files are not publicly available.  A package of the
 firmware which can be installed via pkg_add(1) is available:

   http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz

pkg_add http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
Fetching http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz... Done.
pkg_add: unable to open table of contents file '+CONTENTS' - not a package?

Best wishes.
___
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: Simple question about pkg_add ...

2012-02-28 Thread Polytropon
On Wed, 29 Feb 2012 01:52:13 +1030, David Walker wrote:
 Hey.
 
 I believe I have a pcmcia card that requires upgt firmware.
 From upgt(4) ...
 
  This driver requires the upgtfw firmware to be installed before it will
  work.  The firmware files are not publicly available.  A package of the
  firmware which can be installed via pkg_add(1) is available:
 
  http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
 
 pkg_add http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
 Fetching http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz... 
 Done.
 pkg_add: unable to open table of contents file '+CONTENTS' - not a package?

Did you have a look at what's inside the .tar.gz file?
A directory upgt-firmware-2.13.1.0 with the following
files: Makefile, distinfo, pkg-descr, and pkg-plist.

Obviously, that's not a binary package for pkg_add use.
It's a port.

Extract the file and use it with the port infrastructure
(i. e. make install).

Seems that the instruction in man 4 upgt is just missing
the proper terminology...



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Simple question about pkg_add ...

2012-02-28 Thread David Walker
Hi Polytropon.

I did have a look inside and I did pkg_add -v which gives enough
information combined with my meagre knowledge to guess that it had
something to do with source.
I'm so unfamiliar with pkg_add I'm not sure if that is normal.
I'm very new here.
Certainly it's not in a suitable format for pkg_add to deal with.

I guess pkg_add is the preferred option for firmware installation.
I'll contact the maintainer.

On 29/02/2012, Polytropon free...@edvax.de wrote:
 On Wed, 29 Feb 2012 01:52:13 +1030, David Walker wrote:
 Hey.

 I believe I have a pcmcia card that requires upgt firmware.
 From upgt(4) ...

  This driver requires the upgtfw firmware to be installed before it
 will
  work.  The firmware files are not publicly available.  A package of
 the
  firmware which can be installed via pkg_add(1) is available:

 http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz

 pkg_add http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz
 Fetching http://weongyo.org/project/upgt/upgt-firmware-2.13.1.0.tar.gz...
 Done.
 pkg_add: unable to open table of contents file '+CONTENTS' - not a
 package?

 Did you have a look at what's inside the .tar.gz file?
 A directory upgt-firmware-2.13.1.0 with the following
 files: Makefile, distinfo, pkg-descr, and pkg-plist.

 Obviously, that's not a binary package for pkg_add use.
 It's a port.

 Extract the file and use it with the port infrastructure
 (i. e. make install).

 Seems that the instruction in man 4 upgt is just missing
 the proper terminology...



 --
 Polytropon
 Magdeburg, Germany
 Happy FreeBSD user since 4.0
 Andra moi ennepe, Mousa, ...

___
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: Simple question about pkg_add ...

2012-02-28 Thread Polytropon
On Wed, 29 Feb 2012 12:41:46 +1030, David Walker wrote:
 Hi Polytropon.
 
 I did have a look inside and I did pkg_add -v which gives enough
 information combined with my meagre knowledge to guess that it had
 something to do with source.

A port (as you can find it inside the archive) is a recipe
for dealing with sources, e. g. where to obtain then, how
to compile, where to install to and so on. The ports collection
of the FreeBSD OS is used to deal with handling software
based on sources: configure, patch, build, install, deinstall,
upgrade and similar tasks.

See man ports for a better explaination.



 I'm so unfamiliar with pkg_add I'm not sure if that is normal.

The pkg_add utility installs programs from binary packages.
Those packages are created by compiling a port - typically
with its default options. Those packages are built for the
FreeBSD ports collection and made available by the FreeBSD
team. External packages, created outside the world of
FreeBSD ports, are possible.

See man pkg_add for details.



 I'm very new here.
 Certainly it's not in a suitable format for pkg_add to deal with.

Correct. A pkg_add package typically contains compiled stuff,
i. e. binaries, and a packaging list for installation and
later removal. Additional tasks can also be scripted.



 I guess pkg_add is the preferred option for firmware installation.

It's used to install programs (or libraries) to the FreeBSD
system. The use with firmware is also possible. Basically,
ports (from source) and packages (precompiled binaries) have
the same purpose: Get things installed.

If the maintainer would compile the port (that he provided
for download) and give the proper URL of the result in the
manpage, pkg_add would work as intended.



 I'll contact the maintainer.

That would be a good idea as the description you quoted from
the manpage is technically not correct.

Option 1: Provide a pkg_add-able package.

Option 2: Provide instructions on how to deal with the port.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


problem installing Firefox using pkg_add -r

2012-01-30 Thread hvn
Hi,

Using v.FreeBSD 8.2, I'm trying to install Firefox 9 by pkg_add -r 
firefox. According to the docs, this should work. However, instead of v9 
it tries to install v 3.6 which goes wrong because of dependency 
conflicts. Any idea on how to solve this or what goes wrong?

Thanks

___
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: problem installing Firefox using pkg_add -r

2012-01-30 Thread Matthew Seaman
On 30/01/2012 13:57, hvn wrote:
 Using v.FreeBSD 8.2, I'm trying to install Firefox 9 by pkg_add -r 
 firefox. According to the docs, this should work. However, instead of v9 
 it tries to install v 3.6 which goes wrong because of dependency 
 conflicts. Any idea on how to solve this or what goes wrong?

What FTP URL are you connecting to in order to download the firefox
package?  Firefox 9.0 postdates FreeBSD 8.2 release, so it won't be in
the packages-8.2-release collection:

ftp pwd
Remote directory: /pub/FreeBSD/ports/amd64/packages-8.2-release/Latest
ftp ls firefox.tbz
229 Entering Extended Passive Mode (|||51545|)
150 Opening ASCII mode data connection for '/bin/ls'.
lrwxr-xr-x  1 1006  1006  27 Jan 20  2011 firefox.tbz -
../All/firefox-3.6.13,1.tbz
226 Transfer complete.

However, if you use the packages-8-stable collection, you should get
firefox-9:

ftp pwd
Remote directory: /pub/FreeBSD/ports/amd64/packages-8-stable/Latest
ftp ls firefox.tbz
229 Entering Extended Passive Mode (|||63627|)
150 Opening ASCII mode data connection for '/bin/ls'.
lrwxr-xr-x  1 1006  1006  26 Jan 17 21:28 firefox.tbz -
../All/firefox-9.0.1,1.tbz
226 Transfer complete.

Packages compiled for FreeBSD 8.2-STABLE should work perfectly well on
8.2-RELEASE-pX with the possible exception of a few things like lsof
that go poking directly into kernel memory structures.

Read about the PACKAGESITE environment variable in pkg_add(1)

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: problem installing Firefox using pkg_add -r

2012-01-30 Thread hvn
On Mon, 30 Jan 2012 14:25:42 +, Matthew Seaman wrote:

 On 30/01/2012 13:57, hvn wrote:
 Using v.FreeBSD 8.2, I'm trying to install Firefox 9 by pkg_add -r
 firefox. According to the docs, this should work. However, instead of
 v9 it tries to install v 3.6 which goes wrong because of dependency
 conflicts. Any idea on how to solve this or what goes wrong?
 
 What FTP URL are you connecting to in order to download the firefox
 package?  Firefox 9.0 postdates FreeBSD 8.2 release, so it won't be in
 the packages-8.2-release collection:

The FTP URL is ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-
release/Latest/
So this effectively means I should upgrade or do a clean install. I did 
try to install PC-BSD 9 on an x64, but the BIOS somehow doesn't like the 
partitioning. This 8.2 runs on an old PIII with 500 MB RAM (xfce), so not 
really suitable for demanding stuff.


___
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: problem installing Firefox using pkg_add -r

2012-01-30 Thread Matthew Seaman
On 30/01/2012 14:43, hvn wrote:
 On Mon, 30 Jan 2012 14:25:42 +, Matthew Seaman wrote:
 
 On 30/01/2012 13:57, hvn wrote:
 Using v.FreeBSD 8.2, I'm trying to install Firefox 9 by pkg_add -r
 firefox. According to the docs, this should work. However, instead of
 v9 it tries to install v 3.6 which goes wrong because of dependency
 conflicts. Any idea on how to solve this or what goes wrong?

 What FTP URL are you connecting to in order to download the firefox
 package?  Firefox 9.0 postdates FreeBSD 8.2 release, so it won't be in
 the packages-8.2-release collection:
 
 The FTP URL is ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.2-
 release/Latest/
 So this effectively means I should upgrade or do a clean install. I did 
 try to install PC-BSD 9 on an x64, but the BIOS somehow doesn't like the 
 partitioning. This 8.2 runs on an old PIII with 500 MB RAM (xfce), so not 
 really suitable for demanding stuff.

Well, if you want to go through all the palaver of upgrading the OS,
then it is up to you.  However, if prefer not to spend all that time,
and just update your installed pkgs, you could do this:

   setenv PACKAGESITE
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All

(csh-like shells)

or

   export
PACKAGESITE=ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8-stable/All

(sh-like shells)

Now, you will have to update the packages that firefox depends on.
That's a pretty tedious chore if done manually.  The sort of boring,
repetitive task that computers excel at, given appropriate programming.
Which in this case (IMHO) means portmaster(8).  Once you've set
PACKAGESITE as above, install portmaster:

   # pkg_add -r portmaster-3.11.tbz
   # rehash(if using csh style shell)

Then use portmaster to update dependencies as necessary and install the
firefox-9 port -- obviously, make sure you have good backups before
doing this, even though portmaster does create a backup package of
everything it updates.

   # portmaster -PP -w www/firefox

'-PP' says to only use pre-compiled packages.

'-w' says to keep a copy of any updated shared libraries on-line, a
helpful anti-foot-shooting move.  Actually, if the update starts
replacing low-level stuff which a great number of packages depend on,
you might find it more productive to just upgrade everything (portmaster
-PP -a).  You will be getting about 11 months worth of updates all in
one go in that case, which is going to affect lots of what you have
installed.  If in doubt, please feel free to ask again here.

Cheers,

Matthew

-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


pkg_add -r and a local package repo

2012-01-11 Thread Randal L. Schwartz

I've figured out how to point PACKAGESITE at a URL of my choosing.

First, it looks like pkg_add -r needs the full package name.  Is there
any way to give it zsh instead of zsh-4.3.15?

Second, it looks like it won't install dependencies.  This is a problem.
Can I get it to search and install dependencies somehow?

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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 -r and a local package repo

2012-01-11 Thread Chuck Swiger
On Jan 11, 2012, at 2:03 PM, Randal L. Schwartz wrote:
 First, it looks like pkg_add -r needs the full package name.  Is there
 any way to give it zsh instead of zsh-4.3.15?

Create a symlink from zsh-4.3.15.tbz to zsh.tbz on the package server.
You can also control this at the time of building the package via:

  www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html#AEN647

5.2.4 LATEST_LINK

LATEST_LINK is used during package building to determine a shortened name to 
create links that can be used by pkg_add -r. This makes it possible to, for 
example, install the latest perl version by running pkg_add -r perl without 
knowing the exact version number. This name needs to be unique and obvious to 
users.

 Second, it looks like it won't install dependencies.  This is a problem.
 Can I get it to search and install dependencies somehow?

Does the package in question have its dependencies properly specified?

Regards,
-- 
-Chuck

___
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 -r and a local package repo

2012-01-11 Thread Randal L. Schwartz
 Jason == Jason Helfman jhelf...@e-e.com writes:

Jason Why not just point the PACKAGESITE to the Latest directory of the tree 
you
Jason want to install?

I am, but it has zsh-4.3.15.tbz and not zsh.tbz, so I have to pkg_add -r
zsh-4.3.15, and that's the annoying part.

-- 
Randal L. Schwartz - Stonehenge Consulting Services, Inc. - +1 503 777 0095
mer...@stonehenge.com URL:http://www.stonehenge.com/merlyn/
Smalltalk/Perl/Unix consulting, Technical writing, Comedy, etc. etc.
See http://methodsandmessages.posterous.com/ for Smalltalk discussion
___
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 -r and a local package repo

2012-01-11 Thread Jason Helfman

On Wed, Jan 11, 2012 at 02:23:48PM -0800, Chuck Swiger thus spake:

On Jan 11, 2012, at 2:03 PM, Randal L. Schwartz wrote:

First, it looks like pkg_add -r needs the full package name.  Is there
any way to give it zsh instead of zsh-4.3.15?


Create a symlink from zsh-4.3.15.tbz to zsh.tbz on the package server.
You can also control this at the time of building the package via:

 www.freebsd.org/doc/en/books/porters-handbook/makefile-naming.html#AEN647

5.2.4 LATEST_LINK

LATEST_LINK is used during package building to determine a shortened name to create 
links that can be used by pkg_add -r. This makes it possible to, for example, 
install the latest perl version by running pkg_add -r perl without knowing the exact 
version number. This name needs to be unique and obvious to users.


Second, it looks like it won't install dependencies.  This is a problem.
Can I get it to search and install dependencies somehow?


Does the package in question have its dependencies properly specified?

Regards,
--
-Chuck



Why not just point the PACKAGESITE to the Latest directory of the tree you
want to install?

-jgh

--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
E4AD 7CF1 1396 27F6 79DD  4342 5E92 AD66 8C8C FBA5
___
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 -r and a local package repo

2012-01-11 Thread Matthew Seaman
On 11/01/2012 22:32, Randal L. Schwartz wrote:
 Jason == Jason Helfman jhelf...@e-e.com writes:
 
 Jason Why not just point the PACKAGESITE to the Latest directory of the tree 
 you
 Jason want to install?
 
 I am, but it has zsh-4.3.15.tbz and not zsh.tbz, so I have to pkg_add -r
 zsh-4.3.15, and that's the annoying part.

What's the directory structure like in your PACKAGESITE ?  If it's the
standard layout obtained eg. by creating /usr/ports/packages then the
following sort of structure should be automatically created:

% cd /usr/ports/packages
% find . -type d
.
./print
./pear
./archivers
./textproc
./net
./misc
./graphics
./mail
./All
./devel
./java
./security
./editors
./www
./ports-mgmt
./ftp
./converters
./python
./x11-toolkits
./x11
./Latest -
./x11-fonts
./perl5
./deskutils
./tk
./net-im
./ipv6
./net-mgmt
./lang
./geography
./portmaster-download
./gnome
./dns
./databases
./sysutils
./math
./audio

viz. directories mirroring each port category (created when you build a
package from a port in one of those categories) plus the two indicated
extras. (Well, and the one portmaster uses for its backups.) 'All' just
contains a copy of every package you build.  'Latest' however contains
links to the latest version of each package, like so:

% ls -1 ap*
ap22-mod_perl2.tbz@
apache22.tbz@
apg.tbz@
apr-ipv6-devrandom-db48-pgsql90.tbz@
apr-ipv6-devrandom-db48-pgsql91.tbz@

where...

% ls -l apache22.tbz
lrwxr-xr-x  1 root  wheel  24 Dec 23 17:51 apache22.tbz@ -
../All/apache-2.2.21.tbz

This is what the LATEST_LINK variable mentioned earlier in the thread is
all about.

Point PACKAGESITE at the /usr/ports/packages/Latest  and it should work
as you require.

Cheers,

Matthew


-- 
Dr Matthew J Seaman MA, D.Phil.   7 Priory Courtyard
  Flat 3
PGP: http://www.infracaninophile.co.uk/pgpkey Ramsgate
JID: matt...@infracaninophile.co.uk   Kent, CT11 9PW



signature.asc
Description: OpenPGP digital signature


Re: pkg_add -r and a local package repo

2012-01-11 Thread Rick Miller
On Wed, Jan 11, 2012 at 5:03 PM, Randal L. Schwartz
mer...@stonehenge.com wrote:

 I've figured out how to point PACKAGESITE at a URL of my choosing.

 First, it looks like pkg_add -r needs the full package name.  Is there
 any way to give it zsh instead of zsh-4.3.15?

I've read somewhere that you should be able to do `pkg_add -r zsh\*`,
but I've never actually tried it.
___
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 vs portmaster

2011-12-13 Thread Reid Linnemann
On Sun, Dec 11, 2011 at 10:09 PM, Mage m...@mage.hu wrote:
        Hello,

 why is that

 pkg_add -r x11/kde4 could not install kde4 (404 not found) but portmaster
 -P x11/kde4 did, however
 portmaster -P xorg didn't install xorg (it just reinstalled some modules)
 then pkg_add -r xorg installed it.

 I am a bit confused with these.

 I was reading this:
 http://freebsd.kde.org/
 and this:
 http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html

 First I installed kde4 then xorg. My ports are up to date.

        Mage

 ___
 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

I think what you're running into here is a difference in semantics
between the pkg_* tools and the ports tools. When using pkg_add -r,
you do not need to specify the category. pkg_add will determine the
proper objformat and release to fetch from ftp, so in this case
pkg_add -r xorg will work just fine.

When you use portmaster, it's the opposite. You do need to tell it
'x11/xorg' so it knows you want a specific port in /usr/ports instead
of a glob pattern of an existing port in /var/db/pkg - see this in the
SYNOPSIS section of the man page portmaster(8)

...
 portmaster [Common Flags] full name of port directory in /var/db/pkg
 portmaster [Common Flags] full path to /usr/ports/foo/bar
 portmaster [Common Flags] glob pattern of directories from /var/db/pkg
...

Does that make more sense?
___
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 vs portmaster

2011-12-11 Thread Mage

Hello,

why is that

pkg_add -r x11/kde4 could not install kde4 (404 not found) but 
portmaster -P x11/kde4 did, however
portmaster -P xorg didn't install xorg (it just reinstalled some 
modules) then pkg_add -r xorg installed it.


I am a bit confused with these.

I was reading this:
http://freebsd.kde.org/
and this:
http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/x-install.html

First I installed kde4 then xorg. My ports are up to date.

Mage

___
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: update packages by pkg_add

2011-11-01 Thread hvn
On Sat, 29 Oct 2011 19:58:04 +0200, Polytropon wrote:

 On Sat, 29 Oct 2011 17:53:28 +0200, Huub van Niekerk wrote:
 Thank you for your answer. But how about if the package-to-be-replaced
 is a dependency? Just remember the dependency and do the same ?
 
 As you're going to reinstall the package immediately, there won't be a
 problem. Of course, a depending program won't properly run until you've
 actually replaced the package in question.
 
 For keeping track of dependencies, you can also use portmaster or
 portupgrade and use -P and -PP options to work with packages (like
 pkg_add does) instead of compiling from sources. The pkgdb -aF command
 will properly store dependency informations.

Sorry for the delay in responding, but I've been trying out several 
options. First, I've been reading the manual(s) and thought that 
portupgrade -P package might work. Alas, it ends with the message 
that several dependencies needed to be upgraded first. Then I tried 
portupgrade -R package which basically ended the same way. Finally I 
tried portmanager package that ends the same way too. Doing all this 
consumed a lot of time since it's an older machine: PIII 500MHz 500MB.
If somebody has a suggestion, I'd be glad to try it.
For now, I'm rather clueless on what to do.


___
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


update packages by pkg_add

2011-10-29 Thread hvn
Hi,

Using version 8.2, can somebody tell me how I can upgrade packages that I 
installed using pkg_add? I'm trying to install more packages but get 
messages that there are package-conflicts because of older installed 
version.

Thanks.

___
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: update packages by pkg_add

2011-10-29 Thread Mike Clarke
On Saturday 29 October 2011, hvn wrote:

 Using version 8.2, can somebody tell me how I can upgrade packages
 that I installed using pkg_add? I'm trying to install more packages
 but get messages that there are package-conflicts because of older
 installed version.

pkg_delete -f name-of-package
pkg_add name-of-package-file

The pkg_delete command needs the full name of the package including the 
version number at the end. Since you're going to immediately re-install 
the package you don't need to worry about any warning messages saying 
that the package is needed by other packages.

The above pkg_add command will install a package from a file that you've 
already downloaded. If you don't have the package file then you can 
fetch and install the package from an FTP site with the command:

pkg_add -r name-of-package

-- 
Mike Clarke
___
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: update packages by pkg_add

2011-10-29 Thread Warren Block

On Sat, 29 Oct 2011, hvn wrote:


Using version 8.2, can somebody tell me how I can upgrade packages that I
installed using pkg_add? I'm trying to install more packages but get
messages that there are package-conflicts because of older installed
version.


sysutils/bsdadminscripts has a pkg_upgrade script.
___
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: update packages by pkg_add

2011-10-29 Thread Huub van Niekerk
On Sat, Oct 29, 2011 at 3:01 PM, Mike Clarke jmc-freeb...@milibyte.co.ukwrote:

 On Saturday 29 October 2011, hvn wrote:

  Using version 8.2, can somebody tell me how I can upgrade packages
  that I installed using pkg_add? I'm trying to install more packages
  but get messages that there are package-conflicts because of older
  installed version.

 pkg_delete -f name-of-package
 pkg_add name-of-package-file

 The pkg_delete command needs the full name of the package including the
 version number at the end. Since you're going to immediately re-install
 the package you don't need to worry about any warning messages saying
 that the package is needed by other packages.

 The above pkg_add command will install a package from a file that you've
 already downloaded. If you don't have the package file then you can
 fetch and install the package from an FTP site with the command:

 pkg_add -r name-of-package

 --
 Mike Clarke


Thank you for your answer. But how about if the package-to-be-replaced is a
dependency? Just remember the dependency and do the same ?
___
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: update packages by pkg_add

2011-10-29 Thread Polytropon
On Sat, 29 Oct 2011 17:53:28 +0200, Huub van Niekerk wrote:
 Thank you for your answer. But how about if the package-to-be-replaced is a
 dependency? Just remember the dependency and do the same ?

As you're going to reinstall the package immediately,
there won't be a problem. Of course, a depending program
won't properly run until you've actually replaced the
package in question.

For keeping track of dependencies, you can also use
portmaster or portupgrade and use -P and -PP options
to work with packages (like pkg_add does) instead of
compiling from sources. The pkgdb -aF command will
properly store dependency informations.


-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: update packages by pkg_add

2011-10-29 Thread doug

On Sat, 29 Oct 2011, Polytropon wrote:


On Sat, 29 Oct 2011 17:53:28 +0200, Huub van Niekerk wrote:

Thank you for your answer. But how about if the package-to-be-replaced is a
dependency? Just remember the dependency and do the same ?


As you're going to reinstall the package immediately,
there won't be a problem. Of course, a depending program
won't properly run until you've actually replaced the
package in question.

For keeping track of dependencies, you can also use
portmaster or portupgrade and use -P and -PP options
to work with packages (like pkg_add does) instead of
compiling from sources. The pkgdb -aF command will
properly store dependency informations.


If you are not familiar with portmaster or portupgrade, I would see if 
portmaster would do what you want. It is written in shell script and uses the 
underlying package/port files. For me it has worked well as long as I do not try 
to update KDE. Two other packages that are very helpful in updating are pkg_tree 
and pkg_cleanup. In addition, if part of your problems are perl, python and 
maybe php, there are make.conf variables to specify (in effect) that the 
versions installed should meet any dependency requirements. portdowngrade is 
very helpful if you have a component that is newer than what you need. I needed 
this to install kdiff3 a while ago.

___
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


firefox 4 pkg_add -r and port error ``TEST-UNEXPECTED-FAIL | automation.py | Exited with code 1 during test run''

2011-05-09 Thread Antonio Olivares
Dear folks,

On my system that I have updated to 8.2-RELEASE-amd64 I get mistake if I try to
# pkg_add -r firefox

pkg_add:  package 'perl-5.10.1_3.tbz... Done.
pkg_add:  package 'perl-5.10.1_3.tbz conflicts with perl-5.12.3
pkg_add:  please use pkg_delete first to remove conflicting package(s)
or -f to force installation
pkg_add:  pkg_add of dependency 'perl-5.10.1_3' failed!

I then cd'd to /usr/ports/www/firefox and ran
# make install clean

and encountered a similar error to

INFO | automation.py | Application pid: 51999
Error: cannot open display: localhost:1001
TEST-UNEXPECTED-FAIL | automation.py | Exited with code 1 during test run
INFO | automation.py | Application ran for: 0:00:00.514949
INFO | automation.py | Reading PID log: /usr/tmp/tmpQW8cK8pidlog
gmake: *** [profiledbuild] Error 1
*** Error code 1

found in
http://groups.google.com/group/mailing.freebsd.ports-bugs/msg/46bb521fcb78abdf
and
http://freebsd.1045724.n5.nabble.com/ports-155949-firefox-4-WITH-PGO-better-Text-against-DISPLAY-problem-td4265504.html

I have run make config and disabled the option WITH_PGO I have
unchecked it and trying again to see if it is building.  If this
fails, I will ask for help or if it succeeds post a Solved message :)

Regards,

Antonio
___
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

2011-04-20 Thread Manolis Kiagias
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


pkg_add problem

2011-04-19 Thread H.Erkin ATAK
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

2011-04-19 Thread krad
On 19 April 2011 09:35, H.Erkin ATAK erkin.a...@gmail.com 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


Re: pkg_add problem

2011-04-19 Thread Matthias Apitz
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 g...@unixarea.de - 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

2011-04-19 Thread bruce

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


Success! (Was Re: pkg_add fail on FreeBSD V8.0)

2010-12-01 Thread Dave
Thanks Guys.

(Jason H, Chuck S and Polytropon.)

OK.  I managed to get Hiawatha compiled, installed, configured and 
running!  It even works, though I've not yet finished reading up on all 
it's features etc, so it'll be a while before I let it loose on the 
public, but so far, it appears to work well.

I also managed to duplicate it all on the V8.1 machine I have to play 
with at work, so I can fiddle during a lunch break, also having SSH 
access to the V8.0 box here at home too now, from my desk at work.  ;-)

I'm liking F'BSD more and more, and with multiple SSH terminals open on 
another PC, it's getting easier to understand.   Guess in time I'll look 
to running X on the thing, and do it that way, but for now, headless via 
SSH over the LAN works just fine.

I've got a lot of other stuff to do now, so the BSD box's will have to 
look after themselves for a little while, till I catch up on things.

I'm sure I'll be back when something else puzzles me.

Many thanks again people.

Best Regards.

Dave B.

___
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 fail on FreeBSD V8.0

2010-11-30 Thread Dave
OK, another show stopper for me, but probably a simple fix for the
wise on list.

FreeBSD V8.0 that I'm slowley getting to know (and beginning to like!)

FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14 
22:55:09 BST 2010
r...@fbsd.67mk181qz:/usr/obj/usr/src/sys/PPSGENERIC  i386

Looking to install the Hiawatha webserver, but got this when I tried... 

pkg_add -r hiawatha 

Error: Unable to get 
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-
release/Latest/hiawatha.tbz: File unavailable (e.g., file not found,
no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-
release/Latest/hiawatha.tbz' by URL

It worked ok on a V8.1 box I threw together for testing things during the 
works lunch hour. So, can I (and how) get this version to use I guess the 
8.1 repository, or how do I cleanly update this to 8.1, though to 
maintain my needed PPS support I guess I'll need to recompile the kernel 
again? Is the change from V8.0 to V8.1 realy that a big step?

Or compile Hiawatha from sources?  (I *Will* need guidance and hand-
holding to do that!)

Advice please, before I mess things up.

Regards.

Dave B.


___
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 fail on FreeBSD V8.0

2010-11-30 Thread Chuck Swiger
On Nov 30, 2010, at 12:39 PM, Dave wrote:
 Or compile Hiawatha from sources?  (I *Will* need guidance and hand-holding 
 to do that!)

Well.  Start with:

  cd /usr/ports/www/hiawatha
  make install

Regards,
-- 
-Chuck

___
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 fail on FreeBSD V8.0

2010-11-30 Thread Jason Helfman

On Tue, Nov 30, 2010 at 08:39:24PM -, Dave thus spake:

OK, another show stopper for me, but probably a simple fix for the
wise on list.

FreeBSD V8.0 that I'm slowley getting to know (and beginning to like!)

FreeBSD FBSD.67MK181QZ 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 14
22:55:09 BST 2010
r...@fbsd.67mk181qz:/usr/obj/usr/src/sys/PPSGENERIC  i386

Looking to install the Hiawatha webserver, but got this when I tried...

pkg_add -r hiawatha

Error: Unable to get
ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-
release/Latest/hiawatha.tbz: File unavailable (e.g., file not found,
no access)
pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-
release/Latest/hiawatha.tbz' by URL

It worked ok on a V8.1 box I threw together for testing things during the
works lunch hour. So, can I (and how) get this version to use I guess the
8.1 repository, or how do I cleanly update this to 8.1, though to
maintain my needed PPS support I guess I'll need to recompile the kernel
again? Is the change from V8.0 to V8.1 realy that a big step?

Or compile Hiawatha from sources?  (I *Will* need guidance and hand-
holding to do that!)

Advice please, before I mess things up.

Regards.

Dave B.


Are you using sudo by chance when installing?




___
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



--
Jason Helfman
System Administrator
experts-exchange.com
http://www.experts-exchange.com/M_4830110.html
___
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 fail on FreeBSD V8.0

2010-11-30 Thread Polytropon
On Tue, 30 Nov 2010 20:39:24 -, Dave d...@g8kbv.demon.co.uk wrote:
 So, can I (and how) get this version to use I guess the 
 8.1 repository, or how do I cleanly update this to 8.1, though to 
 maintain my needed PPS support I guess I'll need to recompile the kernel 
 again? Is the change from V8.0 to V8.1 realy that a big step?

There is no such thing like a version-centered repository
like on many Linusi. If you install a port via pkg_add -r,
it will always be a current port.

As time marches on, the ports tree on the servers changes.
From time to time, packages are built from this ports tree
using each port's default settings. Those binary packages
are then installed via the pkg_add -r program.

See man pkg_add, especially where PACKAGEROOT and
PACKAGESITE are mentioned.

You can, however, install precompiled binary packages for
-RELEASE if you want. Instead of Latest/, a different
subtree of packages will be addressed on the server.



 Or compile Hiawatha from sources?  (I *Will* need guidance and hand-
 holding to do that!)

No big deal.

# cd /usr/ports/www/hiawatha/
# make install

See man ports for details on how the ports system holds
your hand when dealing with source. :-)

You can also use a port management tool to do that. In my
opinion, the most important one is portmaster. I've been
using portinstall / portupgrade for many years now. It
also allows you to select if you want to compile from
source, e. g.

# portinstall www/hiawatha/

or if you intendedly want to use a precompiled package
if available, e. g.

# portinstall -PP www/hiawatha/

See man portupgrade and man pkgdb for details.

Allthough some consider it bad behaviour, you can mix
using ports and packages. As long as you keep an eye on
not duplicating stuff (pkgdb -aF helps here), it will
work well.



-- 
Polytropon
Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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


Which specific version will be installed via pkg_add or via the port?

2010-09-02 Thread Ed Flecko
Hi folks,
When you're installing software via the pkg_add command or building
from source, how do you what specific version you'll be installing
BEFORE you actually install it?

Ed
___
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: Which specific version will be installed via pkg_add or via the port?

2010-09-02 Thread Lowell Gilbert
Ed Flecko edfle...@gmail.com writes:

 When you're installing software via the pkg_add command or building
 from source, how do you what specific version you'll be installing
 BEFORE you actually install it?

By reading the port's Makefile, in my case.
Other common options are 
 make packagename in the port's directory
 http://www.freebsd.org/ports
 http://www.freshports.org/

There are probably more ways in ports(7), as well.
___
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: Which specific version will be installed via pkg_add or via the port?

2010-09-02 Thread Glen Barber
On 9/2/10 10:43 AM, Lowell Gilbert wrote:
 Ed Flecko edfle...@gmail.com writes:
 
 When you're installing software via the pkg_add command or building
 from source, how do you what specific version you'll be installing
 BEFORE you actually install it?
 
 By reading the port's Makefile, in my case.
 Other common options are 
  make packagename in the port's directory
  http://www.freebsd.org/ports
  http://www.freshports.org/
 

Adding onto Lowell's response, you can see which version of the port was
packaged at release time by logging directly into the FTP server:

ftp://ftp.FreeBSD.org/pub/FreeBSD

and take a look at what is in the package directory.  For example:

ls ports/${ARCH}/packages-X.Y-release/${CATEGORY}/${PORT}

replacing ${ARCH}, ${CATEGORY}, and ${PORT} as appropriate, and
replacing X and Y with your current release version (for example, 8.1).

Regards,

-- 
Glen Barber
___
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 on dialup: resume?

2010-08-07 Thread Douglas A. Tutty
Hello,

I'm transitioning to FreeBSD on my box for several reasons.

However, I'm on dialup.  pkg_add doesn't seem to be able to resume since
I can't use the phone line (or the computer) long enough to install
packages all in one go.  

Is there a solution to this?

Second,

update-freebsd (binary updates) also don't seem to resume.

---

I understand that if I go with building from source (both for security
updates and for third-party apps) the there is a resume function with
that.  True?  I was hoping to avoid the build-time, and I think it takes
longer to download source than binary.

Ideas?

Thanks,

Doug.

___
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 on dialup: resume?

2010-08-07 Thread Rocky Borg

On 8/7/2010 6:03 PM, Douglas A. Tutty wrote:

However, I'm on dialup.  pkg_add doesn't seem to be able to resume since
I can't use the phone line (or the computer) long enough to install
packages all in one go.

Is there a solution to this?
   



There might be a more elegant solution but this is what I would say 
offhand. All pkg_add is doing is downloading the package from the 
freebsd ftp. It's just doing the behind the scenes stuff of picking 
which package is right for your system. So you could just use an ftp 
client with resume and go to ftp://ftp.freebsd.org/pub/FreeBSD/ports/ 
and find the packages you want and que them up in your ftp client. Then 
just do pkg_add /path/to/package when you've finished downloading them.


If you don't use packages I think you can also setup resume if you're 
doing the make install method. Find an ftp client you want to use and 
change from using fetch to download source. This post describes setting 
up an ftp client to download using multiple connections but you should 
be able to adapt it for your needs.


http://scratching.psybermonkey.net/2009/09/freebsd-download-ports-simultaneously.html


I understand that if I go with building from source (both for security
updates and for third-party apps) the there is a resume function with
that.  True?  I was hoping to avoid the build-time, and I think it takes
longer to download source than binary.
   



If you have an old FreeBSD ISO/CD laying around or someone you know has 
one you could install whatever version of the source you have. The 
handbook describes methods you can use to update your source where you 
only need to download what's different (this also means you don't need 
to download the source all at once).This should limit how much you have 
to download if you have a fairly recent version of FreeBSD and it will 
be pretty easy to then keep updated with minimal downloads in the future.


http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/synching.html
___
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 fails due to 'broken pipe'. Is my system in a consistent state?

2010-07-01 Thread Chris Stankevitz
 From: Kevin Kinsey k...@daleco.biz
  Q2: Where on my hard drive are the bytes that tell
  pkg_add to use 
  ftp.freebsd.org when downloading packages?
 
 You mean like inode number, which cylinder

No, I am looking for a file name.

Thank you,

Chris


  
___
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 fails due to 'broken pipe'. Is my system in a consistent state?

2010-07-01 Thread Yuri Pankov
On Wed, Jun 30, 2010 at 11:07:24PM -0700, Chris Stankevitz wrote:
  From: Kevin Kinsey k...@daleco.biz
   Q2: Where on my hard drive are the bytes that tell
   pkg_add to use 
   ftp.freebsd.org when downloading packages?
  
  You mean like inode number, which cylinder
 
 No, I am looking for a file name.

/usr/src/usr.sbin/pkg_install/add/main.c
static char * getpackagesite(void)

which constructs URL using ftp.freebsd.org unless PACKAGESITE and
PACKAGEROOT are defined.

 
 Thank you,
 
 Chris


HTH,
Yuri
___
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 fails due to 'broken pipe'. Is my system in a consistent state?

2010-07-01 Thread Chris Stankevitz
--- On Wed, 6/30/10, Yuri Pankov yuri.pan...@gmail.com wrote:
 /usr/src/usr.sbin/pkg_install/add/main.c
 static char * getpackagesite(void)
 
 which constructs URL using ftp.freebsd.org unless
 PACKAGESITE and
 PACKAGEROOT are defined.

Perfect, thank you!

Chris 


  
___
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

2010-07-01 Thread Glen Barber

Hi,

On 6/30/10 8:00 PM, Mr. Darren wrote:

Though this will not be the focus of my question.  Lots of ports are being 
created for FreeBSD and none submitted.  I don't know why.

My problem arises when trying to install one of these which is put together 
quite well.  pkg_add -r http://site/something.tbz, or pkg_add something.tbz 
doesn't work for the dependencies.  So how do I tell pkg_add to fetch the first 
pkg from one site and the rest from the main sites?  It is available in source 
but the system is void of pkg's at the moment and with the 1ghz processor and 
512mb ram could take quite a while.  And the funny part is it will work 
perfectly if I just place it in ports/multimedia.



Assuming the site structure is the same as the FreeBSD ftp structure, as 
it would be if the remote site is using Tinderbox, you can set the 
PACKAGESITE and PKG_PATH environment variables.


If using csh:
setenv PACKAGESITE http://site/All/
setenv PKG_PATH http://site/Latest/

If using sh/bash:
export PACKAGESITE=http://site/All/;
export PKG_PATH=http://site/Latest/;

Regards,

--
Glen Barber
___
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

2010-06-30 Thread Mr. Darren
Though this will not be the focus of my question.  Lots of ports are being 
created for FreeBSD and none submitted.  I don't know why.

My problem arises when trying to install one of these which is put together 
quite well.  pkg_add -r http://site/something.tbz, or pkg_add something.tbz 
doesn't work for the dependencies.  So how do I tell pkg_add to fetch the first 
pkg from one site and the rest from the main sites?  It is available in source 
but the system is void of pkg's at the moment and with the 1ghz processor and 
512mb ram could take quite a while.  And the funny part is it will work 
perfectly if I just place it in ports/multimedia.  

 Darren Johnston


___
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

2010-06-30 Thread Rodrigo Gonzalez
On Wed, 30 Jun 2010 17:00:34 -0700 (PDT)
Mr. Darren darren...@yahoo.com wrote:

 Though this will not be the focus of my question.  Lots of ports are
 being created for FreeBSD and none submitted.  I don't know why.
 
 My problem arises when trying to install one of these which is put
 together quite well.  pkg_add -r http://site/something.tbz, or
 pkg_add something.tbz doesn't work for the dependencies.  So how do I
 tell pkg_add to fetch the first pkg from one site and the rest from
 the main sites?  It is available in source but the system is void of
 pkg's at the moment and with the 1ghz processor and 512mb ram could
 take quite a while.  And the funny part is it will work perfectly if
 I just place it in ports/multimedia.  
 
  Darren Johnston
 
 

My advise is installing portupgrade port and using portinstall -P


signature.asc
Description: PGP signature


Re: pkg_add

2010-06-30 Thread Fbsd8

Mr. Darren wrote:
Though this will not be the focus of my question.  
Lots of ports are being created for FreeBSD and none submitted.  I 
don't know why.


My problem arises when trying to install one of these which is put together quite well.  
pkg_add -r http://site/something.tbz, or pkg_add something.tbz doesn't 
work for the dependencies.
So how do I tell pkg_add to fetch the first pkg from one site and the 
rest from the main sites?  It is available in source but the system is 
void of pkg's at the moment and with the 1ghz processor and 512mb ram 
could take quite a while.  And the funny part is it will work perfectly 
if I just place it in ports/multimedia.


 Darren Johnston


The official Freebsd Packages all come from the same ftp site.
And all the dependents get install just fine.
Targeting a non-official package site is done at your own risk.

___
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 fails due to 'broken pipe'. Is my system in a consistent state?

2010-06-30 Thread Chris Stankevitz

pkg_add -r gnome2

This command fails repeatedly with broken pipe because the FTP connection 
breaks.  When it dies, I just re-run the command.  I'm now on the fifth attempt.

The gnome2 package is a meta package that installs many other packages.

Q1: Is it bad for my FreeBSD system that I keep re-issuing the command pkg_add 
-r gnome2?  I'm happy FreeBSD isn't responding already installed.

Q2: Where on my hard drive are the bytes that tell pkg_add to use 
ftp.freebsd.org when downloading packages?

Q3: I've been using this internet connection for years downloading packages for 
other OSes without trouble.  Why is pkg_add/fetch having so much trouble?

Thank you,

Chris


  
___
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 fails due to 'broken pipe'. Is my system in a consistent state?

2010-06-30 Thread Kevin Kinsey

Chris Stankevitz wrote:

pkg_add -r gnome2

This command fails repeatedly with broken pipe because the FTP 

 connection breaks.  When it dies, I just re-run the command.  I'm now on the 
fifth attempt.


The gnome2 package is a meta package that installs many other packages.

Q1: Is it bad for my FreeBSD system that I keep re-issuing the command 

 pkg_add -r gnome2?  I'm happy FreeBSD isn't responding already installed.

Shouldn't be bad for the system, unless you get a lil' P.O.'ed (and hack it
to bits, for example).

Q2: Where on my hard drive are the bytes that tell pkg_add to use 

 ftp.freebsd.org when downloading packages?

You mean like inode number, which cylinder, or are you looking for
/usr/ports/x11/gnome2/Makefile?  (Which, as it's a meta-port, will
probably just mean you need to look at about 120 other Makefiles).

Q3: I've been using this internet connection for years downloading 

 packages for other OSes without trouble.  Why is pkg_add/fetch having so much 
trouble?

Firewall?  Try setting PASSIVE in your environment.  Otherwise,
I dunno.  Any error message from fetch?


HTH,

KDK
___
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

2010-06-24 Thread Fbsd1
I checked the pkg_add manpage for where does pkg_add look for the named 
pkg distribution file? It says the env PKG_PATH holds it but env command 
does not show that variable. Is it /usr/packages or /usr/ports/packages?


How can I see the value of PKG_PATH?
What is the path of where the pkg distribution file are suppose to reside.
___
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

2010-06-24 Thread zaxis

uname -a
FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat Mar 27
15:06:39 CST 2010 r...@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL 
i386

echo $PKG_PATH
PKG_PATH: Undefined variable.

cat .cshrc |grep -i package
setenv PACKAGESITE
ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/

So you should use PACKAGESITE instead of PKG_PATH you mentioned .


Fbsd1 wrote:
 
 I checked the pkg_add manpage for where does pkg_add look for the named 
 pkg distribution file? It says the env PKG_PATH holds it but env command 
 does not show that variable. Is it /usr/packages or /usr/ports/packages?
 
 How can I see the value of PKG_PATH?
 What is the path of where the pkg distribution file are suppose to reside.
 ___
 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
 
 


-
e^(π⋅i) + 1 = 0
-- 
View this message in context: 
http://old.nabble.com/pkg_add-tp28988075p28988141.html
Sent from the freebsd-questions mailing list archive at Nabble.com.

___
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

2010-06-24 Thread Glen Barber

On 6/24/10 9:01 PM, zaxis wrote:



uname -a

FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat Mar 27
15:06:39 CST 2010 r...@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL
i386


echo $PKG_PATH

PKG_PATH: Undefined variable.


cat .cshrc |grep -i package

setenv PACKAGESITE
ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/

So you should use PACKAGESITE instead of PKG_PATH you mentioned .




Not entirely true.

Using the above FTP URL, PKG_PATH will look for

ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/

Regards,

--
Glen Barber
___
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

2010-06-24 Thread Fbsd1

Glen Barber wrote:

On 6/24/10 9:01 PM, zaxis wrote:



uname -a
FreeBSD mybsd.zsoft.com 8.0-RELEASE-p2 FreeBSD 8.0-RELEASE-p2 #9: Sat 
Mar 27

15:06:39 CST 2010 r...@mybsd.zsoft.com:/usr/obj/usr/src/sys/MYKERNEL
i386


echo $PKG_PATH

PKG_PATH: Undefined variable.


cat .cshrc |grep -i package

setenv PACKAGESITE
ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/All/

So you should use PACKAGESITE instead of PKG_PATH you mentioned .




Not entirely true.

Using the above FTP URL, PKG_PATH will look for

ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/ 



Regards,

 No I am not looking for the remote path to fetch the package 
distribution file from. When doing pkg_add -Kr pkgname

will save the downloaded distribution pkg file.
My question is where is this file saved at on my host by default.
/usr/packages maybe


___
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

2010-06-24 Thread Glen Barber

On 6/24/10 9:49 PM, Fbsd1 wrote:

Glen Barber wrote:


Using the above FTP URL, PKG_PATH will look for

ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/


Regards,


No I am not looking for the remote path to fetch the package
distribution file from. When doing pkg_add -Kr pkgname
will save the downloaded distribution pkg file.
My question is where is this file saved at on my host by default.
/usr/packages maybe



/usr/ports/packages, assuming it exists.  If not, it will save to the 
port directory.


Regards,

--
Glen Barber
___
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

2010-06-24 Thread Glen Barber

On 6/24/10 10:02 PM, Glen Barber wrote:

On 6/24/10 9:49 PM, Fbsd1 wrote:

Glen Barber wrote:


Using the above FTP URL, PKG_PATH will look for

ftp://ftp.cn.freebsd.org/pub/FreeBSD/ports/i386/packages-8.0-release/Latest/



Regards,


No I am not looking for the remote path to fetch the package
distribution file from. When doing pkg_add -Kr pkgname
will save the downloaded distribution pkg file.
My question is where is this file saved at on my host by default.
/usr/packages maybe



/usr/ports/packages, assuming it exists. If not, it will save to the
port directory.



Actually, to quote pkg_add(1):
 -K, --keep
 Keep any downloaded package in PKGDIR if it is defined or 
in current directory by default.


Therefore, if PKGDIR is not defined, it should use $PWD.

PKGDIR and PKG_PATH are two entirely different environment variables.

Regards,

--
Glen Barber
___
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


failed with pkg_add

2009-04-03 Thread Sylvio César Teixeira Amorim
Hi

I want to know if there is not more the tarball gnome2, gnome2-lite, KDE4,
etc via pkg_add -r for version current i386
Whenever I try, return package not found.
Just getting through ports, but rather takes to compile.

-- 
-=-=-=-=-=-=-=- Live free or die - UNIX* -=-=-=-=-=-=-=
___
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] PACKAGESITE weirdness - URL not correct for dependencies?

2009-03-28 Thread Mel Flynn
On Thursday 26 March 2009 21:46:07 L Campbell wrote:
 Okay, so apparently there's some serious weirdness in the logic in
 src/usr.sbin/pkg_install/lib/url.c, in fileGetURL. This function takes
 two parameters, base and spec, and has the following behavior --

snip behavior and patch

Yes, it is a bit counter-intuitive. However it's documented in the pkg_add(1) 
manpage that PACKAGESITE should resolve to the full URL where packages can be 
found (even the trailing slash).

I've found in practice, that it is the easiest to set your webroot below All/, 
so that All/foo-1.2.3.tbz resolves to the foo 1.2.3 package. Then also 
maintain the various categories links like devel/foo.tbz and as human use 
pkg_add like so:
pkg_add -r devel/foo

This will do the right thing(tm) and you don't have to look up/remember the 
version numbers as a bonus.
-- 
Mel
___
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] PACKAGESITE weirdness - URL not correct for dependencies?

2009-03-28 Thread L Campbell
On Sat, Mar 28, 2009 at 7:37 AM, Mel Flynn
mel.flynn+fbsd.questi...@mailing.thruhere.net wrote:
 On Thursday 26 March 2009 21:46:07 L Campbell wrote:
 Okay, so apparently there's some serious weirdness in the logic in
 src/usr.sbin/pkg_install/lib/url.c, in fileGetURL. This function takes
 two parameters, base and spec, and has the following behavior --

 snip behavior and patch

 Yes, it is a bit counter-intuitive. However it's documented in the pkg_add(1)
 manpage that PACKAGESITE should resolve to the full URL where packages can be
 found (even the trailing slash).

The additional stipulation that any dependent packages must be in an
../All/ directory relative to the path of the initial package is an
undocumented feature.

It's a bit counter-intuitive, but once it works, it works.
___
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] PACKAGESITE weirdness - URL not correct for dependencies?

2009-03-26 Thread L Campbell
I'm running a bunch of jails and running the same set of ports between
them. To save myself some CPU time, I've got one jail building
packages for everything I need, then serving those packages out over
HTTP to the rest of the jails.

The package serving jail is at 10.0.0.4, and is serving packages out
from it's HTTP root, such that requesting the following URLs properly
fetch the desired packages:

http://10.0.0.4/lighttpd-1.4.22.tbz
http://10.0.0.4/pcre-7.8.tbz

I set PACKAGESITE to 'http://10.0.0.4/'; when I attempt to install
Lighttpd with pkg_add -rv, I get the following output (snipped to
relevant portions):

$ pkg_add -rv lighttpd-1.4.22
(..snip..)

scheme:   [http]
user: []
password: []
host: [10.0.0.4]
port: [0]
document: [/lighttpd-1.4.22.tbz]
(..fetches and installs lighttpd-1.4.22 properly..)

Package 'lighttpd-1.4.22' depends on 'pcre-7.8' with 'devel/pcre' origin.
scheme:   [http]
user: []
password: []
host: [All]
port: [0]
document: [/pcre-7.8.tbz]
--- All:80
looking up All
Error: FTP Unable to get http://All/pcre-7.8.tbz: No address record

Somewhere along the process, something breaks and 'host' doesn't get
set properly. I'm currently poking through the pkg_install code to
figure out wtf is going on, but I figured I'd prod the lists to see if
anyone else hit a similar problem (or knows what I'm doing wrong)
since I'm not familiar with it.

$ uname -a
FreeBSD blah 7.1-RELEASE FreeBSD 7.1-RELEASE #0: Thu Jan  1 14:37:25
UTC 2009 r...@logan.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
i386

Thanks :3
___
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] PACKAGESITE weirdness - URL not correct for dependencies?

2009-03-26 Thread L Campbell
On Thu, Mar 26, 2009 at 3:37 PM, L Campbell ll...@virginia.edu wrote:
 blah

Oh, and please CC me on any replies since I don't follow this list.
___
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] PACKAGESITE weirdness - URL not correct for dependencies?

2009-03-26 Thread L Campbell
Okay, so apparently there's some serious weirdness in the logic in
src/usr.sbin/pkg_install/lib/url.c, in fileGetURL. This function takes
two parameters, base and spec, and has the following behavior --

* if spec is a valid URL, it's used unchanged as the path to the remote package.
* if base is non-NULL, the last two '/'s are chopped off and All/ +
package name + .tbz is used as the result.
* if PKG_ADD_BASE is set in the environment, it's concatenated with
the package name and .tbz

When fileGetURL is called on the dependencies by pkg_do in
add/perform.c, it always gets passed the remote URL of the parent
package as the base and the package name as the spec, so the second
branch is always taken.

Unfortunately, this doesn't work with the PACKAGESITE code in
add/main.c, because fileGetURL is expecting the base argument to be of
the form http://host/directory/package.tbz;, as in
www/lighttpd-1.4.22.tbz. The problem is, when using PACKAGESITE, the
actual URL (in my case) is just http://host/lighttpd-1.4.22.tbz;, so
that gets incorrectly chopped down to http:/ + Add/ +
lighttpd-1.4.22.tbz.

It works fine if your PACKAGESITE puts all the packages in the All/
subdirectory (as I think the official ones do), but at the very least,
that's an undocumented constraint.

My solution was to add another case into fileGetURL which gets
overrides the three currently in there and is invoked if and only if
PACKAGESITE is set in the environment.

The following patch makes it work for me --

--- usr.sbin/pkg_install/lib/url.c.orig 2009-03-26 19:56:12.0 +
+++ usr.sbin/pkg_install/lib/url.c  2009-03-26 20:41:44.0 +
@@ -57,7 +57,21 @@
 * to construct a composite one out of that and the basename we were
 * handed as a dependency.
 */
-   if (base) {
+   if (getenv(PACKAGESITE)) {
+   if (strlcpy(fname, getenv(PACKAGESITE), sizeof(fname))
+   = sizeof(fname)) {
+   return NULL;
+   }
+   if (strlcat(fname, spec, sizeof(fname))
+   = sizeof(fname)) {
+   return NULL;
+   }
+   if (strlcat(fname, .tbz, sizeof(fname))
+   = sizeof(fname)) {
+   return NULL;
+   }
+   }
+   else if (base) {
strcpy(fname, base);
/*
 * Advance back two slashes to get to the root of the package

Though I think, in the long-run I'm just going to put all my packages
in http://10.0.0.4/All/ and call it a day -- I hate maintaining a
bunch of patches for stuff.

:(
___
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


libxml-2-7-3 (php5 pkg_add)

2009-03-23 Thread Christoph Kukulies

I wanted to do a

pkg_add -r php5

under 7.1 Beta1 and got a warning:

pkg_add: warning: package 'php5-5.2.8' requires 'libxml2-2.7.3', but 
'libxml2-2.6.32' is installed



Should I care and if, how do I repair this?

--
Christoph Kukulies



___
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: libxml-2-7-3 (php5 pkg_add)

2009-03-23 Thread Polytropon
On Mon, 23 Mar 2009 17:59:35 +0100, Christoph Kukulies k...@kukulies.org 
wrote:
 I wanted to do a
 
 pkg_add -r php5
 
 under 7.1 Beta1 and got a warning:
 
 pkg_add: warning: package 'php5-5.2.8' requires 'libxml2-2.7.3', but 
 'libxml2-2.6.32' is installed
 
 
 Should I care [...]

Run your PHP and see if it refuses to work, or if you encounter
any problems while running. 2.6.32 and 2.7.3 may be a version gap
that leads to nonfunctionality.



 [...] and if, how do I repair this?

You could update your libxms2 port to get it to a newer version.
If you're using portupgrade (portinstall), use

# pkgdb -aF

to fix package dependencies.


-- 
Polytropon
From Magdeburg, Germany
Happy FreeBSD user since 4.0
Andra moi ennepe, Mousa, ...
___
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: Newbie question about pkg_add

2008-10-29 Thread Canhua
On Wed, Oct 29, 2008 at 1:07 PM, Steven Susbauer
[EMAIL PROTECTED] wrote:
 ports-mgmt/portupgrade is a useful tool for easily getting packages and
 ports, it includes the tool portinstall which does what it says it does.
 By running portinstall -P pkgname, it will install a port and
 dependencies with packages if available, otherwise they are built from
 source.

 portsman and portmanager are some other frontend tools that can help
 with package administration, it's really up to your own tastes.

 -Steve

I tried portinstall, although dependecies are install with port sources still.
It take me a whole afternoon to portinstall math/py-neworkx, and it
still doesn't complete as yet.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie question about pkg_add

2008-10-29 Thread Thiago R. Santos
On Wed, 2008-10-29 at 11:14 +0800, Canhua wrote:
 Hi, good day all. I am new to FreeBSD.
 I tried to pkg_add -r a package (py-networkx), which tell me that:
 Error: FTP Unable to get ftp://ftp.freebsd.org/pub/
 FreeBSD/ports/i386/packages-7.0-release/Latest/py-networkx.tbz:
 File unavailable (e.g., file not found, no access)
 
 although I know that py-network does exist in /usr/ports.
 Actually I could go to /usr/ports/math/py-networkx and make install
 using ports means.
 
 Then I could learn from this that there are softwares that could be
 install from ports while not able to be added from package system?
 Am I right?

The package name of this port is 'py25-networkx'. You can use the
Freshports.org search to find the package names.

 ___
 freebsd-questions@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/freebsd-questions
 To unsubscribe, send any mail to [EMAIL PROTECTED]
-- 
Thiago R. Santos [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie question about pkg_add

2008-10-29 Thread Canhua
On Wed, Oct 29, 2008 at 9:18 PM, Thiago R. Santos [EMAIL PROTECTED] wrote:
 On Wed, 2008-10-29 at 11:14 +0800, Canhua wrote:
 Hi, good day all. I am new to FreeBSD.
 I tried to pkg_add -r a package (py-networkx), which tell me that:
 Error: FTP Unable to get ftp://ftp.freebsd.org/pub/
 FreeBSD/ports/i386/packages-7.0-release/Latest/py-networkx.tbz:
 File unavailable (e.g., file not found, no access)

 although I know that py-network does exist in /usr/ports.
 Actually I could go to /usr/ports/math/py-networkx and make install
 using ports means.

 Then I could learn from this that there are softwares that could be
 install from ports while not able to be added from package system?
 Am I right?

 The package name of this port is 'py25-networkx'. You can use the
 Freshports.org search to find the package names.

Wonderful place~ thank you

However I could not pkg_add py25-networkx still, being told that
  pkg_add: unable to fetch
'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/py25-networkx.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: Newbie question about pkg_add

2008-10-29 Thread Thiago R. Santos
On Wed, 2008-10-29 at 22:41 +0800, Canhua wrote:
 Wonderful place~ thank you
 
 However I could not pkg_add py25-networkx still, being told that
   pkg_add: unable to fetch
 'ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7.0-release/Latest/py25-networkx.tbz'
 by URL

Oh, sorry. I didn't realize that you wanted a package built for
7.0-RELEASE. Indeed, there isn't a package of this port built for this
release, so you might want to get packages from the 'packages-7-stable'
directory[1][2]. This particular port seems to have been added to the
ports tree after the release of FreeBSD 7.0. Of course, you can build it
yourself from your ports tree.

[1]http://www.freebsd.org/doc/en_US.ISO8859-1/books/handbook/packages-using.html
[2]ftp://ftp.freebsd.org/pub/FreeBSD/ports/i386/packages-7-stable/Latest/
-- 
Thiago R. Santos [EMAIL PROTECTED]

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie question about pkg_add (Canhua)

2008-10-29 Thread Kayven Riese


 --

 Message: 2
 Date: Wed, 29 Oct 2008 18:12:52 +0800
 From: Canhua [EMAIL PROTECTED]
 Subject: Re: Newbie question about pkg_add
 To: Steven Susbauer [EMAIL PROTECTED]
 Cc: freebsd-questions@freebsd.org
 Message-ID:
[EMAIL PROTECTED]
 Content-Type: text/plain; charset=ISO-8859-1

 On Wed, Oct 29, 2008 at 1:07 PM, Steven Susbauer
 [EMAIL PROTECTED] wrote:
  ports-mgmt/portupgrade is a useful tool for easily getting packages and
  ports, it includes the tool portinstall which does what it says it does.
  By running portinstall -P pkgname, it will install a port and
  dependencies with packages if available, otherwise they are built from
  source.
 
  portsman and portmanager are some other frontend tools that can help
  with package administration, it's really up to your own tastes.
 
  -Steve

 I tried portinstall, although dependecies are install with port sources
 still.
 It take me a whole afternoon to portinstall math/py-neworkx, and it
 still doesn't complete as yet.


Go to sleep! it will be ready in the morning maybe! {:)

*--*
 Kayven Riese, BSCS,
 MS  (Physiology and Biophysics)
 (415) 902 5513 cellular
 http://kayve.net
 Webmaster http://ChessYoga.org
*--*
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Newbie question about pkg_add

2008-10-28 Thread Canhua
Hi, good day all. I am new to FreeBSD.
I tried to pkg_add -r a package (py-networkx), which tell me that:
Error: FTP Unable to get ftp://ftp.freebsd.org/pub/
FreeBSD/ports/i386/packages-7.0-release/Latest/py-networkx.tbz:
File unavailable (e.g., file not found, no access)

although I know that py-network does exist in /usr/ports.
Actually I could go to /usr/ports/math/py-networkx and make install
using ports means.

Then I could learn from this that there are softwares that could be
install from ports while not able to be added from package system?
Am I right?
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Newbie question about pkg_add

2008-10-28 Thread Jeremy Chadwick
On Wed, Oct 29, 2008 at 11:14:34AM +0800, Canhua wrote:
 Hi, good day all. I am new to FreeBSD.
 I tried to pkg_add -r a package (py-networkx), which tell me that:
 Error: FTP Unable to get ftp://ftp.freebsd.org/pub/
 FreeBSD/ports/i386/packages-7.0-release/Latest/py-networkx.tbz:
 File unavailable (e.g., file not found, no access)
 
 although I know that py-network does exist in /usr/ports.
 Actually I could go to /usr/ports/math/py-networkx and make install
 using ports means.
 
 Then I could learn from this that there are softwares that could be
 install from ports while not able to be added from package system?
 Am I right?

Correct -- not every port has a package.

-- 
| Jeremy Chadwickjdc at parodius.com |
| Parodius Networking   http://www.parodius.com/ |
| UNIX Systems Administrator  Mountain View, CA, USA |
| Making life hard for others since 1977.  PGP: 4BD6C0CB |

___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


  1   2   3   4   5   >