|
FreeBSD Ports and Packages Installation and upgrading of ports and packages on FreeBSD. |
|
Thread Tools | Display Modes |
|
||||
/usr/bin/script is a binary, editing it would mean fetching FreeBSD source code, editing the *.c source files in /usr/src/usr.bin/script and recompiling and installing it.
www/epiphany (epiphany-2.20.1) (checksum mismatch) Do like Carpetsmoker directed, cleaning old distfiles and keeping the ports tree up to date (csup/portsnap) can be a handy thing.
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
But I never like delete some file from disitfiles , because I think I need it sometimes , so I cut it to another directory and after I install package I past it again to disitfiles directory , because I think I will use it another time.
|
|
|||
/port/#
#cat distinfo #what file(s) is (are) mischecksummed? #/bin/rm -v ../../distfiles/SOME_FILE #make checksum ..................................... one quick way to remove one file, if the new checksum is good
__________________
FreeBSD 13-STABLE |
|
||||
If you have a problem with cleaning out distfiles back stuff up.
I'm not a rocket scientist when it comes to ports, heck spent most of my time backtracking through makefiles to learn things I really wanted to know... /usr/ports/distfiles seems to hold copies of downloaded source code from ports you have built/tried to build. /usr/ports/cat/port/distinfo gives checksums on those files. You can get old copies of a ports Makefiles and distinfo's from CVS (what ever versions) by looking them up on www.freebsd.org/ports, you can also redownload any thing that is still downloadable off the 'net. A simple way to backup the distfiles: Code:
tar -C /usr/ports -cf - distfiles | bzip2 > /tmp/distfiles.tar.gz I selected bzip2 for the example because of the compression rate and out of box shipping with FreeBSD, use whatever you like. Note: You could use tar's -j switch to tar and skip the | bzip2, I usually use the pipe because OpenBSDs tar lacks it and I some times like to choose other compressors then -z/|gzip and -j/|bzip2. Hence why I wrote it that way
__________________
My Journal Thou shalt check the array bounds of all strings (indeed, all arrays), for surely where thou typest ``foo'' someone someday shall type ``supercalifragilisticexpialidocious''. |
|
||||
Sorry to reopen this thread,which I thought we had solved,but after trying everything that worked before, I am getting this error message:
Stop in /usr/ports/x11/gnome-applets. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.82945.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gnome-applets-2.20.0 UPGRADE_PORT_VER=2.20.0 make reinstall ---> Restoring the old version ** Fix the installation problem and try again. [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 624 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! x11/gnome-applets (gnome-applets-2.20.0) (install error) ** Could not clean up temporary directory: Directory not empty - /var/tmp/portupgradeq8B7PbCC |
|
||||
main.c:20:40: error: libgweather/gweather-gconf.h: No such file or directory
main.c:21:40: error: libgweather/gweather-prefs.h: No such file or directory In file included from main.c:23: gweather.h:31: error: expected specifier-qualifier-list before 'WeatherInfo' main.c: In function 'gweather_applet_new': main.c:41: error: 'GWeatherApplet' has no member named 'gweather_info' main.c:42: error: 'GWeatherApplet' has no member named 'gconf' main.c:46: error: 'GWeatherApplet' has no member named 'gweather_pref' main.c:46: error: 'GWeatherApplet' has no member named 'gconf' gmake[2]: *** [main.o] Error 1 gmake[2]: Leaving directory `/usr/ports/x11/gnome-applets/work/gnome-applets-2.22.1/gweather' gmake[1]: *** [install-recursive] Error 1 gmake[1]: Leaving directory `/usr/ports/x11/gnome-applets/work/gnome-applets-2.22.1/gweather' gmake: *** [install-recursive] Error 1 *** Error code 2 Stop in /usr/ports/x11/gnome-applets. ** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.82945.0 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=gnome-applets-2.20.0 UPGRADE_PORT_VER=2.20.0 make reinstall ---> Restoring the old version ** Fix the installation problem and try again. [Updating the pkgdb <format:bdb_btree> in /var/db/pkg ... - 624 packages found (-0 +1) . done] ** Listing the failed packages (-:ignored / *:skipped / !:failed) ! x11/gnome-applets (gnome-applets-2.20.0) (install error) Went back as far as the first error entry,hope this is o/k. |
|
|||
*guessing*
"make run-depends-list" in /gnome2/ needs libgweather and you don't have it properly installed? .................... gnome-bumping is where I would least use portupgrade, I do it manually (slower!) so that I can deal with issues as they arise. ................... each version adds (sometimes deletes ) dependencies AFAIK
__________________
FreeBSD 13-STABLE |
|
||||
jb_daefo
Sorry I have been so long in replying,had a family problem.What should I do to resolve this error,checked the makefile in /usr/ports/net/libgweather and everything seems o/k,what do you think. # New ports collection makefile for: libgweather # Date created: 14th Jan 2008 # Whom: Koop Mast <kwm@FreeBSD.org> # # $FreeBSD: ports/net/libgweather/Makefile,v 1.4 2008/05/26 22:25:03 mezz Exp $ # $MCom: ports/net/libgweather/Makefile,v 1.7 2008/03/11 11:45:48 ahze Exp $ # PORTNAME= libgweather PORTVERSION= 2.22.2 CATEGORIES= net gnome MASTER_SITES= GNOME MAINTAINER= gnome@FreeBSD.org COMMENT= Library to accessing online weather informations USE_GETTEXT= yes USE_BZIP2= yes USE_GMAKE= yes USE_GNOME= gnomeprefix gnomehack intlhack gtk20 gnomevfs2 ltverhack USE_LDCONFIG= yes USE_AUTOTOOLS= libtool:15 CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LDFLAGS="-L${LOCALBASE}/lib" GCONF_SCHEMAS= gweather.schemas .include <bsd.port.mk> |
|
|||
cd /usr/ports/.../libgweather
/bin/rm -rf work make deinstall make install ??
__________________
FreeBSD 13-STABLE |
|
|||
Hi I had encountered the exact same problem as you delboy but have managed to successfully resolve the problem.
Have you checked the UPDATING doc in /usr/ports? there is some useful steps in there which helps resolve the problem. Basically I ended up deinstalling gnome-applets from my system and running the 3 steps listed in the UPDATING document. I then deinstalled libgweather and installed it again (as per jb_daefo's post). After that I went to /usr/ports/x11/gnome2 and ran make reinstall which then went through and reinstalled gnome-applets and it's dependants. Am sure this was probably not the correct way to get it to work, but it certainly worked for me. On a totally separate note I would just like to say how very impressed I am with FreeBSD as an OS and as a community. Having never heard of it until about a month ago I have fallen in love with it and subsequently now installed it on all 3 of my laptops (doubling up with Vista on one of them) and even managed to get my 3945ABG wireless working on it (well I was impressed anyway haha). Anyway, I hope my method helps you too Chris |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
strange kernel messages | chavez243 | FreeBSD General | 4 | 19th August 2008 01:21 PM |
System stopped sending e-mail messages. | bigb89 | FreeBSD General | 4 | 30th June 2008 05:20 PM |
portmaster: "Terminated" messages | anomie | FreeBSD General | 3 | 20th June 2008 02:59 PM |
unable to read messages | ocicat | Feedback and Suggestions | 1 | 3rd May 2008 08:01 AM |
Importing private messages? | BSDfan666 | Feedback and Suggestions | 2 | 2nd May 2008 09:22 PM |