View Full Version : portupgrade
Bunyan
July 30th, 2009, 09:02
pkg_version -L =
# This command lists outdated packages
portupgrade OUTDATED_PACKAGE
# Create new package and backup the old one.
Question: Where is the old package stored?
ale
July 30th, 2009, 09:24
The old packages are installed.
Their files are in the various part of the filesystem.
When you run portupgrade a package (tbz) with the currently installed files from the version you are upgrading is created and the deleted in case of successful upgrade.
SirDice
July 30th, 2009, 09:26
It will be stored in the directory set by $PKGDIR or /usr/ports/packages. If neither exist it will be stored in the port's directory.
ale
July 30th, 2009, 09:27
It will be stored in the directory set by $PKGDIR or /usr/ports/packages. If neither exist it will be stored in the port's directory.This is true if you are building your own packages from ports.
Bunyan
July 30th, 2009, 10:06
I didn't find any package in the port's directory.
I don't want to have my filesystem trashed with unneedded packages or files.
It will be stored in the directory set by $PKGDIR
Where can I see/change this variable?
I don't have any packages directory in /usr/ports.
ale
July 30th, 2009, 10:22
Did you read my post (#2)?
SirDice
July 30th, 2009, 11:11
Check what ale said. As for $PKGDIR, it isn't set by default. If it's not set the pkg_tools will use /usr/ports/packages.
Bunyan
July 30th, 2009, 15:16
Did you read my post (#2)?
Yes, man I read your post.
I think since I have no packages directory in /usr/ports, I oughtn't mind about unneeded files stored somewhere in my filesystem.
Thank you.
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.