apt-get apt-mirror Clearsigned file isn't valid, got 'NODATA'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
apt (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
I have a local mirror running with apt-mirror. This was fine for more then a year, since some days I am getting this error
sudo apt-get update
Holen: 1 http://
Holen: 2 http://
Holen: 3 http://
Holen: 4 http://
Holen: 5 http://
Ign http://
E: GPG-Fehler: http://
if I am deleting the InRelease file it works fine also with the normal Repos of Ubuntu for archive.ubuntu.com.
After refreshing apt-mirror InRelease is back in http://
Than the error is back.
I found this fix..
cat fixpackage
#!/bin/bash
sudo cp -arf /var/lib/dpkg /var/lib/
sudo cp /var/lib/
sudo cp /var/lib/
sudo rm -rf /var/lib/
sudo rm -rf /var/lib/apt/lists
sudo mkdir /var/lib/apt/lists
sudo mkdir /var/lib/
sudo apt-get clean
sudo apt-get update
sudo dpkg --clear-avail
sudo dpkg --configure -a
sudo apt-get install -f
sudo apt-get update
sudo apt-get dist-upgrade
but it did not help for me.
It seems that apt-get update does not downloads all the keys and Release files.
I hoping for help. I am getting the same thing from all client computer of apt-mirror.