Linux / UNIX Tech Support Forum
This is a discussion on FreeBSD 7 ports mismatch checksum update error within the All about FreeBSD/OpenBSD/NetBSD forums, part of the *BSD Operating systems category; Hi All, I'm new to FreeBSD. I did a Standard User installation of FreeBSD 7. I included Bash, vim-lite and ...
|
|||||||
| All about FreeBSD/OpenBSD/NetBSD Discuss all about the Rock solid FreeBSD/OpenBSD/NetBSD. You are free to talk about any issues related to BSD administration, networking, services and other stuff, share information or ask doubts. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Hi All,
I'm new to FreeBSD. I did a Standard User installation of FreeBSD 7. I included Bash, vim-lite and portupgrade during the installation. After the installation, I use "csup" to update all my ports. I couldn't do all update at once as my server kept timing out. Therefore, I use several ports-supfile to update all the ports. Now, here is my problem. After I updated all the ports, I issued the command "portupgrade -a" to try to update all my existing installation. It error out with "mismatch checksum". Can someone tell me what I did wrong? Things that I have tried: 1) Use spin rite to check for physical disk damage and reinstall the OS. Redo all the updates of ports and get the same "mismatch checksum" 2) move "/usr/ports" to "/usr/ports.bak". Use csup to redownload all the ports. Now issue "portupgrade -a" again. I get the "mismatch checksum" again 3) In the "ports-supfile", I changed to use a different host. Next I delete all the ports. Then I ran "csup" again. Same error. 4) Go to "/usr/ports/shell/bash" and issue the command "make". Same error. 5) Go to "gettext" and issue the command "make". Same error. 6) Thinking that it may just be those ports got corrupted or something, so I went to "/usr/ports/www/apache22" and issue the command "make". Same error. Please give me some advice or ideas that I can tried to get it to work. |
| Sponsored Links | ||
|
|
|
||||
|
I do not use cvsup but portsnap works like a charm. Try as follows:
Code:
portsnap fetch extract
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Oh, I should have mentioned that I tried that as well and here is the error I got.
root@mail01:/usr> /usr/sbin/portsnap fetch extract Looking up portsnap.FreeBSD.org mirrors... 3 mirrors found. Fetching snapshot tag from portsnap1.FreeBSD.org... done. Fetching snapshot metadata... done. Fetching snapshot generated at Tue Nov 11 16:20:34 PST 2008: 341b84f29598780a5ab9bd059fdcda5e0adb78c6a2ed53100% of 54 MB 331 kBps 00m00s Extracting snapshot... tar: Unrecognized archive format: Inappropriate file type or format tar: Error exit delayed from previous errors. |
|
||||
|
Quote:
#2: It may possible that cvsup server itself has bad stuff. It happend in the past a few years ago. Since you have reinstalled everything and checked disk, I suggest chaning CVSserver and try again. Or try after 1 or 2 days later. Mean while if you need any packages just use pkg_add -r -v bash command. #3 can you run tar command indivdually? Like Code:
tar -zcvf /tmp/test.tar.gz /etc
__________________
Vivek Gite Linux Evangelist |
|
|||||
|
Quote:
Quote:
Quote:
root@mail01:~> mkdir tmp root@mail01:~> cd tmp root@mail01:~/tmp> cp /usr/local/share/gettext/archive.tar.gz . root@mail01:~/tmp> tar -zxvf archive.tar.gz It seems to extracted all the files into "/tmp/archive" directory. That should mean there isn't any problem with my tar utility. Quote:
Next I went to "/usr/ports/devel/gettext". I used the same procedure: "make deinstall", "make install clean NO_CHECKSUM=yes" Here is what I get: ===> Extracting for libtool-1.5.26 tar: Unrecognized archive format: Inappropriate file type or format gzip: data stream error gzip: /usr/ports/distfiles//libtool-1.5.26.tar.gz: uncompress failed tar: Error exit delayed from previous errors. *** Error code 1 Stop in /usr/ports/devel/libtool15. *** Error code 1 Stop in /usr/ports/devel/gettext. Notice on the line that there is two "/" after distfiles Quote:
|
|
||||
|
Run following to see what error you get on screen
Code:
portupgrade -n -a Code:
uname -r Code:
7.0-RELEASE-p5 FreeBSD cvsup: Update The FreeBSD From Previous Releases Using Source Code Once done remove old /usr/ports and use portsnap to fetch latest ports. Finally, yry searching following two files for any other information regarding error and updates: /usr/ports/UPDATING /usr/src/UPDATING
__________________
Vivek Gite Linux Evangelist |
|
|||
|
Code:
mail01# uname -r 7.0-RELEASE After csup has completed successfully. I ran "portupgrade -a" again. Code:
mail01# cat tmp.txt
===> Giving up on fetching files: vim/vim-7.2.tar.bz2 vim/vim-7.2.tar.bz2
Make sure the Makefile and distinfo file (/usr/ports/editors/vim-lite/../vim/disinfo)
are up to date. If you are absulutely sure you want to override this
check, type "make NO_CHECKSUM=yes [other args]".
*** Error code 1
Stop in /usr/ports/editors/vim-lite.
** Command failed [exit code 1]: /usr/bin/script -qa /tmp/portupgrade.3103.7 env UPGRADE_TOOL=portupgrade UPGRADE_PORT=vim-lite-7.1.145 UPGRADE_PORT_VER=7.1.145 make
** Fix the problem and try again.
** Listing the failed packages (*:skipped / !:failed)
! devel/gettext (gettext-0.16.1_3) (checksum mismatch)
* shells/bash (bash-3.2.25)
! emulators/linux_base-fc4 (linux_base-fc-4_10) (checksum mismatch)
! databases/ruby-bdb (ruby18-bdb-0.62) (checksum mismatch)
* ports-mgmt/portupgrade (portupgrade-2.3.1,2)
! editors/vim-lite (vim-lite-7.1.145) (checksum mismatch)
---> Packages processed: 1 done, 3 ignored, 2 skipped and 4 failed
Code:
mail01# portupgrade -n -a
---> Session started at: Thu, 13 Nov 2008 11:50:08 -0800
** No need to upgrade 'perl-5.8.8_1' (>= perl-5.8.8_1). (specify -f to force)
---> ** Upgrade tasks 10: 0 done, 1 ignored, 0 skipped and 0 failed
** No need to upgrade 'db41-4.1.25_4' (>= db41-4.1.25_4). (specify -f to force)
---> ** Upgrade tasks 10: 0 done, 2 ignored, 0 skipped and 0 failed
** No need to upgrade 'libiconv-1.11_1' (>= libiconv-1.11_1). (specify -f to force)
---> ** Upgrade tasks 10: 0 done, 3 ignored, 0 skipped and 0 failed
---> Upgrade of emulators/linux_base-fc4 started at: Thu, 13 Nov 2008 11:50:10 -0800
---> Upgrading 'linux_base-fc-4_10' to 'linux_base-fc-4_13' (emulators/linux_base-fc4)
OK? [no]
---> Upgrade of emulators/linux_base-fc4 ended at: Thu, 13 Nov 2008 11:50:10 -0800 (consumed 00:00:00)
---> ** Upgrade tasks 10: 1 done, 3 ignored, 0 skipped and 0 failed
---> Upgrade of devel/gettext started at: Thu, 13 Nov 2008 11:50:10 -0800
---> Upgrading 'gettext-0.16.1_3' to 'gettext-0.17_1' (devel/gettext)
OK? [no]
---> Upgrade of devel/gettext ended at: Thu, 13 Nov 2008 11:50:10 -0800 (consumed 00:00:00)
---> ** Upgrade tasks 10: 2 done, 3 ignored, 0 skipped and 0 failed
---> Upgrade of shells/bash started at: Thu, 13 Nov 2008 11:50:10 -0800
---> Upgrading 'bash-3.2.25' to 'bash-3.2.39_1' (shells/bash)
OK? [no]
---> Upgrade of shells/bash ended at: Thu, 13 Nov 2008 11:50:10 -0800 (consumed 00:00:00)
---> ** Upgrade tasks 10: 3 done, 3 ignored, 0 skipped and 0 failed
** No need to upgrade 'ruby-1.8.6.287,1' (>= ruby-1.8.6.287,1). (specify -f to force)
---> ** Upgrade tasks 10: 3 done, 4 ignored, 0 skipped and 0 failed
---> Upgrade of databases/ruby-bdb started at: Thu, 13 Nov 2008 11:50:10 -0800
---> Upgrading 'ruby18-bdb-0.6.2' to 'ruby18-bdb-0.6.4' (databases/ruby-bdb)
OK? [no]
---> Upgrade of databases/ruby-bdb ended at: Thu, 13 Nov 2008 11:50:10 -0800 (consumed 00:00:00)
---> ** Upgrade tasks 10: 4 done, 4 ignored, 0 skipped and 0 failed
---> Upgrade of ports-mgmt/portupgrade started at: Thu, 13 Nov 2008 11:50:10 -0800
---> Upgrading 'portupgrade-2.3.1,2' to 'portupgrade-2.4.6,2' (ports-mgmt/portupgrade)
OK? [no]
---> Upgrade of ports-mgmt/portupgrade ended at: Thu, 13 Nov 2008 11:50:10 -0800 (consumed 00:00:00)
---> ** Upgrade tasks 10: 5 done, 4 ignored, 0 skipped and 0 failed
---> Upgrade of editors/vim-lite started at: Thu, 13 Nov 2008 11:50:10 -0800
---> Upgrading 'vim-lite-7.1.145' to 'vim-lite-7.2.29' (editors/vim-lite)
OK? [no]
---> Upgrade of editors/vim-lite ended at: Thu, 13 Nov 2008 11:50:10 -0800 (consumed 00:00:00)
---> ** Upgrade tasks 10: 6 done, 4 ignored, 0 skipped and 0 failed
---> Listing the results (+:done / -:ignored / *:skipped / !:failed)
- lang/perl5.8 (perl-5.8.8_1)
- databases/db41 (db41-4.1.25_4)
- converters/libiconv (libiconv-1.11_1)
+ emulators/linux_base-fc4 (linux_base-fc-4_10)
+ devel/gettext (gettext-0.16.1_3)
+ shells/bash (bash-3.2.25)
- lang/ruby18 (ruby-1.8.6.287,1)
+ databases/ruby-bdb (ruby18-bdb-0.6.2)
+ ports-mgmt/portupgrade (portupgrade-2.3.1,2)
+ editors/vim-lite (vim-lite-7.1.145)
---> Packages processed: 6 done, 4 ignored, 0 skipped and 0 failed
---> Session ended at: Thu, 13 Nov 2008 11:50:10 -0800 (consumed 00:00:02)
btw, is there any difference between using portsnap and csup? I had only tried the "portsnap fetch extract" as per your suggestion. I don't really understand how portsnap work yet. |
|
||||
|
Code:
btw, is there any difference between using portsnap and csup? I had only tried the "portsnap fetch extract" as per your suggestion. I don't really understand how portsnap work yet. Code:
portsnap fetch extract Code:
portupgrade -a -R In order to update system again (note we are using update now) Code:
portsnap fetch update Code:
portmanager -u
__________________
Vivek Gite Linux Evangelist |
|
|||
|
I got to the step "make buildworld" and here is the error I got:
Code:
/usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md:4283: error: 'reload_in_progbess' undeclared here (not in a function) /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md:4284:6: warning: null character(s) ignored /usr/src/gnu/usr.bin/cc/cc_tools/../../../../contrib/gcc/config/i386/i386.md:1151:8: error: "" is not a valid filename *** Error code 1 Stop in /usr/src/gnu/usr.bin/cc/cc_tools. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. *** Error code 1 Stop in /usr/src. |
![]() |
| Tags |
| mismatch checksum , ports update problem , portsnap |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Howto update ports FreeBSD | raj | All about FreeBSD/OpenBSD/NetBSD | 6 | 28-02-2010 07:02 PM |
| Freebsd Ports | raj | All about FreeBSD/OpenBSD/NetBSD | 1 | 29-08-2008 09:40 AM |
| How to update antivirus database in FreeBSD | enochalbert | All about FreeBSD/OpenBSD/NetBSD | 1 | 15-08-2008 12:57 PM |
| mtrr: type mismatch | piggy | Linux hardware | 1 | 02-08-2007 10:32 PM |
| Why is there a mismatch between df and du outputs? | raj | Linux hardware | 4 | 14-05-2007 05:51 PM |