LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   Problems installing vlc and its dependencies (DEB packages) (https://www.linuxquestions.org/questions/linux-newbie-8/problems-installing-vlc-and-its-dependencies-deb-packages-937218/)

Pr@veen 03-30-2012 02:17 AM

Problems installing vlc and its dependencies (DEB packages)
 
I tried to install vlc from a .deb package but it showed some error like vlc depends on vlc-nox and much more package.
After that i decided to install synaptic and install vlc through that......but my sudo command does'nt allowing me to install synapitc but it is showing all the previous vlc installations error.......

Please tell me what should i do.......now
Help me Please.

EricTRA 03-30-2012 02:47 AM

Hello and welcome to LinuxQuestions,

Don't use thread titles like that, it'll only have an negative effect. Use a descriptive title instead. And don't ask for urgent or privileged help, we're all volunteers here putting in our free time.

When you want to install software on Linux you should always use the package manager available since using it will automatically resolve any dependencies you might have. VLC is available from a lot of repositories so don't install it from deb file or source if you don't have an absolute need for it. If you've set up your sources.list correctly and you're in the sudoers list, use:
Code:

sudo apt-get update
sudo apt-get install vlc

or as root without sudo.

Installing from deb or source file should only be a last resort if you need for example a version that's not available in any repository.

Looking forward to your participation in the forums. Have fun with Linux.

Kind regards,

Eric

Pr@veen 03-30-2012 03:14 AM

But sir .....what if i want's to install another package before this . It always shows an error of that vlc installation , I wants to remove those erros.

EricTRA 03-30-2012 03:33 AM

Hi,

Can you post the output of
Code:

dpkg -l 'vlc*'
to see if there are some packages (partially) installed?

Kind regards,

Eric

colucix 03-30-2012 03:39 AM

Please use a descriptive title for your thread excluding words like 'urgent' or 'help'. Using a proper title makes it easier for members to help you. This thread has been reported for title modification. Please do not add replies that address the thread title.

TobiSGD 03-30-2012 04:00 AM

To resolve your dependency problems you need a working internet connection and a properly configured sources.list-file.
If you have both just try
Code:

apt-get update
apt-get -f install


Pr@veen 03-30-2012 04:03 AM

the output of dpkg -l 'vlc*' is :


Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Cfg-files/Unpacked/Failed-cfg/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Description
+++-==============-==============-============================================
ii vlc 1.0.6-1ubuntu1 multimedia player and streamer
ii vlc-data 1.0.6-1ubuntu1 Common data for VLC
ii vlc-nox 1.0.6-1ubuntu1 multimedia player and streamer (without X su
un vlc-plugin-pul <none> (no description available)

EricTRA 03-30-2012 04:18 AM

Hi,

And what version of VLC did you try to install from the deb file? According to your output you already have VLC version 1.0.6 installed.

Kind regards,

Eric

--- EDIT ----

You just marked your thread as solved, what did you find out?

Pr@veen 03-30-2012 06:54 AM

Sir..........Acutally i have tried these two commands
sudo dpkg --configure -a
sudo apt-get -f install

and successfully installed the vlc.

But i want to know from you that if i doesn't have an internet connection.
What should i do......rather than using these commands and install vlc to remove those errors.

Simply i'm asking you is there any way that it doesn't notify me about those errors and allow me install other packages.


All times are GMT -5. The time now is 05:37 PM.