Slackpkg cleanup after oddball install
Sometime in July I installed a clean new -current system from a local repo, then performed some necessary post-install configuration, db imports, etc. then the system was set aside until today when I needed to get it online.
I began by first trying to bring it up to date using slackpkg which had not yet been configured. After configuring and mounting the local repo I faced a wall of messages like this... Code:
... The problem was that I had booted the installer from 14.2 before installing a full -current instance, and there was a change in location of the package database from 14.2 to -current. The solution in that thread was a full resintall of 14.2 then upgrade to -current, but I wanted to avoid a full reinstall and just fix the existing installation if possible. To do that with some degree of confidence I checked the relevant paths and files against another clean install which had been done from a -current installer boot and adjusted accordingly. I'll show everything here as a mv operation for simplicity, but where there were exisiting files in the target directories I merged their contents first, then removed the source directory. Code:
cd /var/log I am mostly posting this here as a reminder for myself, and also to have it all in one place for anyone else who may need it, rather than asking a question. However, if anyone should see something I have missed or wishes to comment, please post it here! |
packages where moved in current then Symbolic linked. something broke your link to it or you did not say yes to slackpkg when you went to current. First time you use current and slackpkg you set your mirror to current at update. It will ask you this then set up the link.
So something happened that link never happened |
Quote:
But I had been unaware of the pkgtools change which took place in ancient history (2018) which only shows that I have not been following -current closely the last few years! There were a few updates subsequent to this, but the big change happened in June 2018 as found in ChangeLog.txt: Quote:
|
All times are GMT -5. The time now is 06:17 AM. |