LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-27-2017, 08:24 PM   #1
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,216
Blog Entries: 2

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
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.
 
Old 03-27-2017, 09:38 PM   #2
Ztcoracat
LQ Guru
 
Registered: Dec 2011
Distribution: Slackware, MX 18
Posts: 9,484
Blog Entries: 15

Rep: Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174Reputation: 1174
Quote:
But it complained about the repo not being secure.
Is this the message your getting?
Code:
Updating from such a repository can't be done securely and is therefore disabled by default
Keep in mind that allowing unsigned repos to work is likely; risky.

http://askubuntu.com/questions/73298...y-ubuntu-16-04
 
1 members found this post helpful.
Old 03-28-2017, 05:13 AM   #3
Habitual
LQ Veteran
 
Registered: Jan 2011
Location: Abingdon, VA
Distribution: Catalina
Posts: 9,374
Blog Entries: 37

Rep: Reputation: Disabled
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
package says

Code:
Description: https download transport for APT
 This package enables the usage of 'deb https://foo distro main' lines
 in the /etc/apt/sources.list so that all package managers using the
 libapt-pkg library can access metadata and packages available in sources
 accessible over https (Hypertext Transfer Protocol Secure).
https://help.ubuntu.com/community/Repositories/Personal seems pretty straight forward.
but does not discuss this package named here.

Last edited by Habitual; 03-28-2017 at 05:14 AM.
 
Old 03-29-2017, 08:15 AM   #4
Mill J
Senior Member
 
Registered: Feb 2017
Location: @127.0.0.1
Distribution: Mint, Void, MX, Haiku, PMOS, Plasma Mobile, and many others
Posts: 1,216

Original Poster
Blog Entries: 2

Rep: Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515Reputation: 515
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)
W: The repository 'file:/ /media/mill/Repo/repo/main/ Release' does not have a Release file.
N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.
N: See apt-secure(8) manpage for repository creation and user configuration details.
Here is the man page for apt-secure. http://manpages.ubuntu.com/manpages/...-secure.8.html

And yes it is a new mint install.

Last edited by Mill J; 03-29-2017 at 08:18 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
How to set up local apt repo jnojr Debian 1 04-30-2015 02:53 PM
local repo srinivasmmdl Linux - Newbie 2 10-07-2011 09:00 AM
local pings/apache2 sites work from outside. external pings/apt-get not working. BnrStnr Linux - Networking 5 02-25-2010 02:20 PM
local apt repo anantshri Linux - Software 1 01-02-2006 06:33 AM
local apt repo adem0rdna Fedora 5 02-08-2005 09:59 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 12:44 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration