[Slackbuilds-users] sbopkg wants to upgrade non-installed package

Didier Spaier didier at slint.fr
Sun Oct 4 06:50:57 UTC 2020


Le 04/10/2020 à 01:29, Rich Shepard a écrit :
> On Sun, 4 Oct 2020, Didier Spaier wrote:
> 
>> How can you be sure the package were removed? Did you really check
>> that the files listed in the records in /var/log/packages were removed?
> 
>> 1. If yes that would be the first time I hear of such an issue with removepkg.
>>   Frankly, I really doubt it happened.
> 
> Didier,
> 
> If you're asking if /var/log/packages/dokuwiki-20160626a-noarch-1_SBo was
> removed, the answer is yes:
> $ ls dokuwiki-20160626a-noarch-1_SBo
> ls: cannot access 'dokuwiki-20160626a-noarch-1_SBo': No such file or directory

No I was asking if the package was removed not this file.
 
/var/log/packages/dokuwiki-20160626a-noarch-1_SBo is (or was) a text file
recording the content of the (then) installed package and other information about it
called its metadata, like its name and size. It is not the package itself.

> However, /var/www/dokuwiki still has directories and files:
> /var/www/dokuwiki]$ ls
> bin/  conf/  data/  inc/  lib/  vendor/
> /var/www/dokuwiki]$ ls data/
> dont-panic-if-you-see-this-in-your-logs-it-means-your-directory-permissions-are-correct.png
> dont-panic-if-you-see-this-in-your-logs-it-means-your-directory-permissions-are-correct.xcf
> media/
> 
> Wonder why those are stil there.

I am wondering where these files come from, as I just built and installed
dokuwiki from SBo to check and get dokuwiki files in /var/www/htdocs/dokuwiki,
not /var/www/dokuwiki.

Anyway please provide the output of these two commands:
ls /var/log/removed_packages|grep doku
ls /var/log/packages|grep doku

Didier
 
> All other packages are still in /var/log/packages.
> 
> Stay well,
> 
> Rich


More information about the SlackBuilds-users mailing list