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.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
On occasion I attempt to install some RPM's on my Fecora Core 6 system. Many times I run into many failures for dependencies. Once in a while I'll find an RPM and successfully install a given set but not every time.
The failures, for example, is with CUPS. The following is my terminal snapshot.....
------------------
# rpm -Uvh cups-1.2.12-1.fc6.i386.rpm
warning: cups-1.2.12-1.fc6.i386.rpm: Header V3 DSA signature: NOKEY, key ID 4f2a6fd2
error: Failed dependencies:
cups-libs = 1:1.2.12 is needed by cups-1.2.12-1.fc6.i386
cups = 1:1.2.4 is needed by (installed) cups-lpd-1.2.4-9.i386
This makes me wonder if I have a corrupt file. cups-1.2.4-9.i386.rpm is listed in the working directory. But continuing.....
[root@tweety portal]# rpm -e cups-1.2.12-1.fc6.i386.rpm
error: package cups-1.2.12-1.fc6.i386.rpm is not installed
[root@tweety portal]#
From the ls listing of cups, cups-1.2.12-1.fc6.i386.rpm is present in the current directory. So I'm puzzled as to what's going on with this.
Trying the other technique....
[root@tweety portal]# yum update cups
Loading "installonlyn" plugin
Setting up Update Process
Setting up repositories
No Repositories Available to Set Up
Reading repository metadata in from local files
Could not find update match for cups
No Packages marked for Update/Obsoletion
[root@tweety portal]#
puril (?) is showing that I stull have cups*-1.2.4-9.i386 (without fc6 showing) being current. Are there repositories that puril is looking for?
Distribution: RHEL/CentOS/SL 5 i386 and x86_64 pata for IDE in use
Posts: 4,790
Rep:
This is a typical newbie mistake: rpm -e cups-1.2.12-1.fc6.i386.rpm
Install by the file name: rpm -Uvh cups-1.2.12-1.fc6.i386.rpm
Remove by the package name: rpm -e cups-1.2.12-1.fc6
Since you already have one or more of the packages installed fist check which cups packages are installed;
rpm -qa 'cups*'
Only the newer version of the cups package should be installed, if you need to install the cups-lpd and cups-libs rpm packages since you alread seem to have cups installed then do;
Jay, I have nothing in /etc/repos.d. The files originally placed there my Fedora's install have ".org" appended so that puril (and I'm guessing yum too) doesn't see them.
You do mean "/etc/yum.repos.d/", unlike what you wrote? If so, then yum is completely broken because it retrieves its internet sources precisely from that directory (as a rule, that is - unless this type of information was placed in yum.conf, but that woulnd't happen automatically).
If you are sure that the repository files are missing, you should have a look at this:
It's still not complete as it covers only the official repositories; the third party repositories (audio and video codecs etc) need to be set up separately.
Sorry for my long absence....I had a lot going on and couldn't get back online and troubleshoot my Linux boxes....
Anyhow, just an update.... I downloaded up-to-date cups* (three files) and system-config-printer* (2 files), deleted the old ones and now got all of those to install without any grief.
The old cups RPM version (cups*-1.2.4-9.i386) I had was probably the culprit to the whole process. Without that, things went smoothly.
So I consider this one resolved. I just have to figure out how to hook up to my printer on a Win-XP box. It's not working through my local net and I have to research that.
Jay, in regards to pirut's pointers, none of my Linux boxes have any Internet access. That's why I have no pointers enabled. I have to download manually using my Win-XP box. Having Internet access to all boxes is a someday thing when I build my security knowledge and control. You are right about "/etc/yum.repos.d/" being the repository for purit.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.