Unable to find package error on ubuntu server
I installed ubuntu 12.04 on vmplayer on my laptop and I keep getting that error. I can ping google so I know my network is Ok. Also apt-get update works also.The sources list is long I'm not sure if it is pointing to the proper address. I did not edit it so I assume it's Ok. It seems to be the same with any package.
Please reply somebody Thank You,mosa |
Hey,
When do you encounter the error? Also, it would help if you paste your sources here. Cheers! |
are you installing a specific package?
what command did you enter? if you're installing a specific package, it could be that the package is not available anymore on that address you're accessing. or make sure you're typing a correct package name. |
Thank you for the reply
I was trying to install webmin but nothing seems to work. # # deb cdrom:[Ubuntu-Server 12.04.3 LTS _Precise Pangolin_ - Release i386 (20130820.2)]/ precise main restricted #deb cdrom:[Ubuntu-Server 12.04.3 LTS _Precise Pangolin_ - Release i386 (20130820.2)]/ precise main restricted # See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to # newer versions of the distribution. deb http://ca.archive.ubuntu.com/ubuntu/ precise main restricted deb-src http://ca.archive.ubuntu.com/ubuntu/ precise main restricted ## Major bug fix updates produced after the final release of the ## distribution. deb http://ca.archive.ubuntu.com/ubuntu/ precise-updates main restricted deb-src http://ca.archive.ubuntu.com/ubuntu/ precise-updates main restricted ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team. Also, please note that software in universe WILL NOT receive any ## review or updates from the Ubuntu security team. deb http://ca.archive.ubuntu.com/ubuntu/ precise universe deb-src http://ca.archive.ubuntu.com/ubuntu/ precise universe deb http://ca.archive.ubuntu.com/ubuntu/ precise-updates universe deb-src http://ca.archive.ubuntu.com/ubuntu/ precise-updates universe ## N.B. software from this repository is ENTIRELY UNSUPPORTED by the Ubuntu ## team, and may not be under a free licence. Please satisfy yourself as to ## your rights to use the software. Also, please note that software in ## multiverse WILL NOT receive any review or updates from the Ubuntu ## security team. deb http://ca.archive.ubuntu.com/ubuntu/ precise multiverse deb-src http://ca.archive.ubuntu.com/ubuntu/ precise multiverse deb http://ca.archive.ubuntu.com/ubuntu/ precise-updates multiverse deb-src http://ca.archive.ubuntu.com/ubuntu/ precise-updates multiverse ## N.B. software from this repository may not have been tested as ## extensively as that contained in the main release, although it includes ## newer versions of some applications which may provide useful features. ## Also, please note that software in backports WILL NOT receive any review ## or updates from the Ubuntu security team. deb http://ca.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb-src http://ca.archive.ubuntu.com/ubuntu/ precise-backports main restricted universe multiverse deb http://security.ubuntu.com/ubuntu precise-security main restricted deb-src http://security.ubuntu.com/ubuntu precise-security main restricted deb http://security.ubuntu.com/ubuntu precise-security universe deb-src http://security.ubuntu.com/ubuntu precise-security universe deb http://security.ubuntu.com/ubuntu precise-security multiverse deb-src http://security.ubuntu.com/ubuntu precise-security multiverse ## Uncomment the following two lines to add software from Canonical's ## 'partner' repository. ## This software is not part of Ubuntu, but is offered by Canonical and the ## respective vendors as a service to Ubuntu users. # deb http://archive.canonical.com/ubuntu precise partner # deb-src http://archive.canonical.com/ubuntu precise partner ## Uncomment the following two lines to add software from Ubuntu's ## 'extras' repository. ## This software is not part of Ubuntu, but is offered by third-party ## developers who want to ship their latest software. # deb http://extras.ubuntu.com/ubuntu precise main # deb-src http://extras.ubuntu.com/ubuntu precise main |
Also this is what I get when I do apt-get update
zip2: (stdin) is not a bzip2 file. Get:48 http://ca.archive.ubuntu.com precise-updates/main Translation-en 100% [48 Translation-en bzip2 0 B] 1,511 B/s 0sbzip2: (stdin) is not a bzip2 file. Get:49 http://ca.archive.ubuntu.com precise-updates/multiverse Translation-en 100% [49 Translation-en bzip2 0 B] 1,511 B/s 0sbzip2: (stdin) is not a bzip2 file. Get:50 http://ca.archive.ubuntu.com precise-updates/restricted Translation-en 100% [50 Translation-en bzip2 0 B] 1,511 B/s 0sbzip2: (stdin) is not a bzip2 file. Get:51 http://ca.archive.ubuntu.com precise-updates/universe Translation-en_CA 100% [51 Translation-en_CA bzip2 0 B] 1,511 B/s 0sbzip2: (stdin) is not a bzip2 file. Get:52 http://ca.archive.ubuntu.com precise-updates/universe Translation-en 100% [52 Translation-en bzip2 0 B] 1,511 B/s 0sbzip2: (stdin) is not a bzip2 file. Get:53 http://ca.archive.ubuntu.com precise-backports/main Translation-en 100% [53 Translation-en bzip2 0 B] 1,511 B/s 0sbzip2: (stdin) is not a bzip2 file. Get:54 http://ca.archive.ubuntu.com precise-backports/multiverse Translation-en 100% [54 Translation-en bzip2 0 B] 1,511 B/s 0sbzip2: (stdin) is not a bzip2 file. Get:55 http://ca.archive.ubuntu.com precise-backports/restricted Translation-en 100% [55 Translation-en bzip2 0 B] 1,511 B/s 0sbzip2: (stdin) is not a bzip2 file. Get:56 http://ca.archive.ubuntu.com precise-backports/universe Translation-en 100% [56 Translation-en bzip2 0 B] 2,089 B/s 0sbzip2: (stdin) is not a bzip2 file. Err http://ca.archive.ubuntu.com precise/main Translation-en_CA Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise/main Translation-en Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise/multiverse Translation-en Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise/restricted Translation-en Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise/universe Translation-en_CA Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise/universe Translation-en Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise-updates/main Translation-en_CA Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise-updates/main Translation-en Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise-updates/multiverse Translation-en Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise-updates/restricted Translation-en Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise-updates/universe Translation-en_CA Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise-updates/universe Translation-en Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise-backports/main Translation-en Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise-backports/multiverse Translation-en Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise-backports/restricted Translation-en Unable to connect to 192.168.0.1:8080: Err http://ca.archive.ubuntu.com precise-backports/universe Translation-en Unable to connect to 192.168.0.1:8080: Fetched 176 kB in 57s (3,078 B/s) W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_main_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_restricted_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_universe_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_multiverse_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_main_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_restricted_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_universe_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_multiverse_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise_main_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise_restricted_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise_universe_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise_multiverse_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise_main_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise_restricted_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise_universe_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise_multiverse_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-updates_main_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-updates_main_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-updates_restricted_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-updates_universe_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-updates_multiverse_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-backports_main_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-backports_restricted_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-backports_universe_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_source_Sources Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-backports_main_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-backports_restricted_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-backports_universe_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/ca.archive.ubuntu.com_ubuntu_dists_precise-backports_multiverse_binary-i386_Packages Hash Sum mismatch W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_main_i18n_Translation-en Encountered a section with no Package: header W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_multiverse_i18n_Translation-en Encountered a section with no Package: header W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_restricted_i18n_Translation-en Encountered a section with no Package: header W: Failed to fetch gzip:/var/lib/apt/lists/partial/security.ubuntu.com_ubuntu_dists_precise-security_universe_i18n_Translation-en Encountered a section with no Package: header W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...nslation-en_CA Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...nslation-en_CA Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...nslation-en_CA Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...nslation-en_CA Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: W: Failed to fetch http://ca.archive.ubuntu.com/ubuntu/...Translation-en Unable to connect to 192.168.0.1:8080: E: Some index files failed to download. They have been ignored, or old ones used instead. |
please type this on the terminal window and post back the result:
Quote:
Quote:
from your logs, it seems that you don't have internet connection, anyway try the ping command and post back the result. :) |
Thank you all for the help
PING 4.2.2.2 (4.2.2.2) 56(84) bytes of data. 64 bytes from 4.2.2.2: icmp_req=1 ttl=42 time=110 ms 64 bytes from 4.2.2.2: icmp_req=2 ttl=42 time=100 ms 64 bytes from 4.2.2.2: icmp_req=3 ttl=42 time=107 ms --- 4.2.2.2 ping statistics --- 3 packets transmitted, 3 received, 0% packet loss, time 2003ms rtt min/avg/max/mdev = 100.297/105.935/110.333/4.189 ms |
This is the result from trying to install webmin. I'm not sure what is happening. Is there some way the sources list is faulty from a new install?
Reading package lists... Done Building dependency tree Reading state information... Done E: Unable to locate package webmin |
okay, you got internet connection:
have you tried this:==> Quote:
Quote:
|
Hi,
Quote:
Evo2. |
Yes this is a company network and we connect through a proxy. I cannot bypass it. I'm not very network savy.
|
Hi,
Quote:
Evo2. |
Windows machines don't seem to have a problem.
|
Hi,
Quote:
Evo2. |
Quote:
|
All times are GMT -5. The time now is 11:50 PM. |