LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (http://www.linuxquestions.org/questions/linux-software-2/)
-   -   My PPAs don't work properly (http://www.linuxquestions.org/questions/linux-software-2/my-ppas-dont-work-properly-4175424779/)

leosubhadeep 08-30-2012 09:38 AM

My PPAs don't work properly
 
1 Attachment(s)
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.

kedarp 08-30-2012 01:35 PM

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.

leosubhadeep 08-30-2012 03:59 PM

Quote:

Originally Posted by kedarp (Post 4768496)
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? :(

kedarp 08-30-2012 09:26 PM

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.

leosubhadeep 08-31-2012 02:55 AM

Quote:

Originally Posted by kedarp (Post 4768756)
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. :(

kedarp 08-31-2012 08:24 AM

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.

leosubhadeep 08-31-2012 06:23 PM

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.

kedarp 09-01-2012 03:13 AM

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.

leosubhadeep 09-01-2012 08:24 AM

Quote:

Originally Posted by kedarp (Post 4769785)
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.

leosubhadeep 09-01-2012 08:35 AM

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


kedarp 09-01-2012 10:41 AM

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.

kedarp 09-01-2012 10:46 AM

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.

leosubhadeep 09-01-2012 12:16 PM

Quote:

Originally Posted by kedarp (Post 4769972)
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.


abrinister 09-01-2012 12:23 PM

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

leosubhadeep 09-01-2012 03:28 PM

Quote:

Originally Posted by abrinister (Post 4770029)
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.


All times are GMT -5. The time now is 02:21 AM.