Freebsd Pkg Reinstall

admin
Freebsd Pkg Reinstall Average ratng: 3,0/5 4058 votes

After this I upgraded to FreeBSD 10.0 i386 using freebsd-update -r 10.0-RELEASE upgrade, so after the initial upgrade it tells me to reinstall all packages, alrighty, no problem with the new ports-mgmt/pkg tool. Pkg upgrade was run, and lots of packages was reinstalled. But not all packages were reinstalled. Jan 14, 2015  Introduction. FreeBSD's binary package manager, pkg, can be used to easily manage the installation of pre-compiled applications, the FreeBSD equivalent Debian and RPM packages. When compared with the other prevalent method of software installation on FreeBSD, compiling ports with the Ports Collection, using packages provides a simpler. Search Software via PKG Command in FreeBSD. The easiest method to search and find an application in FreeBSD is via PKG package management command line. In order to search the binary packages for an application, for instance postfix software, issue the below command. # pkg search packagename. Jun 13, 2016  FreeBSD 10.3-RELEASE-p5, pkg 1.8.51. I use poudriere to build the net/netatalk3 port with a different set of options than the default. I have configured pkg to install from my poudriere repo before the FreeBSD one. This works as expected: # pkg install netatalk3 Updating FreeBSD. 5.3 Installing X11. Xorg or XFree86 ™ may be installed on FreeBSD. Beginning with FreeBSD 5.3-RELEASE, Xorg is the default X11 implementation for FreeBSD.Xorg is the X server of the open source X Window System implementation released by the X.Org Foundation.Xorg is based on the code of XFree86 4.4RC2 and X11R6.6. The X.Org Foundation released X11R6.7 in April 2004 and X11R6.8.2 in February. My problem in detail:. Most of my packages are installed via pkg. A few packages are installed via ports because I need custom patches, debug information, different build options, etc. I (and probably quite a few others) need an option to reinstall a package via ports in a system generally maintained via pkg.

Active4 years, 3 months ago

I recently performed a fresh install of 10.1-RELEASE (amd/x64_86) due to a botched upgrade. It seems like I'm missing basic utilities, like pkg_add. find / -name pkg_add is returning 0 hits (even when run as root). ports and portmaster seems to be missing too (the only hit is in usr/ports/port-mgmt/portmaster, and its a directory and not a program.

When I try to run the following to boot strap it:

Results in:

But according to Official FreeBSD Binary Packages now available for pkgng its supposed to just work..

I've also tried using setting PACKAGESITEports-mgmt/pkg; and setting PACKAGEROOT and ftp://ftp3.FreeBSD.org with no joy.

Also, this was not helpful: pkg_add: command not found. It does not seem to be a path problem because it cannot be found with find.

Why was a package manager not installed by default? Or why does it not work (am I doing something obviously wrong)???

How do I install the basic packages, like pkg_add?

Sorry about the basic question. pkg_add is what I use to install packages, so I'm a bit lost when its missing.

Community
jwwjww
4,74027 gold badges84 silver badges164 bronze badges

2 Answers

FreeBSD 10 uses the new Packagetool pkg instead of pkg_add.

Seehttps://www.freebsd.org/doc/handbook/pkgng-intro.html

arvedarved

pkg install pkg and let it bootstrap / upgrade itself. Then use pkg install foo, etc. pkg_add does not exist anymore, as you've found out.

Yodot file recovery download. An avi file becomes unplayable when it gets corrupted or yodot mov repair activation code due to yodot mov repair activation code reasons. Fixing corrupted AVI file is no longer a difficult task!

I will second https://www.freebsd.org/doc/handbook/pkgng-intro.html .

Conrad MeyerConrad Meyer

Not the answer you're looking for? Browse other questions tagged freebsd or ask your own question.

Join GitHub today

GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.

Sign up New issue Freebsd pkg install docker

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Comments

commented Jun 13, 2016
edited

FreeBSD 10.3-RELEASE-p5, pkg 1.8.5_1

I use poudriere to build the net/netatalk3 port with a different set of options than the default. I have configured pkg to install from my poudriere repo before the FreeBSD one. This works as expected:

Spiderman full game free. Outdoors anyways.

However, if I immediately run pkg upgrade, it wants to reinstall with the package from the FreeBSD repository instead:

commented Jun 13, 2016

If it can help find the problem: we have this same bug with pkg 1.8.5 and 1.8.5_1.
pkg 1.8.4 works well.

commented Jun 13, 2016

yes that helps, I'll track it down.
In the meantime can you provide the reporisoty setup as shown in the end of pkg -vv ?

commented Jun 13, 2016
edited

I think our repo setup is similar to @bradleythughes'. We have the default FreeBSD repo + a private poudriere repo with a higher priority.
Here's the pkg -vv (just changed our repo's URL):

commented Jun 14, 2016

Yes, our setups are very similar:

commented Jun 18, 2016

I've just recompiled pkg 1.8.5_1 with this commit removed: 8cb02ca and now it works correctly for us.

commented Jun 18, 2016

removing that commit would open the gates to way more dragons :(

commented Jun 18, 2016

I don't know what this commit solves, but with it we can't update our FreeBSD machines anymore :-/
So, for our use case, it seems better without.

commented Jun 18, 2016

we will implement pinning properly very soon and that will solve your situation

commented Jun 18, 2016

Great! :-)
For now I'm keeping my version without this commit so we can update our FreeBSD. I'll keep an eye on new versions of pkg.

added a commit to andrejzverev/pkg that referenced this issue Jun 21, 2016
added a commit that referenced this issue Jun 21, 2016

commented Jun 22, 2016

Fixed in pkg 1.8.99.7 will be in the next release of pkg stable

added a commit that referenced this issue Jun 25, 2016

commented Jun 25, 2016

fixed in pkg 1.8.6

Freebsd Pkg Reinstall Software

Freebsd pkg reinstall windows 10

Freebsd Pkg Reinstall Windows 7

closed this Jun 25, 2016
Sign up for freeto join this conversation on GitHub. Already have an account? Sign in to comment