You are not logged in.
I'm not quite sure how I screwed this up, but qpkg has lost its list of previously installed packages (usefull for updating them). Is there a way to rebuild this list?
Haven't been here in a while. Still rocking Arch.
Offline
do you still have the pkg and source cache?
do you know where this list resides?
Offline
Yeah it looks like qpkg stores PKGBUILD, the files needed to be built and the filelist under ~/qpkg.cache
for bashburn, it looks like:
insgesamt 96K
-rw-r--r-- 1 jakob users 74K 8. Mai 15:54 BashBurn-1.7.1.tar.gz
-rw-r--r-- 1 jakob users 864 8. Mai 15:54 PKGBUILD
-rw-r--r-- 1 jakob users 403 8. Mai 15:54 bashburnrc.patch
-rw-r--r-- 1 jakob users 4,9K 8. Mai 15:54 filelist
/home/jakob/qpkg.cache/bashburn
So now you know, what you have to do to make it believe you installed some pkgs via qpkg!
(i just renamed a dir and did a qpkg -u. qpkg then searched for the new dir as package)
Offline
Thank you both for pointing that out. I'll investigate further as soon as I'm back at home.
Haven't been here in a while. Still rocking Arch.
Offline
Hm, there is no qpkg.cache dir on my system. Strange - I now have installed a few packages using qpkg and these are shown when running
qpkg -u
Haven't been here in a while. Still rocking Arch.
Offline
that would explain the behaviour of qpkg: "forgetting" what was installed with it...
Offline
Sure, but why does it remember the last few installed packages without having qpkg.cache?
Haven't been here in a while. Still rocking Arch.
Offline
This questions goes out to dma147 then
Ok. I just tried moving qpkg.cache + qpkg.packages to "cache" and "packages", build a package with qpkg. I had qpkg.cache + qpkg.packages in my ~ again.
Now when I moved back cache and packages to qpkg.{cache,packages} and executed qpkg -u it only wanted to updated the newly built package. I ls'd my qpkg.cache and qpkg.packages and they only contain the files/pkg of the new package, i.e. i lost all "old" packages..
Offline