From owner-freebsd-questions Thu Jan 20 11:25:40 2000 Delivered-To: freebsd-questions@freebsd.org Received: from aragorn.neomedia.it (aragorn.neomedia.it [195.103.207.6]) by hub.freebsd.org (Postfix) with ESMTP id D076D1517E for ; Thu, 20 Jan 2000 11:25:23 -0800 (PST) (envelope-from bartequi@nojunk.com) Received: from bartequi.ottodomain.org (ppp7-pa4.neomedia.it [195.103.207.199]) by aragorn.neomedia.it (8.9.3/8.9.3) with SMTP id UAA23317; Thu, 20 Jan 2000 20:24:58 +0100 (CET) From: Salvo Bartolotta Date: Thu, 20 Jan 2000 19:26:47 GMT Message-ID: <20000120.19264700@bartequi.ottodomain.org> Subject: Re: Linux_base To: Stephen Burley Cc: freebsd-questions@FreeBSD.ORG References: X-Mailer: Supercalifragilis X-Priority: 3 (Normal) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG >>>>>>>>>>>>>>>>>> Original Message <<<<<<<<<<<<<<<<<< On 1/20/00, 7:17:18 PM, Stephen Burley wrote regarding Linux_base: > Hi > I am having real problems with linux_base install. I seems a few= days=3D20 > ago something changed and now it will not install the linux_base. When=3D20 > its going through the RPM's it gets to the bash rpm and dies, saying=3D20 > it can not install this package. This has been tried on a brand new=3D= 20 > install of Freebsd3.2 stable and still fails - this is after the cv=3D= 20 > ports tree has been updated. Any ideas? > Regards, > Stephen Burley Dear Stephen Burlewy, This is just an attempt at guessing your problem ... Please provide more detail next time :-) AFAICS, there are two linux_base versions: ver 5.2 and ver 6.1 in the ports collection. You might want to use such a command like "pkg_version -v | more " to get information on this. Also, you might want to issue such a command as "pkg_info | lpr -Praw" to have your installed packages printed. I include this little pieces of infomation in the hope they may be useful and help you in general with maintaing ports. Please note: in some specific cases (e.g. metaports) more radical solutions might be necessary to get them working. There's been a recent thread on metaport woes ... The archives are a valuable source of information, please browse them. --------------------------------------------------------------------- Stephen P. Cravey wrote, > I'd like to upgrade the versions of some of my installed programs from= > ports. I can cvsup new ports, but before I do, I have a few questions. > > Are there several ports trees I can cvsup (ports-stable, ports-current, > ports-really-really-buggy)? No. > Do I need to 'make deinstall' all of the programs i've previeously > installed from the ports collection before I cvsup the new ports? After I > cvsup the new ports? at all? when? The ports tree has nothing to do with installed, running software. If the program works now, it will operate in the exact same manner. It is analogous to CVSup'ing the FreeBSD source tree. Nothing on the running system is changed until you 'make world'. > Do I need to worry about a new version of a port not working on my > 3.1-stable system? Most ports should work fine across all 3.x systems. Most will even be fine for 2.2.8. > Will cron-ing a ports cvsup cause any problems for installed programs?= > upgrading or removing them? No. Well, that is not true. When version numbers change, you will not be able to 'make deinstall' a port. However, this is easily worked around by doing a 'pkg_delete '. > basically, how the heck do I do this without messing up my system? CVSup'ing the ports tree cannot mess anything up until you go into a port and type 'make '. -- Crist J. Clark cjclark@home.com --------------------------------------------------------------------- "Stephen P. Cravey" writes: > I'd like to upgrade the versions of some of my installed programs from= > ports. I can cvsup new ports, but before I do, I have a few questions. > > Are there several ports trees I can cvsup (ports-stable, ports-current, > ports-really-really-buggy)? There's just one ports tree -current. In cvsup I use: ports-all tag=3D. prefix=3D/usr > Do I need to 'make deinstall' all of the programs i've previeously > installed from the ports collection before I cvsup the new ports? After I > cvsup the new ports? at all? when? Only when you're about to do a `make install' of a new port. Then you should pkg_delete the old one. BTW `make deinstall' won't work unless the version of the new port is the same as the one installed, in which case you probably don't need to re-install it anyway. > Do I need to worry about a new version of a port not working on my > 3.1-stable system? Rarely. Only when the new port relies on a feature that's not present in 3.1. If it does it would usually fail in the `make all' so you'd know not to `make install'. Don't pkg_delete the old one until the make all has succeeded. > Will cron-ing a ports cvsup cause any problems for installed programs?= > upgrading or removing them? No. It will update the ports tree in /usr/ports but not install any new ports until you `make install' one of them. > basically, how the heck do I do this without messing up my system? Should be no problem. Have fun. -- Kevin Street street@iname.com ---------------------------------------------------------------------- The following letter should contain contain the complete recipe. N.B. pkg_delete should belong to the base system now. ---------------------------------------------------------------------- > -----Original Message----- > From: Stephen P. Cravey [SMTP:cravey@hal-pc.org] > Sent: Sunday, October 31, 1999 2:43 PM > To: freebsd-questions@FreeBSD.ORG > Subject: Upgrading ports and existing programs > > I'd like to upgrade the versions of some of my installed programs from= > ports. I can cvsup new ports, but before I do, I have a few questions. > > Are there several ports trees I can cvsup (ports-stable, ports-current, > ports-really-really-buggy)? > > Do I need to 'make deinstall' all of the programs i've previeously > installed from the ports collection before I cvsup the new ports? After I > cvsup the new ports? at all? when? > Ok, this one answer I haven't seen yet in all of the replies. 1. What one would normally do is the following. 2. cvsup ports. 3. run "pkg_version" to find out which ports have been updated. (pkg_delete is also found in the ports collection.) 4. run a "make all" in the port so you know it will compile successfully. 5. "pkg_delete" the old version of the port. 6. run a "make install" in the port's directory. > Do I need to worry about a new version of a port not working on my > 3.1-stable system? > > Will cron-ing a ports cvsup cause any problems for installed programs?= > upgrading or removing them? > > basically, how the heck do I do this without messing up my system? > > Thank you. > > -Stephen ---------------------------------------------------------------------- Please note: my_fake_antispam_domain =3D=3D=3D> neomedia.it to e-mail to= me. Best regards, Salvo To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message