LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
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
  Search this Thread
Old 08-30-2012, 09:38 AM   #1
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111
Blog Entries: 3

Rep: Reputation: 2
My PPAs don't work properly


In my Ubuntu 12.04.1 LTS, whenever I do a
Code:
sudo apt-fast(or apt-get) update
the result is in the screenshot provided. Precisely, it 'ignores' many a lot of PPAs and lots of '404 not found' are also there. The same thing happens with the Software Center and Update Center, too. Tried to do it as root by entering root account but no use.

For the record:
1. I have upgraded my kernel lately (to 3.5.3 from http://www.upubuntu.com/) but that does not seem to be a problem as my older stable kernels gave me same kicks.

2. I have changed the "source" to "other" and selected "Choose best server" in Software center. This has not changed things before and after, but thought to mention it.

Please help and thanks in advance.
Attached Thumbnails
Click image for larger version

Name:	Screenshot from 2012-08-30 19:49:46.png
Views:	36
Size:	137.5 KB
ID:	10513  
 
Old 08-30-2012, 01:35 PM   #2
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Blog Entries: 3

Rep: Reputation: 23
Thats because the repositories are not available at the addresses mentioned in the log.
You can try it by selecting a different server in the software sources.
 
1 members found this post helpful.
Old 08-30-2012, 03:59 PM   #3
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
Quote:
Originally Posted by kedarp View Post
Thats because the repositories are not available at the addresses mentioned in the log.
You can try it by selecting a different server in the software sources.
After reading your post, I tried "Main Server","Server from United States" and in "other..", a different server from India other than what was "automatically" chosen by system. Same result, no fortune! What do I do now?
 
Old 08-30-2012, 09:26 PM   #4
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Blog Entries: 3

Rep: Reputation: 23
Looks like you manually added a lot of repos, edited the sources.list file.
The repos are no more Supported, and you will not get any updates from the repos.
You should comment them from your sources.list file.

Last edited by kedarp; 08-30-2012 at 09:33 PM.
 
Old 08-31-2012, 02:55 AM   #5
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
Quote:
Originally Posted by kedarp View Post
You should comment them from your sources.list file.
I did add some repos, but not in sources.list manually but from the terminal with 'sudo apt-get add-repository...' like command. How am I supposed to know what repos are to be commented? There is a thread in Ubuntu forum which I followed in the meantime: http://j.mp/T10z97 which shows your solution more elaboratively.
Still no improvement.
 
Old 08-31-2012, 08:24 AM   #6
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Blog Entries: 3

Rep: Reputation: 23
Go to SynapticPackage manager or Ubuntu Software Center. In the menu, you will find Software Sources.
In the Software Sources, you will find the Third Party APT repos you added. Just untick them(which are giving you errors)
and do
#apt-get update

If you don't know which repos to disable, put the last lines of your /etc/apt/sources.list file here.

Last edited by kedarp; 08-31-2012 at 08:26 AM.
 
Old 08-31-2012, 06:23 PM   #7
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
Angry

Quote:
There is a thread in Ubuntu forum which I followed in the meantime: http://j.mp/T10z97 which shows your solution more elaboratively.
Seems that you didn't read my previous post.
 
Old 09-01-2012, 03:13 AM   #8
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Blog Entries: 3

Rep: Reputation: 23
Quote:
http://j.mp/T10z97 which shows your solution more elaboratively.
Still no improvement.
You did mot mention you solved the issue. If you have,you should mark
the thread closed.
 
Old 09-01-2012, 08:24 AM   #9
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
Unhappy

Quote:
Originally Posted by kedarp View Post
You did mot mention you solved the issue. If you have,you should mark
the thread closed.
No I could not solve the issue. And I need your (and whoever wants to help) help, please.
From Synaptic Manger, I got the following while it is starting up:

Quote:
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner amd64 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-amd64_Packages)
W: Duplicate sources.list entry http://archive.canonical.com/ubuntu/ precise/partner i386 Packages (/var/lib/apt/lists/archive.canonical.com_ubuntu_dists_precise_partner_binary-i386_Packages)
I checked and found two entries of duplicate repos and I removed them. Then I ran
Code:
sudo apt-fast update
and got same errors. Below are some of the results:
Quote:
Err http://ppa.launchpad.net precise/main amd64 Packages
404 Not Found
Ign https://private-ppa.launchpad.net precise/main TranslationIndex
Err http://ppa.launchpad.net precise/main i386 Packages
404 Not Found
Err http://ppa.launchpad.net precise/main Sources
404 Not Found
Then I again opened synaptic and got the same error stated above.

Now what?

P.S. The link I posted didn't work for me. That's the reason I posted it to show you.
 
Old 09-01-2012, 08:35 AM   #10
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
Below is the full file content of /etc/apt/sources.list

Code:
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/main/binary-i386/

# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ dists/precise/restricted/binary-i386/
# deb cdrom:[Ubuntu 12.04 LTS _Precise Pangolin_ - Release amd64 (20120425)]/ precise main restricted

# See http://help.ubuntu.com/community/UpgradeNotes for how to upgrade to
# newer versions of the distribution.
deb http://ubuntuarchive.hnsdc.com/ubuntu/ precise main restricted
deb-src http://ubuntuarchive.hnsdc.com/ubuntu/ precise restricted dapper main multiverse universe #Added by software-properties

## Major bug fix updates produced after the final release of the
## distribution.
deb http://ubuntuarchive.hnsdc.com/ubuntu/ precise-updates restricted dapper main
deb-src http://ubuntuarchive.hnsdc.com/ubuntu/ precise-updates restricted dapper main multiverse universe #Added by software-properties

## 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://ubuntuarchive.hnsdc.com/ubuntu/ precise universe
deb http://ubuntuarchive.hnsdc.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://ubuntuarchive.hnsdc.com/ubuntu/ precise multiverse
deb http://ubuntuarchive.hnsdc.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://ubuntuarchive.hnsdc.com/ubuntu/ precise-backports restricted dapper main multiverse universe
deb-src http://ubuntuarchive.hnsdc.com/ubuntu/ precise-backports restricted dapper main multiverse universe #Added by software-properties

deb http://ubuntuarchive.hnsdc.com/ubuntu/ precise-security main restricted
deb-src http://ubuntuarchive.hnsdc.com/ubuntu/ precise-security restricted main multiverse universe #Added by software-properties
deb http://ubuntuarchive.hnsdc.com/ubuntu/ precise-security universe
deb http://ubuntuarchive.hnsdc.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

## 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
# deb http://archive.canonical.com/ precise partner
# deb-src http://archive.canonical.com/ precise partner
deb http://dl.google.com/linux/deb/ testing non-free
deb http://ubuntuarchive.hnsdc.com/ubuntu/ precise dapper
deb http://security.ubuntu.com/ubuntu precise dapper-security universe
# deb-src http://security.ubuntu.com/ubuntu precise dapper-security universe
deb http://ppa.launchpad.net/apt-fast/stable/ubuntu precise main
deb http://ubuntuarchive.hnsdc.com/ubuntu/ precise-proposed restricted dapper main multiverse universe
deb-src http://ubuntuarchive.hnsdc.com/ubuntu/ precise-proposed restricted dapper main multiverse universe #Added by software-properties
deb http://security.ubuntu.com/ubuntu/ precise-security restricted dapper main multiverse universe
deb-src http://ubuntuarchive.hnsdc.com/ubuntu/ precise-security dapper #Added by software-properties
 
Old 09-01-2012, 10:41 AM   #11
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Blog Entries: 3

Rep: Reputation: 23
See post #12 before this.

I really have no idea. But you can try this and tell me if this works.

Run the command

Code:
# cd /etc/apt
# sudo mv sources.list.save sources.list
Then update and clean the repo

Code:
#sudo apt-get update
#sudo apt-get clean
Hope this helps.

Last edited by kedarp; 09-01-2012 at 11:22 AM.
 
Old 09-01-2012, 10:46 AM   #12
kedarp
Member
 
Registered: Jul 2012
Distribution: Ubuntu
Posts: 198
Blog Entries: 3

Rep: Reputation: 23
This line is there in your sources.list file. Comment it before you follow post #11.
And do apt-get update. See if this works first.

Last edited by kedarp; 09-01-2012 at 11:22 AM.
 
Old 09-01-2012, 12:16 PM   #13
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
Quote:
Originally Posted by kedarp View Post
This line is there in your sources.list file. Comment it before you follow post #11.
And do apt-get update. See if this works first.
Idid what you said. This comes:

Code:
W: Failed to fetch http://dl.google.com/linux/deb/dists/testing/non-free/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://dl.google.com/linux/deb/dists/testing/non-free/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/dists/precise/Release  Unable to find expected entry 'dapper/source/Sources' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/dists/precise-updates/Release  Unable to find expected entry 'dapper/source/Sources' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/dists/precise-backports/Release  Unable to find expected entry 'dapper/source/Sources' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/dists/precise-security/Release  Unable to find expected entry 'dapper/source/Sources' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://ubuntuarchive.hnsdc.com/ubuntu/dists/precise-proposed/Release  Unable to find expected entry 'dapper/source/Sources' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://ppa.launchpad.net/alex-mieland/ppa/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/alex-mieland/ppa/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/claudiocn/slm/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/claudiocn/slm/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/gnomenu-team/ppa/ubuntu/dists/precise/main/binary-amd64/Packages  404  Not Found

W: Failed to fetch http://ppa.launchpad.net/gnomenu-team/ppa/ubuntu/dists/precise/main/binary-i386/Packages  404  Not Found

W: Failed to fetch http://extras.ubuntu.com/ubuntu/dists/precise/Release.gpg  Something wicked happened resolving 'extras.ubuntu.com:http' (-5 - No address associated with hostname)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise/Release  Unable to find expected entry 'dapper-security/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

W: Failed to fetch http://security.ubuntu.com/ubuntu/dists/precise-security/Release  Unable to find expected entry 'dapper/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)

E: Some index files failed to download. They have been ignored, or old ones used instead.
 
Old 09-01-2012, 12:23 PM   #14
abrinister
Member
 
Registered: Dec 2010
Location: Boston, MA, USA
Distribution: Arch Linux
Posts: 460

Rep: Reputation: 38
You should have tried the alex-mieland pages in a browser. They indeed do not exist (404 not found). Either you entered the repo information in wrong or these repositories are dead. Either way, you should remove them by editing your /etc/sources.list. Do this by just removing every line that has alex-mieland in it.

Alex Brinister
 
Old 09-01-2012, 03:28 PM   #15
leosubhadeep
Member
 
Registered: Jul 2012
Location: West Bengal,India
Distribution: Ubuntu 14.04,Fedora 20,Windows 7
Posts: 111

Original Poster
Blog Entries: 3

Rep: Reputation: 2
Unhappy

Quote:
Originally Posted by abrinister View Post
You should have tried the alex-mieland pages in a browser. They indeed do not exist (404 not found). Either you entered the repo information in wrong or these repositories are dead. Either way, you should remove them by editing your /etc/sources.list. Do this by just removing every line that has alex-mieland in it.

Alex Brinister
There's no alex-mieland. I have double-checked. You can see the whole page, I have posted it as-it-is.
In your early post, you have suggested to comment out the line containing'apt-fast'. I did so, but it's worth considering that apt-fast is faster than apt-get.
-
P.S. I found two files containing alex-mieland in /etc/apt/source.list.d . i deleted both.

Last edited by leosubhadeep; 09-01-2012 at 03:39 PM. Reason: Did some more research
 
  


Reply

Tags
apt-get update, ppa, softwares, ubuntu 12.04



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
Login don't work properly a_minor Linux - Desktop 3 01-04-2009 05:21 PM
fglrx & edgy. don't work properly kimothy Ubuntu 0 10-26-2006 02:33 PM
Fonts don't work properly since upgrade to 10.1 Zoe F Mandriva 1 10-03-2004 12:04 AM
gpm don't work properly Duukkis Linux - Software 3 03-21-2004 09:58 AM
xmms and esound don't work properly together biiiep Slackware 2 02-08-2004 01:00 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 10:13 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
Open Source Consulting | Domain Registration