Re: Upgrading/installing packages

From: Martin P. Hellwig (mhellwig_at_xs4all.nl)
Date: 08/01/04


Date: Sun, 01 Aug 2004 12:37:21 +0200

Bud Stuitje wrote:
> Hi there,
>
> I've been playing around with different versions of Linux and FreeBSD the
> last couple of years and I recently (RedHat -> Fedora) decided to switch to
> FreeBSD 5.2.1
>
> Although I am very pleased with the OS itself, I just can't grasp the
> concept of upgrading/installing packages. For 90% it's going OK but e.g.
> when I searched the FireFox browser in the ports directories I couldn't
> find it (but there seems to be a FireFox packages for fbsd 4.10?!?!).
>
> Well I found and downloaded a FireFox-0.9.1 package which I tried to install
> but with little success (missing dependent packages). Also compiling a
> source package didn't work out. The same with upgrading the KDE package
> 3.1.4 to 3.2.3. All seems to go well but when installing it starts to
> complain about the versions of the dependent packages.
>
> But I thought the system would take care of that?!
>
> I feel like I'm not really grasping the concept here. Is this a 5.2.1
> specific 'problem' and if so is it better then to 'downgrade' to 4.10?
>
> I would very much appreciate some help with this.

Hi,

I assume you updated your portstree , are you aware of the ports
sysutils/portupgrade and www/firefox?
Speaking of KDE, sysutils/pkg_cutleaves might be interesting too.

About the dependency problem, it was to my understanding that the port
system detects and installs dependencies when there found but can't
handle different version request of the same dependency (especially
shared libs). However a ports dependency is mostly to latest version of
a other port. So when you sync your portstree and do portupgrade, you
won't encounter much of these problems.

The different version dependency is a problem one way or another , this
is resident in all OS's including FreeBSD.
The ports tree although makes handling these problems a whole lot of easier.
DragonFlyBSD has been aiming toward a (OS) ports system which also
tackles the version dependency problem but this will probably take a
while because specific adaption to the OS to allow this have not all
been made.
The ports itself are taken from the FreeBSD ports tree with only dfports
to override specific ports which otherwise fail to install. The goal is
to have an own ports tree but I don't think that this has high priority.

-- 
mph
$ /usr/local/etc/rc.d/bikeshed.sh
$ Usage, mix UNIX with: {politics|religion|both(=GNU/Linux)}


Relevant Pages

  • ports system woes
    ... What exactly "removing dependency on package" means? ... port installs?). ... Allow it 3-5 hours per 1000 installed ports 8-) The good thing is that ...
    (freebsd-hackers)
  • Re: 6.0 post-install questions
    ... FreeBSD does package management (ports, ... whatsoever to fix things when, not if, they go wrong. ...
    (comp.unix.bsd.freebsd.misc)
  • Re: FreeBSD Ports Security Advisory FreeBSD-SA-01:64.wu-ftpd
    ... WU-FTPD team. ... > Category: ports ... > FreeBSD only: NO ... > 2) Deinstall the old package and install a new package dated after the ...
    (FreeBSD-Security)
  • Re: Need to build some systems this week. Snapshots?
    ... >packages on the FreeBSD servers are never updated between releases... ... >which means that if a bug is in a package or is compiled into a package ... The situation with ports ...
    (freebsd-stable)
  • Re: Using shell commands versus C equivalents
    ... processes managing the ports at the same time. ... him and since I am modifying pkg_* already, I thought it would be best ... I want to highlight the bsd.port.mk change which takes the package dependency info from the +CONTENTS file. ...
    (freebsd-hackers)