LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
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 12-24-2003, 09:11 AM   #1
Dip
LQ Newbie
 
Registered: Dec 2003
Posts: 3

Rep: Reputation: 0
Problem Correcting Dependencies


Hi all! The year's almost over and its time to move away from RH 7.3. So, I am upgrading.

However, I have come accross dependencies. The 2 listed are:
Quote:
mod_dav: PreDepends: webserver
mod_ssl: Depends: webserver
After trying [~]# apt-get -f install

I get:

Quote:
Reading Package Lists... Done
Building Dependency Tree... Done
Correcting dependencies... Done
The following extra packages will be installed:
httpd
The following packages will be REPLACED:
mod_dav (by httpd)
The following NEW packages will be installed:
httpd
0 packages upgraded, 1 newly installed, 1 replaced, 0 removed and 351 not upgraded.
Need to get 0B/939kB of archives.
After unpacking 2071kB of additional disk space will be used.
Do you want to continue? [Y/n] Y
Executing RPM (-Uvh)...
Preparing... ########################################### [100%]
1:httpd warning: /etc/httpd/conf/httpd.conf created as /etc/httpd/conf/httpd.conf.rpmnew
warning: /etc/httpd/conf/magic created as /etc/httpd/conf/magic.rpmnew
error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename failed - Is a directory
E: Sub-process /bin/rpm returned an error code (1)
The question is simple. What should I do now? Thanks to all in advance.
 
Old 12-25-2003, 12:18 AM   #2
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
It fails on:

error: unpacking of archive failed on file /etc/httpd/logs: cpio: rename failed - Is a directory

A simple rm -Rf /etc/httpd and then a reinstall should solve the problem.
 
Old 12-25-2003, 06:51 AM   #3
Dip
LQ Newbie
 
Registered: Dec 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks for your help.

I am still a bit confused as to exactly what I should do. I am not an expert, so if you can tell me exactly what commands to use, I will be able to do it.

Thanks again.
 
Old 12-25-2003, 08:00 AM   #4
teval
Member
 
Registered: Jul 2003
Location: Toronto, Canada
Distribution: Gentoo
Posts: 720

Rep: Reputation: 30
rm -Rf /etc/httpd

Make 10 checks so that you don't have a space after the first /.. turst me, it won't look preety
Or just run it without f, you'll have to press ok 10 times, but it's a lot safter. So..

rm -r /etc/httpd

After try to install it again. I think from somewhere you had /etc/httpd already, and a subdirectory called logs. The install script was expecting that to be a normal file. This should fix it.
 
Old 12-25-2003, 08:16 AM   #5
Dip
LQ Newbie
 
Registered: Dec 2003
Posts: 3

Original Poster
Rep: Reputation: 0
Thanks... And exactly how do I (safely) install it again?
 
  


Reply



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
Correcting a yum dependency issue muppetmaster Fedora 3 11-02-2005 03:28 AM
auto correcting spelling stuff Niflheim Linux - General 1 04-01-2005 01:22 AM
Bash script for correcting HTML tags hq4ever Programming 4 11-08-2004 04:06 AM
ntpd not correcting local time plythgam Linux - Software 1 08-16-2004 04:12 PM
Correcting e-mails in Evolution 1.4.5 finrold Linux - Software 0 10-29-2003 04:48 AM

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

All times are GMT -5. The time now is 03:50 PM.

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
Open Source Consulting | Domain Registration