Replies: 11 comments
-
Debugging |
Beta Was this translation helpful? Give feedback.
-
Not necessarily. Please share full verbose console output of |
Beta Was this translation helpful? Give feedback.
-
I'll include that in another message, but I've been stepping through the code, and I don't understand how it's supposed to work. I'm still trying to wrap my head around the codebase (it's quite complex), and I don't know a ton about how apt works under the hood, but I'm not seeing the place where packages get installed. They're being successfully copied to |
Beta Was this translation helpful? Give feedback.
-
As promised, here is apt-offline-install.log. To illustrate the bundle created by |
Beta Was this translation helpful? Give feedback.
-
That's only for the apt metadata, which holds the actual checksum integrity for everything else.
They should never be installed to apt-offline/apt_offline_core/AptOfflineCoreLib.py Line 2074 in 7cfa5fc Now, why/how did the .debs get copied there instead, is something to investigate. You mentioned that you are using the latest code from the git repository. So you should have the latest. |
Beta Was this translation helpful? Give feedback.
-
I think I see the problem. But, in summary, I don't know why it is behaving that way. It probably is an Ubuntu specific behavior. If you instead use the I don't use Ubuntu so this is just a guess. But I haven't seen this behavior on my Debian systems. If you are interested in how the whole validation thing works, I wrote a small blog post some time ago. That may help clarfiy some of your doubts. https://www.researchut.com/blog/apt-offline-1_8_2/ To just emphasize a snippet from the manpage:
|
Beta Was this translation helpful? Give feedback.
-
So this statement from me is wrong. from the manpage, it is clear that the default behavior is to not do strict deb checking. Which is what is reflected in your runs too. But I think this overall anomaly is just because Ubuntu is doing a stricter validation of the .debs, which is a good thing. I think if you use the |
Beta Was this translation helpful? Give feedback.
-
Unfortunately I can confirm that I would love to help debug this issue, as I am pretty comfortable with Python. Can you point me to the line where "installation" actually happens? I feel like my lack of familiarity with apt is a barrier here. |
Beta Was this translation helpful? Give feedback.
-
There's nothing much for So what host machine distribution are you running ? It was my bad to assume that you were on Ubuntu. |
Beta Was this translation helpful? Give feedback.
-
See the example runs in this report which I ran today. |
Beta Was this translation helpful? Give feedback.
-
I am running Ubuntu and I see this issue. |
Beta Was this translation helpful? Give feedback.
-
Using the current source in github, I can run
apt-offline set apt-offline.sig --upgrade
without issue, andapt-offline get apt-offline.sig --bundle upgrade.zip
creates a zipfile that does indeed have the debs of the packages that need to be upgraded. However, runningapt-offline install upgrade.zip --verbose
doesn't seem to install the packages onto my system. The command output says that the packages are "synced", and I don't see any errors.Beta Was this translation helpful? Give feedback.
All reactions