Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 4 Jun 2002 20:52:27 +0200
From:      Heiner Eichmann <h.eichmann@gmx.de>
To:        qa@freebsd.org
Cc:        "dsyphers@uchicago.edu" <dsyphers@uchicago.edu>
Subject:   Missing /var/db/pgk entry for XFree after installation
Message-ID:  <SAK.2002.06.04.hietbips@eddie>

next in thread | raw e-mail | index | archive | help
Hallo!

I had a problem upgrading KDE3 after a fresh FreeBSD 4.5 installation. 

During the FreeDSB installation, I have choosen to install X-Windows and KDE as well. Immediately afterwards I tried to upgrade to KDE3 using the ports which failed. After contacting David Syphers I guessed, 
that the missing XFree entry in /var/db/pgk was the reason. So I installed XFree 3 again (which created the required entry) and afterwards the KDE upgrade succeeded. As suggested by David I report this to you. 
If possible, the installation of components by sysinstall should keep track of the installed components in /var/db/pgk to keep the database consistent!


Yours

Heiner



Original message from: David Syphers
>On Sunday 02 June 2002 03:09 am, you wrote:
>> >I think the problem is that you have qt23 and KDE 2.2.2 already installed
>> >(these are the version in 4.5-R).  Uninstall these before trying to
>> > install qt30 and KDE 3 (the two versions of KDE can't coexist
>> > peacefully).  You can do this by using 'pkg_delete [name]' where [name]
>> > is the name of what you want to remove (a list of installed programs is
>> > given by 'ls /var/db/pkg').
>>
>> Thanks for your hint, but it didn't work. What I did was the following:
>> - deinstalling the old KDE and qt. Installing KDE 3 failed
>> - deinstalling all KDE and qt's. Installing KDE 3 failed
>> - installing X windows 4 from /usr/ports/x11/XFree86-4. Failed saying, that
>> it can not overwrite some existing files - I wanted to deinstall the old X
>> Windows. Impossible, because there was no entry in /var/db/pkg (I installed
>> X windows during the installation of FreeBSD) - I installed XFree86 3 from
>> /usr/ports/x11/XFree86 to get this missing entry in /var/db/pkg. My plan
>> was to use the now existing entry to deinstall it, But - I gave KDE 3 a
>> try: it worked!
>>
>> I guess that either all the installs / deinstalls created a missing file,
>> or that the KDE 3 makefiles require a /var/db/pkg entry for XFree86 to make
>> the correct compiler settings. In this case I would discourage the user to
>> install X windows during the setup process or change the setup process so
>> that the XFree86 entry in /var/db/pkg is written.
>
>I'm glad you finall got it working.  It's not clear to me whether you're using 
>XFree86 3 or 4 at this point - if you are using 3, be aware that KDE 3 may 
>have problems with it.
>
>I didn't install XFree86 from sysinstall, so I hadn't realized that they still 
>don't make a pkg entry for it.  I know people have complained about this in 
>the past - perhaps you can write qa@freebsd.org and let them know this is a 
>problem.  For future reference, though, you can create a /var/db/pkg entry by 
>hand - all it wants is a directory, generally, so 'mkdir XFree86-4.2.0_1,1' 
>should work.  Also, another way to uninstall software is to 'make deinstall' 
>in the port directory - this method is limited to the version that the port 
>has, however, so 'pkg_delete' is the only method for old software.
>
>-David
>
>-- 
>Everyone who believes in telekinesis, raise my hand...
>
>Astronomy and Astrophysics Center
>The University of Chicago
>


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-qa" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?SAK.2002.06.04.hietbips>