Skip to content

repository setup

I am afraid i will start with a troubleshooting section because i had big troubles getting this to work.

Afterwards i had changed a number of things and it fixed a number of problems, so of course i can't say what fixed what.

troubleshooting

The problems, all from the system using the repository.

  • apt: Clearsigned file isn't valid, got 'NOSPLIT'
  • explicitly accept changes for PPA labels
  • various complaints about the repository line in sources.list.d/

The explicitly accept is definitely fixed with this :

changetitle
1
2
3
sudo apt-get update
sudo apt-get upgrade
sudo apt-get --allow-releaseinfo-change update

BUT : try it without the upgrade line first because for me it took more than an hour !!

That leaves the other things i changed :

  • I found the package/repository as still being signed with an old key id
  • I changed the url from visit to visit
  • I resigned everything both on server and client(apt-key add)

skipping acquire

Here is another problem with a definite solution. If you see this message on the client :

changetitle
N: Skipping acquire of configured file 'main/binary-i386/Packages' as repository 'http://debian.klopt.org/debian buster InRelease' doesn't support architecture 'i386'

It means that you did not offer an i386 version of the package, and that is correct we only do 64 bits both on server and client. So to prevent this message make sure you specify amd64 only in the debian.list file :

changetitle
deb [arch=amd64] http://debian.klopt.org/debian buster main

On apt-get update the message goes away after that.

Documents used :

visit visit visit visit

Please do this by ansible script once again whenever there is spare time 8)