LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 02-10-2014, 08:48 PM   #1
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Rep: Reputation: 38
Trouble installing packages: Crunchbang


Using Crunchbang Waldorf
Trying to install gxine. I have run into this problem when trying to install programs that involve virtual packages. Why is there a virtual package that is a dependency if apt won't install anything?
Is this a problem with broken packages or something else, and how would I fix it? I like to use aptitude. I'm not familiar with apt enough to try and fix this.


Code:
root@crunchbang:~# aptitude install gxine
The following NEW packages will be installed:
  gxine libfame-0.9-1{a} libmozjs185-1.0{a} libxine2{a} libxine2-bin{a} libxine2-ffmpeg{a} libxine2-gnome{a} 
  libxine2-misc-plugins{ab} libxine2-plugins{a} libxine2-x{a} 
0 packages upgraded, 10 newly installed, 0 to remove and 5 not upgraded.
Need to get 5,204 kB of archives. After unpacking 12.1 MB will be used.
The following packages have unmet dependencies:
 libxine2-misc-plugins : Depends: libcdio10 which is a virtual package.
                         Depends: libiso9660-7 which is a virtual package.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     gxine [Not Installed]                              
2)     libxine2 [Not Installed]   root@crunchbang:~# aptitude install gxine
The following NEW packages will be installed:
  gxine libfame-0.9-1{a} libmozjs185-1.0{a} libxine2{a} libxine2-bin{a} libxine2-ffmpeg{a} libxine2-gnome{a} 
  libxine2-misc-plugins{ab} libxine2-plugins{a} libxine2-x{a} 
0 packages upgraded, 10 newly installed, 0 to remove and 5 not upgraded.
Need to get 5,204 kB of archives. After unpacking 12.1 MB will be used.
The following packages have unmet dependencies:
 libxine2-misc-plugins : Depends: libcdio10 which is a virtual package.
                         Depends: libiso9660-7 which is a virtual package.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     gxine [Not Installed]                              
2)     libxine2 [Not Installed]                           
3)     libxine2-misc-plugins [Not Installed]              
4)     libxine2-plugins [Not Installed]                   



Accept this solution? [Y/n/q/?]                        
3)     libxine2-misc-plugins [Not Installed]              
4)     libxine2-plugins [Not Installed]                   

root@crunchbang:~# aptitude install gxine
The following NEW packages will be installed:
  gxine libfame-0.9-1{a} libmozjs185-1.0{a} libxine2{a} libxine2-bin{a} libxine2-ffmpeg{a} libxine2-gnome{a} 
  libxine2-misc-plugins{ab} libxine2-plugins{a} libxine2-x{a} 
0 packages upgraded, 10 newly installed, 0 to remove and 5 not upgraded.
Need to get 5,204 kB of archives. After unpacking 12.1 MB will be used.
The following packages have unmet dependencies:
 libxine2-misc-plugins : Depends: libcdio10 which is a virtual package.
                         Depends: libiso9660-7 which is a virtual package.
The following actions will resolve these dependencies:

     Keep the following packages at their current version:
1)     gxine [Not Installed]                              
2)     libxine2 [Not Installed]                           
3)     libxine2-misc-plugins [Not Installed]              
4)     libxine2-plugins [Not Installed]                   



Accept this solution? [Y/n/q/?]

Accept this solution? [Y/n/q/?]
Thanks
 
Old 02-11-2014, 11:15 AM   #2
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
Try;
Code:
apt-get -f install
And see if that resolves the issue. When I try installing gxine, it starts downloading the packages with no hint of a problem.
 
Old 02-17-2014, 10:38 PM   #3
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Original Poster
Rep: Reputation: 38
Quote:
Originally Posted by qlue View Post
Try;
Code:
apt-get -f install
And see if that resolves the issue. When I try installing gxine, it starts downloading the packages with no hint of a problem.
I tried that and got an error message. I installed some packages with aptitude. Would that be a problem? I just have problems with the virtual packages and don't understand why that is.
Code:
root@crunchbang:~# apt-get -f install gxine
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:
 gxine : Depends: libxine2 (>= 1.2.0) but it is not going to be installed
E: Unable to correct problems, you have held broken packages.
 
Old 02-18-2014, 02:12 AM   #4
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
Quote:
Originally Posted by JosephS View Post
I tried that and got an error message. I installed some packages with aptitude. Would that be a problem? I just have problems with the virtual packages and don't understand why that is.
There is definitely something wrong with your package management but I don't have enough knowledge to figure that out.
Aptitude and apt-get are both just front ends for apt (which uses dpkg)
There's no real difference between them.

The strange part is, I'm not getting any mention of those virtual packages at all.
Let's look at this from a different angle, can you post your /etc/apt/sources.list
For me?
 
Old 02-19-2014, 01:48 PM   #5
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Original Poster
Rep: Reputation: 38
sources.list

## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbang.org/waldorf waldorf main
#deb-src http://packages.crunchbang.org/waldorf waldorf main

## DEBIAN
deb http://ftp.ca.debian.org/debian wheezy main contrib non-free
#deb-src http://ftp.ca.debian.org/debian wheezy main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ wheezy/updates main
#deb-src http://security.debian.org/ wheezy/updates main



## Third Parties Repos
# Debian Multimedia
deb http://www.las.ic.unicamp.br/pub/debian-multimedia/ wheezy main non-free

# Spotify Music
#deb http://repository.spotify.com stable non-free

# Sun Java 8 Plugin Script
#deb http://ppa.launchpad.net/webupd8team/java/ubuntu precise main



# Add the repo key for deb-multimedia

# sudo apt-get install deb-multimedia-keyring
# sudo apt-get update
# sudo apt-get upgrade
 
Old 02-20-2014, 03:29 AM   #6
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
Okay, your sources.list file has been customised since installation. Most of the changes have been commented out so, hopefully, they aren't the issue. But I see an odd repository for multimedia there, and since gxine is a multimedia app, that is most likely where the issue is.

I don't know the repository you're using there, but I do know that 'debian-multimedia' is an issue as Debian does not authorise the use of the Debian brand name for third party repositories.

The one I use is;
Code:
## Multi-media
#deb ftp://ftp.deb-multimedia.org wheezy main non-free
deb http://www.deb-multimedia.org wheezy main non-free
Another anomaly is that you have a Sun Java url there that was installed using an Ubuntu ppa script, that is definitely not compatible with Crunchbang.

I'm not sure what the best course forward is here as mixed repositories can really fubar a system. I would recommend that you back-up your data and re-install Crunchbang as the only way to guarantee a fix.

Alternatively, you could try to fix your sources.list file by replacing it with one that is known to work, but that may not resolve issues caused by software you've already installed.

Here is my full sources.list file in case you do want to try that. But remember, this is definitely not guaranteed to work.

Code:
## CRUNCHBANG
## Compatible with Debian Wheezy, but use at your own risk.
deb http://packages.crunchbang.org/waldorf waldorf main
# deb-src http://packages.crunchbang.org/waldorf waldorf main

## DEBIAN
deb http://http.debian.net/debian wheezy main contrib non-free
# deb-src http://http.debian.net/debian wheezy main contrib non-free

## DEBIAN SECURITY
deb http://security.debian.org/ wheezy/updates main
deb http://http.us.debian.org/debian/ wheezy contrib non-free main
# deb-src http://security.debian.org/ wheezy/updates main

## backports
deb http://http.us.debian.org/debian wheezy-backports main

## Multi-media
#deb ftp://ftp.deb-multimedia.org wheezy main non-free
deb http://www.deb-multimedia.org wheezy main non-free
Remember, Ubuntu ppa files are not compatible with Crunchbang, even if they seem to work. Don't use any repository that is not specifically intended to be used with Debian Wheezy. Mixed repositories just don't work very well.
 
Old 02-20-2014, 11:05 PM   #7
JosephS
Member
 
Registered: Jun 2007
Distribution: Debian Jessie, Bunsenlabs
Posts: 586

Original Poster
Rep: Reputation: 38
Thanks. I changed the source of the multimedia. I didn't use the Ubuntu repo yet, and I deleted it. I found some more info and did the following:
aptitude clean
aptitude update
aptitude safe-upgrade

That seemed to fix things. I was able to install gxine without errors.
 
Old 02-21-2014, 12:38 AM   #8
qlue
Member
 
Registered: Aug 2009
Location: Umzinto, South Africa
Distribution: Crunchbangified Debian 8 (Jessie)
Posts: 747
Blog Entries: 1

Rep: Reputation: 172Reputation: 172
One thing I forgot to mention is to install the multimedia keyring. If it's not install, apt will issue a warning that the packages can't be verified.

To install it type:
Code:
sudo apt-get install deb-multimedia-keyring
You can visit the deb-multimedia.org/ website for more info about this repository.

Since you issue has been resolved, please mark this thread as solved using the thread tools link at the top.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Crunchbang 10; can't fix broken packages (error exit status 1) HappyTheCat Linux - Newbie 7 11-02-2012 07:26 PM
Trouble installing new packages upper_room Linux - General 1 12-27-2009 02:53 PM
Trouble installing debian packages anoraxis Slackware 30 12-01-2008 05:54 PM
trouble installing packages oneinfour Slackware 5 10-17-2006 07:19 PM
Trouble installing packages on Mandrake 10 PC Wizard Linux - Newbie 5 09-02-2004 07:50 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:06 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration