LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 04-21-2010, 01:21 AM   #1
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 229

Rep: Reputation: 18
ubuntu port error


Hi
i was using ubuntu 9.04 and upgraded it to 9.10 when the problem started
my services dont start on boot
when i install any package i get this errorr on console
Could not resolve 'ae.archive.ubuntu.com'
Failed to fetch http://ae.archive.ubuntu.com/ubuntu/...buntu2_all.deb Could not resolve 'ae.archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
 
Old 04-21-2010, 01:30 AM   #2
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
The problem is your apt configuration.

Obviously, try
Quote:
sudo apt-get update
These links might also help:

http://www.cyberciti.biz/howto/quest...heat-sheet.php
https://help.ubuntu.com/community/Re...es/CommandLine
 
Old 04-21-2010, 01:49 AM   #3
fernfrancis
Member
 
Registered: Feb 2009
Location: Goa(India)-Sharjah(UAE)
Distribution: RHEL,centos,fedora,ubuntu
Posts: 229

Original Poster
Rep: Reputation: 18
It didnt work, i tried it and got the following result below

root@francis:~# apt-get install ssh
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
librpmbuild0 librpmio0 librpm0 binutils-static wwwconfig-common
libjs-mootools python-rpm rpm python-sqlite javascript-common
python-sqlitecachec python-urlgrabber
Use 'apt-get autoremove' to remove them.
The following NEW packages will be installed:
ssh
0 upgraded, 1 newly installed, 0 to remove and 0 not upgraded.
1 not fully installed or removed.
Need to get 1,252B of archives.
After this operation, 45.1kB of additional disk space will be used.
Err http://ae.archive.ubuntu.com karmic/main ssh 1:5.1p1-6ubuntu2
Could not resolve 'ae.archive.ubuntu.com'
Failed to fetch http://ae.archive.ubuntu.com/ubuntu/...buntu2_all.deb Could not resolve 'ae.archive.ubuntu.com'
E: Unable to fetch some archives, maybe run apt-get update or try with --fix-missing?
root@francis:~# /etc/init.d/ssh restart\
> ^C
root@francis:~# /etc/init.d/ssh restart
* Restarting OpenBSD Secure Shell server sshd [ OK ]
root@francis:~# nmap -v 10.200.2.93

Starting Nmap 5.00 ( http://nmap.org ) at 2010-04-21 09:17 GST
NSE: Loaded 0 scripts for scanning.
mass_dns: warning: Unable to determine any DNS servers. Reverse DNS is disabled. Try using --system-dns or specify valid servers with --dns-servers
Initiating SYN Stealth Scan at 09:17
Scanning b.example.com (10.200.2.93) [1000 ports]
Discovered open port 5900/tcp on 10.200.2.93
Discovered open port 22/tcp on 10.200.2.93
Completed SYN Stealth Scan at 09:17, 0.05s elapsed (1000 total ports)
Host b.example.com (10.200.2.93) is up (0.000011s latency).
Interesting ports on b.example.com (10.200.2.93):
Not shown: 998 closed ports
PORT STATE SERVICE
22/tcp open ssh
5900/tcp open vnc

Read data files from: /usr/share/nmap
Nmap done: 1 IP address (1 host up) scanned in 0.32 seconds
Raw packets sent: 1000 (44.000KB) | Rcvd: 2002 (84.088KB)
root@francis:~# exit
logout
francis@francis:~$ sudo apt-get update
[sudo] password for francis:
Get:1 http://security.ubuntu.com karmic-security Release.gpg [189B]
Ign http://security.ubuntu.com karmic-security/main Translation-en_US
Hit http://ae.archive.ubuntu.com karmic Release.gpg
Ign http://security.ubuntu.com karmic-security/restricted Translation-en_US
Ign http://security.ubuntu.com karmic-security/universe Translation-en_US
Ign http://ae.archive.ubuntu.com karmic/main Translation-en_US
Ign http://security.ubuntu.com karmic-security/multiverse Translation-en_US
Hit http://security.ubuntu.com karmic-security Release
Ign http://ae.archive.ubuntu.com karmic/restricted Translation-en_US
Err http://security.ubuntu.com karmic-security Release

Ign http://ae.archive.ubuntu.com karmic/universe Translation-en_US
Ign http://ae.archive.ubuntu.com karmic/multiverse Translation-en_US
Get:2 http://ae.archive.ubuntu.com karmic-updates Release.gpg [189B]
Ign http://ae.archive.ubuntu.com karmic-updates/main Translation-en_US
Ign http://ae.archive.ubuntu.com karmic-updates/restricted Translation-en_US
Ign http://ae.archive.ubuntu.com karmic-updates/universe Translation-en_US
Ign http://ae.archive.ubuntu.com karmic-updates/multiverse Translation-en_US
Hit http://ae.archive.ubuntu.com karmic Release
Hit http://ae.archive.ubuntu.com karmic-updates Release
Err http://ae.archive.ubuntu.com karmic-updates Release

Hit http://ae.archive.ubuntu.com karmic/main Packages
Hit http://ae.archive.ubuntu.com karmic/restricted Packages
Hit http://ae.archive.ubuntu.com karmic/main Sources
Hit http://ae.archive.ubuntu.com karmic/restricted Sources
Hit http://ae.archive.ubuntu.com karmic/universe Packages
Hit http://ae.archive.ubuntu.com karmic/universe Sources
Hit http://ae.archive.ubuntu.com karmic/multiverse Packages
Hit http://ae.archive.ubuntu.com karmic/multiverse Sources
Fetched 378B in 5s (73B/s)
Reading package lists... Done
W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://security.ubuntu.com karmic-security Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: A error occurred during the signature verification. The repository is not updated and the previous index files will be used.GPG error: http://ae.archive.ubuntu.com karmic-updates Release: The following signatures were invalid: BADSIG 40976EAF437D05B5 Ubuntu Archive Automatic Signing Key <ftpmaster@ubuntu.com>

W: Failed to fetch http://security.ubuntu.com/ubuntu/di...curity/Release

W: Failed to fetch http://ae.archive.ubuntu.com/ubuntu/...pdates/Release

W: Some index files failed to download, they have been ignored, or old ones used instead.
 
Old 04-21-2010, 10:55 AM   #4
paulsm4
LQ Guru
 
Registered: Mar 2004
Distribution: SusE 8.2
Posts: 5,863
Blog Entries: 1

Rep: Reputation: Disabled
OK - please
Quote:
1. Edit your /etc/apt/sources.list.
Choose a different mirror
Use this as a guide:
http://www.packtpub.com/article/ubun...how-to-upgrade
then
Quote:
2. Run (cut/paste) these commands:

sudo apt-key del 40976EAF437D05B5
sudo apt-key update
sudo apt-get update -o Acquire::http::No-Cache=true]
'Hope that helps .. PSM
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Why is Ubuntu blocking port 22 from Windows? edwardlinux3 Linux - Networking 2 05-01-2007 12:33 PM
Testing port 6881....NAT Error - error in Azureus dr_zayus69 Linux - Security 20 05-26-2006 02:52 PM
Ubuntu Center Port keysorsoze Linux - Software 0 03-22-2006 09:03 PM
ubuntu port forwarding inspiredbymetal Linux - Newbie 1 09-25-2005 01:12 AM
SQL Startup error : Error while setting value '@MYSQL_TCP_PORT@' to 'port' glenn69 Linux - Newbie 1 08-08-2004 12:08 AM


All times are GMT -5. The time now is 03:10 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration