Newbie Alert : pkg_add and packages Q (do not want to compile)

Donald J. O'Neill donaldjoneill at gmail.com
Wed Feb 22 19:36:32 PST 2006


On Wednesday 22 February 2006 20:59, Ow Mun Heng wrote:
> On Wed, 2006-02-22 at 20:32 -0600, Donald J. O'Neill wrote:
> > On Wednesday 22 February 2006 19:58, Ow Mun Heng wrote:
> > > Hi,
> > >
> > > I've googled. I've read the handbook, I've read "Absolute BSD"
> > > and still
> > >
> > > $pkg_add -vr x11/xterm-206_1
> > > pkg_add: package 'xterm-206_1' or its older version already
> > > installed
> > >
It's saying you have to delete xterm-203 or you can't install the new 
one.

> > > So.. How do I install it?
> > >
> > > $pkg_delete xterm-203
> > > pkg_delete: package 'xterm-203' is required by these other
> > > packages xorg-clients-6.8.2
> >
> > pkg_delete -f xterm-203
> > cd /usr/ports/x11/xterm
> > make install
>
> what about the dependency then? Ignore it? What if there are "files"
> needed by xorg-clients? eg: libXX.so.Y and which is not present in
> the new xterm?
>
Since you want to replace it with a newer version, why are you worried 
about the dependencies. The newer version will take care of that. Of 
course, if you delete xterm and don't replace it, then you will have to 
handle the dependencies.

> > What you are trying to do is update using downloaded packages and
> > that is going to work for you. You need to upgrade those packages
> > using the ports system.
>
> IS or is not?

Is or is not what? I don't understand what you're asking here. You need 
to use more than a 4 word question, of which 2 of the words are the 
same. It tends to be confusing.

>
> Again, I don't want to compile it. I want the binary package. It's
> available on the mirrors.
>
No It's not. The port is available on the mirrors. So compile it, or 
leave the old one in place.

> > You really need to look at the Handbook. That's why it was written.
>
> I did. As stated in the initial portion of the email. I'm not only
> reading the handbook, I'm reading a newly bought book in addition to
> also reading stuffs on the internet.
>
> I'm proficient with the CLI, and being a long time Linux person, I'm
> sad to say that FreeBSD ports/packages is really confusing to me.
>

Use Windows instead. All that takes is money.

> > Available packages are not as up to date as the ports system is.
>
> Again, the package _is_ available and I've verified it.
> Thanks
>

I'm sorry. You've verified the port was available. The package is not. I 
just checked.

At this point, I'm going to close my ears eyes to you. You've been given 
advice by me and others that you find to not up to your standards, even 
though it will give you the product you want. Later you can figure out 
for yourself, just what happens if you don't make the upgrade to 
xterm-206. Have fun.

Don


More information about the freebsd-questions mailing list