Aptly: package in repo but can't be installed


up vote
3
down vote
favorite
I'm setting up a repo by doing the following:
aptly repo create sample_repo
aptly repo add sample_repo neuboxdb-0.9.0-amd64.deb
aptly snapshot create sample_snapshot from repo sample_repo
aptly publish snapshot sample_snapshot
aptly serve
The web server starts on port 8080
.
I then add the following to sources.list
on a x86-64 machine:
deb [arch=amd64] http://[ip address of server:8080/ xenial universe
Next I run:
sudo apt-get update
Which returns:
W: http://[server ip]:8080/dists/xenial/InRelease: Signature by key EB45DBC87E77FEA9CB66C1D13FB76626D9985912 uses weak digest algorithm (SHA1)
But when I run:
sudo apt-get install neuboxdb
I get:
E: Unable to locate package neuboxdb
Looking in /var/lib/apt/lists
on the machine I'm installing onto, I see an InRelease
file corresponding to the server, but no amd64_Packages file.
On the repo machine, ~/.aptly/public/dists/xenial/main/binary-amd64
contains an entry for neuboxdb
.
What's not right with this?
apt repository
add a comment |Â
up vote
3
down vote
favorite
I'm setting up a repo by doing the following:
aptly repo create sample_repo
aptly repo add sample_repo neuboxdb-0.9.0-amd64.deb
aptly snapshot create sample_snapshot from repo sample_repo
aptly publish snapshot sample_snapshot
aptly serve
The web server starts on port 8080
.
I then add the following to sources.list
on a x86-64 machine:
deb [arch=amd64] http://[ip address of server:8080/ xenial universe
Next I run:
sudo apt-get update
Which returns:
W: http://[server ip]:8080/dists/xenial/InRelease: Signature by key EB45DBC87E77FEA9CB66C1D13FB76626D9985912 uses weak digest algorithm (SHA1)
But when I run:
sudo apt-get install neuboxdb
I get:
E: Unable to locate package neuboxdb
Looking in /var/lib/apt/lists
on the machine I'm installing onto, I see an InRelease
file corresponding to the server, but no amd64_Packages file.
On the repo machine, ~/.aptly/public/dists/xenial/main/binary-amd64
contains an entry for neuboxdb
.
What's not right with this?
apt repository
add a comment |Â
up vote
3
down vote
favorite
up vote
3
down vote
favorite
I'm setting up a repo by doing the following:
aptly repo create sample_repo
aptly repo add sample_repo neuboxdb-0.9.0-amd64.deb
aptly snapshot create sample_snapshot from repo sample_repo
aptly publish snapshot sample_snapshot
aptly serve
The web server starts on port 8080
.
I then add the following to sources.list
on a x86-64 machine:
deb [arch=amd64] http://[ip address of server:8080/ xenial universe
Next I run:
sudo apt-get update
Which returns:
W: http://[server ip]:8080/dists/xenial/InRelease: Signature by key EB45DBC87E77FEA9CB66C1D13FB76626D9985912 uses weak digest algorithm (SHA1)
But when I run:
sudo apt-get install neuboxdb
I get:
E: Unable to locate package neuboxdb
Looking in /var/lib/apt/lists
on the machine I'm installing onto, I see an InRelease
file corresponding to the server, but no amd64_Packages file.
On the repo machine, ~/.aptly/public/dists/xenial/main/binary-amd64
contains an entry for neuboxdb
.
What's not right with this?
apt repository
I'm setting up a repo by doing the following:
aptly repo create sample_repo
aptly repo add sample_repo neuboxdb-0.9.0-amd64.deb
aptly snapshot create sample_snapshot from repo sample_repo
aptly publish snapshot sample_snapshot
aptly serve
The web server starts on port 8080
.
I then add the following to sources.list
on a x86-64 machine:
deb [arch=amd64] http://[ip address of server:8080/ xenial universe
Next I run:
sudo apt-get update
Which returns:
W: http://[server ip]:8080/dists/xenial/InRelease: Signature by key EB45DBC87E77FEA9CB66C1D13FB76626D9985912 uses weak digest algorithm (SHA1)
But when I run:
sudo apt-get install neuboxdb
I get:
E: Unable to locate package neuboxdb
Looking in /var/lib/apt/lists
on the machine I'm installing onto, I see an InRelease
file corresponding to the server, but no amd64_Packages file.
On the repo machine, ~/.aptly/public/dists/xenial/main/binary-amd64
contains an entry for neuboxdb
.
What's not right with this?
apt repository
edited May 26 at 6:40


galoget
2,1062820
2,1062820
asked May 26 at 2:50
Craig S. Anderson
1246
1246
add a comment |Â
add a comment |Â
1 Answer
1
active
oldest
votes
up vote
2
down vote
accepted
Such a nice tool to know about thank you. Well, could you compare these:
sources.list
on on x86-64 machine:deb [arch=amd64] http://[ip address of server]:8080/ xenial universe
...
On the repo machine,
~/.aptly/public/dists/xenial/main/binary-amd64
See the component, it is not the same, so your sources.list
should have something like:
deb [arch=amd64] http://[ip address of server]:8080/ xenial main
add a comment |Â
1 Answer
1
active
oldest
votes
1 Answer
1
active
oldest
votes
active
oldest
votes
active
oldest
votes
up vote
2
down vote
accepted
Such a nice tool to know about thank you. Well, could you compare these:
sources.list
on on x86-64 machine:deb [arch=amd64] http://[ip address of server]:8080/ xenial universe
...
On the repo machine,
~/.aptly/public/dists/xenial/main/binary-amd64
See the component, it is not the same, so your sources.list
should have something like:
deb [arch=amd64] http://[ip address of server]:8080/ xenial main
add a comment |Â
up vote
2
down vote
accepted
Such a nice tool to know about thank you. Well, could you compare these:
sources.list
on on x86-64 machine:deb [arch=amd64] http://[ip address of server]:8080/ xenial universe
...
On the repo machine,
~/.aptly/public/dists/xenial/main/binary-amd64
See the component, it is not the same, so your sources.list
should have something like:
deb [arch=amd64] http://[ip address of server]:8080/ xenial main
add a comment |Â
up vote
2
down vote
accepted
up vote
2
down vote
accepted
Such a nice tool to know about thank you. Well, could you compare these:
sources.list
on on x86-64 machine:deb [arch=amd64] http://[ip address of server]:8080/ xenial universe
...
On the repo machine,
~/.aptly/public/dists/xenial/main/binary-amd64
See the component, it is not the same, so your sources.list
should have something like:
deb [arch=amd64] http://[ip address of server]:8080/ xenial main
Such a nice tool to know about thank you. Well, could you compare these:
sources.list
on on x86-64 machine:deb [arch=amd64] http://[ip address of server]:8080/ xenial universe
...
On the repo machine,
~/.aptly/public/dists/xenial/main/binary-amd64
See the component, it is not the same, so your sources.list
should have something like:
deb [arch=amd64] http://[ip address of server]:8080/ xenial main
answered May 26 at 3:26


user.dz
33.5k1186165
33.5k1186165
add a comment |Â
add a comment |Â
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
StackExchange.ready(
function ()
StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2faskubuntu.com%2fquestions%2f1040455%2faptly-package-in-repo-but-cant-be-installed%23new-answer', 'question_page');
);
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Post as a guest
Sign up or log in
StackExchange.ready(function ()
StackExchange.helpers.onClickDraftSave('#login-link');
var $window = $(window),
onScroll = function(e)
var $elem = $('.new-login-left'),
docViewTop = $window.scrollTop(),
docViewBottom = docViewTop + $window.height(),
elemTop = $elem.offset().top,
elemBottom = elemTop + $elem.height();
if ((docViewTop elemBottom))
StackExchange.using('gps', function() StackExchange.gps.track('embedded_signup_form.view', location: 'question_page' ); );
$window.unbind('scroll', onScroll);
;
$window.on('scroll', onScroll);
);
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
Sign up using Google
Sign up using Facebook
Sign up using Email and Password