topic title: Repo issues anyone?
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#1
For those running latest test versions, are you having issues with the antiX repos at all?

Test it out installed or live.
Posts: 279
afab4
Joined: 17 Oct 2009
#2

Code: Select all

# antiX
deb http://www.daveserver.info/antiX/debs testing full main 

# yad
deb http://debs.slavino.sk testing main non-free
I get;

Code: Select all

W: GPG error: http://www.daveserver.info testing InRelease: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY F4EA6AF93465FC9B
Also the debs.slavino.sk repo always fails.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#3
To fix key for antiX repo:

Type: gpg --keyserver subkeys.pgp.net --recv-keys 3465FC9B
Press: enter / return
Type: gpg --armor --export 3465FC9B | apt-key add -
Press: enter / return
Type: apt-get update
Press: enter / return
Install your applications using your package manager or typing apt-get install PACKAGE NAME
Posts: 3
josef.bunes
Joined: 02 Apr 2012
#4
An another way to obtain the key is from Ubuntu key server.

Shell command is:

Code: Select all

wget -q"http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xF4EA6AF93465FC9B"
-O- | sudo apt-key add -
More info is
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.rebelzero.com/fixes/apt-get-gpg-error-public-key-not-available/88"
linktext was:"here"
====================================
.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#5
josef.bunes wrote:An another way to obtain the key is from Ubuntu key server.
Since antiX does not use Ubuntu repos nor Ubuntu .debs, this is not a good idea.
Posts: 3
josef.bunes
Joined: 02 Apr 2012
#6
I downloaded the
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://keyserver.ubuntu.com:11371/pks/lookup?op=get&search=0xF4EA6AF93465FC9B"
linktext was:"public key"
====================================
from that server only, not added Ubuntu repo.
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#7
*Bump*

Anyone getting errors with antiX repo after fixing the key?
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#8
anticapitalista wrote:*Bump*

Anyone getting errors with antiX repo after fixing the key?
And the next contestant says

Code: Select all

harry@biker:~$ sux
Password: 
root@biker:/home/harry# gpg --keyserver subkeys.pgp.net --recv-keys 3465FC9B
gpg: directory `/root/.gnupg' created
gpg: new configuration file `/root/.gnupg/gpg.conf' created
gpg: WARNING: options in `/root/.gnupg/gpg.conf' are not yet active during this run
gpg: keyring `/root/.gnupg/secring.gpg' created
gpg: keyring `/root/.gnupg/pubring.gpg' created
gpg: requesting key 3465FC9B from hkp server subkeys.pgp.net
gpg: /root/.gnupg/trustdb.gpg: trustdb created
gpg: key 3465FC9B: public key"David deJong (Dave) <david@daveserver.info>" imported
gpg: Total number processed: 1
gpg:               imported: 1  (RSA: 1)
root@biker:/home/harry# gpg --armor --export 3465FC9B | apt-key add -
OK
root@biker:/home/harry# apt-get update
Get:1 http://www.daveserver.info testing InRelease [43.4 kB]                   
Get:2 http://ftp.us.debian.org testing InRelease [185 kB]                      
Get:3 ftp://ftp.us.debian.org sid InRelease [208 kB]                           
Get:4 http://debs.slavino.sk testing InRelease [8,427 B]                       
Get:5 http://www.daveserver.info testing/full i386 Packages [1,024 B]          
Get:6 http://www.daveserver.info testing/main i386 Packages [9,800 B]          
Get:7 http://ftp.us.debian.org testing/main i386 Packages/DiffIndex [7,876 B]  
Ign http://www.daveserver.info testing/full TranslationIndex                   
Ign http://www.daveserver.info testing/main TranslationIndex                   
Get:8 http://debs.slavino.sk testing/main i386 Packages [19.0 kB]              
Get:9 http://ftp.us.debian.org testing/contrib i386 Packages/DiffIndex [3,955 B]
Get:10 http://security.debian.org testing/updates InRelease [87.8 kB]          
Get:11 ftp://ftp.us.debian.org sid/main i386 Packages/DiffIndex [7,876 B]      
Get:12 http://ftp.us.debian.org testing/non-free i386 Packages/DiffIndex [4,783 B]
Get:13 http://debs.slavino.sk testing/non-free i386 Packages [1,704 B]         
Ign http://www.daveserver.info testing/full Translation-en_US                  
Ign http://ftp.us.debian.org testing/contrib TranslationIndex                  
Ign http://www.daveserver.info testing/full Translation-en                     
Ign http://www.daveserver.info testing/main Translation-en_US                  
Ign http://debs.slavino.sk testing/main TranslationIndex                       
Ign http://www.daveserver.info testing/main Translation-en                     
Ign http://debs.slavino.sk testing/non-free TranslationIndex                   
Get:14 http://ftp.us.debian.org testing/main TranslationIndex [2,223 B]        
Ign http://ftp.us.debian.org testing/non-free TranslationIndex                 
Get:15 http://ftp.us.debian.org testing/main i386 Packages [5,740 kB]          
Get:16 http://security.debian.org testing/updates/main i386 Packages [14 B]    
Get:17 http://security.debian.org testing/updates/contrib i386 Packages [14 B] 
Get:18 http://security.debian.org testing/updates/non-free i386 Packages [14 B]
Ign http://security.debian.org testing/updates/contrib TranslationIndex        
Get:19 ftp://ftp.us.debian.org sid/non-free i386 Packages/DiffIndex [6,025 B]  
Ign http://security.debian.org testing/updates/main TranslationIndex           
Ign http://security.debian.org testing/updates/non-free TranslationIndex       
Get:20 ftp://ftp.us.debian.org sid/main TranslationIndex [2,223 B]             
Ign http://security.debian.org testing/updates/contrib Translation-en_US       
Get:21 ftp://ftp.us.debian.org sid/non-free TranslationIndex                   
Ign http://security.debian.org testing/updates/contrib Translation-en          
Ign http://security.debian.org testing/updates/main Translation-en_US          
Ign http://security.debian.org testing/updates/main Translation-en             
Ign http://security.debian.org testing/updates/non-free Translation-en_US      
Ign http://security.debian.org testing/updates/non-free Translation-en         
Ign ftp://ftp.us.debian.org sid/non-free TranslationIndex                      
Get:22 ftp://ftp.us.debian.org sid/main i386 Packages [5,935 kB]               
Ign http://debs.slavino.sk testing/main Translation-en_US                      
Ign http://debs.slavino.sk testing/main Translation-en                         
Ign http://debs.slavino.sk testing/non-free Translation-en_US                  
Ign http://debs.slavino.sk testing/non-free Translation-en                     
Get:23 ftp://ftp.us.debian.org sid/non-free i386 Packages [79.2 kB]            
Get:24 ftp://ftp.us.debian.org sid/main Translation-en [3,927 kB]              
Get:25 http://ftp.us.debian.org testing/contrib i386 2012-02-12-0215.34.pdiff [253 B]
Get:26 http://ftp.us.debian.org testing/contrib i386 2012-02-12-0215.34.pdiff [253 B]
Get:27 http://ftp.us.debian.org testing/non-free i386 Packages [72.4 kB]       
Get:28 http://ftp.us.debian.org testing/contrib Translation-en [36.2 kB]       
Get:29 http://ftp.us.debian.org testing/main Translation-en [3,796 kB]         
Get:30 http://ftp.us.debian.org testing/non-free Translation-en [63.3 kB]      
Get:31 http://ftp.us.debian.org testing/contrib i386 2012-02-15-0215.00.pdiff [288 B]
Get:32 http://ftp.us.debian.org testing/contrib i386 2012-02-15-0215.00.pdiff [288 B]
Get:33 http://ftp.us.debian.org testing/contrib i386 2012-02-16-1415.51.pdiff [766 B]
Get:34 http://ftp.us.debian.org testing/contrib i386 2012-02-16-1415.51.pdiff [766 B]
Get:35 http://ftp.us.debian.org testing/contrib i386 2012-02-17-0217.20.pdiff [2,366 B]
Get:36 http://ftp.us.debian.org testing/contrib i386 2012-02-17-0217.20.pdiff [2,366 B]
Get:37 http://ftp.us.debian.org testing/contrib i386 2012-02-18-0214.00.pdiff [261 B]
Get:38 http://ftp.us.debian.org testing/contrib i386 2012-02-18-0214.00.pdiff [261 B]
Ign http://ftp.us.debian.org testing/contrib Translation-en_US                 
Ign http://ftp.us.debian.org testing/non-free Translation-en_US    
Get:39 http://ftp.us.debian.org testing/contrib i386 2012-02-18-1417.36.pdiff [262 B]
Get:40 http://ftp.us.debian.org testing/contrib i386 2012-02-18-1417.36.pdiff [262 B]
Get:41 http://ftp.us.debian.org testing/contrib i386 2012-02-20-0213.50.pdiff [932 B]
Get:42 http://ftp.us.debian.org testing/contrib i386 2012-02-20-0213.50.pdiff [932 B]
Get:43 http://ftp.us.debian.org testing/contrib i386 2012-02-23-0213.03.pdiff [1,151 B]
Get:44 http://ftp.us.debian.org testing/contrib i386 2012-02-23-0213.03.pdiff [1,151 B]
Get:45 http://ftp.us.debian.org testing/contrib i386 2012-02-26-0213.07.pdiff [838 B]
Get:46 http://ftp.us.debian.org testing/contrib i386 2012-02-26-0213.07.pdiff [838 B]
Get:47 http://ftp.us.debian.org testing/contrib i386 2012-02-26-1412.47.pdiff [407 B]
Get:48 http://ftp.us.debian.org testing/contrib i386 2012-02-26-1412.47.pdiff [407 B]
Get:49 http://ftp.us.debian.org testing/contrib i386 2012-02-28-0212.51.pdiff [1,495 B]
Get:50 http://ftp.us.debian.org testing/contrib i386 2012-02-28-0212.51.pdiff [1,495 B]
Get:51 http://ftp.us.debian.org testing/contrib i386 2012-02-29-0213.04.pdiff [451 B]
Get:52 http://ftp.us.debian.org testing/contrib i386 2012-02-29-0213.04.pdiff [451 B]
Get:53 http://ftp.us.debian.org testing/contrib i386 2012-03-02-0213.02.pdiff [627 B]
Get:54 http://ftp.us.debian.org testing/contrib i386 2012-03-02-0213.02.pdiff [627 B]
Get:55 http://ftp.us.debian.org testing/contrib i386 2012-03-04-0214.44.pdiff [286 B]
Get:56 http://ftp.us.debian.org testing/contrib i386 2012-03-04-0214.44.pdiff [286 B]
Get:57 ftp://ftp.us.debian.org sid/non-free Translation-en_US                  
Get:58 ftp://ftp.us.debian.org sid/non-free Translation-en [69.7 kB]           
Get:59 http://ftp.us.debian.org testing/contrib i386 2012-03-06-0213.49.pdiff [317 B]
Get:60 http://ftp.us.debian.org testing/contrib i386 2012-03-06-0213.49.pdiff [317 B]
Get:61 http://ftp.us.debian.org testing/contrib i386 2012-03-07-0216.29.pdiff [1,225 B]
Get:62 http://ftp.us.debian.org testing/contrib i386 2012-03-07-0216.29.pdiff [1,225 B]
Get:63 http://ftp.us.debian.org testing/contrib i386 2012-03-08-1415.49.pdiff [232 B]
Get:64 http://ftp.us.debian.org testing/contrib i386 2012-03-08-1415.49.pdiff [232 B]
Get:65 http://ftp.us.debian.org testing/contrib i386 2012-03-11-0214.24.pdiff [280 B]
Get:66 http://ftp.us.debian.org testing/contrib i386 2012-03-11-0214.24.pdiff [280 B]
Get:67 http://ftp.us.debian.org testing/contrib i386 2012-03-12-0220.33.pdiff [652 B]
Get:68 http://ftp.us.debian.org testing/contrib i386 2012-03-12-0220.33.pdiff [652 B]
Get:69 http://ftp.us.debian.org testing/contrib i386 2012-03-14-0214.02.pdiff [2,620 B]
Get:70 http://ftp.us.debian.org testing/contrib i386 2012-03-14-0214.02.pdiff [2,620 B]
Get:71 http://ftp.us.debian.org testing/contrib i386 2012-03-16-0214.19.pdiff [551 B]
Get:72 http://ftp.us.debian.org testing/contrib i386 2012-03-16-0214.19.pdiff [551 B]
Get:73 http://ftp.us.debian.org testing/contrib i386 2012-03-18-0211.37.pdiff [243 B]
Get:74 http://ftp.us.debian.org testing/contrib i386 2012-03-18-0211.37.pdiff [243 B]
Get:75 http://ftp.us.debian.org testing/contrib i386 2012-03-25-2204.37.pdiff [356 B]
Get:76 http://ftp.us.debian.org testing/contrib i386 2012-03-25-2204.37.pdiff [356 B]
Get:77 http://ftp.us.debian.org testing/contrib i386 2012-03-27-0212.02.pdiff [604 B]
Get:78 http://ftp.us.debian.org testing/contrib i386 2012-03-27-0212.02.pdiff [604 B]
Get:79 http://ftp.us.debian.org testing/contrib i386 2012-03-30-0210.52.pdiff [253 B]
Get:80 http://ftp.us.debian.org testing/contrib i386 2012-03-30-0210.52.pdiff [253 B]
Get:81 http://ftp.us.debian.org testing/contrib i386 2012-03-31-0210.59.pdiff [253 B]
Get:82 http://ftp.us.debian.org testing/contrib i386 2012-03-31-0210.59.pdiff [253 B]
Get:83 ftp://ftp.us.debian.org sid/non-free Translation-en_US                  
Get:84 http://ftp.us.debian.org testing/contrib i386 2012-04-02-0210.32.pdiff [468 B]
Get:85 http://ftp.us.debian.org testing/contrib i386 2012-04-02-0210.32.pdiff [468 B]
Get:86 ftp://ftp.us.debian.org sid/non-free Translation-en_US                  
Get:87 ftp://ftp.us.debian.org sid/non-free Translation-en_US                  
Get:88 ftp://ftp.us.debian.org sid/non-free Translation-en_US                  
Ign ftp://ftp.us.debian.org sid/non-free Translation-en_US                     
Fetched 20.3 MB in 7min 20s (46.1 kB/s)                                        
W: Failed to fetch gzip:/var/lib/apt/lists/partial/www.daveserver.info_antiX_debs_dists_testing_full_binary-i386_Packages  Hash Sum mismatch

W: Failed to fetch gzip:/var/lib/apt/lists/partial/www.daveserver.info_antiX_debs_dists_testing_main_binary-i386_Packages  Hash Sum mismatch

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@biker:/home/harry# exit
exit
harry@biker:~$ inxi -r
Repos:     Active apt sources in file: /etc/apt/sources.list.d/antix.list
           deb http://www.daveserver.info/antiX/debs testing full main
           deb http://debs.slavino.sk testing main non-free
           Active apt sources in file: /etc/apt/sources.list.d/debian.list
           deb http://ftp.us.debian.org/debian/ testing main contrib non-free
           deb http://security.debian.org/ testing/updates main contrib non-free
           Active apt sources in file: /etc/apt/sources.list.d/java.list
           deb ftp://ftp.us.debian.org/debian/ sid main non-free

Code: Select all

System:    Host: biker Kernel: 3.2.5-antix.1-486-smp i686 (32 bit) Desktop: IceWM 1.3.7 Distro: antiX-full 01 February 2012
Machine:   Mobo: Acer model: Aspire 5534 version: V1.10 Bios: Acer version: V1.10 date: 08/26/2009
CPU:       Dual core AMD Athlon X2 L310 (-MCP-) cache: 1024 KB flags: (lm nx sse sse2 sse3 svm) 
           Clock Speeds: 1: 1196.890 MHz 2: 1196.890 MHz
Graphics:  Card: ATI RS780M/RS780MN [Mobility Radeon HD 3200 Graphics] 
           X.Org: 1.11.3.901 driver: fglrx Resolution: 1366x768@60.0hz 
           GLX Renderer: N/A GLX Version: N/A
Audio:     Card: ATI SBx00 Azalia (Intel HDA) driver: snd_hda_intel Sound: ALSA ver: 1.0.24
Network:   Card-1: Atheros AR928X Wireless Network Adapter (PCI-Express) driver: ath9k 
           IF: wlan0 state: up mac: <filter>
           Card-2: Realtek RTL8111/8168B PCI Express Gigabit Ethernet controller driver: r8169 
           IF: eth0 state: down mac: <filter>
Drives:    HDD Total Size: 266.1GB (-) 1: /dev/sda TOSHIBA_MK2555GS 250.1GB 
           2: USB /dev/sdb Multi 16.0GB 
Partition: ID: / size: 15G used: 3.2G (23%) fs: ext2 
Sensors:   System Temperatures: cpu: 53.0C mobo: 0.0C 
           Fan Speeds (in rpm): cpu: N/A 
Info:      Processes: 93 Uptime: 30 min Memory: 265.5/3545.8MB Client: Shell inxi: 1.7.31 
I had Daves server commented out before, (because of errors). I un-commented it and added gpg keys as instructed. This is a full AntiX iso install on
a 16gig external flash SD card Anti. Not a frugal install or antix2usb install.
Posts: 279
afab4
Joined: 17 Oct 2009
#9
anticapitalista wrote:*Bump*

Anyone getting errors with antiX repo after fixing the key?
I am getting the same error as rokytnji....
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#10
roky and afab4, to fix the errors, copy the files that end in FAILED from /var/lib/apt/lists/partial/ to /var/lib/apt/lists and rename them without the decom.FAILED suffix eg

www.daveserver.info_antiX_debs_dists_te ... omp.FAILED to

www.daveserver.info_antiX_debs_dists_te ... 6_Packages

and delete the contents of /var/lib/apt/lists/partial/

apt-get update should now be errorless.
Posts: 279
afab4
Joined: 17 Oct 2009
#11
anticapitalista wrote: apt-get update should now be errorless.

Your instructions worked perfectly.
Posts: 4,164
rokytnji
Joined: 20 Feb 2009
#12
afab4 wrote:
anticapitalista wrote: apt-get update should now be errorless.

Your instructions worked perfectly.
Yes sirreeeee. Did not know though that uploading new debs to repo would break update again. Good to know to run the fix again if it errors.

Best forum on the planet and the best distro IMO. __{{emoticon}}__
Posts: 1,062
Dave
Joined: 20 Jan 2010
#13
To recap on my few entries in chat,

The problem that seems to be with the repo is that the packages files are not being updated when anti adds an item to the repository. Anti is configured as a regular, and I myself log in a root. It is as root that I have made the gpg key to sign the repository with When I add an item using reprepro I am prompted for a password to sign with that gpg key. I enter the password to the gpg key and the deb will be signed and added with the packages files updated. I at first thought that because the gpg key was made by root anti's user cannot sign the debs with the root gpg key and therefor reprepro does not ask for the gpg key passphrase. However in this belief I have tried making a gpg key as anti's user, but it does not seem to help. Even specifying to use the key made by anti's user, anti's user will not be able to sign it but root will successfully sign and update the packages . When anti uploads the files, the new debs hash sum is not able to be recorded in the packages files. Therefor because the old packages hash sums remain recorded, yet the new package has replaced the old one in reality. This then places the hash sum mismatch error you recieve.

To get around this I have made a script that loops every five minutes. What is set in the loop are all the neccessary actions to export the repo as root, thus solving the hash sum mismatch error. It is the best work around that I can think of, but in the long run I think reprepro may need to be dumped for something else.
Posts: 279
afab4
Joined: 17 Oct 2009
#14
Dave wrote: When anti uploads the files, the new debs hash sum is not able to be recorded in the packages files. Therefor because the old packages hash sums remain recorded, yet the new package has replaced the old one in reality. This then places the hash sum mismatch error you recieve.

To get around this I have made a script that loops every five minutes. What is set in the loop are all the neccessary actions to export the repo as root, thus solving the hash sum mismatch error. It is the best work around that I can think of, but in the long run I think reprepro may need to be dumped for something else.
Dave,
I did an apt-get update this morning (smxi) and still got the hash sum mismatch error. I was able to fix it using the instructions anti posted.
Last edited by afab4 on 07 Apr 2012, 11:07, edited 1 time in total.
Posts: 1,062
Dave
Joined: 20 Jan 2010
#15
should be good now, i gave it the wrong password originally. __{{emoticon}}__