[MacPorts] #15056: Defects with macports
install/uninstall/portfile/registry
MacPorts
trac at macosforge.org
Fri Apr 18 09:36:47 PDT 2008
#15056: Defects with macports install/uninstall/portfile/registry
-------------------------------------------------------------------+--------
Reporter: lorddefinitia at gmail.com | Owner: macports-tickets at lists.macosforge.org
Type: defect | Status: new
Priority: Normal | Milestone: MacPorts base bugs
Component: ports | Version: 1.6.0
Keywords: Install failure, activation failure, portfile failure |
-------------------------------------------------------------------+--------
I know little about the MacPorts structure, so I am rather helpless with
understanding what exactly the bug is. My best attempt at describing my
situation follows.
I was attempting to upgrade macports and my installed ports the other day,
using port upgrade all, not realizing that all meant all possible ports. I
cancelled the process a couple hours(I went away to do other tasks) later,
when my hard drive was nearly full, and performed port clean all to
attempt to clean out whatever had been left around by the unfinished
process. I then attempted a port upgrade installed, however this command
too failed due to limited HD space and the subsequent clean operation I
performed failed as well due the same reasons. As I had no immediate space
available, I resorted to manually deleting the files that had been most
recently created on the computer which I could be sure were only macports
related files.
However after having free up my drive in this manner and later freeing it
up more through other methods, I have been getting frequents errors such
as this one:
Error: Target org.macports.activate returned: Image error:
/opt/local/lib/libopencdk.10.0.6.dylib already exists and does not belong
to a registered port. Unable to activate port opencdk.
or
---> Fetching libtasn1
---> Attempting to fetch libtasn1-1.3.tar.gz from
http://www.gnu.org/software/gnutls/releases/libtasn1/
---> Verifying checksum(s) for libtasn1
---> Extracting libtasn1
---> Configuring libtasn1
---> Building libtasn1 with target all
---> Staging libtasn1 into destroot
---> Installing libtasn1 1.3_0
---> Activating libtasn1 1.3_0
Error: Target org.macports.activate returned: Registry error: libtasn1
@1.2_0 not registered as installed.
In addition, port list installed fails with an error like this one:
Error: /opt/local/bin/port: port installed failed: Registry error: gnutls
@2.2.0_0 not registered as installed.
Which I have been trying to fix by installing the uninstalled package,
which then complains a previous version is not installed and so the new
version can't be activated, or an image already exists and so it can't be
installed, or some such error. However, after I have done this, port list
installed no longer has a problem with the port that could not be
installed.
Unfortunately this was working until I was unable to install one of these
non-installed packages due to dependencies that won't install.
In addition, it says there is a problem with my portfile in my home
directory?
--
Ticket URL: <http://trac.macosforge.org/projects/macports/ticket/15056>
MacPorts </projects/macports>
Ports system for Mac OS
More information about the macports-tickets
mailing list