Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 624

Summary: emerge removes empty dirs when updating a packages!
Product: Gentoo Linux Reporter: Lars S. Jensen <larssj>
Component: [OLD] Core systemAssignee: Daniel Robbins (RETIRED) <drobbins>
Status: RESOLVED FIXED    
Severity: major    
Priority: High    
Version: 1.0 RC6 r14   
Hardware: x86   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---

Description Lars S. Jensen 2002-02-09 19:26:15 UTC
I update CUPS to net-print/cups-1.1.13-r1
Got a lot of errors:
lpadmin: add-printer failed: server-error-internal-error 

and from the emerge log:

>>> Merging net-print/cups-1.1.13-r1 to /
--- /var/
--- /var/spool/
>>> /var/spool/cups/
>>> /var/spool/cups/tmp/
>>> /var/log/cups/
>>> /etc/cups/ppd/
....
>>> Safely unmerging already-installed instance...
<<<        dir /var/spool/cups/tmp
<<<        dir /var/spool/cups
--- !empty dir /var/spool
<<<        dir /var/log/cups
--- !empty dir /var/log

Then CUPS can't work and no logs in /var/log/cups :-(
Comment 1 Daniel Robbins (RETIRED) gentoo-dev 2002-02-09 21:37:53 UTC
this is a known "feature" that may be addressed in future versions of portage. 
Most of the time, this actually ends up being a good thing.  I've tweaked the
cups ebuild (1.1.13-r2, now on cvs) so this problem should now be fixed.