Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
Is it at all possible to edit the RPM database. I want to burn mp3 from kb3 and it is a nightmare - see gripe below. I found a package which ONLY required two dependencies. I have found them and got them into /usr/lib but now stuck.
GRIPE
I'm running Centos 5. Linux is good and has the potential to be great BUT it has yet to learn that if it wants to knock Microsoft off its pedestal it has got to be better presented.
Using kb3 as an example, here is a program that looks, on the surface, to be quite good IF YOU CAN GET THE DAMNED THING TO WORK - it will not handle mp3 !!!!!!!!!!!!! without wasting three days and still no result!!! The supplied native version is EL5 - you know 2009 version and no mp3 built in ???????
I installed it only to find it does not do what it says on the tin. Will not burn mp3 format. So look it up on the web and find it needs A,B,C dependencies. Download those. Then find they need x,y,z dependencies. Find some of them not available separately but buried in other packages.Each time I downloaded a different version of k3b it needs different dependencies
GET THE PICTURE ???? - A USER WANTS TO INSTALL A PACKAGE AND FOR IT TO WORK.
Linux will remain a geek's domain until things like rpm packages work right out of the box.Joe Public would never accept it AS IS. The fault lies with package distributors. YOU MUST LEARN TO DISTRIBUTE DOWNLOADS WHICH WORK IMMEDIATELY - NODEPS !!!!!
I refuse to continue being a PI R squared bird chasing ever smaller bits to get some basic program to work
For burning audio CD's I'm temporarily using Nero for Linux, but since you have to pay for that it will not be long before it is discarded. After that back to Windows I'm afraid. At least those progs work out of the box !!!!!!
Bear in mind that there is really no "one Linux" but hundreds of different distributions/versions, each version of each distribution including specific:
- kernel(s)
- set of libraries (needed for applications to work)
- system tools
- applications.
The RPM stuff try to cope with dependencies between all theses components, but will often be unsuccessful unless you take care of only installing software prepared for *your* version of *your* distribution, preferably "official" ones.
If you don't check that, chances are you quickly will fall in what's called the "dependencies hell".
This is one of the reasons I ended up sticking with Slackware. It has no automatic dependencies checking, but the whole consistency of the system is thorough fully checked by a small team headed by one individual (Patrick Volkerding) so every application officially included in Slackware usually works right out of the box.
Last edited by Didier Spaier; 03-27-2009 at 06:00 AM.
Reason: Typo removed
#yum list all | grep -i k3b
k3b.i386 0.12.17-1.el5 base
k3b-extras.i386 0.12.17-3.el5.rf rpmforge
# yum install k3b-extras.i386
Loading "fastestmirror" plugin
Loading "priorities" plugin
Loading mirror speeds from cached hostfile
* epel: ftp.nluug.nl
* rpmfusion-free-updates-testing: download1.rpmfusion.org
* livna: rpm.livna.org
* rpmforge: fr2.rpmfind.net
* rpmfusion-free-updates: download1.rpmfusion.org
* adobe-linux-i386: linuxdownload.adobe.com
* updates: ftp.nluug.nl
* base: mirror.bytemark.co.uk
* extras: mirror.bytemark.co.uk
* addons: mirror.bytemark.co.uk
2676 packages excluded due to repository priority protections
Setting up Install Process
Parsing package install arguments
Resolving Dependencies
--> Running transaction check
---> Package k3b-extras.i386 0:0.12.17-3.el5.rf set to be updated
--> Processing Dependency: k3b = 0.12.17 for package: k3b-extras
--> Processing Dependency: libk3b.so.2 for package: k3b-extras
--> Processing Dependency: libk3bdevice.so.2 for package: k3b-extras
--> Processing Dependency: libtag.so.1 for package: k3b-extras
--> Processing Dependency: libavformat.so.51 for package: k3b-extras
--> Processing Dependency: libavcodec.so.51 for package: k3b-extras
--> Running transaction check
---> Package k3b-extras.i386 0:0.12.17-3.el5.rf set to be updated
--> Processing Dependency: libavformat.so.51 for package: k3b-extras
---> Package ffmpeg-libs.i386 0:0.4.9-0.52.20080908.el5 set to be updated
--> Processing Dependency: libgsm.so.1 for package: ffmpeg-libs
--> Processing Dependency: libx264.so.60 for package: ffmpeg-libs
--> Processing Dependency: libdc1394.so.22 for package: ffmpeg-libs
--> Processing Dependency: libImlib2.so.1 for package: ffmpeg-libs
--> Processing Dependency: libfaac.so.0 for package: ffmpeg-libs
---> Package k3b.i386 0:0.12.17-1.el5 set to be updated
---> Package taglib.i386 0:1.5-2.el5 set to be updated
--> Running transaction check
---> Package x264-libs.i386 0:0.0.0-0.15.20080613.el5 set to be updated
---> Package libdc1394.i386 0:2.0.2-1.el5 set to be updated
---> Package k3b-extras.i386 0:0.12.17-3.el5.rf set to be updated
--> Processing Dependency: libavformat.so.51 for package: k3b-extras
---> Package gsm.i386 0:1.0.12-3.el5 set to be updated
---> Package imlib2.i386 0:1.3.0-6.el5 set to be updated
---> Package faac.i386 0:1.28-1.el5 set to be updated
--> Processing Dependency: libmp4v2.so.0 for package: faac
--> Running transaction check
---> Package k3b-extras.i386 0:0.12.17-3.el5.rf set to be updated
--> Processing Dependency: libavformat.so.51 for package: k3b-extras
---> Package libmp4v2.i386 0:1.5.0.1-6.el5 set to be updated
--> Finished Dependency Resolution
Error: Missing Dependency: libavformat.so.51 is needed by package k3b-extras
MY VERY POINT - dependencies again
This PI R squared bird is merely getting into tighter spirals before disappearing up his own fundamental orifice.
Linux geeks are a cheerful helpful lot but previous comments only reinforce what I said first. The community is too fragmented to ever challenge Windows. Too many distros, too many inconsistencies. I repeat that Linux is a brilliant concept and obviously supported by dedicated people, BUT while you remain so divided Windows will continue to conquer.
Ah. You've got a lot of extra repos in your YUM config. This is Not Recommended (some repos are mutually incompatible - I generally only use rpmfusion and the standard Fedora repos for my Fedora boxes).
Since k3b-extras is in rpmforge, I'd try switching off the rpmfusion and livna repositories in this case, then try the k3b-extras install again.
That libavformat appears as a missing dependency elsewhere. It really is stupid to have libraries which are not self contained and depend on further libraries - MADNESS
I think you are beginning to get the drift - what a farce to install what is a fundamental application in a modern PC.
This problem MIGHT appear in <1% of Windows apps. Their progs tend to supply this sort of thing and install if not already there. It is years since I have seen this sort of problem on Win machines. The old one used to be VB6 runtime but not anymore.
PS
My native version of k3b is el5.i386. I downloaded the libk3b extras also in el5.i386 version and that failed on TWO dependencies - libavformat plus another. Pathetic
There is no farce here - maybe someone should have told you not to enable every 3rd party repo you stumbled across, but that's not Linux's fault. Anyway...
libavformat.so.51 is part of the ffmpeg package. Is that already installed?
# rpm -qa | grep ffmpeg
If so, I'd remove ffmpeg, then try the k3b-extras install again.
And this sort of problem is far more prevalent on Windows than you seem to think, except on Windows the new application's installer will generally just stomp all over the already installed apps' libraries. At least with RPM you can be fairly sure that what's already working will /keep/ working.
gemmun;
~ 10 years ago, I gave up on the Mac and switched to Windows 95. Not long after, I moved to Windows 2000. In both cases it took many months before I was comfortable with everything and started to feel a bit "in control". ~ 7 years ago, I started moving to Linux. At the time, even though the learning curve was still pretty steep, it was already obvious (to me) that Linux was fundamentally a superior approach. Now, I have not had Windows on a personal machine in ~ 2 years.
My current assessment:
For someone who has never setup or used a computer, Linux could now be an easier learning curve than Windows--especially if their needs were fairly simple and mainstream.
On average, there are now more SW choices for Linux than for Windows.
While Linux can meet the needs of the majority of users, there are definitely still some specific situations where someone will be better off with Windows.
Not everyone cares about the anti-social business practices at Microsoft.
Most people do not want to put out the effort to learn anything new--especially if it involves something as obtuse as a computer.
I would never want someone to give up on Linux after just a few weeks and 5 posts at the premier help site.......At the same time, I'm never surprised when they do.
"You pays your money and you takes your choice....."
I take your point. No the ffmpeg package was not installed - and it never will be. I downloaded it and it fails for four dependencies. The other missing one was libmpcdec.s0.3.
Quite honestly it is not worth spending any more time on this. It should be a basic package for an everyday task on a modern PC.
It only confirms my "gripe2 above. Linux, despite its obvious strengths, will never be a "Joe Public" system. It is simply far too fragmented and geeky for wide spread use. I shall continue to use it for some limited tasks but it really needs to grow up to be useful in the wider world. I know people who are scared of computers - lucky eh ? - but they can at least install a downloaded program. Linux is probably unusable by over 95% of users.
This is my third distro after RH7 & RH9. It is actually getting harder with the explosion of distros and different versions. At one time I could download an RPM and be confident it would work. No longer. This is the fragmentation I mention. Who needs i386, i586, i686, X86_64 and further AMD versions ??? Windows doesn't care whether it is Intel AMD or someone else, only 32 or 64 bit. Much simpler even though documentation is not so good and many of the more esoteric parts are well hidden.
But at least you can install a simple burner program that works !!!!!
A long way from my original question about editing the rpm database !!!
Linux does not equal CentOS. If you were running Slackware, and you were to use a slackbuild or even compile it yourself, everything would just work like it was supposed to. I know what you're talking about, because I've been there when I was using Fedora Core. It's a real PITA.
In my opinion you should have started with more desktop distribution rather than going off to CentOS. It definitely is a super stable build on RHEL5 but it is more aimed at servers and workstations than a everyday desktops.
The legal matters in the US are off my head, I live in India and do not know about the laws there.
Oh well, have fun on Windows. If you ever feel like trying again with a new Linux install, only switch on one 3rd party yum repo, and it'll all Just Work.
Don't forget to claim your money back for the CentOS software.
I chose Centos because it had good reports - and it was a FREE download so no money to come back.
I really like it but it is a great disappointment if a "server" quality system can't even manage to install an audio burner.
Even wine is quite good. I like my old copy of MSWorks 4.5 - 1999 edition - as the database is a dream, so simple to use. It runs fine under wine. A pity the windows burner packages seem to have a problem finding the linux cdroms or I would use one of those.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.