View Full Version : apt- gep upgrade error , please help .
"E: The value 'testing' is invalid for APT :: Default-Release as such a release is not available in the sources"
This always comes when I upgrade and install applications, Who knows why? please help me
charonsecurity
2013-06-03, 06:04
Please show us what your sources.list file looks like.
AfterBurn
2013-06-03, 15:31
Please show us what your sources.list file looks like.
This. There is an error in your sources file for sure.
I have the same error with this source list, I cant understend why
## Kali Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free
## Kali
deb http://http.kali.org/kali kali main contrib non-free
## Kali-dev
deb http://http.kali.org/kali kali-dev main contrib non-free
On my ends everything works good try editing your source file and adding what I have
# deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130327-18:35]/ kali contrib main non-free
#deb cdrom:[Debian GNU/Linux 7.0 _Kali_ - Official Snapshot i386 LIVE/INSTALL Binary 20130327-18:35]/ kali contrib main non-free
## Security updates
deb http://security.kali.org/kali-security kali/updates main contrib non-free
deb http://http.kali.org/kali kali main contrib non-free
I have tried several combinations of sources and still get the same error, even with only
deb http://http.kali.org/kali kali main contrib non-free
deb http://security.kali.org/kali-security kali/updates main contrib non-free
Whats wrong?
For some reason i was told to write this on bash
echo 'APT::Default-Release "testing";' >> /etc/apt/apt.conf
that was the problem, I just delete that line in the file.
Same Here ............... How to solve this issue
root@kali:~# apt-get update
Err http://security.kali.org kali/updates Release.gpg
Could not connect to on24.com:8080 (199.83.44.153). - connect (111: Connection refused)
Err http://http.kali.org /kali Release.gpg
Could not connect to on24.com:8080 (199.83.44.153). - connect (111: Connection refused)
Err http://http.kali.org /wheezy Release.gpg
Unable to connect to on24.com:8080:
Err http://http.kali.org kali-dev Release.gpg
Unable to connect to on24.com:8080:
Err http://http.kali.org kali Release.gpg
Unable to connect to on24.com:8080:
Reading package lists... Done
W: Failed to fetch http://http.kali.org/dists//kali/Release.gpg Could not connect to on24.com:8080 (199.83.44.153). - connect (111: Connection refused)
W: Failed to fetch http://http.kali.org/dists//wheezy/Release.gpg Unable to connect to on24.com:8080:
W: Failed to fetch http://http.kali.org/kali/dists/kali-dev/Release.gpg Unable to connect to on24.com:8080:
W: Failed to fetch http://http.kali.org/kali/dists/kali/Release.gpg Unable to connect to on24.com:8080:
W: Failed to fetch http://security.kali.org/kali-security/dists/kali/updates/Release.gpg Could not connect to on24.com:8080 (199.83.44.153). - connect (111: Connection refused)
W: Some index files failed to download. They have been ignored, or old ones used instead.