Opened 18 years ago

Closed 18 years ago

#11200 closed defect (fixed)

port upgrade causes problems when port isn't installed

Reported by: kballard (Lily Ballard) Owned by: macports-tickets@…
Priority: High Milestone:
Component: base Version: 1.3.2
Keywords: Cc:
Port:

Description

I had a port that needed upgrading, so I ran port upgrade -ufn on it. It failed building halfway through. I fixed the cause, then re-ran the command. Since the previous upgrade had already uninstalled it, this was the log I got:

kevin@Erebor:~> sudo port upgrade -ufn teTeX
--->  Building teTeX with target all
--->  Staging teTeX into destroot
--->  Packaging tgz archive for teTeX 3.0_3
--->  Installing teTeX 3.0_3
--->  Activating teTeX 3.0_3
--->  Cleaning teTeX
--->  Unable to uninstall teTeX 3.0_3, the following ports depend on it:
--->    dvipdfmx
--->    xdvipdfmx
--->    XeTeX
--->    XeTeX
Warning: Uninstall forced.  Proceeding despite dependencies.
--->  Deactivating teTeX 3.0_3
--->  Uninstalling teTeX 3.0_3
--->  Fetching teTeX
--->  Attempting to fetch tetex-src-3.0.tar.gz from ftp://tug.ctan.org/tex-archive/systems/unix/teTeX/current/distrib/
^C
kevin@Erebor:~> 

Note that I ended up killing it when it started re-installing. I had to clean it and do a port install -b to get the binary archive that it created during that log.

Change History (1)

comment:1 Changed 18 years ago by danielluke (Daniel J. Luke)

Resolution: fixed
Status: newclosed

Fixed in head (r21110)

Note: See TracTickets for help on using tickets.