Scheduled Maintenance: We are aware of an issue with Google, AOL, and Yahoo services as email providers which are blocking new registrations. We are trying to fix the issue and we have several internal and external support tickets in process to resolve the issue. Please see: viewtopic.php?t=158230

 

 

 

problem with local repository

Linux Kernel, Network, and Services configuration.
Post Reply
Message
Author
debianyuser
Posts: 4
Joined: 2017-08-29 15:47

problem with local repository

#1 Post by debianyuser »

Hello everyone,
I have local repository for Debian testing-amd64 on my pc1, this pc1 is running apache2, as server.
on the pc2, I have /etc/apt/sources.list:
deb http://192.168.1.2/Debian/ testing main non-free contrib
so when I try to update my pc2, I get this message:
sudo apt-get update
Ign:1 http://192.168.1.2/Debian testing InRelease
Get:2 http://192.168.1.2/Debian testing Release [2,469 B]
Ign:3 http://192.168.1.2/Debian testing Release.gpg
Reading package lists... Done
E: The repository 'http://192.168.1.2/Debian testing Release' is not signed.
N: Updating from such a repository can't be done securely, and is therefore disabled by default.
N: See apt-secure(8) manpage for repository creation and user configuration details.
I cannot update pc2, because local repository is not signed, How to sign it?
btw, packages in local repository are not modified, I just used reprepro to create local repository.
Thanks

User avatar
dilberts_left_nut
Administrator
Administrator
Posts: 5346
Joined: 2009-10-05 07:54
Location: enzed
Has thanked: 13 times
Been thanked: 66 times

Re: problem with local repository

#2 Post by dilberts_left_nut »

See apt-secure(8) manpage for repository creation and user configuration details
AdrianTM wrote:There's no hacker in my grandma...

debianyuser
Posts: 4
Joined: 2017-08-29 15:47

Re: problem with local repository

#3 Post by debianyuser »

dilberts_left_nut wrote:See apt-secure(8) manpage for repository creation and user configuration details
great, It worked with:
sudo apt update --allow-insecure-repositories
but because they say it's bad to ignore the signatures for many reasons, Is there a way to sign my local repository? I don't want to rebuild all packages or modify them.
Thanks

Post Reply