Ask / Submit
2

how to uninstall failing patches [answered]

asked 2019-01-11 03:15:15 +0200

pawel gravatar image

updated 2019-01-14 15:17:24 +0200

jiit gravatar image

i did update without unapplying patches.

good: phone is working, most patches can be applied, unappmied etc

but two not. i can not uninstall them, cause unapply fails

when i manually delete the patch from patchmanager/patches and then install it again , patchmanager shows it as applied again.

btw they are not applied.

what do i need to do to make patchmanager forget them ?

i had already a look here:

https://together.jolla.com/question/54157/sailfishos-open-source-collaboration-meeting-planning/

thanks !

edit retag flag offensive reopen delete

The question has been closed for the following reason "the question is answered, an answer was accepted" by pawel
close date 2019-01-11 12:30:44.140620

2 Answers

Sort by » oldest newest most voted
2

answered 2019-01-11 08:45:16 +0200

coderus gravatar image

try remove /var/lib/patchmanager folder and reboot

edit flag offensive delete publish link more

Comments

had the side effect, that pm shows 'no paclages available' and the circle remains

rwboot did not help

uninstall pm clean var/lib and usr/share + reinstall does not help

still no patches available. even after installation of one

pawel ( 2019-01-11 09:26:43 +0200 )edit

i have.now checked var/lb

it has ausmt folder and all the subfolders ... but still shows no patches

pawel ( 2019-01-11 09:39:18 +0200 )edit

i did uninstall, reboot, pkcon refresh, reboot, install pm2 again and now finally pm.show exactly one patch :-)

pawel ( 2019-01-11 12:26:52 +0200 )edit

For my device, /var/lib/ does not contain a patchmanager folder - should it?

Edz ( 2019-01-11 14:01:02 +0200 )edit

do you use 2 or.pm 3 ?

in my case the installation of.pm.or.pm2 , not sure, did create the foldwr

pawel ( 2019-01-11 14:25:57 +0200 )edit
1

answered 2019-01-11 08:45:09 +0200

eson gravatar image

updated 2019-01-11 08:45:44 +0200

I think this will work for patches not in web katalog only.

List all patches still existing, run rpm -qa|grep patch

Remove patches you don't need, run rpm -e name-of-patch --noscripts

edit flag offensive delete publish link more

Comments

first thanks ! in both cases the.resuöt was: patch not installed

pawel ( 2019-01-11 09:01:08 +0200 )edit

Question tools

Follow
2 followers

Stats

Asked: 2019-01-11 03:15:15 +0200

Seen: 225 times

Last updated: Jan 11