Getting local repo to work with apt-get
I'm trying to make a local repository that I can use with apt. I tried dpkg-scanpackages and everything worked fine and when i ran apt-get update it picked it up. But it complained about the repo not being secure. and it doesn't work. I'm wondering if there is a way to allow unsigned repos to work. I know I could do it on Mint 17.3 but on Mint 18.1 it doesn't work.
|
Quote:
Code:
Updating from such a repository can't be done securely and is therefore disabled by default http://askubuntu.com/questions/73298...y-ubuntu-16-04 |
Without knowing what your references are for building this repo, I can only guess at the resolution.
(always cite references when asking for help please) sources would be helpful too for this repo. Worked in 17.x but not 18.1? How was 18 "installed"? New, Upgrade? If Ztcoracat is correct, then maybe... Code:
sudo apt show apt-transport-https Code:
Description: https download transport for APT but does not discuss this package named here. |
http://www.linuxwave.info/2009/04/ad...o-apt.html?m=1 Was my reference. Here is part of apt-get update:
Code:
N: Can't drop privileges for downloading as file '/media/mill/Repo/repo/main/InRelease' couldn't be accessed by user '_apt'. - pkgAcquire::Run (13: Permission denied) And yes it is a new mint install. |
All times are GMT -5. The time now is 09:50 PM. |