Downloaded packages not marked as downloaded

Bug #479445 reported by KIAaze
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Keryx
Confirmed
Medium
mac9416

Bug Description

First of all, thanks for this great piece of software. I don't need it right now, but there have been moments where I needed it. :)

Ok, now for the bug:
When I download packages, they don't seem to get marked as "Downloaded" by the color map.
Additionally, once I install them on my system, they don't get marked as installed.

Disclaimer:
I have only tested keryx locally on an online PC with Kubuntu 9.10 64bit.

Here's what I did:
1) Disable all sources in Synaptic. Reload package list and remove all uninstalled+configured packages completely, so that there are no packages with "Not installed" status.
Package "abiword" not installed.

2) Create a new keryx project and update the list.

3) Add "deb http://de.archive.ubuntu.com/ubuntu/ karmic main" to the sources list in keryx.
Refresh and download "abiword".
Package "abiword" + dependencies were downloaded correctly, but not marked as downloaded in keryx.

4) Installed packages locally with "sudo dpkg -i *.deb" as indicated in the tutorial.
Refreshed keryx, but the packages did not get marked as "installed", even after restarting keryx.

I'll try it with a real test case (online+offline PCs) as soon as I can, but it seems to me that it should have worked with what I did.

Revision history for this message
Chris Oliver (excid3) wrote :

Okay, so this bug is a known outstanding bug that we have known about for a while. The problem arises because when you install the packages yourself, the dpkg status file is updated on the machine to reflect this. Since Keryx does not do the installation, it cannot know when to get the updated file. To remedy this until Keryx supports package installation, you must copy /var/lib/dpkg/status to your keryx/projects/<project>/lists/ folder and replace the existing "status" file. Hope that helps!

Changed in keryx:
importance: Undecided → Medium
status: New → Confirmed
Revision history for this message
mac9416 (mac9416) wrote :

Hey, zoidberg! Thanks for taking time to report this!

About packages not getting marked as "Downloaded," I am not sure. I will do some testing and report back.

As for the status updating, you currently have to use the method described by Chris above to update your status. However, in the next release (0.92.4), there will be an Edit>Update Status menu entry to do the chore for you. As a matter of fact, the code is already in the stable branch. It will be a while before we release it though.

Revision history for this message
Chris Oliver (excid3) wrote :

Yeah I think I overlooked the actual problem with this bug report. The status for downloaded packages are currently set to "installed" but only for the current run of Keryx. This was a short hack so that a release could be done but is something we need to rectify soon.

Revision history for this message
mac9416 (mac9416) wrote :

The hack remains. Honestly, I'll probably target this for 2.0 later.

Changed in keryx:
assignee: nobody → mac9416 (mac9416)
milestone: none → 0.92
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.