broken packages
Questions matching "i am using ubuntu 11.10 in dell vostro-1540. i am unable to install softwares like vlc,webcam and any plugins, not even one software. please suggest me a solution, iam gettin like "you have held some broken packages" what should i do?"
Question information
- Language:
- English Edit question
- Status:
- Solved
- For:
- Ubuntu apt Edit question
- Assignee:
- No assignee Edit question
- Solved by:
- actionparsnip
- Solved:
- Last query:
- Last reply:
Revision history for this message
|
#1 |
try this
sudo apt-get update
sudo apt-get install vlc vlc-plugin-pulse
and provide output of above commands
thanks
Jeet
Revision history for this message
|
#2 |
jagadeesh@
[sudo] password for jagadeesh:
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric
InRelease
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)
oneiric/main TranslationIndex
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)
oneiric/restricted TranslationIndex
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)
oneiric/main Translation-en_US
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)
oneiric/main Translation-en
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)
oneiric/restricted Translation-en_US
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)
oneiric/restricted Translation-en
Ign http://
InRelease
Ign http://
InRelease
Hit http://
Release.gpg
Hit http://
Release.gpg
Hit http://
Release
Hit http://
Release
Hit http://
Sources
Hit http://
Sources
Hit http://
Sources
Hit http://
Packages
Ign http://
TranslationIndex
Hit http://
Sources
Hit http://
Sources
Hit http://
Packages
Hit http://
Packages
Hit http://
Packages
Hit http://
Packages
Hit http://
TranslationIndex
Hit http://
TranslationIndex
Hit http://
TranslationIndex
Hit http://
TranslationIndex
Hit http://
Translation-en
Hit http://
Translation-en
Hit http://
Translation-en
Hit http://
Translation-en
Ign http://
InRelease
Ign http://
InRelease
Ign http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
TranslationIndex
Hit http://
TranslationIndex
Hit http://
Get:1 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 1 B in 8s (0 B/s)
W: Failed to fetch
gzip:/var/
Hash Sum mismatch
E: Some index files failed to download. They have been ignored, or old ones
used instead.
jagadeesh@
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.12-2~oneiric1) but it is not going to be
installed
Depends: libavcodec53 (>= 4:0.7-1) but it is not going to be
installed or
installed
Depends: libva-x11-1 (> 1.0.12~) but it is not installable
Depends: libva1 (> 1.0.12~) but it is not installable
Depends: libxcb-randr0 (>= 1.1) but it is not installable
Depends: libxcb-xv0 (>= 1.2) but it is not installable
Recommends: vlc-plugin-notify (= 1.1.12-2~oneiric1) but it is not
going to be installed
vlc-plugin-pulse : Depends: vlc-nox (= 1.1.12-2~oneiric1) but it is not
going to be installed
E: Unable to correct problems, you have held broken packages.
jagadeesh@
Revision history for this message
|
#3 |
sudo apt-get install -f
or in Synaptic, Edit, Fix broken packages.
Revision history for this message
|
#4 |
You need to check that a universe mirror is listed in your /etc/apt/
Revision history for this message
|
#5 |
sudo apt-get install -f didnot work
jagadeesh@
[sudo] password for jagadeesh:
Reading package lists... Done
Building dependency tree
Reading state information... Done
0 upgraded, 0 newly installed, 0 to remove and 391 not upgraded.
jagadeesh@
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric InRelease
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/main TranslationIndex
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/restricted TranslationIndex
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/main Translation-en_US
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/main Translation-en
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/restricted Translation-en_US
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/restricted Translation-en
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Get:1 http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Fetched 1 B in 5s (0 B/s)
W: Failed to fetch gzip:/var/
E: Some index files failed to download. They have been ignored, or old ones used instead.
jagadeesh@
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.12-2~oneiric1) but it is not going to be installed
Depends: libavcodec53 (>= 4:0.7-1) but it is not going to be installed or
Depends: libva-x11-1 (> 1.0.12~) but it is not installable
Depends: libva1 (> 1.0.12~) but it is not installable
Depends: libxcb-randr0 (>= 1.1) but it is not installable
Depends: libxcb-xv0 (>= 1.2) but it is not installable
Recommends: vlc-plugin-notify (= 1.1.12-2~oneiric1) but it is not going to be installed
vlc-plugin-pulse : Depends: vlc-nox (= 1.1.12-2~oneiric1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
jagadeesh@
i have sources.list file in /etc/apt/
Revision history for this message
|
#6 |
what is synaptic and where can i find it
Revision history for this message
|
#7 |
sudo apt-get install -f <then package name you want to install >
Press window button and type synaptic :: you will find synaptic manager
provide output of /etc/apt/
thanks
Jeet
Revision history for this message
|
#8 |
1. In Synaptic, go to Settings-
tab, make sure the first four options are selected.
2. Then, go to the "Other Software" tab, and make sure the first
(Canonical Partners) and third (Independent) options are selected.
3. Press the Close button to close the dialog.
4. Press the Reload button to reload the repositories info.
5. Try installing the package you want, in Synaptic.
Revision history for this message
|
#9 |
i have typed synaptic in dash home search bar and i couldn't find synaptic
Revision history for this message
|
#10 |
Try running these commands one at a time if changing the sever fails.
sudo dpkg --configure -a
sudo apt-get clean
sudo apt-get autoclean
sudo apt-get update
then try installing
Revision history for this message
|
#11 |
if this also not helpful try below
sudo apt-get clean
cd /var/lib/apt
mv lists lists.old
mkdir -p lists/partial
sudo apt-get clean
sudo apt-get update
update us if it works or not
Revision history for this message
|
#12 |
it didn't work
jagadeesh@
[sudo] password for jagadeesh:
jagadeesh@
jagadeesh@
Reading package lists... Done
Building dependency tree
Reading state information... Done
jagadeesh@
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric InRelease
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/main TranslationIndex
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/restricted TranslationIndex
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/main Translation-en_US
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/main Translation-en
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/restricted Translation-en_US
Ign cdrom://Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012) oneiric/restricted Translation-en
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
57% [Waiting for headers] [Waiting for headers] [Waiting for headers] [Waiting ^Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Get:1 http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Hit http://
Ign http://
Hit http://
Hit http://
Hit http://
Hit http://
Hit http://
Ign http://
Fetched 1 B in 6s (0 B/s)
W: Failed to fetch gzip:/var/
E: Some index files failed to download. They have been ignored, or old ones used instead.
jagadeesh@
Revision history for this message
|
#13 |
Did you tried second solution ??
Revision history for this message
|
#14 |
I think here you can find many thing which can be useful for you .. hope this time it is helpful for you
Thanks
Jeet
Revision history for this message
|
#15 |
i can't find synaptic manager anywhere.
is there any other name for it?
Revision history for this message
|
#16 |
deb cdrom:[Ubuntu 11.10 _Oneiric Ocelot_ - Release i386 (20111012)]/ oneiric ma$
# See http://
# newer versions of the distribution.
deb http://
deb-src http://
## Major bug fix updates produced after the final release of the
## distribution.
deb http://
deb-src http://
## 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://
deb-src http://
deb http://
deb-src http://
## 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://
deb-src http://
deb http://
deb-src http://
## 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://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
deb http://
deb-src http://
## 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://
# deb-src http://
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://
deb-src http://
this is the output of /etc/apt/
is there anything wrong?
Revision history for this message
|
#17 |
Can you give the output of:
apt-cache policy vlc
Thanks
Revision history for this message
|
#18 |
jagadeesh@
vlc:
Installed: (none)
Candidate: 1.1.12-2~oneiric1
Version table:
1.
500 http://
1.1.11-2build2 0
500 http://
Revision history for this message
|
#19 |
ok. Try:
sudo apt-get --purge remove vlc
sudo apt-get --purge autoremove
sudo apt-get clean
sudo apt-get udpate
clear
sudo apt-get install vlc
Is it ok? If not, poast the result of the last command.
Thanks
Revision history for this message
|
#20 |
jagadeesh@
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.12-2~oneiric1) but it is not going to be installed
Depends: libavcodec53 (>= 4:0.7-1) but it is not going to be installed or
Depends: libva-x11-1 (> 1.0.12~) but it is not installable
Depends: libva1 (> 1.0.12~) but it is not installable
Depends: libxcb-randr0 (>= 1.1) but it is not installable
Depends: libxcb-xv0 (>= 1.2) but it is not installable
Recommends: vlc-plugin-notify (= 1.1.12-2~oneiric1) but it is not going to be installed
Recommends: vlc-plugin-pulse (= 1.1.12-2~oneiric1) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
jagadeesh@
Revision history for this message
|
#21 |
try:
sudo dpkg -i ./vlc-nox_
rm ./vlc-nox_
Revision history for this message
|
#22 |
is it compulsary to install all the updates(important security updates,recommended update,
Revision history for this message
|
#23 |
I would, helps a lot.
Revision history for this message
|
#24 |
Andrew there is problem with all third party software.. nd jagdheesh also
reporting about synaptic
I think there is problem with repositry..
What you think?
On Apr 11, 2012 11:10 AM, "jagadeesh babu chitta" <
<email address hidden>> wrote:
> Question #193167 on apt in Ubuntu changed:
> https:/
>
> Status: Answered => Open
>
> jagadeesh babu chitta is still having a problem:
> is it compulsary to install all the updates(important security
> updates,recommended update,
> updates,
> operating system to make use of other softwares(vlc,flash player
> plugin,skype etc.)?
>
> --
> You received this question notification because you are a direct
> subscriber of the question.
>
Revision history for this message
|
#25 |
jagadeesh@
[sudo] password for jagadeesh:
dpkg: error processing ./vlc-nox_
cannot access archive: No such file or directory
Errors were encountered while processing:
./vlc-
jagadeesh@
Selecting previously deselected package vlc-nox.
(Reading database ... 124954 files and directories currently installed.)
Unpacking vlc-nox (from .../vlc-
dpkg: dependency problems prevent configuration of vlc-nox:
vlc-nox depends on liba52-0.7.4; however:
Package liba52-0.7.4 is not installed.
vlc-nox depends on libass4 (>= 0.9.7); however:
Package libass4 is not installed.
vlc-nox depends on libavcodec53 (>= 4:0.7-1) | libavcodec-extra-53 (>= 4:0.7-1); however:
Package libavcodec53 is not installed.
Package libavcodec-extra-53 is not installed.
vlc-nox depends on libavformat53 (>= 4:0.7-1) | libavformat-
Package libavformat53 is not installed.
Package libavformat-
vlc-nox depends on libavutil51 (>= 4:0.7-1) | libavutil-extra-51 (>= 4:0.7-1); however:
Package libavutil51 is not installed.
Package libavutil-extra-51 is not installed.
vlc-nox depends on libcddb2; however:
Package libcddb2 is not installed.
vlc-nox depends on libdc1394-22; however:
Package libdc1394-22 is not installed.
vlc-nox depends on libdca0; however:
Package libdca0 is not installed.
vlc-nox depends on libdirac-encoder0; however:
Package libdirac-encoder0 is not installed.
vlc-nox depends on libdvbpsi7 (>= 0.2.0); however:
Package libdvbpsi7 is not installed.
vlc-nox depends on libdvdnav4; however:
Package libdvdnav4 is not installed.
vlc-nox depends on libdvdread4; however:
Package libdvdread4 is not installed.
vlc-nox depends on libebml3; however:
Package libebml3 is not installed.
vlc-nox depends on libfaad2; however:
Package libfaad2 is not installed.
vlc-nox depends on libkate1 (>= 0.3.0); however:
Package libkate1 is not installed.
vlc-nox depends on libmad0 (>= 0.15.1b-3); however:
Package libmad0 is not installed.
vlc-nox depends on libmatroska4; however:
Package libmatroska4 is not installed.
vlc-nox depends on libmodplug1; however:
Package libmodplug1 is not installed.
vlc-nox depends on libmpcdec6 (>= 1:0.1~r435); however:
Package libmpcdec6 is not installed.
vlc-nox depends on libmpeg2-4; however:
Package libmpeg2-4 is not installed.
vlc-nox depends on libpostproc52 (>= 4:0.7-1) | libpostproc-
Package libpostproc52 is not installed.
Package libpostproc-
vlc-nox depends on libschroedinger
Package libschroedinger
vlc-nox depends on libswscale2 (>= 4:0.7-1) | libswscale-extra-2 (>= 4:0.7-1); however:
Package libswscale2 is not installed.
Package libswscale-extra-2 is not installed.
vlc-nox depends on libtwolame0; however:
Package libtwolame0 is not installed.
vlc-nox depends on libupnp3 (>= 1.4.3); however:
Package libupnp3 is not installed.
vlc-nox depends on libvcdinfo0 (>> 0.7.23); however:
Package libvcdinfo0 is not installed.
vlc-nox depends on libvlc5 (>= 1.1.1); however:
Package libvlc5 is not installed.
vlc-nox depends on libvlccore4 (>= 1.1.0); however:
Package libvlccore4 is not installed.
vlc-nox depends on libx264-116; however:
Package libx264-116 is not installed.
dpkg: error processing vlc-nox (--install):
dependency problems - leaving unconfigured
Processing triggers for man-db ...
Errors were encountered while processing:
vlc-nox
jagadeesh@
it didn't workout
Revision history for this message
|
#26 |
Did you download the deb I gave....
Possibly an issue with the server. Try again a bit later, see how it goes.
Revision history for this message
|
#27 |
Temporary failure resolving …” means that your DNS, i.e. the translation from host names to IP addresses, is not working. Did you reconfigure something on your machine recently? If not, this may be a transient error at your ISP.
Does ping -n 8.8.8.8 show lines like 64 bytes from 8.8.8.8: …? (Press Ctrl+C to stop ping.)
If it doesn't, you specifically have an IP connectivity problem. Run "traceroute -n 8.8.8.8" and see where it stops: if it's in your home/office, check your networking equipment. If you can reach your ISP, complain to them.
If it does, you specifically have a DNS problem. Check the contents of /etc/resolv.conf; there should be a line like "nameserver 1.2.3.4" (possibly more than one of them). If the lines are there, there is probably a transient problem within your ISP, and you may be able to work around it by adding "nameserver 8.8.8.8" to that file (this declares an extra DNS server, which is provided free of charge by Google)
Revision history for this message
|
#28 |
Thanks actionparsnip, that solved my question.
Revision history for this message
|
#29 |
thanks a lot mr.jeet,mr.andrew