topic title: My First Step
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#46
masinick wrote:Go back to my first suggestion then; uncheck or comment out the security repo until Squeeze becomes the stable release. While you have testing enabled, you will get all of the latest packages anyway. If you stay with testing, don't worry about Security updates; you will get the changes as they come in. If you decide to go with Stable once the release comes out, just change everything to squeeze once released, and meanwhile just stick with testing and the security repo disabled, and you should be good to go.

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
- testing

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debian-multimedia.org/"
linktext was:"http://www.debian-multimedia.org/"
====================================
- testing

and I disabled:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org/"
linktext was:"http://security.debian.org/"
====================================

Code: Select all

apt-get update
Get:1 http://www.debian-multimedia.org testing Release.gpg [198B]
Ign http://www.debian-multimedia.org testing/main Translation-en_US
Ign http://www.debian-multimedia.org testing/non-free Translation-en_US
Hit http://www.debian-multimedia.org testing Release       
Err http://www.debian-multimedia.org testing Release       
  
Get:2 http://www.debian-multimedia.org testing Release [26.7kB]
Ign http://www.debian-multimedia.org testing Release                    
Get:3 http://www.debian-multimedia.org testing/main Packages/DiffIndex [2,023B]
Get:4 http://www.debian-multimedia.org testing/non-free Packages/DiffIndex [2,023B]
Hit http://www.debian-multimedia.org testing/main Packages          
Hit http://ftp.us.debian.org testing Release.gpg                               
Ign http://ftp.us.debian.org testing/main Translation-en_US
Ign http://ftp.us.debian.org testing/contrib Translation-en_US
Ign http://ftp.us.debian.org testing/non-free Translation-en_US
Hit http://ftp.us.debian.org testing Release
Get:5 http://ftp.us.debian.org testing/main Packages/DiffIndex [2,038B]
Get:6 http://ftp.us.debian.org testing/contrib Packages [54.1kB]
Get:7 http://ftp.us.debian.org testing/non-free Packages/DiffIndex [2,023B]    
Hit http://ftp.us.debian.org testing/main Packages                             
Fetched 89.1kB in 37s (2,356B/s)                                               
W: GPG error: http://www.debian-multimedia.org testing Release: The following signatures were invalid: BADSIG 07DC563D1F41B907 Christian Marillat <marillat@debian.org>
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
- squeeze

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debian-multimedia.org/"
linktext was:"http://www.debian-multimedia.org/"
====================================
- squeeze

and I disabled:
========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://security.debian.org/"
linktext was:"http://security.debian.org/"
====================================

Code: Select all

apt-get update
Get:1 http://www.debian-multimedia.org squeeze Release.gpg [198B]
Ign http://www.debian-multimedia.org squeeze/main Translation-en_US
Ign http://www.debian-multimedia.org squeeze/non-free Translation-en_US
Get:2 http://www.debian-multimedia.org squeeze Release [26.7kB]
Get:3 http://ftp.us.debian.org squeeze Release.gpg [835B]
Ign http://ftp.us.debian.org squeeze/main Translation-en_US
Get:4 http://www.debian-multimedia.org squeeze/main Packages [73.6kB]
Ign http://ftp.us.debian.org squeeze/contrib Translation-en_US
Ign http://ftp.us.debian.org squeeze/non-free Translation-en_US      
Get:5 http://ftp.us.debian.org squeeze Release [89.9kB]              
Get:6 http://www.debian-multimedia.org squeeze/non-free Packages [5,518B]      
Get:7 http://ftp.us.debian.org squeeze/main Packages [6,569kB]                 
Get:8 http://ftp.us.debian.org squeeze/contrib Packages [54.1kB]               
Get:9 http://ftp.us.debian.org squeeze/non-free Packages [109kB]
Fetched 6,929kB in 4min 3s (28.5kB/s)                                          
W: Failed to fetch http://ftp.us.debian.org/debian/dists/squeeze/main/binary-i386/Packages.bz2  Hash Sum mismatch

E: Some index files failed to download, they have been ignored, or old ones used instead.
E: Could not get lock /var/lib/dpkg/lock - open (11: Resource temporarily unavailable)
E: Unable to lock the administration directory (/var/lib/dpkg/), is another process using it?
Sorry, don't mean to be rude but why this is so hard to fix? either I'm missing something or there's something wrong some where?!

Sorry but I really can't manage to fix this one. I managed to fix the booting problem but can't get this one fixed __{{emoticon}}__
Posts: 1,139
masinick
Joined: 26 Apr 2008
#47
You have a lock somewhere because there is another program trying to access the package manager. Try logging out, come back in, and see if that problem goes away. If it does not, use ps, top, htop, or some process viewing command to try to figure out which package management program is active. Hopefully when you come back in you will not see this again.

These kinds of problems are not typical, but they are possible to occur when you create a flexible distribution like antiX. Normally you would not have problems with the security repo once the underlying distribution is stable. We are in a testing pattern with antiX M11.0, but we are close to release.

Try logging out, do take a deep breath, and come back in, because I think you are just about there now. Good luck!
masinick
Joined: 26 Apr 2008
#48
You can't, for example, do an apt-get update at the same time that synaptic is running, or if there is a package update going on in the background, that would count too. By getting out and coming back in, hopefully those kinds of things can be eliminated as possible sources for a package file lock.
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#49
masinick wrote:You have a lock somewhere because there is another program trying to access the package manager. Try logging out, come back in, and see if that problem goes away. If it does not, use ps, top, htop, or some process viewing command to try to figure out which package management program is active. Hopefully when you come back in you will not see this again.
After I read your post, I checked the error and you're right, the terminal was opened. I know I can't do that in Ubuntu but I thought it's different here. My bad, I should have remembered that Synaptic is just the GUI application to install any package and it does the same as"apt-get".

Actually, I don't know of any other package management program on antiX?! I did not install any and all what I know is The Terminal and Synaptic.
These kinds of problems are not typical, but they are possible to occur when you create a flexible distribution like antiX.
I had a problem with Synaptic before with Ubuntu but it was so easier to solve than this. I had to change the server or something else. Synaptic here in antiX is different. Couldn't find the option to change servers.
Try logging out, do take a deep breath, and come back in, because I think you are just about there now. Good luck!
YES, that was the key __{{emoticon}}__
Giving up and impossible don't exist in my dictionary __{{emoticon}}__ not to mention I'm such a stubborn and can't just let it go. I was in need to rest and when I checked it today, it worked. Thanks a lot.
HOWEVER, it seems that the problem is back again for some reason with different error message.

Code: Select all

W: GPG error: http://ftp.us.debian.org testing Release: The following signatures were invalid: BADSIG 9AA38DCD55BE302B Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>

I'm going to reboot, try again and if I got the same error, I'm going to change"testing" to"squeeze" hopefully that would fix it.

Will let you know __{{emoticon}}__
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#50

========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
- squeeze


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debian-multimedia.org/"
linktext was:"http://www.debian-multimedia.org/"
====================================
- squeeze

Code: Select all

W: GPG error: http://www.debian-multimedia.org squeeze Release: The following signatures were invalid: BADSIG 07DC563D1F41B907 Christian Marillat <marillat@debian.org>


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://ftp.us.debian.org/debian/"
linktext was:"http://ftp.us.debian.org/debian/"
====================================
- testing


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.debian-multimedia.org/"
linktext was:"http://www.debian-multimedia.org/"
====================================
- testing

Code: Select all

W: GPG error: http://ftp.us.debian.org testing Release: The following signatures were invalid: BADSIG 9AA38DCD55BE302B Debian Archive Automatic Signing Key (5.0/lenny) <ftpmaster@debian.org>
Posts: 1,139
masinick
Joined: 26 Apr 2008
#51
I don't know why the repository signatures are bad, probably expired. I will look into it.
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#52
masinick wrote:I don't know why the repository signatures are bad, probably expired. I will look into it.
Ok, I'll stop trying and will wait for you __{{emoticon}}__

Thanks a lot.
Posts: 1,139
masinick
Joined: 26 Apr 2008
#53
Try installing debian-archive-keyring and debian-multimedia-keyring - see if that solves the problem.
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#54
masinick wrote:Try installing debian-archive-keyring and debian-multimedia-keyring - see if that solves the problem.

Code: Select all

apt-get install debian-archive-keyring
- was already installed as per a previous advice/suggestion.

Code: Select all

apt-get install debian-multimedia-keyring
and nothing happened:

Code: Select all

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/main/binary-i386/Packages.bz2  Hash Sum mismatch

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/non-free/binary-i386/Packages.bz2  Hash Sum mismatch

E: Some index files failed to download, they have been ignored, or old ones used instead.
Posts: 1,139
masinick
Joined: 26 Apr 2008
#55
You should, before you attempt to update or install any packages, update the repositories to the cache, and this needs to be done before you can install any packages. You do this with the refresh button in synaptic or the apt-get update command, running from root. This is true on all Debian based systems. Some package managers that hide the details from you do a refresh in the background or when they start up, but all package managers must be refreshed before a new package can be installed. So do a

apt-get update && apt-get install debian-multimedia-keyring (and you may have to do the other keyring as well once updated). See if that closes out this issue, and if not, please provide the details. Sorry this has become so involved. With the release just around the corner, an easier approach may be to simply wait for it, but that may not yield the details of what is really going on here. The choice is yours. Personally, I would figure it out. Wish I were there to run some quick diagnostics to determine what has happened here and how to resolve it. Oh well, one way or the other, this will get resolved soon. Good luck - and hoping it will be BEFORE release so you can see what's really going on here!
Posts: 1,139
masinick
Joined: 26 Apr 2008
#56
By the way, that update step should be done each and every time you do any package management activity - before doing anything else. It loads or reloads the apt package cache. Without it you are not synchronized at all with the current repositories, and that can further complicate matters and lead to incorrect results.
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#57
masinick wrote:You should, before you attempt to update or install any packages, update the repositories to the cache, and this needs to be done before you can install any packages. You do this with the refresh button in synaptic or the apt-get update command, running from root. This is true on all Debian based systems. Some package managers that hide the details from you do a refresh in the background or when they start up, but all package managers must be refreshed before a new package can be installed.
Thank you so much again __{{emoticon}}__
I already do that, with Ubuntu or any Debian based as you mentioned but definitely I'll keep that in mind and it's good to know I was doing the right thing __{{emoticon}}__
So do a

apt-get update && apt-get install debian-multimedia-keyring (and you may have to do the other keyring as well once updated). See if that closes out this issue, and if not, please provide the details.

Code: Select all

apt-get update && apt-get install debian-archive-keyring
Result is:

Code: Select all

Get:1 http://www.debian-multimedia.org testing Release.gpg [198B]              
Ign http://www.debian-multimedia.org testing/main Translation-en_US
Ign http://www.debian-multimedia.org testing/non-free Translation-en_US
Get:2 http://www.debian-multimedia.org testing Release [26.7kB]
Hit http://www.debian-multimedia.org testing/main Packages/DiffIndex
Hit http://www.debian-multimedia.org testing/non-free Packages/DiffIndex
Get:3 http://ftp.us.debian.org testing Release.gpg [835B]                      
Ign http://ftp.us.debian.org testing/main Translation-en_US
Ign http://ftp.us.debian.org testing/contrib Translation-en_US                 
Ign http://ftp.us.debian.org testing/non-free Translation-en_US                
Get:4 http://ftp.us.debian.org testing Release [89.9kB]                        
Get:5 http://ftp.us.debian.org testing/main Packages [6,566kB]                 
Hit http://ftp.us.debian.org testing/contrib Packages/DiffIndex
Get:6 http://ftp.us.debian.org testing/non-free Packages [109kB]               
99% [5 Packages bzip2 30.8MB]                                      1,081kB/s 0s
bzip2: (stdin): trailing garbage after EOF ignored
Fetched 227kB in 1min 12s (3,147B/s)                                           
W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/main/binary-i386/Packages.bz2  Hash Sum mismatch

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/non-free/binary-i386/Packages.bz2  Hash Sum mismatch

E: Some index files failed to download, they have been ignored, or old ones used instead.

Code: Select all

apt-get update && apt-get install debian-multimedia-keyring
Result is:

Code: Select all

Hit http://www.debian-multimedia.org testing Release.gpg
Hit http://ftp.us.debian.org testing Release.gpg                               
Ign http://www.debian-multimedia.org testing/main Translation-en_US            
Ign http://ftp.us.debian.org testing/main Translation-en_US                    
Ign http://www.debian-multimedia.org testing/non-free Translation-en_US
Hit http://www.debian-multimedia.org testing Release
Hit http://www.debian-multimedia.org testing/main Packages/DiffIndex
Hit http://www.debian-multimedia.org testing/non-free Packages/DiffIndex
Ign http://ftp.us.debian.org testing/contrib Translation-en_US
Ign http://ftp.us.debian.org testing/non-free Translation-en_US
Hit http://ftp.us.debian.org testing Release
Get:1 http://ftp.us.debian.org testing/main Packages [6,568kB]
Hit http://ftp.us.debian.org testing/contrib Packages/DiffIndex
Get:2 http://ftp.us.debian.org testing/non-free Packages [109kB]               
99% [1 Packages bzip2 28.8MB]                                      1,072kB/s 0s
bzip2: (stdin): trailing garbage after EOF ignored
Fetched 1,482B in 7s (193B/s)                                                  
W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/main/binary-i386/Packages.bz2  Hash Sum mismatch

W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/non-free/binary-i386/Packages.bz2  Hash Sum mismatch

E: Some index files failed to download, they have been ignored, or old ones used instead.
Then I thought to try this:

Code: Select all

apt-get update && apt-get install debian-multimedia-keyring && apt-get install debian-archive-keyring
The result is:

Code: Select all

Hit http://www.debian-multimedia.org testing Release.gpg
Ign http://www.debian-multimedia.org testing/main Translation-en_US            
Ign http://www.debian-multimedia.org testing/non-free Translation-en_US        
Hit http://www.debian-multimedia.org testing Release       
Hit http://www.debian-multimedia.org testing/main Packages/DiffIndex
Hit http://www.debian-multimedia.org testing/non-free Packages/DiffIndex
Hit http://ftp.us.debian.org testing Release.gpg
Ign http://ftp.us.debian.org testing/main Translation-en_US
Ign http://ftp.us.debian.org testing/contrib Translation-en_US
Ign http://ftp.us.debian.org testing/non-free Translation-en_US
Hit http://ftp.us.debian.org testing Release
Get:1 http://ftp.us.debian.org testing/main Packages/DiffIndex [2,038B]
Hit http://ftp.us.debian.org testing/contrib Packages/DiffIndex
Get:2 http://ftp.us.debian.org testing/non-free Packages [109kB]
Hit http://ftp.us.debian.org testing/main Packages
Fetched 2,039B in 1min 3s (32B/s)
W: Failed to fetch http://ftp.us.debian.org/debian/dists/testing/non-free/binary-i386/Packages.bz2  Hash Sum mismatch

E: Some index files failed to download, they have been ignored, or old ones used instead.
I'm really sorry and hope you will not get me wrong but I see we're doing the same thing over and over again with no good results.

Sorry this has become so involved. With the release just around the corner, an easier approach may be to simply wait for it, but that may not yield the details of what is really going on here. The choice is yours.
The more problems/issues we face, the better understanding of how our systems work. I know it's getting harder and I don't know what's going on? but I don't mind to keep trying __{{emoticon}}__
Personally, I would figure it out. Wish I were there to run some quick diagnostics to determine what has happened here and how to resolve it. Oh well, one way or the other, this will get resolved soon. Good luck - and hoping it will be BEFORE release so you can see what's really going on here!
I'm afraid I did not understand that?!
Can I do that from my end? run few commands to figure out what's going on? or you were talking about something else?

Yes, I'd like to fix it before any new release but if we couldn't then we tried at least __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#58
apt-get purge debian-archive-keyring
apt-get install debian-archive-keyring

Somehow the keyring got corrupted.

also see post 9


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.linuxquestions.org/questions/debian-26/problem-in-debian-multimedia-keyring-648164/"
linktext was:"http://www.linuxquestions.org/questions ... ng-648164/"
====================================
Posts: 98
TheForsaken
Joined: 19 Nov 2010
#59
anticapitalista wrote:apt-get purge debian-archive-keyring
apt-get install debian-archive-keyring

Somehow the keyring got corrupted.

also see post 9


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.linuxquestions.org/questions/debian-26/problem-in-debian-multimedia-keyring-648164/"
linktext was:"http://www.linuxquestions.org/questions ... ng-648164/"
====================================

Code: Select all

apt-get purge debian-archive-keyring
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following packages will be REMOVED:
  apt* apt-utils* debian-archive-keyring* synaptic*
WARNING: The following essential packages will be removed.
This should NOT be done unless you know exactly what you are doing!
  apt debian-archive-keyring (due to apt)
0 upgraded, 0 newly installed, 4 to remove and 669 not upgraded.
After this operation, 12.3MB disk space will be freed.
You are about to do something potentially harmful.
To continue type in the phrase 'Yes, do as I say!'
 ?] Yes, do as I say!
(Reading database ... 62508 files and directories currently installed.)
Removing synaptic ...
Purging configuration files for synaptic ...
Removing apt-utils ...
Purging configuration files for apt-utils ...
Removing apt ...
Purging configuration files for apt ...
dpkg: warning: while removing apt, directory '/var/log/apt' not empty so not removed.
Removing debian-archive-keyring ...
Processing triggers for desktop-file-utils ...
Processing triggers for menu ...
Processing triggers for hicolor-icon-theme ...
Processing triggers for man-db ...
E: Could not open file /var/lib/apt/extended_states - open (2: No such file or directory)
E: Could not open file /var/lib/apt/extended_states - open (2: No such file or directory)
E: Failed to open StateFile /var/lib/apt/extended_states
Guys, do you think it's better to format and install again?
No, I'm not giving up but I feel there's something wrong although it's a fresh new installation but why all these errors? __{{emoticon}}__
anticapitalista
Posts: 5,955
Site Admin
Joined: 11 Sep 2007
#60
If it is fresh, install again. As I said somehow the apt key got corrupted.
You may want to install antiX-M11-pt2-686 from here:


========= SCRAPER REMOVED AN EMBEDDED LINK HERE ===========
url was:"http://www.mepisimo.com/antix/Testing/"
linktext was:"http://www.mepisimo.com/antix/Testing/"
====================================