unable to get apt-offline to install in the offline machine

Asked by steve schmedinghoff

I got the apt-offline_1.7_all.deb file
performed the sudo dpkg -i
Have error result dependance problems -- leaving unconfigured
Errors were encountered while processing:
  apt-offline

Your correct . I missed the line that says
apt-offline depends on python-magic

How do I install that on an off line system without apt-offline?
Why isn't this explained in the apt-offline documentation?

Thank you
Steve
<email address hidden>

Question information

Language:
English Edit question
Status:
Solved
For:
Ubuntu Edit question
Assignee:
No assignee Edit question
Solved by:
Manfred Hampl
Solved:
Last query:
Last reply:
Revision history for this message
actionparsnip (andrew-woodhead666) said :
#1

Try:

sudo apt-get -f install

This will install the deps

Revision history for this message
Manfred Hampl (m-hampl) said :
#2

What is the full error message?

If there is something like "dependence problems -- leaving unconfigured", then you have to install another package first - the name of that package should be visible in the error message.

Revision history for this message
steve schmedinghoff (schmedinghoff1) said :
#3

Hi Manfred
Your correct. I missed the line saying depends on python-magic
How do I install that on an offline machine?
Thank you
Steve

Sent from my iPhone

> On Mar 20, 2018, at 7:52 AM, Manfred Hampl <email address hidden> wrote:
>
> Your question #666802 on Ubuntu changed:
> https://answers.launchpad.net/ubuntu/+question/666802
>
> Manfred Hampl proposed the following answer:
> What is the full error message?
>
> If there is something like "dependence problems -- leaving
> unconfigured", then you have to install another package first - the name
> of that package should be visible in the error message.
>
> --
> If this answers your question, please go to the following page to let us
> know that it is solved:
> https://answers.launchpad.net/ubuntu/+question/666802/+confirm?answer_id=1
>
> If you still need help, you can reply to this email or go to the
> following page to enter your feedback:
> https://answers.launchpad.net/ubuntu/+question/666802
>
> You received this question notification because you asked the question.

Revision history for this message
Best Manfred Hampl (m-hampl) said :
#4

Where did you download the apt-offline_1.7_all.deb file?
The package with apt-offline_1.7_all.deb should be available on similar sources.

I assume that you are running Ubuntu xenial, and a link to the version of that package suitable for you most probably is https://launchpad.net/ubuntu/+archive/primary/+files/python-magic_5.25-2ubuntu1_all.deb

In case that installing that package (with dpkg -i ...) in turn gives a "dependence problems -- leaving unconfigured" message, you have to install the missing dependency first (and so on).

Revision history for this message
steve schmedinghoff (schmedinghoff1) said :
#5

That did work. apt-offline is now installed. Now my problem is that it won't install anything that I've asked it to do
Fortunately I've been able to install the library's that I needed using dpkg.
I'll figure out why apt-offline won't recognize my software requests later.
Thank you very much