Trying to import packages from /var/cache/apt-cacher/import
Bug #1178937 reported by
ajack38
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt-cacher (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
ashley@
[sudo] password for ashley:
Undefined subroutine &main::inet_aton called at /usr/share/
ashley@
/usr/sbin/
ashley@
Description: Ubuntu 12.04.2 LTS
Release: 12.04
I expected it to import the .deb's that I placed in /var/cache/
It provided the error at the start.
tags: | added: apt-cacher |
To post a comment you must log in.
Found the problem... The "Socket" library is not included... and the function inet_aton is called (part of Socket).
Simply add:
use Socket;
... on line 55 of /usr/share/ apt-cacher/ apt-cacher- import. pl