Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

#1 pkg install error

open
nobody
None
5
2003-03-25
2003-03-25
chrisw
No

Time and time again openbechede tells me it cant install
a pachage because its already installed. This has
happened may times. Sometimes even after I remove
the package I still can't install the new package.

eg:

bash-2.05b# pkg_info
libiconv-1.8 character set conversion library
gettext-0.10.40 GNU gettext
wget-1.7p1 retrieve files from the 'net via HTTP and
FTP
bash-2.05b-static GNU Bourne Again Shell
recode-3.6 convert files between character sets
and usages
p5-DBI-1.30 unified perl interface for database
access
mysql-client-3.23.55 multithreaded SQL database (client)
p5-DBD-Msql-Mysql-1.22.19 MySQL drivers for the Perl
DBI
mysql-server-3.23.55 multithreaded SQL database
(server)
php4-core-4.2.3 server-side HTML-embedded scripting
language
php4-mysql-4.2.3 mysql database access extensions
for php4
bash-2.05b# /usr/local/src/openbechede/openbechede
install php4-pear
[*] Package recorded as installed. If you want to re-
install it, use pkg_delete and then try again.
bash-2.05b#

Then I install the package successfully with pkg_add.

bash-2.05b# /usr/local/src/openbechede/openbechede
install php4-pear
[*] Package recorded as installed. If you want to re-
install it, use pkg_delete and then try again.

bash-2.05b# pkg_add -v
ftp://ftp.openbsd.org/pub/OpenBSD/3.2/packages/i386/ph
p4-pear-4.2.3.tgz
Trying to fetch
ftp://ftp.openbsd.org/pub/OpenBSD/3.2/packages/i386/ph
p4-pear-4.2.3.tgz.
>>> ftp -o -
ftp://ftp.openbsd.org/pub/OpenBSD/3.2/packages/i386/ph
p4-pear-4.2.3.tgz
Extracting from FTP connection
into /var/tmp/instmp.eCyDP14538

...............snipped cut out...............

Attempting to record package into `/var/db/pkg/php4-
pear-4.2.3'
Package `php4-pear-4.2.3' registered in
`/var/db/pkg/php4-pear-4.2.3'
bash-2.05b#

Discussion

  • Leandro Chango
    Leandro Chango
    2003-03-25

    Logged In: YES
    user_id=712630

    what version of openbechede are you using ? would you mind running sh -x /usr/local/src/openbechede/openbechede
    install php4-pear 1>debug 2>&1 and sending me that file ?

    thanks for your feedback