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 have a questiong regarding installation of packages using Software Center.

If I choose only main repository and istall a package could I get problems if the package has dependency to another package which is not in the main repository?

share|improve this question
    
What do you mean exactly by "main repository" ? –  dobey Sep 27 '13 at 17:03
    
I mean I would like to avoid intallation from universe multiverse and restricted repositories. But do not know if I just select software from main (in the software center source selection windows) could it cause any problems? –  Barbara Sep 27 '13 at 17:31
add comment

1 Answer 1

Software in main cannot have runtime dependencies on software in universe or multiverse. However, the bulk of available software is in universe, so if you want to install additional software, it is very likely something you want to install is located there, rather than in main.

And once the archive re-org is completed, there will be no separation between main and universe in this way. They will be the same archive, and some packages will be flagged as supported and such, instead.

share|improve this answer
    
Thank you so much for the reply. I just want to install texlive-fonts-extra which is in the main repository but has some suggested packages form universe. I just unchecked all the boxes except main: under Software Center -> software sources -> ubuntu software. Would if work like this? –  Barbara Sep 27 '13 at 18:26
    
Sorry for the double comment but what I mean is - in the "software sources" are also certain default settings on the "other software", e. g. independent (source code) is checked. Would it be possible when installing the package and it needs a package from universe (that is not availabe since I unchecked the box) is downloads something bad from "independent (source code)"? –  Barbara Sep 27 '13 at 18:34
    
Suggested packages are just that, suggested. They are not installed when you install the thing that suggests them. You have to manually select to install them as well. They are only suggestions, not requirements. However, that package is in universe, not main (at least, in 13.10 it is). –  dobey Sep 27 '13 at 19:49
    
That means, if I again check all the boxes in the software sources and then install the packages from "main" everithing would be secure? How can I tell it comes from main? In the software center I discoverd that it is possible to "view" -> Canonical-Mantained-Software. If I chose this option will it show me only the applications in main? –  Barbara Sep 27 '13 at 19:57
    
apt-cache policy $packagename will show you where $packagename is available from, and where the installation candidate would come from. –  dobey Sep 27 '13 at 20:57
show 2 more comments

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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