LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices

Reply
 
LinkBack Search this Thread
Old 05-01-2013, 12:38 PM   #1
shayan2k13
LQ Newbie
 
Registered: Apr 2013
Location: Quetta, Pakistan
Distribution: A new distro every week.
Posts: 15

Rep: Reputation: 1
Angry Ubuntu 13.04 "apt-get update" problems


Can anyone please help me with this problem?

I did a fresh install of Lubuntu and opened Synaptic to check out what versions of some libraries were included but I was surprised to see that only the installed packages were showing up so I tried
Code:
apt-get update
and then some packages showed up but there were a lot of errors.

Here's what I got:
Code:
root@x:/home/shayan# apt-get update
Ign http://pk.archive.ubuntu.com raring Release.gpg
Ign http://pk.archive.ubuntu.com raring-updates Release.gpg                    
Hit http://extras.ubuntu.com raring Release.gpg                                
Hit http://security.ubuntu.com raring-security Release.gpg
Ign http://pk.archive.ubuntu.com raring-backports Release.gpg
Ign http://pk.archive.ubuntu.com raring Release
Hit http://extras.ubuntu.com raring Release    
Hit http://security.ubuntu.com raring-security Release                         
Ign http://pk.archive.ubuntu.com raring-updates Release                        
Ign http://pk.archive.ubuntu.com raring-backports Release                      
Hit http://extras.ubuntu.com raring/main Sources                               
Hit http://security.ubuntu.com raring-security/main Sources                    
Hit http://extras.ubuntu.com raring/main i386 Packages
Hit http://security.ubuntu.com raring-security/restricted Sources    
Hit http://security.ubuntu.com raring-security/universe Sources                
Hit http://security.ubuntu.com raring-security/multiverse Sources              
Hit http://security.ubuntu.com raring-security/main i386 Packages              
Hit http://security.ubuntu.com raring-security/restricted i386 Packages        
Hit http://security.ubuntu.com raring-security/universe i386 Packages          
Hit http://pk.archive.ubuntu.com raring/main Translation-en                    
Hit http://security.ubuntu.com raring-security/multiverse i386 Packages        
Hit http://pk.archive.ubuntu.com raring/multiverse Translation-en              
Hit http://pk.archive.ubuntu.com raring/restricted Translation-en              
Ign http://extras.ubuntu.com raring/main Translation-en_US                     
Hit http://security.ubuntu.com raring-security/main Translation-en             
Ign http://extras.ubuntu.com raring/main Translation-en                        
Hit http://pk.archive.ubuntu.com raring/universe Translation-en                
Hit http://security.ubuntu.com raring-security/multiverse Translation-en       
Hit http://security.ubuntu.com raring-security/restricted Translation-en       
Hit http://security.ubuntu.com raring-security/universe Translation-en         
Hit http://pk.archive.ubuntu.com raring-updates/main Translation-en
Hit http://pk.archive.ubuntu.com raring-updates/multiverse Translation-en
Hit http://pk.archive.ubuntu.com raring-updates/restricted Translation-en
Hit http://pk.archive.ubuntu.com raring-updates/universe Translation-en
Hit http://pk.archive.ubuntu.com raring-backports/main Translation-en          
Ign http://security.ubuntu.com raring-security/main Translation-en_US          
Hit http://pk.archive.ubuntu.com raring-backports/multiverse Translation-en
Ign http://security.ubuntu.com raring-security/multiverse Translation-en_US
Hit http://pk.archive.ubuntu.com raring-backports/restricted Translation-en    
Ign http://security.ubuntu.com raring-security/restricted Translation-en_US    
Hit http://pk.archive.ubuntu.com raring-backports/universe Translation-en
Ign http://security.ubuntu.com raring-security/universe Translation-en_US
Err http://pk.archive.ubuntu.com raring/main Sources     
  404  Not Found
Err http://pk.archive.ubuntu.com raring/restricted Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring/universe Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring/multiverse Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring/main i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring/restricted i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring/universe i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring/multiverse i386 Packages
  404  Not Found
Ign http://pk.archive.ubuntu.com raring/main Translation-en_US
Ign http://pk.archive.ubuntu.com raring/multiverse Translation-en_US
Ign http://pk.archive.ubuntu.com raring/restricted Translation-en_US
Ign http://pk.archive.ubuntu.com raring/universe Translation-en_US
Err http://pk.archive.ubuntu.com raring-updates/main Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/restricted Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/universe Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/multiverse Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/main i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/restricted i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/universe i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/multiverse i386 Packages
  404  Not Found
Ign http://pk.archive.ubuntu.com raring-updates/main Translation-en_US
Ign http://pk.archive.ubuntu.com raring-updates/multiverse Translation-en_US
Ign http://pk.archive.ubuntu.com raring-updates/restricted Translation-en_US
Ign http://pk.archive.ubuntu.com raring-updates/universe Translation-en_US
Err http://pk.archive.ubuntu.com raring-backports/main Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/restricted Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/universe Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/multiverse Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/main i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/restricted i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/universe i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/multiverse i386 Packages
  404  Not Found
Ign http://pk.archive.ubuntu.com raring-backports/main Translation-en_US
Ign http://pk.archive.ubuntu.com raring-backports/multiverse Translation-en_US
Ign http://pk.archive.ubuntu.com raring-backports/restricted Translation-en_US
Ign http://pk.archive.ubuntu.com raring-backports/universe Translation-en_US
W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/main/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/restricted/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/universe/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/main/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/universe/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/main/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/restricted/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/universe/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/multiverse/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@x:/home/shayan#

Last edited by shayan2k13; 05-01-2013 at 12:39 PM.
 
Old 05-01-2013, 01:03 PM   #2
cortman
Member
 
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
Please post the output of

Code:
cat /etc/apt/sources.list
 
1 members found this post helpful.
Old 05-02-2013, 04:22 AM   #3
shayan2k13
LQ Newbie
 
Registered: Apr 2013
Location: Quetta, Pakistan
Distribution: A new distro every week.
Posts: 15

Original Poster
Rep: Reputation: 1
Wink

Quote:
Originally Posted by cortman View Post
Please post the output of

Code:
cat /etc/apt/sources.list
Here's the output:

Code:
root@x:/home/shayan# cat /etc/apt/sources.list
#deb cdrom:[Lubuntu 13.04 _Raring Ringtail_ - Release i386 (20130423.1)]/ raring main multiverse restricted universe

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://pk.archive.ubuntu.com/ubuntu/ raring main restricted
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring main restricted

## Major bug fix updates produced after the final release of the
## distribution.
deb http://pk.archive.ubuntu.com/ubuntu/ raring-updates main restricted
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-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://pk.archive.ubuntu.com/ubuntu/ raring universe
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring universe
deb http://pk.archive.ubuntu.com/ubuntu/ raring-updates universe
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-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://pk.archive.ubuntu.com/ubuntu/ raring multiverse
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring multiverse
deb http://pk.archive.ubuntu.com/ubuntu/ raring-updates multiverse
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-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://pk.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse

deb http://security.ubuntu.com/ubuntu raring-security main restricted
deb-src http://security.ubuntu.com/ubuntu raring-security main restricted
deb http://security.ubuntu.com/ubuntu raring-security universe
deb-src http://security.ubuntu.com/ubuntu raring-security universe
deb http://security.ubuntu.com/ubuntu raring-security multiverse
deb-src http://security.ubuntu.com/ubuntu raring-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 raring partner
# deb-src http://archive.canonical.com/ubuntu raring partner

## 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 raring main
deb-src http://extras.ubuntu.com/ubuntu raring main
root@x:/home/shayan#
 
Old 05-02-2013, 07:27 AM   #4
cortman
Member
 
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
I would replace it with the following:

Code:
###### Ubuntu Main Repos
deb http://pk.archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://pk.archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse 
deb http://pk.archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse 
deb http://pk.archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse 
deb http://pk.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
If for no other reason to simplify it a bit. Save the old sources.list as sources.list.old, make a new sources.list that contains the above, then run the update and see what happens.
 
1 members found this post helpful.
Old 05-02-2013, 09:47 AM   #5
shayan2k13
LQ Newbie
 
Registered: Apr 2013
Location: Quetta, Pakistan
Distribution: A new distro every week.
Posts: 15

Original Poster
Rep: Reputation: 1
Unhappy

Quote:
Originally Posted by cortman View Post
I would replace it with the following:

Code:
###### Ubuntu Main Repos
deb http://pk.archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://pk.archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse 
deb http://pk.archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse 
deb http://pk.archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse 
deb http://pk.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
If for no other reason to simplify it a bit. Save the old sources.list as sources.list.old, make a new sources.list that contains the above, then run the update and see what happens.
I am still getting a lot of errors.


Code:
root@x:/etc/apt# apt-get update
Ign http://pk.archive.ubuntu.com raring Release.gpg
Ign http://pk.archive.ubuntu.com raring-security Release.gpg
Ign http://pk.archive.ubuntu.com raring-updates Release.gpg
Ign http://pk.archive.ubuntu.com raring-proposed Release.gpg
Ign http://pk.archive.ubuntu.com raring-backports Release.gpg
Ign http://pk.archive.ubuntu.com raring Release
Ign http://pk.archive.ubuntu.com raring-security Release
Ign http://pk.archive.ubuntu.com raring-updates Release
Ign http://pk.archive.ubuntu.com raring-proposed Release
Ign http://pk.archive.ubuntu.com raring-backports Release
Hit http://pk.archive.ubuntu.com raring/main Translation-en
Hit http://pk.archive.ubuntu.com raring/multiverse Translation-en
Hit http://pk.archive.ubuntu.com raring/restricted Translation-en
Hit http://pk.archive.ubuntu.com raring/universe Translation-en
Hit http://pk.archive.ubuntu.com raring-security/main Translation-en
Hit http://pk.archive.ubuntu.com raring-security/multiverse Translation-en
Hit http://pk.archive.ubuntu.com raring-security/restricted Translation-en
Hit http://pk.archive.ubuntu.com raring-security/universe Translation-en
Hit http://pk.archive.ubuntu.com raring-updates/main Translation-en
Hit http://pk.archive.ubuntu.com raring-updates/multiverse Translation-en
Hit http://pk.archive.ubuntu.com raring-updates/restricted Translation-en
Hit http://pk.archive.ubuntu.com raring-updates/universe Translation-en
Hit http://pk.archive.ubuntu.com raring-proposed/main Translation-en
Hit http://pk.archive.ubuntu.com raring-proposed/multiverse Translation-en
Hit http://pk.archive.ubuntu.com raring-proposed/restricted Translation-en
Hit http://pk.archive.ubuntu.com raring-proposed/universe Translation-en
Hit http://pk.archive.ubuntu.com raring-backports/main Translation-en
Hit http://pk.archive.ubuntu.com raring-backports/multiverse Translation-en
Hit http://pk.archive.ubuntu.com raring-backports/restricted Translation-en
Hit http://pk.archive.ubuntu.com raring-backports/universe Translation-en
Err http://pk.archive.ubuntu.com raring/main Sources     
  404  Not Found
Err http://pk.archive.ubuntu.com raring/restricted Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring/universe Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring/multiverse Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring/main i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring/restricted i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring/universe i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring/multiverse i386 Packages
  404  Not Found
Ign http://pk.archive.ubuntu.com raring/main Translation-en_US
Ign http://pk.archive.ubuntu.com raring/multiverse Translation-en_US
Ign http://pk.archive.ubuntu.com raring/restricted Translation-en_US
Ign http://pk.archive.ubuntu.com raring/universe Translation-en_US
Err http://pk.archive.ubuntu.com raring-security/main Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-security/restricted Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-security/universe Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-security/multiverse Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-security/main i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-security/restricted i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-security/universe i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-security/multiverse i386 Packages
  404  Not Found
Ign http://pk.archive.ubuntu.com raring-security/main Translation-en_US
Ign http://pk.archive.ubuntu.com raring-security/multiverse Translation-en_US
Ign http://pk.archive.ubuntu.com raring-security/restricted Translation-en_US
Ign http://pk.archive.ubuntu.com raring-security/universe Translation-en_US
Err http://pk.archive.ubuntu.com raring-updates/main Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/restricted Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/universe Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/multiverse Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/main i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/restricted i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/universe i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-updates/multiverse i386 Packages
  404  Not Found
Ign http://pk.archive.ubuntu.com raring-updates/main Translation-en_US
Ign http://pk.archive.ubuntu.com raring-updates/multiverse Translation-en_US
Ign http://pk.archive.ubuntu.com raring-updates/restricted Translation-en_US
Ign http://pk.archive.ubuntu.com raring-updates/universe Translation-en_US
Err http://pk.archive.ubuntu.com raring-proposed/main Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-proposed/restricted Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-proposed/universe Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-proposed/multiverse Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-proposed/main i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-proposed/restricted i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-proposed/universe i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-proposed/multiverse i386 Packages
  404  Not Found
Ign http://pk.archive.ubuntu.com raring-proposed/main Translation-en_US
Ign http://pk.archive.ubuntu.com raring-proposed/multiverse Translation-en_US
Ign http://pk.archive.ubuntu.com raring-proposed/restricted Translation-en_US
Ign http://pk.archive.ubuntu.com raring-proposed/universe Translation-en_US
Err http://pk.archive.ubuntu.com raring-backports/main Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/restricted Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/universe Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/multiverse Sources
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/main i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/restricted i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/universe i386 Packages
  404  Not Found
Err http://pk.archive.ubuntu.com raring-backports/multiverse i386 Packages
  404  Not Found
Ign http://pk.archive.ubuntu.com raring-backports/main Translation-en_US
Ign http://pk.archive.ubuntu.com raring-backports/multiverse Translation-en_US
Ign http://pk.archive.ubuntu.com raring-backports/restricted Translation-en_US
Ign http://pk.archive.ubuntu.com raring-backports/universe Translation-en_US
W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/main/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/restricted/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/universe/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring/multiverse/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-security/main/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-security/restricted/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-security/universe/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-security/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-security/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-security/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-security/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-security/multiverse/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/main/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/universe/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-updates/multiverse/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-proposed/main/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-proposed/restricted/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-proposed/universe/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-proposed/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-proposed/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-proposed/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-proposed/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-proposed/multiverse/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/main/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/restricted/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/universe/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/multiverse/source/Sources  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/restricted/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/universe/binary-i386/Packages  404  Not Found

W: Failed to fetch http://pk.archive.ubuntu.com/ubuntu/dists/raring-backports/multiverse/binary-i386/Packages  404  Not Found

E: Some index files failed to download. They have been ignored, or old ones used instead.
root@x:/etc/apt#
 
1 members found this post helpful.
Old 05-02-2013, 09:49 AM   #6
shayan2k13
LQ Newbie
 
Registered: Apr 2013
Location: Quetta, Pakistan
Distribution: A new distro every week.
Posts: 15

Original Poster
Rep: Reputation: 1
Talking Problem solved!!!

Quote:
Originally Posted by cortman View Post
I would replace it with the following:

Code:
###### Ubuntu Main Repos
deb http://pk.archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring main restricted universe multiverse 

###### Ubuntu Update Repos
deb http://pk.archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse 
deb http://pk.archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse 
deb http://pk.archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse 
deb http://pk.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-security main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-updates main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-proposed main restricted universe multiverse 
deb-src http://pk.archive.ubuntu.com/ubuntu/ raring-backports main restricted universe multiverse
If for no other reason to simplify it a bit. Save the old sources.list as sources.list.old, make a new sources.list that contains the above, then run the update and see what happens.
The problem was with the PK servers. I changed it to archive.ubuntu* and it worked!
 
Old 05-02-2013, 01:12 PM   #7
cortman
Member
 
Registered: Jan 2012
Location: ZZ9 Plural Z Alpha
Distribution: Crunchbang 11, LFS 7.3, DSL 4.1.10, Lubuntu 12.10, Debian 7
Posts: 219

Rep: Reputation: 43
Great, that was going to be my next suggestion. Finding mirrors that work/work well can be a trial and error process.
Glad it's working for you.
 
1 members found this post helpful.
Old 05-02-2013, 01:49 PM   #8
shayan2k13
LQ Newbie
 
Registered: Apr 2013
Location: Quetta, Pakistan
Distribution: A new distro every week.
Posts: 15

Original Poster
Rep: Reputation: 1
Quote:
Originally Posted by cortman View Post
Great, that was going to be my next suggestion. Finding mirrors that work/work well can be a trial and error process.
Glad it's working for you.
Thanks for all your help
 
  


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
Trackbacks are Off
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Apt update stuck with "A copy of the C library was found in an unexpected directory" exoool Debian 20 10-31-2011 04:33 AM
[SOLVED] apt-get install pkg_name returns "update-alternatives: command not found" bpeacocke Linux - Software 5 10-12-2011 09:16 PM
unique password for "update" and "synaptic" and "apt-get" SaintDanBert Linux - Security 1 09-17-2010 04:53 AM
intrepid, PS3, update sources list from "ubuntu" to "ports-ubuntu" evdv Linux - Newbie 7 08-18-2009 10:52 AM
Anybody else having problems with "apt-get update"? vharishankar Debian 6 08-09-2005 12:40 AM


All times are GMT -5. The time now is 11:08 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration