cant install VLC, checked with synaptic, it's said vlc-noc is broken but cant fix it through synaptic

Asked by Hartanto on 2011-11-13

1st i wanna install vlc from terminal
fail
it's said like this

hartanto@hartanto-Aspire-4732Z:~$ sudo apt-get install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 vlc : Depends: vlc-nox (= 1:1.1.12-0.1) but it is not going to be installed
       Recommends: vlc-plugin-notify (= 1:1.1.12-0.1) but it is not going to be installed
       Recommends: vlc-plugin-pulse (= 1:1.1.12-0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

2nd i try from software center
fail
it's said like this

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 (= 1:1.1.12-0.1) but 1:1.1.12-0.1 is to be installed
     Depends: libavcodec53 (>= 5:0.8.5) but 5:0.8.6-0.1 is to be installed
     Depends: libavutil51 (>= 5:0.8.5) but 5:0.8.6-0.1 is to be installed
     Depends: libgcc1 (>= 1:4.1.1) but 1:4.6.1-9ubuntu3 is to be installed
     Depends: libqtcore4 (>= 4:4.7.0~beta1) but 4:4.7.4-0ubuntu8 is to be installed
     Depends: libqtgui4 (>= 4:4.5.3) but 4:4.7.4-0ubuntu8 is to be installed
     Depends: zlib1g (>= 1:1.2.3.3.dfsg) but 1:1.2.3.4.dfsg-3ubuntu3 is to be installed

3rd i try it from synaptic
fail

i follow tutorial at https://help.ubuntu.com/community/SynapticHowto which lead me to https://help.ubuntu.com/community/PackageManagerTroubleshootingProcedure

this is my terminal after following the instruction
hartanto@hartanto-Aspire-4732Z:~$ sudo fuser -vvv /var/lib/dpkg/lock
[sudo] password for hartanto:
Sorry, try again.
[sudo] password for hartanto:
hartanto@hartanto-Aspire-4732Z:~$ sudo fuser -vvv /var/lib/dpkg/lock
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo fuser -vvv /var/lib/dpkg/lock
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ cat /etc/lsb-release
DISTRIB_ID=Ubuntu
DISTRIB_RELEASE=11.10
DISTRIB_CODENAME=oneiric
DISTRIB_DESCRIPTION="Ubuntu 11.10"
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ uname -a
Linux hartanto-Aspire-4732Z 3.0.0-12-generic #20-Ubuntu SMP Fri Oct 7 14:50:42 UTC 2011 i686 i686 i386 GNU/Linux
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo rm /var/lib/apt/lists/lock
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo cp -arf /var/lib/dpkg /var/lib/dpkg.backup

sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status

hartanto@hartanto-Aspire-4732Z:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status

sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available

hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ hartanto@hartanto-Aspire-4732Z:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
hartanto@hartanto-Aspire-4732Z:~$: command not found
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo cp /var/lib/dpkg/status-old /var/lib/dpkg/status
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo cp /var/lib/dpkg/available-old /var/lib/dpkg/available
hartanto@hartanto-Aspire-4732Z:~$ sudo rm -rf /var/lib/dpkg/updates/*
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo rm -rf /var/lib/apt/lists
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo rm /var/cache/apt/*.bin
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo mkdir /var/lib/apt/lists
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo mkdir /var/lib/apt/lists/partial
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ LANG=C;sudo apt-get clean
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo apt-get clean
hartanto@hartanto-Aspire-4732Z:~$ sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
hartanto@hartanto-Aspire-4732Z:~$ LANG=C;sudo apt-get autoclean
Reading package lists... Done
Building dependency tree
Reading state information... Done
hartanto@hartanto-Aspire-4732Z:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libcddb2* libdirac-decoder0* libdvbpsi7* libebml3* libiso9660-7* libtar0*
  libupnp3* libva-x11-1* libvcdinfo0* libvlc5* libvlccore4* libxcb-keysyms1*
  libxcb-randr0* libxcb-xv0* vlc-data*
0 upgraded, 0 newly installed, 15 to remove and 0 not upgraded.
15 not fully installed or removed.
After this operation, 28.6 MB disk space will be freed.
Do you want to continue [Y/n]? y
Abort.
hartanto@hartanto-Aspire-4732Z:~$ y
y: command not found
hartanto@hartanto-Aspire-4732Z:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libcddb2* libdirac-decoder0* libdvbpsi7* libebml3* libiso9660-7* libtar0*
  libupnp3* libva-x11-1* libvcdinfo0* libvlc5* libvlccore4* libxcb-keysyms1*
  libxcb-randr0* libxcb-xv0* vlc-data*
0 upgraded, 0 newly installed, 15 to remove and 0 not upgraded.
15 not fully installed or removed.
After this operation, 28.6 MB disk space will be freed.
Do you want to continue [Y/n]?
Abort.
hartanto@hartanto-Aspire-4732Z:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libcddb2* libdirac-decoder0* libdvbpsi7* libebml3* libiso9660-7* libtar0*
  libupnp3* libva-x11-1* libvcdinfo0* libvlc5* libvlccore4* libxcb-keysyms1*
  libxcb-randr0* libxcb-xv0* vlc-data*
0 upgraded, 0 newly installed, 15 to remove and 0 not upgraded.
15 not fully installed or removed.
After this operation, 28.6 MB disk space will be freed.
Do you want to continue [Y/n]? y
Abort.
hartanto@hartanto-Aspire-4732Z:~$ LANG=C;sudo apt-get --purge autoremove
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages will be REMOVED:
  libcddb2* libdirac-decoder0* libdvbpsi7* libebml3* libiso9660-7* libtar0*
  libupnp3* libva-x11-1* libvcdinfo0* libvlc5* libvlccore4* libxcb-keysyms1*
  libxcb-randr0* libxcb-xv0* vlc-data*
0 upgraded, 0 newly installed, 15 to remove and 0 not upgraded.
15 not fully installed or removed.
After this operation, 28.6 MB disk space will be freed.
Do you want to continue [Y/n]? n
Abort.
hartanto@hartanto-Aspire-4732Z:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824
Ign http://dl.google.com stable InRelease
Get:1 http://dl.google.com stable Release.gpg [198 B]
Get:2 http://dl.google.com stable Release [1347 B]
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://www.debian-multimedia.org sid InRelease
Get:3 http://dl.google.com stable/main i386 Packages [1208 B]
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.ubuntu.com oneiric-backports InRelease
Ign http://dl.google.com stable/main TranslationIndex
Ign http://ppa.launchpad.net oneiric InRelease
Get:4 http://extras.ubuntu.com oneiric Release.gpg [72 B]
Get:5 http://www.debian-multimedia.org sid Release.gpg [198 B]
Ign http://archive.ubuntu.com oneiric-security InRelease
Get:6 http://archive.ubuntu.com oneiric Release.gpg [198 B]
Get:7 http://archive.ubuntu.com oneiric-updates Release.gpg [198 B]
Get:8 http://ppa.launchpad.net oneiric Release.gpg [316 B]
Get:9 http://packages.medibuntu.org oneiric InRelease [7096 B]
Get:10 http://extras.ubuntu.com oneiric Release [9759 B]
Get:11 http://www.debian-multimedia.org sid Release [29.4 kB]
Get:12 http://archive.ubuntu.com oneiric-backports Release.gpg [198 B]
Get:13 http://ppa.launchpad.net oneiric Release [9751 B]
Get:14 http://archive.ubuntu.com oneiric-security Release.gpg [198 B]
Get:15 http://archive.ubuntu.com oneiric Release [40.8 kB]
Get:16 http://www.debian-multimedia.org sid/main Sources [45.1 kB]
Ign http://dl.google.com stable/main Translation-en
Get:17 http://extras.ubuntu.com oneiric/main Sources [14 B]
Get:18 http://ppa.launchpad.net oneiric/main Sources [3607 B]
Get:19 http://archive.ubuntu.com oneiric-updates Release [32.4 kB]
Get:20 http://extras.ubuntu.com oneiric/main i386 Packages [14 B]
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Get:21 http://packages.medibuntu.org oneiric/free i386 Packages [3208 B]
Get:22 http://ppa.launchpad.net oneiric/main i386 Packages [7679 B]
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Get:23 http://www.debian-multimedia.org sid/non-free Sources [3272 B]
Get:24 http://www.debian-multimedia.org sid/main i386 Packages [73.3 kB]
Get:25 http://archive.ubuntu.com oneiric-backports Release [24.3 kB]
Get:26 http://archive.ubuntu.com oneiric-security Release [28.2 kB]
Get:27 http://packages.medibuntu.org oneiric/non-free i386 Packages [6378 B]
Get:28 http://www.debian-multimedia.org sid/non-free i386 Packages [4681 B]
Ign http://www.debian-multimedia.org sid/main TranslationIndex
Ign http://www.debian-multimedia.org sid/non-free TranslationIndex
Get:29 http://archive.ubuntu.com oneiric/main Sources [877 kB]
Ign http://extras.ubuntu.com oneiric/main Translation-en
Ign http://ppa.launchpad.net oneiric/main Translation-en
Ign http://packages.medibuntu.org oneiric/free TranslationIndex
Get:30 http://archive.ubuntu.com oneiric/restricted Sources [5351 B]
Get:31 http://archive.ubuntu.com oneiric/multiverse Sources [149 kB]
Ign http://packages.medibuntu.org oneiric/non-free TranslationIndex
Get:32 http://archive.ubuntu.com oneiric/universe Sources [4677 kB]
Ign http://www.debian-multimedia.org sid/main Translation-en
Ign http://www.debian-multimedia.org sid/non-free Translation-en
Ign http://packages.medibuntu.org oneiric/free Translation-en
Get:33 http://archive.ubuntu.com oneiric/main i386 Packages [1226 kB]
Ign http://packages.medibuntu.org oneiric/non-free Translation-en
Get:34 http://archive.ubuntu.com oneiric/restricted i386 Packages [8216 B]
Get:35 http://archive.ubuntu.com oneiric/universe i386 Packages [4468 kB]
Get:36 http://archive.ubuntu.com oneiric/multiverse i386 Packages [119 kB]
Get:37 http://archive.ubuntu.com oneiric/main TranslationIndex [3289 B]
Get:38 http://archive.ubuntu.com oneiric/multiverse TranslationIndex [2265 B]
Get:39 http://archive.ubuntu.com oneiric/restricted TranslationIndex [2263 B]
Get:40 http://archive.ubuntu.com oneiric/universe TranslationIndex [2640 B]
Get:41 http://archive.ubuntu.com oneiric-updates/restricted Sources [1345 B]
Get:42 http://archive.ubuntu.com oneiric-updates/main Sources [75.1 kB]
Get:43 http://archive.ubuntu.com oneiric-updates/multiverse Sources [1032 B]
Get:44 http://archive.ubuntu.com oneiric-updates/universe Sources [12.9 kB]
Get:45 http://archive.ubuntu.com oneiric-updates/main i386 Packages [146 kB]
Get:46 http://archive.ubuntu.com oneiric-updates/restricted i386 Packages [2878 B]
Get:47 http://archive.ubuntu.com oneiric-updates/universe i386 Packages [38.7 kB]
Get:48 http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages [2703 B]
Get:49 http://archive.ubuntu.com oneiric-updates/main TranslationIndex [73 B]
Get:50 http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex [72 B]
Get:51 http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex [71 B]
Get:52 http://archive.ubuntu.com oneiric-updates/universe TranslationIndex [73 B]
Get:53 http://archive.ubuntu.com oneiric-backports/main Sources [743 B]
Get:54 http://archive.ubuntu.com oneiric-backports/restricted Sources [14 B]
Get:55 http://archive.ubuntu.com oneiric-backports/universe Sources [2580 B]
Get:56 http://archive.ubuntu.com oneiric-backports/multiverse Sources [14 B]
Get:57 http://archive.ubuntu.com oneiric-backports/main i386 Packages [649 B]
Get:58 http://archive.ubuntu.com oneiric-backports/restricted i386 Packages [14 B]
Get:59 http://archive.ubuntu.com oneiric-backports/universe i386 Packages [3383 B]
Get:60 http://archive.ubuntu.com oneiric-backports/multiverse i386 Packages [14 B]
Get:61 http://archive.ubuntu.com oneiric-backports/main TranslationIndex [71 B]
Get:62 http://archive.ubuntu.com oneiric-backports/multiverse TranslationIndex [70 B]
Get:63 http://archive.ubuntu.com oneiric-backports/restricted TranslationIndex [70 B]
Get:64 http://archive.ubuntu.com oneiric-backports/universe TranslationIndex [72 B]
Get:65 http://archive.ubuntu.com oneiric-security/restricted Sources [14 B]
Get:66 http://archive.ubuntu.com oneiric-security/main Sources [8505 B]
Get:67 http://archive.ubuntu.com oneiric-security/multiverse Sources [14 B]
Get:68 http://archive.ubuntu.com oneiric-security/universe Sources [929 B]
Get:69 http://archive.ubuntu.com oneiric-security/main i386 Packages [19.2 kB]
Get:70 http://archive.ubuntu.com oneiric-security/restricted i386 Packages [14 B]
Get:71 http://archive.ubuntu.com oneiric-security/universe i386 Packages [6722 B]
Get:72 http://archive.ubuntu.com oneiric-security/multiverse i386 Packages [14 B]
Get:73 http://archive.ubuntu.com oneiric-security/main TranslationIndex [73 B]
Get:74 http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex [70 B]
Get:75 http://archive.ubuntu.com oneiric-security/restricted TranslationIndex [70 B]
Get:76 http://archive.ubuntu.com oneiric-security/universe TranslationIndex [72 B]
Get:77 http://archive.ubuntu.com oneiric/main Translation-en [701 kB]
Get:78 http://archive.ubuntu.com oneiric/multiverse Translation-en [92.6 kB]
Get:79 http://archive.ubuntu.com oneiric/restricted Translation-en [2229 B]
Get:80 http://archive.ubuntu.com oneiric/universe Translation-en [3165 kB]
Get:81 http://archive.ubuntu.com oneiric-updates/main Translation-en [73.0 kB]
Get:82 http://archive.ubuntu.com oneiric-updates/multiverse Translation-en [1190 B]
Get:83 http://archive.ubuntu.com oneiric-updates/restricted Translation-en [508 B]
Get:84 http://archive.ubuntu.com oneiric-updates/universe Translation-en [24.1 kB]
Get:85 http://archive.ubuntu.com oneiric-backports/main Translation-en [604 B]
Get:86 http://archive.ubuntu.com oneiric-backports/multiverse Translation-en [14 B]
Get:87 http://archive.ubuntu.com oneiric-backports/restricted Translation-en [14 B]
Get:88 http://archive.ubuntu.com oneiric-backports/universe Translation-en [2997 B]
Get:89 http://archive.ubuntu.com oneiric-security/main Translation-en [13.0 kB]
Get:90 http://archive.ubuntu.com oneiric-security/multiverse Translation-en [14 B]
Get:91 http://archive.ubuntu.com oneiric-security/restricted Translation-en [14 B]
Get:92 http://archive.ubuntu.com oneiric-security/universe Translation-en [5754 B]
Fetched 16.3 MB in 42s (379 kB/s)
Reading package lists... Done
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo dpkg --clear-avail
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ sudo dpkg --configure -a
Setting up libupnp3 (1:1.6.6-5.1) ...
Setting up libxcb-randr0 (1.7-3) ...
Setting up libebml3 (1.2.1-1) ...
Setting up libcddb2 (1.3.2-2fakesync1) ...
Setting up vlc-data (1:1.1.12-0.1) ...
Setting up libtar0 (1.2.11-8) ...
Setting up libdirac-decoder0 (1.0.2-4) ...
Setting up libva-x11-1 (1.0.12-2) ...
Setting up libvlccore4 (1:1.1.12-0.1) ...
Setting up libxcb-keysyms1 (0.3.8-1) ...
Setting up libxcb-xv0 (1.7-3) ...
Setting up libiso9660-7 (0.81-4build1) ...
Setting up libdvbpsi7 (0.2.0-1) ...
Setting up libvlc5 (1:1.1.12-0.1) ...
Setting up libvcdinfo0 (0.7.23-4ubuntu2) ...
Processing triggers for libc-bin ...
ldconfig deferred processing now taking place
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ LANG=C;sudo apt-get -f install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libva-x11-1 libxcb-keysyms1 libxcb-xv0 libtar0 libcddb2 libdvbpsi7 libvlc5
  libdirac-decoder0 libupnp3 libxcb-randr0 libiso9660-7 vlc-data libvlccore4
  libvcdinfo0 libebml3
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ LANG=C;sudo apt-get --fix-missing install
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages were automatically installed and are no longer required:
  libva-x11-1 libxcb-keysyms1 libxcb-xv0 libtar0 libcddb2 libdvbpsi7 libvlc5
  libdirac-decoder0 libupnp3 libxcb-randr0 libiso9660-7 vlc-data libvlccore4
  libvcdinfo0 libebml3
Use 'apt-get autoremove' to remove them.
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
hartanto@hartanto-Aspire-4732Z:~$
hartanto@hartanto-Aspire-4732Z:~$ LANG=C;sudo apt-get update -o APT::Cache-Limit=25165824 && sudo apt-get dist-upgrade
Ign http://dl.google.com stable InRelease
Get:1 http://dl.google.com stable Release.gpg [198 B]
Get:2 http://dl.google.com stable Release [1347 B]
Get:3 http://dl.google.com stable/main i386 Packages [1208 B]
Ign http://ppa.launchpad.net oneiric InRelease
Ign http://www.debian-multimedia.org sid InRelease
Ign http://extras.ubuntu.com oneiric InRelease
Ign http://dl.google.com stable/main TranslationIndex
Hit http://packages.medibuntu.org oneiric InRelease
Hit http://ppa.launchpad.net oneiric Release.gpg
Ign http://archive.ubuntu.com oneiric InRelease
Ign http://archive.ubuntu.com oneiric-updates InRelease
Ign http://archive.ubuntu.com oneiric-backports InRelease
Hit http://www.debian-multimedia.org sid Release.gpg
Hit http://extras.ubuntu.com oneiric Release.gpg
Hit http://ppa.launchpad.net oneiric Release
Hit http://www.debian-multimedia.org sid Release
Ign http://archive.ubuntu.com oneiric-security InRelease
Hit http://archive.ubuntu.com oneiric Release.gpg
Hit http://archive.ubuntu.com oneiric-updates Release.gpg
Hit http://extras.ubuntu.com oneiric Release
Hit http://packages.medibuntu.org oneiric/free i386 Packages
Hit http://ppa.launchpad.net oneiric/main Sources
Hit http://archive.ubuntu.com oneiric-backports Release.gpg
Hit http://www.debian-multimedia.org sid/main Sources
Hit http://extras.ubuntu.com oneiric/main Sources
Ign http://dl.google.com stable/main Translation-en
Hit http://ppa.launchpad.net oneiric/main i386 Packages
Ign http://ppa.launchpad.net oneiric/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-security Release.gpg
Hit http://www.debian-multimedia.org sid/non-free Sources
Hit http://archive.ubuntu.com oneiric Release
Get:4 http://www.debian-multimedia.org sid/main i386 Packages/DiffIndex [2023 B]
Hit http://extras.ubuntu.com oneiric/main i386 Packages
Ign http://extras.ubuntu.com oneiric/main TranslationIndex
Get:5 http://www.debian-multimedia.org sid/non-free i386 Packages/DiffIndex [2023 B]
Ign http://www.debian-multimedia.org sid/main TranslationIndex
Ign http://www.debian-multimedia.org sid/non-free TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates Release
Hit http://packages.medibuntu.org oneiric/non-free i386 Packages
Hit http://archive.ubuntu.com oneiric-backports Release
Hit http://archive.ubuntu.com oneiric-security Release
Hit http://archive.ubuntu.com oneiric/main Sources
Hit http://archive.ubuntu.com oneiric/restricted Sources
Hit http://archive.ubuntu.com oneiric/multiverse Sources
Hit http://archive.ubuntu.com oneiric/universe Sources
Hit http://archive.ubuntu.com oneiric/main i386 Packages
Hit http://archive.ubuntu.com oneiric/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric/universe i386 Packages
Hit http://archive.ubuntu.com oneiric/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric/main TranslationIndex
Hit http://archive.ubuntu.com oneiric/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/restricted Sources
Ign http://packages.medibuntu.org oneiric/free TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/main Sources
Hit http://archive.ubuntu.com oneiric-updates/multiverse Sources
Hit http://archive.ubuntu.com oneiric-updates/universe Sources
Hit http://archive.ubuntu.com oneiric-updates/main i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/universe i386 Packages
Hit http://archive.ubuntu.com oneiric-updates/multiverse i386 Packages
Ign http://ppa.launchpad.net oneiric/main Translation-en
Hit http://archive.ubuntu.com oneiric-updates/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-updates/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric-backports/main Sources
Hit http://archive.ubuntu.com oneiric-backports/restricted Sources
Hit http://archive.ubuntu.com oneiric-backports/universe Sources
Hit http://archive.ubuntu.com oneiric-backports/multiverse Sources
Ign http://extras.ubuntu.com oneiric/main Translation-en
Hit http://archive.ubuntu.com oneiric-backports/main i386 Packages
Hit http://archive.ubuntu.com oneiric-backports/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric-backports/universe i386 Packages
Hit http://archive.ubuntu.com oneiric-backports/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric-backports/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-backports/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-backports/restricted TranslationIndex
Ign http://packages.medibuntu.org oneiric/non-free TranslationIndex
Hit http://archive.ubuntu.com oneiric-backports/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/restricted Sources
Hit http://archive.ubuntu.com oneiric-security/main Sources
Hit http://archive.ubuntu.com oneiric-security/multiverse Sources
Hit http://archive.ubuntu.com oneiric-security/universe Sources
Hit http://archive.ubuntu.com oneiric-security/main i386 Packages
Hit http://archive.ubuntu.com oneiric-security/restricted i386 Packages
Hit http://archive.ubuntu.com oneiric-security/universe i386 Packages
Hit http://archive.ubuntu.com oneiric-security/multiverse i386 Packages
Hit http://archive.ubuntu.com oneiric-security/main TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/multiverse TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/restricted TranslationIndex
Hit http://archive.ubuntu.com oneiric-security/universe TranslationIndex
Hit http://archive.ubuntu.com oneiric/main Translation-en
Hit http://archive.ubuntu.com oneiric/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric/restricted Translation-en
Hit http://archive.ubuntu.com oneiric/universe Translation-en
Hit http://archive.ubuntu.com oneiric-updates/main Translation-en
Ign http://www.debian-multimedia.org sid/main Translation-en
Hit http://archive.ubuntu.com oneiric-updates/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-updates/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-updates/universe Translation-en
Hit http://archive.ubuntu.com oneiric-backports/main Translation-en
Hit http://archive.ubuntu.com oneiric-backports/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-backports/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-backports/universe Translation-en
Ign http://www.debian-multimedia.org sid/non-free Translation-en
Hit http://archive.ubuntu.com oneiric-security/main Translation-en
Hit http://archive.ubuntu.com oneiric-security/multiverse Translation-en
Hit http://archive.ubuntu.com oneiric-security/restricted Translation-en
Hit http://archive.ubuntu.com oneiric-security/universe Translation-en
Ign http://packages.medibuntu.org oneiric/free Translation-en
Ign http://packages.medibuntu.org oneiric/non-free Translation-en
Fetched 6799 B in 11s (576 B/s)
Reading package lists... Done
Reading package lists... Done
Building dependency tree
Reading state information... Done
Calculating upgrade... Done
The following packages have been kept back:
  libavcodec53 libavformat53 libquicktime2
0 upgraded, 0 newly installed, 0 to remove and 3 not upgraded.
hartanto@hartanto-Aspire-4732Z:~$

Question information

Language:
English Edit question
Status:
Answered
For:
Ubuntu synaptic Edit question
Assignee:
No assignee Edit question
Last query:
2011-11-13
Last reply:
2011-11-16
Luky Winarto (luckyborneo) said : #1

Hi Hartanto,

Have you try to search vlc-nox from terminal?
sudo apt-cache search vlc-nox

If it's on the repository, I think you have no trouble install vlc from terminal.

Would you mind give me the output of this command:
cat /etc/apt/sources.list

Copy all the output then paste here.
Thank you..
-Luky-

There are (at least) 2 issues in the Terminal output above:

Issue 1:

The following packages will be REMOVED:
  libcddb2* libdirac-decoder0* libdvbpsi7* libebml3* libiso9660-7* libtar0*
  libupnp3* libva-x11-1* libvcdinfo0* libvlc5* libvlccore4* libxcb-keysyms1*
  libxcb-randr0* libxcb-xv0* vlc-data*
0 upgraded, 0 newly installed, 15 to remove and 0 not upgraded.
15 not fully installed or removed.
After this operation, 28.6 MB disk space will be freed.
Do you want to continue [Y/n]? y ----------> TYPE IN Y instead of y

Instead of typing in the small y, you need to press the capital Y key to let apt-get proceed with the removal of those packages.

Issue 2:

Get:32 http://archive.ubuntu.com oneiric/universe Sources [4677 kB]
Ign http://www.debian-multimedia.org sid/main Translation-en

You are running Ubuntu 11.10, but you are mixing repositories from sid (Debian) and oneiric (Ubuntu) in your /etc/apt/sources.list file or in the /etc/apt/sources.list.d/ directory. Mixing repositories from significantly different distributions can and will break your install, as you are experiencing right now.

You will need to remove all lines containing sid in your /etc/apt/sources.list file or in the /etc/apt/sources.list.d/ directory, because you are running Ubuntu, NOT Debian.

Hartanto (kaizer-h) said : #3

@Luky Winarto:

i search vlc-nox and this is shown in my terminal:

hartanto@hartanto-Aspire-4732Z:~$ sudo apt-cache search vlc-nox
[sudo] password for hartanto:
vlc-nox - multimedia player and streamer (without X support)
hartanto@hartanto-Aspire-4732Z:~$ sudo apt-get install vlc
Reading package lists... Done
Building dependency tree
Reading state information... Done
Some packages could not be installed. This may mean that you have
requested an impossible situation or if you are using the unstable
distribution that some required packages have not yet been created
or been moved out of Incoming.
The following information may help to resolve the situation:

The following packages have unmet dependencies:
 vlc : Depends: vlc-nox (= 1:1.1.12-0.1) but it is not going to be installed
       Depends: libavcodec53 (>= 5:0.8.5) but it is not going to be installed
       Recommends: vlc-plugin-notify (= 1:1.1.12-0.1) but it is not going to be installed
       Recommends: vlc-plugin-pulse (= 1:1.1.12-0.1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.

output of command:
cat /etc/apt/sources.list

# deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric main restricted
deb-src http://archive.ubuntu.com/ubuntu oneiric main restricted #Added by software-properties

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

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

deb http://archive.ubuntu.com/ubuntu oneiric-security main restricted
deb-src http://archive.ubuntu.com/ubuntu oneiric-security restricted main multiverse universe #Added by software-properties
deb http://archive.ubuntu.com/ubuntu oneiric-security universe
deb http://archive.ubuntu.com/ubuntu oneiric-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 oneiric partner
# deb-src http://archive.canonical.com/ubuntu oneiric 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 oneiric main
deb-src http://extras.ubuntu.com/ubuntu oneiric main
deb http://www.debian-multimedia.org sid main non-free
deb-src http://www.debian-multimedia.org sid main non-free

Hartanto (kaizer-h) said : #4

@Mark Rijkenberg:

Issue 1: already press Y instead of y

Issue 2:What should i do to remove all lines containing sid in my /etc/apt/sources.list file or in the /etc/apt/sources.list.d/ directory ?
command LANG=C;sudo apt-get --purge autoremove will do? or it's need another command?

what should i do next?

Run this command:

gksudo gedit /etc/apt/sources.list

Using the gedit editor, remove the following 2 lines:

deb http://www.debian-multimedia.org sid main non-free
deb-src http://www.debian-multimedia.org sid main non-free

Then save the change to the /etc/apt/sources.list file.

Can you help with this problem?

Provide an answer of your own, or ask Hartanto for more information if necessary.

To post a message you must log in.