trying to upgrade packages, I get a segfault
Justin Sherrill
justin at shiningsilence.com
Mon Dec 7 21:13:35 PST 2015
This is a guess because I don't know the cause, but: save a list of
the packages you have installed.
pkg info > installed_pkgs.txt
(this is in case any of my other advice screws things up)
Try pkg upgrade -f, to force it.
If that doesn't work, try pkg delete -f jpeg-turbo-1.4.2 jpeg-8_6.
This will warn that you are messing up every package that depends on
the jpeg lib. Then try pkg upgrade. It will hopefully install the
one that is needed.
If that doesn't work, I guess you could delete all packages and
rebuild pkg. (make sure to pull down an updated dports through git
_before_ deleting packages) You would then use that saved
installed_pkgs.txt list to track what to re-add.
That's a last-ditch thing, though. I have not tried any of these
things so be careful.
On Mon, Dec 7, 2015 at 11:20 PM, Pierre Abbat
<phma at leaf.dragonflybsd.org> wrote:
> I ran "pkg upgrade", and it has to upgrade everything because the ABI changed
> from 4.2 to 4.6. I got this:
>
> glproto-1.4.17.txz : 100% 15 KiB 15.7kB/s 00:01
> ghostscript9-x11-9.06_11.txz : 100% 36 KiB 37.2kB/s 00:01
> Checking integrity... done (11 conflicting)
> pkg: Cannot solve problem using SAT solver:
> upgrade rule: upgrade local xscreensaver-5.29_4 to remote xscreensaver-5.34
> cannot install package xscreensaver, remove it from request? [Y/n]: y
> conflict rule: The following packages conflict with each other: jpeg-
> turbo-1.4.2(r), jpeg-8_6(r)
> conflict rule: The following packages conflict with each other: jpeg-8_6(r),
> jpeg-turbo-1.4.2(r)
> upgrade rule: upgrade local jpeg-8_6 to remote jpeg-8_6
> cannot install package jpeg, remove it from request? [Y/n]: n
> pkg: Cannot solve problem using SAT solver:
> cannot remove package (null), remove it from request? [Y/n]: y
> upgrade rule: upgrade local xplanet-1.3.0_7 to remote xplanet-1.3.0_8
> cannot install package xplanet, remove it from request? [Y/n]:
> upgrade rule: upgrade local kdeartwork-4.14.3 to remote kdeartwork-4.14.3
> cannot install package kdeartwork, remove it from request? [Y/n]:
> pkg: Cannot solve problem using SAT solver:
> cannot remove package (null), remove it from request? [Y/n]:
> upgrade rule: upgrade local webp-0.4.3 to remote webp-0.4.4
> cannot install package webp, remove it from request? [Y/n]:
> upgrade rule: upgrade local kstars-4.14.3_1 to remote kstars-4.14.3_2
> cannot install package kstars, remove it from request? [Y/n]:
> pkg: Cannot solve problem using SAT solver:
> cannot remove package (null), remove it from request? [Y/n]: ^C
>
> At this point I figured it was a mistake to keep jpeg, so I tried again:
>
> # pkg upgrade
> Updating Avalon repository catalogue...
> Avalon repository is up-to-date.
> All repositories are up-to-date.
> Checking for upgrades (900 candidates): 100%
> Processing candidates (900 candidates): 100%
> Checking integrity... done (11 conflicting)
> pkg: Cannot solve problem using SAT solver:
> upgrade rule: upgrade local xscreensaver-5.29_4 to remote xscreensaver-5.34
> cannot install package xscreensaver, remove it from request? [Y/n]:
> conflict rule: The following packages conflict with each other: jpeg-
> turbo-1.4.2(r), jpeg-8_6(r)
> conflict rule: The following packages conflict with each other: jpeg-8_6(r),
> jpeg-turbo-1.4.2(r)
> upgrade rule: upgrade local jpeg-8_6 to remote jpeg-8_6
> cannot install package jpeg, remove it from request? [Y/n]:
> pkg: Cannot solve problem using SAT solver:
> cannot remove package �x, remove it from request? [Y/n]:
> upgrade rule: upgrade local xplanet-1.3.0_7 to remote xplanet-1.3.0_8
> cannot install package xplanet, remove it from request? [Y/n]:
> upgrade rule: upgrade local kdeartwork-4.14.3 to remote kdeartwork-4.14.3
> cannot install package kdeartwork, remove it from request? [Y/n]:
> pkg: Cannot solve problem using SAT solver:
> cannot install package , remove it from request? [Y/n]:
> upgrade rule: upgrade local webp-0.4.3 to remote webp-0.4.4
> cannot install package webp, remove it from request? [Y/n]:
> upgrade rule: upgrade local kstars-4.14.3_1 to remote kstars-4.14.3_2
> cannot install package kstars, remove it from request? [Y/n]:
> pkg: Cannot solve problem using SAT solver:
> Child process pid=22665 terminated abnormally: Segmentation fault
>
> How do I make it work?
>
> Pierre
> --
> sei do'anai mi'a djuno puze'e noroi nalselganse srera
>
More information about the Users
mailing list