Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

I am somewhat new to this operating system. I have been using it since 6 months. Initially there was no problem with my operating system but since the day I messed up with some wine software whenever I Click on "Check" in the update software section after a while a window is popping up and it says "Failed to download repository information" When I click on details it is something like this:

W:Failed to fetch http://archive.ubuntu.com/ubuntu/dists/precise/Release  Unable to find expected entry 'commercial/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 'commercial/binary-amd64/Packages' in Release file (Wrong sources.list entry or malformed file)
, W:Failed to fetch http ://archive.ubuntu.com/ubuntu/dists/precise-updates/Release  Unable to find expected entry 'commercial/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.

I am unable to figure out the actual problem since a couple of days. I am even unable to install some Software like VLC,SKYPE,TeamViewer even Wine also. I am being reported the same problem always it is something like this:

Package dependencies cannot be resolved

This error could be caused by required additional software packages which are missing or not installable. Furthermore there could be a conflict between software packages which are not allowed to be installed at the same time.


The following packages have unmet dependencies:

vlc: Depends: vlc-nox (= 2.0.3+git20120729+r318-0~r40~precise1) but 2.0.3+git20120729+r318-0~r40~precise1 is to be installed
     Depends: libavcodec-extra-53 (>= 4:0.8-1~) but 4:0.8.3ubuntu0.12.04.1 is to be installed
     Depends: libavutil-extra-51 (>= 4:0.8-1~) but 4:0.8.3ubuntu0.12.04.1 is to be installed
     Depends: libc6 (>= 2.15) but 2.15-0ubuntu10 is to be installed
     Depends: libfreetype6 (>= 2.2.1) but 2.4.8-1ubuntu2 is to be installed
     Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.3-1ubuntu5 is to be installed
     Depends: libqtcore4 (>= 4:4.8.0) but 4:4.8.1-0ubuntu4.2 is to be installed
     Depends: libqtgui4 (>= 4:4.7.0~beta1) but 4:4.8.1-0ubuntu4.2 is to be installed
     Depends: libstdc++6 (>= 4.6) but 4.6.3-1ubuntu5 is to be installed
     Depends: zlib1g (>= 1:1.2.3.3.dfsg) but 1:1.2.3.4.dfsg-3ubuntu4 is to be installed

I became so ardent user of Ubuntu that It's impossible for me to uninstall and install it again. Can someone help me out here.?

share|improve this question
    
Seems your repositories have been mixed up. Try the second solution here askubuntu.com/a/170082/17789 (Select Best Server) –  con-f-use Jul 30 '12 at 16:51
    
Which version of Ubuntu are you using? –  Anderson Green Jul 30 '12 at 17:02
    
I am using the latest version 12.04 –  Deepak Jul 31 '12 at 12:13
    
I think I had figured out the problem with my second problem, I mean with installation of VLC and other Wine progeams. I just removed VLC from the list in Ubuntu Software center -> Software Sources -> Authentication. Now I am able to install VLC without any problem. –  Deepak Jul 31 '12 at 14:10
    
have tried the above suggestion but it does not work. what next –  user140289 Mar 14 '13 at 17:11
add comment

2 Answers 2

Edited /etc/apt/sources.list manually and removed all instances of word "commercial". Problem solved. Backup that file first!

share|improve this answer
    
How does this solve the problem? –  RolandiXor Sep 23 '12 at 1:22
add comment

Just press Ctrl+Alt+T on your keyboard to open Terminal. When it opens, run the commands below.

sudo apt-get install -f
sudo apt-get update
share|improve this answer
add comment

protected by jokerdino Sep 28 '13 at 5:27

Thank you for your interest in this question. Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged or ask your own question.